Skip to content

Commit 77d0bdc

Browse files
authored
GraphQL schema update
2 parents 02ccc79 + 5273493 commit 77d0bdc

6 files changed

Lines changed: 233 additions & 2 deletions

File tree

data/graphql/ghae/schema.docs-ghae.graphql

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5113,6 +5113,61 @@ type CreateDeploymentStatusPayload @preview(toggledBy: "flash-preview") {
51135113
deploymentStatus: DeploymentStatus
51145114
}
51155115

5116+
"""
5117+
Autogenerated input type of CreateEnterpriseOrganization
5118+
"""
5119+
input CreateEnterpriseOrganizationInput {
5120+
"""
5121+
The logins for the administrators of the new organization.
5122+
"""
5123+
adminLogins: [String!]!
5124+
5125+
"""
5126+
The email used for sending billing receipts.
5127+
"""
5128+
billingEmail: String!
5129+
5130+
"""
5131+
A unique identifier for the client performing the mutation.
5132+
"""
5133+
clientMutationId: String
5134+
5135+
"""
5136+
The ID of the enterprise owning the new organization.
5137+
"""
5138+
enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"])
5139+
5140+
"""
5141+
The login of the new organization.
5142+
"""
5143+
login: String!
5144+
5145+
"""
5146+
The profile name of the new organization.
5147+
"""
5148+
profileName: String!
5149+
}
5150+
5151+
"""
5152+
Autogenerated return type of CreateEnterpriseOrganization
5153+
"""
5154+
type CreateEnterpriseOrganizationPayload {
5155+
"""
5156+
A unique identifier for the client performing the mutation.
5157+
"""
5158+
clientMutationId: String
5159+
5160+
"""
5161+
The enterprise that owns the created organization.
5162+
"""
5163+
enterprise: Enterprise
5164+
5165+
"""
5166+
The organization that was created.
5167+
"""
5168+
organization: Organization
5169+
}
5170+
51165171
"""
51175172
Autogenerated input type of CreateIpAllowListEntry
51185173
"""
@@ -14399,6 +14454,16 @@ type Mutation {
1439914454
input: CreateDeploymentStatusInput!
1440014455
): CreateDeploymentStatusPayload @preview(toggledBy: "flash-preview")
1440114456

