diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index 5bb101d7c6..f9a833914d 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -13256,6 +13256,31 @@ type EnvironmentEdge { node: Environment } +""" +Properties by which environments connections can be ordered +""" +enum EnvironmentOrderField { + """ + Order environments by name. + """ + NAME +} + +""" +Ordering options for environments +""" +input Environments { + """ + The direction in which to order environments by the specified field. + """ + direction: OrderDirection! + + """ + The field to order environments by. + """ + field: EnvironmentOrderField! +} + """ An external identity provisioned by SAML SSO or SCIM. If SAML is configured on the organization, the external identity is visible to (1) organization owners, @@ -34728,6 +34753,11 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su Returns the last _n_ elements from the list. """ last: Int + + """ + Ordering options for the environments + """ + orderBy: Environments = {field: NAME, direction: ASC} ): EnvironmentConnection! """ diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index d88db78218..aa39a576dc 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -14921,6 +14921,31 @@ type EnvironmentEdge { node: Environment } +""" +Properties by which environments connections can be ordered +""" +enum EnvironmentOrderField { + """ + Order environments by name. + """ + NAME +} + +""" +Ordering options for environments +""" +input Environments { + """ + The direction in which to order environments by the specified field. + """ + direction: OrderDirection! + + """ + The field to order environments by. + """ + field: EnvironmentOrderField! +} + """ An external identity provisioned by SAML SSO or SCIM. If SAML is configured on the organization, the external identity is visible to (1) organization owners, @@ -42149,6 +42174,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent Returns the last _n_ elements from the list. """ last: Int + + """ + Ordering options for the environments + """ + orderBy: Environments = {field: NAME, direction: ASC} ): EnvironmentConnection! """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index d88db78218..aa39a576dc 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -14921,6 +14921,31 @@ type EnvironmentEdge { node: Environment } +""" +Properties by which environments connections can be ordered +""" +enum EnvironmentOrderField { + """ + Order environments by name. + """ + NAME +} + +""" +Ordering options for environments +""" +input Environments { + """ + The direction in which to order environments by the specified field. + """ + direction: OrderDirection! + + """ + The field to order environments by. + """ + field: EnvironmentOrderField! +} + """ An external identity provisioned by SAML SSO or SCIM. If SAML is configured on the organization, the external identity is visible to (1) organization owners, @@ -42149,6 +42174,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent Returns the last _n_ elements from the list. """ last: Int + + """ + Ordering options for the environments + """ + orderBy: Environments = {field: NAME, direction: ASC} ): EnvironmentConnection! """ diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index c30a2314b3..1ba0e0c532 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,19 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type EnvironmentOrderField was added

", + "

Type Environments was added

", + "

Argument orderBy: Environments (with default value) added to field Repository.environments

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2023-07-13" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 6f8893d469..b4418b709f 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -58069,6 +58069,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "orderBy", + "description": "

Ordering options for the environments.

", + "type": { + "name": "Environments", + "id": "environments", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#environments" + } } ] }, @@ -79249,6 +79259,19 @@ } ] }, + { + "name": "EnvironmentOrderField", + "kind": "enums", + "id": "environmentorderfield", + "href": "/graphql/reference/enums#environmentorderfield", + "description": "

Properties by which environments connections can be ordered.

", + "values": [ + { + "name": "NAME", + "description": "

Order environments by name.

" + } + ] + }, { "name": "FileViewedState", "kind": "enums", @@ -91786,6 +91809,31 @@ } ] }, + { + "name": "Environments", + "kind": "inputObjects", + "id": "environments", + "href": "/graphql/reference/input-objects#environments", + "description": "

Ordering options for environments.

", + "inputFields": [ + { + "name": "direction", + "description": "

The direction in which to order environments by the specified field.

", + "type": "OrderDirection!", + "id": "orderdirection", + "kind": "enums", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order environments by.

", + "type": "EnvironmentOrderField!", + "id": "environmentorderfield", + "kind": "enums", + "href": "/graphql/reference/enums#environmentorderfield" + } + ] + }, { "name": "FileAddition", "kind": "inputObjects", diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index f4f5f04171..1c00a13331 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -48474,6 +48474,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "orderBy", + "description": "

Ordering options for the environments.

", + "type": { + "name": "Environments", + "id": "environments", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#environments" + } } ] }, @@ -65722,6 +65732,19 @@ } ] }, + { + "name": "EnvironmentOrderField", + "kind": "enums", + "id": "environmentorderfield", + "href": "/graphql/reference/enums#environmentorderfield", + "description": "

Properties by which environments connections can be ordered.

", + "values": [ + { + "name": "NAME", + "description": "

Order environments by name.

" + } + ] + }, { "name": "FileViewedState", "kind": "enums", @@ -74903,6 +74926,31 @@ } ] }, + { + "name": "Environments", + "kind": "inputObjects", + "id": "environments", + "href": "/graphql/reference/input-objects#environments", + "description": "

Ordering options for environments.

", + "inputFields": [ + { + "name": "direction", + "description": "

The direction in which to order environments by the specified field.

", + "type": "OrderDirection!", + "id": "orderdirection", + "kind": "enums", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order environments by.

", + "type": "EnvironmentOrderField!", + "id": "environmentorderfield", + "kind": "enums", + "href": "/graphql/reference/enums#environmentorderfield" + } + ] + }, { "name": "FileAddition", "kind": "inputObjects", diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 6f8893d469..b4418b709f 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -58069,6 +58069,16 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" } + }, + { + "name": "orderBy", + "description": "

Ordering options for the environments.

", + "type": { + "name": "Environments", + "id": "environments", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#environments" + } } ] }, @@ -79249,6 +79259,19 @@ } ] }, + { + "name": "EnvironmentOrderField", + "kind": "enums", + "id": "environmentorderfield", + "href": "/graphql/reference/enums#environmentorderfield", + "description": "

Properties by which environments connections can be ordered.

", + "values": [ + { + "name": "NAME", + "description": "

Order environments by name.

" + } + ] + }, { "name": "FileViewedState", "kind": "enums", @@ -91786,6 +91809,31 @@ } ] }, + { + "name": "Environments", + "kind": "inputObjects", + "id": "environments", + "href": "/graphql/reference/input-objects#environments", + "description": "

Ordering options for environments.

", + "inputFields": [ + { + "name": "direction", + "description": "

The direction in which to order environments by the specified field.

", + "type": "OrderDirection!", + "id": "orderdirection", + "kind": "enums", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order environments by.

", + "type": "EnvironmentOrderField!", + "id": "environmentorderfield", + "kind": "enums", + "href": "/graphql/reference/enums#environmentorderfield" + } + ] + }, { "name": "FileAddition", "kind": "inputObjects",