From 789e7bf7081c5d9caca102e9e4be675b0c5ecfe7 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Fri, 24 May 2024 00:01:33 +0000 Subject: [PATCH 1/2] WIP: schema.graphql changed - please review --- schema.graphql | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/schema.graphql b/schema.graphql index 6c5a8b664..9a14750fd 100644 --- a/schema.graphql +++ b/schema.graphql @@ -6654,6 +6654,31 @@ type ConvertedToDiscussionEvent implements Node { id: ID! } +""" +Copilot endpoint information +""" +type CopilotEndpoints { + """ + Copilot API endpoint + """ + api: String! + + """ + Copilot origin tracker endpoint + """ + originTracker: String! + + """ + Copilot proxy endpoint + """ + proxy: String! + + """ + Copilot telemetry endpoint + """ + telemetry: String! +} + """ Autogenerated input type of CopyProjectV2 """ @@ -59551,6 +59576,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & to: DateTime ): ContributionsCollection! + """ + The user's Copilot endpoint information + """ + copilotEndpoints: CopilotEndpoints + """ Identifies the date and time when the object was created. """ From 47c61bb4e923e63de1acd4a0bfde7cc4f4d304a2 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Fri, 24 May 2024 00:01:36 +0000 Subject: [PATCH 2/2] build: schema.json and schema.d.ts updated --- schema.d.ts | 15 +++++++++ schema.json | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) diff --git a/schema.d.ts b/schema.d.ts index 7c152bb0c..a1e446ed9 100644 --- a/schema.d.ts +++ b/schema.d.ts @@ -3446,6 +3446,19 @@ export type ConvertedToDiscussionEvent = Node & { id: Scalars['ID']['output']; }; +/** Copilot endpoint information */ +export type CopilotEndpoints = { + __typename?: 'CopilotEndpoints'; + /** Copilot API endpoint */ + api: Scalars['String']['output']; + /** Copilot origin tracker endpoint */ + originTracker: Scalars['String']['output']; + /** Copilot proxy endpoint */ + proxy: Scalars['String']['output']; + /** Copilot telemetry endpoint */ + telemetry: Scalars['String']['output']; +}; + /** Autogenerated input type of CopyProjectV2 */ export type CopyProjectV2Input = { /** A unique identifier for the client performing the mutation. */ @@ -29637,6 +29650,8 @@ export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & P companyHTML: Scalars['HTML']['output']; /** The collection of contributions this user has made to different repositories. */ contributionsCollection: ContributionsCollection; + /** The user's Copilot endpoint information */ + copilotEndpoints?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ diff --git a/schema.json b/schema.json index 48e663852..63f1e38a6 100644 --- a/schema.json +++ b/schema.json @@ -17317,6 +17317,81 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "CopilotEndpoints", + "description": "Copilot endpoint information", + "fields": [ + { + "name": "api", + "description": "Copilot API endpoint", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originTracker", + "description": "Copilot origin tracker endpoint", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "proxy", + "description": "Copilot proxy endpoint", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "telemetry", + "description": "Copilot telemetry endpoint", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "CopyProjectV2Input", @@ -152373,6 +152448,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "copilotEndpoints", + "description": "The user's Copilot endpoint information", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CopilotEndpoints", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "createdAt", "description": "Identifies the date and time when the object was created.",