Skip to content

Commit

Permalink
feat: User#copilotEndpoints (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored May 24, 2024
1 parent 3100355 commit 4eda357
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 0 deletions.
15 changes: 15 additions & 0 deletions schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -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<CopilotEndpoints>;
/** Identifies the date and time when the object was created. */
createdAt: Scalars['DateTime']['output'];
/** Identifies the primary key from the database. */
Expand Down
30 changes: 30 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down Expand Up @@ -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.
"""
Expand Down
87 changes: 87 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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.",
Expand Down

0 comments on commit 4eda357

Please sign in to comment.