14457+
"""
14458+
Creates an organization as part of an enterprise account.
14459+
"""
14460+
createEnterpriseOrganization(
14461+
"""
14462+
Parameters for CreateEnterpriseOrganization
14463+
"""
14464+
input: CreateEnterpriseOrganizationInput!
14465+
): CreateEnterpriseOrganizationPayload
14466+
1440214467
"""
1440314468
Creates a new IP allow list entry.
1440414469
"""
@@ -24788,6 +24853,11 @@ type Release implements Node & UniformResourceLocatable {
2478824853
"""
2478924854
tag: Ref
2479024855

24856+
"""
24857+
The tag commit for this release.
24858+
"""
24859+
tagCommit: Commit
24860+
2479124861
"""
2479224862
The name of the release's Git tag
2479324863
"""
@@ -36576,6 +36646,11 @@ type User implements Actor & Node & ProfileOwner & ProjectOwner & RepositoryOwne
3657636646
"""
3657736647
isEmployee: Boolean!
3657836648

36649+
"""
36650+
Whether or not this user is a member of the GitHub Stars Program.
36651+
"""
36652+
isGitHubStar: Boolean!
36653+
3657936654
"""
3658036655
Whether or not the user has marked themselves as for hire.
3658136656
"""

data/graphql/schema.docs.graphql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27087,6 +27087,11 @@ type Release implements Node & UniformResourceLocatable {
2708727087
"""
2708827088
tag: Ref
2708927089

27090+
"""
27091+
The tag commit for this release.
27092+
"""
27093+
tagCommit: Commit
27094+
2709027095
"""
2709127096
The name of the release's Git tag
2709227097
"""
@@ -39959,6 +39964,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner &
3995939964
"""
3996039965
isEmployee: Boolean!
3996139966

39967+
"""
39968+
Whether or not this user is a member of the GitHub Stars Program.
39969+
"""
39970+
isGitHubStar: Boolean!
39971+
3996239972
"""
3996339973
Whether or not the user has marked themselves as for hire.
3996439974
"""

lib/graphql/static/changelog.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"Field `isGitHubStar` was added to object type `User`",
8+
"Field `tagCommit` was added to object type `Release`"
9+
]
10+
}
11+
],
12+
"previewChanges": [],
13+
"upcomingChanges": [],
14+
"date": "2021-03-02"
15+
},
216
{
317
"schemaChanges": [
418
{

lib/graphql/static/prerendered-objects.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

lib/graphql/static/schema-dotcom.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38853,6 +38853,14 @@
3885338853
"kind": "objects",
3885438854
"href": "/graphql/reference/objects#ref"
3885538855
},
38856+
{
38857+
"name": "tagCommit",
38858+
"description": "<p>The tag commit for this release.</p>",
38859+
"type": "Commit",
38860+
"id": "commit",
38861+
"kind": "objects",
38862+
"href": "/graphql/reference/objects#commit"
38863+
},
3885638864
{
3885738865
"name": "tagName",
3885838866
"description": "<p>The name of the release's Git tag.</p>",
@@ -53926,6 +53934,14 @@
5392653934
"kind": "scalars",
5392753935
"href": "/graphql/reference/scalars#boolean"
5392853936
},
53937+
{
53938+
"name": "isGitHubStar",
53939+
"description": "<p>Whether or not this user is a member of the GitHub Stars Program.</p>",
53940+
"type": "Boolean!",
53941+
"id": "boolean",
53942+
"kind": "scalars",
53943+
"href": "/graphql/reference/scalars#boolean"
53944+
},
5392953945
{
5393053946
"name": "isHireable",
5393153947
"description": "<p>Whether or not the user has marked themselves as for hire.</p>",

lib/graphql/static/schema-ghae.json

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,6 +1560,48 @@
15601560
}
15611561
]
15621562
},
1563+
{
1564+
"name": "createEnterpriseOrganization",
1565+
"kind": "mutations",
1566+
"id": "createenterpriseorganization",
1567+
"href": "/graphql/reference/mutations#createenterpriseorganization",
1568+
"description": "<p>Creates an organization as part of an enterprise account.</p>",
1569+
"inputFields": [
1570+
{
1571+
"name": "input",
1572+
"type": "CreateEnterpriseOrganizationInput!",
1573+
"id": "createenterpriseorganizationinput",
1574+
"kind": "input-objects",
1575+
"href": "/graphql/reference/input-objects#createenterpriseorganizationinput"
1576+
}
1577+
],
1578+
"returnFields": [
1579+
{
1580+
"name": "clientMutationId",
1581+
"type": "String",
1582+
"id": "string",
1583+
"kind": "scalars",
1584+
"href": "/graphql/reference/scalars#string",
1585+
"description": "<p>A unique identifier for the client performing the mutation.</p>"
1586+
},
1587+
{
1588+
"name": "enterprise",
1589+
"type": "Enterprise",
1590+
"id": "enterprise",
1591+
"kind": "objects",
1592+
"href": "/graphql/reference/objects#enterprise",
1593+
"description": "<p>The enterprise that owns the created organization.</p>"
1594+
},
1595+
{
1596+
"name": "organization",
1597+
"type": "Organization",
1598+
"id": "organization",
1599+
"kind": "objects",
1600+
"href": "/graphql/reference/objects#organization",
1601+
"description": "<p>The organization that was created.</p>"
1602+
}
1603+
]
1604+
},
15631605
{
15641606
"name": "createIpAllowListEntry",
15651607
"kind": "mutations",
@@ -35557,6 +35599,14 @@
3555735599
"kind": "objects",
3555835600
"href": "/graphql/reference/objects#ref"
3555935601
},
35602+
{
35603+
"name": "tagCommit",
35604+
"description": "<p>The tag commit for this release.</p>",
35605+
"type": "Commit",
35606+
"id": "commit",
35607+
"kind": "objects",
35608+
"href": "/graphql/reference/objects#commit"
35609+
},
3556035610
{
3556135611
"name": "tagName",
3556235612
"description": "<p>The name of the release's Git tag.</p>",
@@ -49873,6 +49923,14 @@
4987349923
"kind": "scalars",
4987449924
"href": "/graphql/reference/scalars#boolean"
4987549925
},
49926+
{
49927+
"name": "isGitHubStar",
49928+
"description": "<p>Whether or not this user is a member of the GitHub Stars Program.</p>",
49929+
"type": "Boolean!",
49930+
"id": "boolean",
49931+
"kind": "scalars",
49932+
"href": "/graphql/reference/scalars#boolean"
49933+
},
4987649934
{
4987749935
"name": "isHireable",
4987849936
"description": "<p>Whether or not the user has marked themselves as for hire.</p>",
@@ -60577,6 +60635,64 @@
6057760635
}
6057860636
]
6057960637
},
60638+
{
60639+
"name": "CreateEnterpriseOrganizationInput",
60640+
"kind": "inputObjects",
60641+
"id": "createenterpriseorganizationinput",
60642+
"href": "/graphql/reference/input-objects#createenterpriseorganizationinput",
60643+
"description": "<p>Autogenerated input type of CreateEnterpriseOrganization.</p>",
60644+
"inputFields": [
60645+
{
60646+
"name": "adminLogins",
60647+
"description": "<p>The logins for the administrators of the new organization.</p>",
60648+
"type": "[String!]!",
60649+
"id": "string",
60650+
"kind": "scalars",
60651+
"href": "/graphql/reference/scalars#string"
60652+
},
60653+
{
60654+
"name": "billingEmail",
60655+
"description": "<p>The email used for sending billing receipts.</p>",
60656+
"type": "String!",
60657+
"id": "string",
60658+
"kind": "scalars",
60659+
"href": "/graphql/reference/scalars#string"
60660+
},
60661+
{
60662+
"name": "clientMutationId",
60663+
"description": "<p>A unique identifier for the client performing the mutation.</p>",
60664+
"type": "String",
60665+
"id": "string",
60666+
"kind": "scalars",
60667+
"href": "/graphql/reference/scalars#string"
60668+
},
60669+
{
60670+
"name": "enterpriseId",
60671+
"description": "<p>The ID of the enterprise owning the new organization.</p>",
60672+
"type": "ID!",
60673+
"id": "id",
60674+
"kind": "scalars",
60675+
"href": "/graphql/reference/scalars#id",
60676+
"isDeprecated": false
60677+
},
60678+
{
60679+
"name": "login",
60680+
"description": "<p>The login of the new organization.</p>",
60681+
"type": "String!",
60682+
"id": "string",
60683+
"kind": "scalars",
60684+
"href": "/graphql/reference/scalars#string"
60685+
},
60686+
{
60687+
"name": "profileName",
60688+
"description": "<p>The profile name of the new organization.</p>",
60689+
"type": "String!",
60690+
"id": "string",
60691+
"kind": "scalars",
60692+
"href": "/graphql/reference/scalars#string"
60693+
}
60694+
]
60695+
},
6058060696
{
6058160697
"name": "CreateIpAllowListEntryInput",
6058260698
"kind": "inputObjects",

0 commit comments

Comments
 (0)