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
+45-21Lines changed: 45 additions & 21 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: PermissionsInfo
262
+
permissionsInfo: RepositoryPermissionsInfo
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: PermissionsInfo
270
+
permissionsInfo: UserPermissionsInfo
271
271
}
272
272
273
273
"""
@@ -352,9 +352,9 @@ enum PermissionSource {
352
352
}
353
353
354
354
"""
355
-
Permissions information of a repository or a user.
355
+
Permissions information of a repository.
356
356
"""
357
-
typePermissionsInfo {
357
+
typeRepositoryPermissionsInfo {
358
358
"""
359
359
The permission levels that a user has on the repository.
360
360
"""
@@ -370,25 +370,20 @@ type PermissionsInfo {
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
-
"""
377
373
If true for a repo, it indicates access to the repo is allowed for all users.
378
374
It will always be false for users.
379
375
"""
380
376
unrestricted: Boolean!
381
-
382
377
"""
383
-
The connection for repository permissions accessible to the user.
378
+
The connection for users who have access to the repository.
384
379
"""
385
-
repositories(
380
+
users(
386
381
"""
387
-
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
382
+
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100.
388
383
"""
389
384
first: Int
390
385
"""
391
-
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
386
+
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100.
392
387
"""
393
388
last: Int
394
389
"""
@@ -400,20 +395,49 @@ type PermissionsInfo {
400
395
"""
401
396
before: String
402
397
"""
403
-
Search query to filter repositories based on name.
398
+
Search query to filter users based on username or display name.
404
399
"""
405
400
query: String
406
-
): PermissionsInfoRepositoriesConnection
401
+
): PermissionsInfoUsersConnection
402
+
}
403
+
404
+
"""
405
+
Permissions information of a user.
406
+
"""
407
+
typeUserPermissionsInfo {
407
408
"""
408
-
The connection for users who have access to the repository.
409
+
The permission levels that a user has on the repository.
409
410
"""
410
-
users(
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!
431
+
"""
432
+
The connection for repository permissions accessible to the user.
433
+
"""
434
+
repositories(
411
435
"""
412
-
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100.
436
+
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
413
437
"""
414
438
first: Int
415
439
"""
416
-
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100.
440
+
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
417
441
"""
418
442
last: Int
419
443
"""
@@ -425,10 +449,10 @@ type PermissionsInfo {
425
449
"""
426
450
before: String
427
451
"""
428
-
Search query to filter users based on username or display name.
452
+
Search query to filter repositories based on name.
Copy file name to clipboardExpand all lines: gql/cody_context.graphql
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -171,14 +171,6 @@ 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
-
"""
182
174
All intents and scores computed by the intent detection model
0 commit comments