You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gql/authz.graphql
+21-45Lines changed: 21 additions & 45 deletions
Original file line number
Diff line number
Diff line change
@@ -259,15 +259,15 @@ extend type Repository {
259
259
The permissions information of the repository for the authenticated user.
260
260
It is null when there is no permissions data stored for the repository.
261
261
"""
262
-
permissionsInfo: RepositoryPermissionsInfo
262
+
permissionsInfo: PermissionsInfo
263
263
}
264
264
265
265
extendtypeUser {
266
266
"""
267
267
The permissions information of the user over repositories.
268
268
It is null when there is no permissions data stored for the user.
269
269
"""
270
-
permissionsInfo: UserPermissionsInfo
270
+
permissionsInfo: PermissionsInfo
271
271
}
272
272
273
273
"""
@@ -352,9 +352,9 @@ enum PermissionSource {
352
352
}
353
353
354
354
"""
355
-
Permissions information of a repository.
355
+
Permissions information of a repository or a user.
356
356
"""
357
-
typeRepositoryPermissionsInfo {
357
+
typePermissionsInfo {
358
358
"""
359
359
The permission levels that a user has on the repository.
360
360
"""
@@ -370,20 +370,25 @@ type RepositoryPermissionsInfo {
370
370
"""
371
371
updatedAt: DateTime
372
372
"""
373
+
What was the source of the last permission update. The value is updated whenever different source last touched the database row (i.e. permission sync or explicit permissions update)
374
+
"""
375
+
source: PermissionSource
376
+
"""
373
377
If true for a repo, it indicates access to the repo is allowed for all users.
374
378
It will always be false for users.
375
379
"""
376
380
unrestricted: Boolean!
381
+
377
382
"""
378
-
The connection for users who have access to the repository.
383
+
The connection for repository permissions accessible to the user.
379
384
"""
380
-
users(
385
+
repositories(
381
386
"""
382
-
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100.
387
+
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
383
388
"""
384
389
first: Int
385
390
"""
386
-
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100.
391
+
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
387
392
"""
388
393
last: Int
389
394
"""
@@ -395,49 +400,20 @@ type RepositoryPermissionsInfo {
395
400
"""
396
401
before: String
397
402
"""
398
-
Search query to filter users based on username or display name.
403
+
Search query to filter repositories based on name.
399
404
"""
400
405
query: String
401
-
): PermissionsInfoUsersConnection
402
-
}
403
-
404
-
"""
405
-
Permissions information of a user.
406
-
"""
407
-
typeUserPermissionsInfo {
408
-
"""
409
-
The permission levels that a user has on the repository.
410
-
"""
411
-
permissions: [RepositoryPermission!]!
412
-
"""
413
-
The last complete synced time, the value is updated only after a user- or repo-
414
-
centric sync of permissions. It is null when the complete sync never happened.
415
-
"""
416
-
syncedAt: DateTime
417
-
"""
418
-
The last updated time of permissions, the value is updated whenever there is a
419
-
change to the database row (i.e. incremental update).
420
-
"""
421
-
updatedAt: DateTime
422
-
"""
423
-
What was the source of the last permission update. The value is updated whenever different source last touched the database row (i.e. permission sync or explicit permissions update)
424
-
"""
425
-
source: PermissionSource
426
-
"""
427
-
If true for a repo, it indicates access to the repo is allowed for all users.
428
-
It will always be false for users.
429
-
"""
430
-
unrestricted: Boolean!
406
+
): PermissionsInfoRepositoriesConnection
431
407
"""
432
-
The connection for repository permissions accessible to the user.
408
+
The connection for users who have access to the repository.
433
409
"""
434
-
repositories(
410
+
users(
435
411
"""
436
-
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
412
+
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100.
437
413
"""
438
414
first: Int
439
415
"""
440
-
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
416
+
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100.
441
417
"""
442
418
last: Int
443
419
"""
@@ -449,10 +425,10 @@ type UserPermissionsInfo {
449
425
"""
450
426
before: String
451
427
"""
452
-
Search query to filter repositories based on name.
428
+
Search query to filter users based on username or display name.
Copy file name to clipboardExpand all lines: gql/cody_context.graphql
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -171,6 +171,14 @@ type ChatIntentResponse {
171
171
"""
172
172
score: Float!
173
173
"""
174
+
Confidence score assigned by the "code search" intent detection model (the higher the score, the more likely it is that the query is about code search).
175
+
"""
176
+
searchScore: Float!
177
+
"""
178
+
Confidence score assigned by the "edit" intent detection model (the higher the score, the more likely it is that the query is about an edit command).
179
+
"""
180
+
editScore: Float!
181
+
"""
174
182
All intents and scores computed by the intent detection model
0 commit comments