1
0
mirror of synced 2025-12-19 18:10:59 -05:00

GraphQL schema update (#53877)

Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com>
This commit is contained in:
docs-bot
2025-01-13 08:40:37 -08:00
committed by GitHub
parent 1be691285b
commit 95d266b96e
5 changed files with 164 additions and 0 deletions

View File

@@ -1,4 +1,18 @@
[ [
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Type <code>CopilotLicenseType</code> was added</p>",
"<p>Field <code>copilotLicenseType</code> was added to object type <code>User</code></p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2025-01-13"
},
{ {
"schemaChanges": [ "schemaChanges": [
{ {

View File

@@ -6979,6 +6979,36 @@ type CopilotEndpoints {
telemetry: String! telemetry: String!
} }
"""
Indicates the type of access a user has to GitHub Copilot
"""
enum CopilotLicenseType @requiredCapabilities(requiredCapabilities: ["access_copilot_limited_graphql_api"]) {
"""
Business access
"""
COPILOT_BUSINESS
"""
Enterprise access
"""
COPILOT_ENTERPRISE
"""
Limited free access
"""
COPILOT_FREE
"""
Individual access
"""
COPILOT_INDIVIDUAL
"""
No access found
"""
NO_ACCESS
}
""" """
The type of the activity that was performed. The type of the activity that was performed.
""" """
@@ -63233,6 +63263,12 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner &
""" """
copilotEndpoints: CopilotEndpoints copilotEndpoints: CopilotEndpoints
"""
The user's license type for Copilot
"""
copilotLicenseType: CopilotLicenseType
@requiredCapabilities(requiredCapabilities: ["access_copilot_limited_graphql_api"])
""" """
Properties of the current Copilot user, if limited by Copilot Free. Properties of the current Copilot user, if limited by Copilot Free.
""" """

View File

@@ -76727,6 +76727,15 @@
"kind": "objects", "kind": "objects",
"href": "/graphql/reference/objects#copilotendpoints" "href": "/graphql/reference/objects#copilotendpoints"
}, },
{
"name": "copilotLicenseType",
"description": "<p>The user's license type for Copilot.</p>",
"type": "CopilotLicenseType",
"id": "copilotlicensetype",
"kind": "enums",
"href": "/graphql/reference/enums#copilotlicensetype",
"isDeprecated": false
},
{ {
"name": "copilotLimitedUser", "name": "copilotLimitedUser",
"description": "<p>Properties of the current Copilot user, if limited by Copilot Free.</p>", "description": "<p>Properties of the current Copilot user, if limited by Copilot Free.</p>",
@@ -85740,6 +85749,36 @@
} }
] ]
}, },
{
"name": "CopilotLicenseType",
"kind": "enums",
"id": "copilotlicensetype",
"href": "/graphql/reference/enums#copilotlicensetype",
"description": "<p>Indicates the type of access a user has to GitHub Copilot.</p>",
"isDeprecated": false,
"values": [
{
"name": "COPILOT_BUSINESS",
"description": "<p>Business access.</p>"
},
{
"name": "COPILOT_ENTERPRISE",
"description": "<p>Enterprise access.</p>"
},
{
"name": "COPILOT_FREE",
"description": "<p>Limited free access.</p>"
},
{
"name": "COPILOT_INDIVIDUAL",
"description": "<p>Individual access.</p>"
},
{
"name": "NO_ACCESS",
"description": "<p>No access found.</p>"
}
]
},
{ {
"name": "CopilotLimitedFeature", "name": "CopilotLimitedFeature",
"kind": "enums", "kind": "enums",

View File

@@ -6979,6 +6979,36 @@ type CopilotEndpoints {
telemetry: String! telemetry: String!
} }
"""
Indicates the type of access a user has to GitHub Copilot
"""
enum CopilotLicenseType @requiredCapabilities(requiredCapabilities: ["access_copilot_limited_graphql_api"]) {
"""
Business access
"""
COPILOT_BUSINESS
"""
Enterprise access
"""
COPILOT_ENTERPRISE
"""
Limited free access
"""
COPILOT_FREE
"""
Individual access
"""
COPILOT_INDIVIDUAL
"""
No access found
"""
NO_ACCESS
}
""" """
The type of the activity that was performed. The type of the activity that was performed.
""" """
@@ -63233,6 +63263,12 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner &
""" """
copilotEndpoints: CopilotEndpoints copilotEndpoints: CopilotEndpoints
"""
The user's license type for Copilot
"""
copilotLicenseType: CopilotLicenseType
@requiredCapabilities(requiredCapabilities: ["access_copilot_limited_graphql_api"])
""" """
Properties of the current Copilot user, if limited by Copilot Free. Properties of the current Copilot user, if limited by Copilot Free.
""" """

View File

@@ -76727,6 +76727,15 @@
"kind": "objects", "kind": "objects",
"href": "/graphql/reference/objects#copilotendpoints" "href": "/graphql/reference/objects#copilotendpoints"
}, },
{
"name": "copilotLicenseType",
"description": "<p>The user's license type for Copilot.</p>",
"type": "CopilotLicenseType",
"id": "copilotlicensetype",
"kind": "enums",
"href": "/graphql/reference/enums#copilotlicensetype",
"isDeprecated": false
},
{ {
"name": "copilotLimitedUser", "name": "copilotLimitedUser",
"description": "<p>Properties of the current Copilot user, if limited by Copilot Free.</p>", "description": "<p>Properties of the current Copilot user, if limited by Copilot Free.</p>",
@@ -85740,6 +85749,36 @@
} }
] ]
}, },
{
"name": "CopilotLicenseType",
"kind": "enums",
"id": "copilotlicensetype",
"href": "/graphql/reference/enums#copilotlicensetype",
"description": "<p>Indicates the type of access a user has to GitHub Copilot.</p>",
"isDeprecated": false,
"values": [
{
"name": "COPILOT_BUSINESS",
"description": "<p>Business access.</p>"
},
{
"name": "COPILOT_ENTERPRISE",
"description": "<p>Enterprise access.</p>"
},
{
"name": "COPILOT_FREE",
"description": "<p>Limited free access.</p>"
},
{
"name": "COPILOT_INDIVIDUAL",
"description": "<p>Individual access.</p>"
},
{
"name": "NO_ACCESS",
"description": "<p>No access found.</p>"
}
]
},
{ {
"name": "CopilotLimitedFeature", "name": "CopilotLimitedFeature",
"kind": "enums", "kind": "enums",