Skip to content

Commit 7cec0a8

Browse files
docs-botrachmari
andauthored
GraphQL schema update (github#39046)
Co-authored-by: rachmari <rachmari@users.noreply.github.com>
1 parent efe2f45 commit 7cec0a8

7 files changed

Lines changed: 249 additions & 0 deletions

File tree

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13256,6 +13256,31 @@ type EnvironmentEdge {
1325613256
node: Environment
1325713257
}
1325813258

13259+
"""
13260+
Properties by which environments connections can be ordered
13261+
"""
13262+
enum EnvironmentOrderField {
13263+
"""
13264+
Order environments by name.
13265+
"""
13266+
NAME
13267+
}
13268+
13269+
"""
13270+
Ordering options for environments
13271+
"""
13272+
input Environments {
13273+
"""
13274+
The direction in which to order environments by the specified field.
13275+
"""
13276+
direction: OrderDirection!
13277+
13278+
"""
13279+
The field to order environments by.
13280+
"""
13281+
field: EnvironmentOrderField!
13282+
}
13283+
1325913284
"""
1326013285
An external identity provisioned by SAML SSO or SCIM. If SAML is configured on
1326113286
the organization, the external identity is visible to (1) organization owners,
@@ -34728,6 +34753,11 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su
3472834753
Returns the last _n_ elements from the list.
3472934754
"""
3473034755
last: Int
34756+
34757+
"""
34758+
Ordering options for the environments
34759+
"""
34760+
orderBy: Environments = {field: NAME, direction: ASC}
3473134761
): EnvironmentConnection!
3473234762

3473334763
"""

data/graphql/ghec/schema.docs.graphql

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14921,6 +14921,31 @@ type EnvironmentEdge {
1492114921
node: Environment
1492214922
}
1492314923

14924+
"""
14925+
Properties by which environments connections can be ordered
14926+
"""
14927+
enum EnvironmentOrderField {
14928+
"""
14929+
Order environments by name.
14930+
"""
14931+
NAME
14932+
}
14933+
14934+
"""
14935+
Ordering options for environments
14936+
"""
14937+
input Environments {
14938+
"""
14939+
The direction in which to order environments by the specified field.
14940+
"""
14941+
direction: OrderDirection!
14942+
14943+
"""
14944+
The field to order environments by.
14945+
"""
14946+
field: EnvironmentOrderField!
14947+
}
14948+
1492414949
"""
1492514950
An external identity provisioned by SAML SSO or SCIM. If SAML is configured on
1492614951
the organization, the external identity is visible to (1) organization owners,
@@ -42149,6 +42174,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
4214942174
Returns the last _n_ elements from the list.
4215042175
"""
4215142176
last: Int
42177+
42178+
"""
42179+
Ordering options for the environments
42180+
"""
42181+
orderBy: Environments = {field: NAME, direction: ASC}
4215242182
): EnvironmentConnection!
4215342183

4215442184
"""

data/graphql/schema.docs.graphql

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14921,6 +14921,31 @@ type EnvironmentEdge {
1492114921
node: Environment
1492214922
}
1492314923

14924+
"""
14925+
Properties by which environments connections can be ordered
14926+
"""
14927+
enum EnvironmentOrderField {
14928+
"""
14929+
Order environments by name.
14930+
"""
14931+
NAME
14932+
}
14933+
14934+
"""
14935+
Ordering options for environments
14936+
"""
14937+
input Environments {
14938+
"""
14939+
The direction in which to order environments by the specified field.
14940+
"""
14941+
direction: OrderDirection!
14942+
14943+
"""
14944+
The field to order environments by.
14945+
"""
14946+
field: EnvironmentOrderField!
14947+
}
14948+
1492414949
"""
1492514950
An external identity provisioned by SAML SSO or SCIM. If SAML is configured on
1492614951
the organization, the external identity is visible to (1) organization owners,
@@ -42149,6 +42174,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
4214942174
Returns the last _n_ elements from the list.
4215042175
"""
4215142176
last: Int
42177+
42178+
"""
42179+
Ordering options for the environments
42180+
"""
42181+
orderBy: Environments = {field: NAME, direction: ASC}
4215242182
): EnvironmentConnection!
4215342183

