Skip to content

Commit 6ecb70f

Browse files
Add artifacts for v6.0.2687
1 parent eca780a commit 6ecb70f

13 files changed

Lines changed: 1414 additions & 817 deletions

File tree

TAG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v5.9.17785
1+
v6.0.2687

gql/authz.graphql

Lines changed: 45 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,15 @@ extend type Repository {
259259
The permissions information of the repository for the authenticated user.
260260
It is null when there is no permissions data stored for the repository.
261261
"""
262-
permissionsInfo: PermissionsInfo
262+
permissionsInfo: RepositoryPermissionsInfo
263263
}
264264

265265
extend type User {
266266
"""
267267
The permissions information of the user over repositories.
268268
It is null when there is no permissions data stored for the user.
269269
"""
270-
permissionsInfo: PermissionsInfo
270+
permissionsInfo: UserPermissionsInfo
271271
}
272272

273273
"""
@@ -352,9 +352,9 @@ enum PermissionSource {
352352
}
353353

354354
"""
355-
Permissions information of a repository or a user.
355+
Permissions information of a repository.
356356
"""
357-
type PermissionsInfo {
357+
type RepositoryPermissionsInfo {
358358
"""
359359
The permission levels that a user has on the repository.
360360
"""
@@ -370,25 +370,20 @@ type PermissionsInfo {
370370
"""
371371
updatedAt: DateTime
372372
"""
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-
"""
377373
If true for a repo, it indicates access to the repo is allowed for all users.
378374
It will always be false for users.
379375
"""
380376
unrestricted: Boolean!
381-
382377
"""
383-
The connection for repository permissions accessible to the user.
378+
The connection for users who have access to the repository.
384379
"""
385-
repositories(
380+
users(
386381
"""
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.
388383
"""
389384
first: Int
390385
"""
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.
392387
"""
393388
last: Int
394389
"""
@@ -400,20 +395,49 @@ type PermissionsInfo {
400395
"""
401396
before: String
402397
"""
403-
Search query to filter repositories based on name.
398+
Search query to filter users based on username or display name.
404399
"""
405400
query: String
406-
): PermissionsInfoRepositoriesConnection
401+
): PermissionsInfoUsersConnection
402+
}
403+
404+
"""
405+
Permissions information of a user.
406+
"""
407+
type UserPermissionsInfo {
407408
"""
408-
The connection for users who have access to the repository.
409+
The permission levels that a user has on the repository.
409410
"""
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(
411435
"""
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.
413437
"""
414438
first: Int
415439
"""
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.
417441
"""
418442
last: Int
419443
"""
@@ -425,10 +449,10 @@ type PermissionsInfo {
425449
"""
426450
before: String
427451
"""
428-
Search query to filter users based on username or display name.
452+
Search query to filter repositories based on name.
429453
"""
430454
query: String
431-
): PermissionsInfoUsersConnection
455+
): PermissionsInfoRepositoriesConnection
432456
}
433457

434458
"""

gql/codeintel.autoindexing.graphql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ extend type Query {
1313
repository name, commit, root, and indexer fields will be returned..
1414
"""
1515
query: String
16+
# We should probably provide a more precise definition here, and have
17+
# similar searching syntax as the top-level search bar for more
18+
# consistent UX. However, that requires first _defining_ the syntax;
19+
# see FIXME(id: ad-hoc-upload-filtering-syntax). Once we define the
20+
# syntax properly, we should mention it in the web UI.
1621

1722
"""
1823
If supplied, only precise indexes in one of the provided states are returned.

gql/codeintel.policies.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ extend type Mutation {
128128
# reasonable defaults instead.
129129
updateCodeIntelligenceConfigurationPolicy(
130130
id: ID!
131+
# There is no repo: argument here, see NOTE(id: no-repo-id-policy-update)
131132
repositoryPatterns: [String!]
132133
name: String!
133134
type: GitObjectType!

gql/cody_context.graphql

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,6 @@ type ChatIntentResponse {
171171
"""
172172
score: Float!
173173
"""
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-
"""
182174
All intents and scores computed by the intent detection model
183175
"""
184176
allScores: [IntentScore!]!

gql/githubapps.graphql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@ extend type Mutation {
22
"""
33
Delete a GitHub App. The GitHub App, along with all of its associated code host connections and
44
authentication provider, will be deleted.
5+
🚨 SECURITY: Requires site-admin.
56
"""
67
deleteGitHubApp(gitHubApp: ID!): EmptyResponse
78

89
"""
910
Refresh a GitHub App. This fetches information about the GitHub app and updates all installations
1011
associated with it.
12+
🚨 SECURITY: Requires site-admin.
1113
"""
1214
refreshGitHubApp(gitHubApp: ID!): EmptyResponse
1315
}
1416

1517
extend type Query {
1618
"""
1719
All configured GitHub Apps, optionally filtered by the domain in which they are used.
20+
🚨 SECURITY: Requires site-admin.
1821
"""
1922
gitHubApps(domain: GitHubAppDomain): GitHubAppConnection!
2023
"""
21-
Looks up a GitHub App by its ID.
22-
"""
23-
gitHubApp(id: ID!): GitHubApp
24-
"""
2524
Looks up a GitHub App by its AppID and BaseURL.
25+
🚨 SECURITY: Requires site-admin.
2626
"""
2727
gitHubAppByAppID(appID: Int!, baseURL: String!): GitHubApp
2828
}

gql/prompts.graphql

Lines changed: 82 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ extend type Query {
6060
"""
6161
recommendedOnly: Boolean
6262

63+
"""
64+
Whether to include only builtin prompts.
65+
"""
66+
builtinOnly: Boolean = false
67+
68+
"""
69+
Whether to include builtin prompts.
70+
"""
71+
includeBuiltin: Boolean = false
72+
6373
"""
6474
Whether to include draft prompts owned by the viewer.
6575
"""
@@ -94,6 +104,16 @@ extend type Query {
94104
The field to sort by multiple fields.
95105
"""
96106
orderByMultiple: [PromptsOrderBy!]
107+
108+
"""
109+
Filter by tag IDs.
110+
"""
111+
tags: [ID!]
112+
113+
"""
114+
List of prompt IDs to exclude.
115+
"""
116+
exclude: [ID!]
97117
): PromptsConnection!
98118
}
99119

@@ -145,6 +165,11 @@ input PromptInput {
145165
Whether the prompt is recommended.
146166
"""
147167
recommended: Boolean
168+
169+
"""
170+
The tags for the prompt.
171+
"""
172+
tags: [ID!]
148173
}
149174

150175
"""
@@ -203,6 +228,11 @@ input PromptUpdateInput {
203228
Whether the prompt is recommended.
204229
"""
205230
recommended: Boolean
231+
232+
"""
233+
The new tags delete and override any existing tags.
234+
"""
235+
tags: [ID!]
206236
}
207237

208238
"""
@@ -281,8 +311,9 @@ type Prompt implements Node {
281311

282312
"""
283313
The owner of the prompt, either a user or organization.
314+
The owner is null for builtin prompts.
284315
"""
285-
owner: Namespace!
316+
owner: Namespace
286317

287318
"""
288319
The visibility state of the prompt.
@@ -339,6 +370,56 @@ type Prompt implements Node {
339370
Whether the prompt is recommended.
340371
"""
341372
recommended: Boolean!
373+
374+
"""
375+
Whether the prompt is built-in prompt. Built-in prompts are not editable.
376+
"""
377+
builtin: Boolean!
378+
379+
"""
380+
Tags associated with this prompt.
381+
"""
382+
tags(
383+
"""
384+
The limit argument for forward pagination.
385+
"""
386+
first: Int
387+
388+
"""
389+
The limit argument for backward pagination.
390+
"""
391+
last: Int
392+
393+
"""
394+
The cursor argument for forward pagination.
395+
"""
396+
after: String
397+
398+
"""
399+
The cursor argument for backward pagination.
400+
"""
401+
before: String
402+
): PromptToTagsConnection!
403+
}
404+
405+
"""
406+
A paginated connection for prompt tags.
407+
"""
408+
type PromptToTagsConnection implements Connection {
409+
"""
410+
A list of prompt tags.
411+
"""
412+
nodes: [PromptTag!]!
413+
414+
"""
415+
The total number of prompt tags in the connection.
416+
"""
417+
totalCount: Int!
418+
419+
"""
420+
Pagination information.
421+
"""
422+
pageInfo: ConnectionPageInfo!
342423
}
343424

344425
"""

0 commit comments

Comments
 (0)