From aa16830b0ee0a0c064cef2ab0f464fc479cad1c9 Mon Sep 17 00:00:00 2001 From: Octomerger Bot <63058869+Octomerger@users.noreply.github.com> Date: Thu, 19 Jan 2023 08:43:34 -0800 Subject: [PATCH] GraphQL schema update (#34066) Co-authored-by: rachmari --- data/graphql/ghae/schema.docs-ghae.graphql | 15 ++++++++++++ data/graphql/ghec/schema.docs.graphql | 10 ++++++++ data/graphql/schema.docs.graphql | 10 ++++++++ lib/graphql/static/changelog.json | 14 +++++++++++ lib/graphql/static/schema-dotcom.json | 20 ++++++++++++++++ lib/graphql/static/schema-ghae.json | 28 ++++++++++++++++++++++ lib/graphql/static/schema-ghec.json | 20 ++++++++++++++++ 7 files changed, 117 insertions(+) diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index ec5c99f856..1153b9ffa3 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -23907,6 +23907,11 @@ type OrganizationsHovercardContext implements HovercardContext { Returns the last _n_ elements from the list. """ last: Int + + """ + Ordering options for the User's organizations. + """ + orderBy: OrganizationOrder = null ): OrganizationConnection! """ @@ -28499,6 +28504,11 @@ type Query { Returns the last _n_ elements from the list. """ last: Int + + """ + Ordering options for the User's organizations. + """ + orderBy: OrganizationOrder = null ): OrganizationConnection! """ @@ -43245,6 +43255,11 @@ type User implements Actor & Node & ProfileOwner & ProjectOwner & RepositoryDisc Returns the last _n_ elements from the list. """ last: Int + + """ + Ordering options for the User's organizations. + """ + orderBy: OrganizationOrder = null ): OrganizationConnection! """ diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 5989b2a51f..d1c3f42378 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -27195,6 +27195,11 @@ type OrganizationsHovercardContext implements HovercardContext { Returns the last _n_ elements from the list. """ last: Int + + """ + Ordering options for the User's organizations. + """ + orderBy: OrganizationOrder = null ): OrganizationConnection! """ @@ -53465,6 +53470,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & Returns the last _n_ elements from the list. """ last: Int + + """ + Ordering options for the User's organizations. + """ + orderBy: OrganizationOrder = null ): OrganizationConnection! """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 5989b2a51f..d1c3f42378 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -27195,6 +27195,11 @@ type OrganizationsHovercardContext implements HovercardContext { Returns the last _n_ elements from the list. """ last: Int + + """ + Ordering options for the User's organizations. + """ + orderBy: OrganizationOrder = null ): OrganizationConnection! """ @@ -53465,6 +53470,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & Returns the last _n_ elements from the list. """ last: Int + + """ + Ordering options for the User's organizations. + """ + orderBy: OrganizationOrder = null ): OrganizationConnection! """ diff --git a/lib/graphql/static/changelog.json b/lib/graphql/static/changelog.json index 62705861fd..33dc81051b 100644 --- a/lib/graphql/static/changelog.json +++ b/lib/graphql/static/changelog.json @@ -1,4 +1,18 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Argument orderBy: OrganizationOrder added to field OrganizationsHovercardContext.relevantOrganizations

", + "

Argument orderBy: OrganizationOrder added to field User.organizations

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2023-01-19" + }, { "schemaChanges": [ { diff --git a/lib/graphql/static/schema-dotcom.json b/lib/graphql/static/schema-dotcom.json index af2a12e448..c5c4dca717 100644 --- a/lib/graphql/static/schema-dotcom.json +++ b/lib/graphql/static/schema-dotcom.json @@ -38809,6 +38809,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "orderBy", + "description": "

Ordering options for the User's organizations.

", + "type": { + "name": "OrganizationOrder", + "id": "organizationorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationorder" + } } ] }, @@ -67456,6 +67466,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "orderBy", + "description": "

Ordering options for the User's organizations.

", + "type": { + "name": "OrganizationOrder", + "id": "organizationorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationorder" + } } ] }, diff --git a/lib/graphql/static/schema-ghae.json b/lib/graphql/static/schema-ghae.json index 3a09c5819a..f3de4af9fa 100644 --- a/lib/graphql/static/schema-ghae.json +++ b/lib/graphql/static/schema-ghae.json @@ -182,6 +182,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int", "description": "

Returns the last n elements from the list.

" + }, + { + "name": "orderBy", + "type": "OrganizationOrder", + "id": "organizationorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationorder", + "description": "

Ordering options for the User's organizations.

" } ] }, @@ -33759,6 +33767,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "orderBy", + "description": "

Ordering options for the User's organizations.

", + "type": { + "name": "OrganizationOrder", + "id": "organizationorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationorder" + } } ] }, @@ -56800,6 +56818,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "orderBy", + "description": "

Ordering options for the User's organizations.

", + "type": { + "name": "OrganizationOrder", + "id": "organizationorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationorder" + } } ] }, diff --git a/lib/graphql/static/schema-ghec.json b/lib/graphql/static/schema-ghec.json index af2a12e448..c5c4dca717 100644 --- a/lib/graphql/static/schema-ghec.json +++ b/lib/graphql/static/schema-ghec.json @@ -38809,6 +38809,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "orderBy", + "description": "

Ordering options for the User's organizations.

", + "type": { + "name": "OrganizationOrder", + "id": "organizationorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationorder" + } } ] }, @@ -67456,6 +67466,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "orderBy", + "description": "

Ordering options for the User's organizations.

", + "type": { + "name": "OrganizationOrder", + "id": "organizationorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationorder" + } } ] },