4215442184
"""

src/graphql/data/fpt/changelog.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>EnvironmentOrderField</code> was added</p>",
8+
"<p>Type <code>Environments</code> was added</p>",
9+
"<p>Argument <code>orderBy: Environments</code> (with default value) added to field <code>Repository.environments</code></p>"
10+
]
11+
}
12+
],
13+
"previewChanges": [],
14+
"upcomingChanges": [],
15+
"date": "2023-07-13"
16+
},
217
{
318
"schemaChanges": [
419
{

src/graphql/data/fpt/schema.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58069,6 +58069,16 @@
5806958069
"kind": "scalars",
5807058070
"href": "/graphql/reference/scalars#int"
5807158071
}
58072+
},
58073+
{
58074+
"name": "orderBy",
58075+
"description": "<p>Ordering options for the environments.</p>",
58076+
"type": {
58077+
"name": "Environments",
58078+
"id": "environments",
58079+
"kind": "input-objects",
58080+
"href": "/graphql/reference/input-objects#environments"
58081+
}
5807258082
}
5807358083
]
5807458084
},
@@ -79249,6 +79259,19 @@
7924979259
}
7925079260
]
7925179261
},
79262+
{
79263+
"name": "EnvironmentOrderField",
79264+
"kind": "enums",
79265+
"id": "environmentorderfield",
79266+
"href": "/graphql/reference/enums#environmentorderfield",
79267+
"description": "<p>Properties by which environments connections can be ordered.</p>",
79268+
"values": [
79269+
{
79270+
"name": "NAME",
79271+
"description": "<p>Order environments by name.</p>"
79272+
}
79273+
]
79274+
},
7925279275
{
7925379276
"name": "FileViewedState",
7925479277
"kind": "enums",
@@ -91786,6 +91809,31 @@
9178691809
}
9178791810
]
9178891811
},
91812+
{
91813+
"name": "Environments",
91814+
"kind": "inputObjects",
91815+
"id": "environments",
91816+
"href": "/graphql/reference/input-objects#environments",
91817+
"description": "<p>Ordering options for environments.</p>",
91818+
"inputFields": [
91819+
{
91820+
"name": "direction",
91821+
"description": "<p>The direction in which to order environments by the specified field.</p>",
91822+
"type": "OrderDirection!",
91823+
"id": "orderdirection",
91824+
"kind": "enums",
91825+
"href": "/graphql/reference/enums#orderdirection"
91826+
},
91827+
{
91828+
"name": "field",
91829+
"description": "<p>The field to order environments by.</p>",
91830+
"type": "EnvironmentOrderField!",
91831+
"id": "environmentorderfield",
91832+
"kind": "enums",
91833+
"href": "/graphql/reference/enums#environmentorderfield"
91834+
}
91835+
]
91836+
},
9178991837
{
9179091838
"name": "FileAddition",
9179191839
"kind": "inputObjects",

src/graphql/data/ghae/schema.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48474,6 +48474,16 @@
4847448474
"kind": "scalars",
4847548475
"href": "/graphql/reference/scalars#int"
4847648476
}
48477+
},
48478+
{
48479+
"name": "orderBy",
48480+
"description": "<p>Ordering options for the environments.</p>",
48481+
"type": {
48482+
"name": "Environments",
48483+
"id": "environments",
48484+
"kind": "input-objects",
48485+
"href": "/graphql/reference/input-objects#environments"
48486+
}
4847748487
}
4847848488
]
4847948489
},
@@ -65722,6 +65732,19 @@
6572265732
}
6572365733
]
6572465734
},
65735+
{
65736+
"name": "EnvironmentOrderField",
65737+
"kind": "enums",
65738+
"id": "environmentorderfield",
65739+
"href": "/graphql/reference/enums#environmentorderfield",
65740+
"description": "<p>Properties by which environments connections can be ordered.</p>",
65741+
"values": [
65742+
{
65743+
"name": "NAME",
65744+
"description": "<p>Order environments by name.</p>"
65745+
}
65746+
]
65747+
},
6572565748
{
6572665749
"name": "FileViewedState",
6572765750
"kind": "enums",
@@ -74903,6 +74926,31 @@
7490374926
}
7490474927
]
7490574928
},
74929+
{
74930+
"name": "Environments",
74931+
"kind": "inputObjects",
74932+
"id": "environments",
74933+
"href": "/graphql/reference/input-objects#environments",
74934+
"description": "<p>Ordering options for environments.</p>",
74935+
"inputFields": [
74936+
{
74937+
"name": "direction",
74938+
"description": "<p>The direction in which to order environments by the specified field.</p>",
74939+
"type": "OrderDirection!",
74940+
"id": "orderdirection",
74941+
"kind": "enums",
74942+
"href": "/graphql/reference/enums#orderdirection"
74943+
},
74944+
{
74945+
"name": "field",
74946+
"description": "<p>The field to order environments by.</p>",
74947+
"type": "EnvironmentOrderField!",
74948+
"id": "environmentorderfield",
74949+
"kind": "enums",
74950+
"href": "/graphql/reference/enums#environmentorderfield"
74951+
}
74952+
]
74953+
},
7490674954
{
7490774955
"name": "FileAddition",
7490874956
"kind": "inputObjects",

src/graphql/data/ghec/schema.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58069,6 +58069,16 @@
5806958069
"kind": "scalars",
5807058070
"href": "/graphql/reference/scalars#int"
5807158071
}
58072+
},
58073+
{
58074+
"name": "orderBy",
58075+
"description": "<p>Ordering options for the environments.</p>",
58076+
"type": {
58077+
"name": "Environments",
58078+
"id": "environments",
58079+
"kind": "input-objects",
58080+
"href": "/graphql/reference/input-objects#environments"
58081+
}
5807258082
}
5807358083
]
5807458084
},
@@ -79249,6 +79259,19 @@
7924979259
}
7925079260
]
7925179261
},
79262+
{
79263+
"name": "EnvironmentOrderField",
79264+
"kind": "enums",
79265+
"id": "environmentorderfield",
79266+
"href": "/graphql/reference/enums#environmentorderfield",
79267+
"description": "<p>Properties by which environments connections can be ordered.</p>",
79268+
"values": [
79269+
{
79270+
"name": "NAME",
79271+
"description": "<p>Order environments by name.</p>"
79272+
}
79273+
]
79274+
},
7925279275
{
7925379276
"name": "FileViewedState",
7925479277
"kind": "enums",
@@ -91786,6 +91809,31 @@
9178691809
}
9178791810
]
9178891811
},
91812+
{
91813+
"name": "Environments",
91814+
"kind": "inputObjects",
91815+
"id": "environments",
91816+
"href": "/graphql/reference/input-objects#environments",
91817+
"description": "<p>Ordering options for environments.</p>",
91818+
"inputFields": [
91819+
{
91820+
"name": "direction",
91821+
"description": "<p>The direction in which to order environments by the specified field.</p>",
91822+
"type": "OrderDirection!",
91823+
"id": "orderdirection",
91824+
"kind": "enums",
91825+
"href": "/graphql/reference/enums#orderdirection"
91826+
},
91827+
{
91828+
"name": "field",
91829+
"description": "<p>The field to order environments by.</p>",
91830+
"type": "EnvironmentOrderField!",
91831+
"id": "environmentorderfield",
91832+
"kind": "enums",
91833+
"href": "/graphql/reference/enums#environmentorderfield"
91834+
}
91835+
]
91836+
},
9178991837
{
9179091838
"name": "FileAddition",
9179191839
"kind": "inputObjects",

0 commit comments

Comments
 (0)