Skip to content

Commit f506a29

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

File tree

7 files changed

+152
-16
lines changed

7 files changed

+152
-16
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24167,7 +24167,7 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod
2416724167
"""
2416824168
Return rulesets configured at higher levels that apply to this organization
2416924169
"""
24170-
includeParents: Boolean = false
24170+
includeParents: Boolean = true
2417124171

2417224172
"""
2417324173
Returns the last _n_ elements from the list.
@@ -35243,6 +35243,11 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su
3524335243
The ID of the ruleset to be returned.
3524435244
"""
3524535245
databaseId: Int!
35246+
35247+
"""
35248+
Include rulesets configured at higher levels that apply to this repository
35249+
"""
35250+
includeParents: Boolean = true
3524635251
): RepositoryRuleset
3524735252

3524835253
"""
@@ -35267,7 +35272,7 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su
3526735272
"""
3526835273
Return rulesets configured at higher levels that apply to this repository
3526935274
"""
35270-
includeParents: Boolean = false
35275+
includeParents: Boolean = true
3527135276

3527235277
"""
3527335278
Returns the last _n_ elements from the list.

data/graphql/ghec/schema.docs.graphql

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9579,6 +9579,11 @@ enum DependencyGraphEcosystem {
95799579
Rust crates
95809580
"""
95819581
RUST
9582+
9583+
"""
9584+
Swift packages
9585+
"""
9586+
SWIFT
95829587
}
95839588

95849589
"""
@@ -27702,7 +27707,7 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod
2770227707
"""
2770327708
Return rulesets configured at higher levels that apply to this organization
2770427709
"""
27705-
includeParents: Boolean = false
27710+
includeParents: Boolean = true
2770627711

2770727712
"""
2770827713
Returns the last _n_ elements from the list.
@@ -32756,7 +32761,12 @@ type ProjectV2SingleSelectField implements Node & ProjectV2FieldCommon {
3275632761
"""
3275732762
Options for the single select field
3275832763
"""
32759-
options: [ProjectV2SingleSelectFieldOption!]!
32764+
options(
32765+
"""
32766+
Filter returned options to only those matching these names, case insensitive.
32767+
"""
32768+
names: [String!]
32769+
): [ProjectV2SingleSelectFieldOption!]!
3276032770

3276132771
"""
3276232772
The project that contains this field.
@@ -42754,6 +42764,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
4275442764
The ID of the ruleset to be returned.
4275542765
"""
4275642766
databaseId: Int!
42767+
42768+
"""
42769+
Include rulesets configured at higher levels that apply to this repository
42770+
"""
42771+
includeParents: Boolean = true
4275742772
): RepositoryRuleset
4275842773

4275942774
"""
@@ -42778,7 +42793,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
4277842793
"""
4277942794
Return rulesets configured at higher levels that apply to this repository
4278042795
"""
42781-
includeParents: Boolean = false
42796+
includeParents: Boolean = true
4278242797

4278342798
"""
4278442799
Returns the last _n_ elements from the list.
@@ -46452,6 +46467,11 @@ enum SecurityAdvisoryEcosystem {
4645246467
Rust crates
4645346468
"""
4645446469
RUST
46470+
46471+
"""
46472+
Swift packages
46473+
"""
46474+
SWIFT
4645546475
}
4645646476

4645746477
"""

data/graphql/schema.docs.graphql

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9579,6 +9579,11 @@ enum DependencyGraphEcosystem {
95799579
Rust crates
95809580
"""
95819581
RUST
9582+
9583+
"""
9584+
Swift packages
9585+
"""
9586+
SWIFT
95829587
}
95839588

95849589
"""
@@ -27702,7 +27707,7 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod
2770227707
"""
2770327708
Return rulesets configured at higher levels that apply to this organization
2770427709
"""
27705-
includeParents: Boolean = false
27710+
includeParents: Boolean = true
2770627711

2770727712
"""
2770827713
Returns the last _n_ elements from the list.
@@ -32756,7 +32761,12 @@ type ProjectV2SingleSelectField implements Node & ProjectV2FieldCommon {
3275632761
"""
3275732762
Options for the single select field
3275832763
"""
32759-
options: [ProjectV2SingleSelectFieldOption!]!
32764+
options(
32765+
"""
32766+
Filter returned options to only those matching these names, case insensitive.
32767+
"""
32768+
names: [String!]
32769+
): [ProjectV2SingleSelectFieldOption!]!
3276032770

3276132771
"""
3276232772
The project that contains this field.
@@ -42754,6 +42764,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
4275442764
The ID of the ruleset to be returned.
4275542765
"""
4275642766
databaseId: Int!
42767+
42768+
"""
42769+
Include rulesets configured at higher levels that apply to this repository
42770+
"""
42771+
includeParents: Boolean = true
4275742772
): RepositoryRuleset
4275842773

4275942774
"""
@@ -42778,7 +42793,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
4277842793
"""
4277942794
Return rulesets configured at higher levels that apply to this repository
4278042795
"""
42781-
includeParents: Boolean = false
42796+
includeParents: Boolean = true
4278242797

4278342798
"""
4278442799
Returns the last _n_ elements from the list.
@@ -46452,6 +46467,11 @@ enum SecurityAdvisoryEcosystem {
4645246467
Rust crates
4645346468
"""
4645446469
RUST
46470+
46471+
"""
46472+
Swift packages
46473+
"""
46474+
SWIFT
4645546475
}
4645646476

4645746477
"""

src/graphql/data/fpt/changelog.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Enum value <code>SWIFT</code> was added to enum <code>DependencyGraphEcosystem</code></p>",
8+
"<p>Default value for argument <code>includeParents</code> on field <code>Organization.rulesets</code> changed from <code>false</code> to <code>true</code></p>",
9+
"<p>Argument 'names: [String!]<code>added to field</code>ProjectV2SingleSelectField.options'</p>",
10+
"<p>Argument <code>includeParents: Boolean</code> (with default value) added to field <code>Repository.ruleset</code></p>",
11+
"<p>Default value for argument <code>includeParents</code> on field <code>Repository.rulesets</code> changed from <code>false</code> to <code>true</code></p>",
12+
"<p>Enum value <code>SWIFT</code> was added to enum <code>SecurityAdvisoryEcosystem</code></p>"
13+
]
14+
}
15+
],
16+
"previewChanges": [],
17+
"upcomingChanges": [],
18+
"date": "2023-06-20"
19+
},
220
{
321
"schemaChanges": [
422
{

src/graphql/data/fpt/schema.json

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38991,7 +38991,7 @@
3899138991
},
3899238992
{
3899338993
"name": "includeParents",
38994-
"defaultValue": false,
38994+
"defaultValue": true,
3899538995
"description": "<p>Return rulesets configured at higher levels that apply to this organization.</p>",
3899638996
"type": {
3899738997
"name": "Boolean",
@@ -45327,7 +45327,19 @@
4532745327
"type": "[ProjectV2SingleSelectFieldOption!]!",
4532845328
"id": "projectv2singleselectfieldoption",
4532945329
"kind": "objects",
45330-
"href": "/graphql/reference/objects#projectv2singleselectfieldoption"
45330+
"href": "/graphql/reference/objects#projectv2singleselectfieldoption",
45331+
"arguments": [
45332+
{
45333+
"name": "names",
45334+
"description": "<p>Filter returned options to only those matching these names, case insensitive.</p>",
45335+
"type": {
45336+
"name": "[String!]",
45337+
"id": "string",
45338+
"kind": "scalars",
45339+
"href": "/graphql/reference/scalars#string"
45340+
}
45341+
}
45342+
]
4533145343
},
4533245344
{
4533345345
"name": "project",
@@ -59330,6 +59342,17 @@
5933059342
"kind": "scalars",
5933159343
"href": "/graphql/reference/scalars#int"
5933259344
}
59345+
},
59346+
{
59347+
"name": "includeParents",
59348+
"defaultValue": true,
59349+
"description": "<p>Include rulesets configured at higher levels that apply to this repository.</p>",
59350+
"type": {
59351+
"name": "Boolean",
59352+
"id": "boolean",
59353+
"kind": "scalars",
59354+
"href": "/graphql/reference/scalars#boolean"
59355+
}
5933359356
}
5933459357
]
5933559358
},
@@ -59373,7 +59396,7 @@
5937359396
},
5937459397
{
5937559398
"name": "includeParents",
59376-
"defaultValue": false,
59399+
"defaultValue": true,
5937759400
"description": "<p>Return rulesets configured at higher levels that apply to this repository.</p>",
5937859401
"type": {
5937959402
"name": "Boolean",
@@ -78041,6 +78064,10 @@
7804178064
{
7804278065
"name": "RUST",
7804378066
"description": "<p>Rust crates.</p>"
78067+
},
78068+
{
78069+
"name": "SWIFT",
78070+
"description": "<p>Swift packages.</p>"
7804478071
}
7804578072
]
7804678073
},
@@ -82029,6 +82056,10 @@
8202982056
{
8203082057
"name": "RUST",
8203182058
"description": "<p>Rust crates.</p>"
82059+
},
82060+
{
82061+
"name": "SWIFT",
82062+
"description": "<p>Swift packages.</p>"
8203282063
}
8203382064
]
8203482065
},

src/graphql/data/ghae/schema.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34080,7 +34080,7 @@
3408034080
},
3408134081
{
3408234082
"name": "includeParents",
34083-
"defaultValue": false,
34083+
"defaultValue": true,
3408434084
"description": "<p>Return rulesets configured at higher levels that apply to this organization.</p>",
3408534085
"type": {
3408634086
"name": "Boolean",
@@ -49537,6 +49537,17 @@
4953749537
"kind": "scalars",
4953849538
"href": "/graphql/reference/scalars#int"
4953949539
}
49540+
},
49541+
{
49542+
"name": "includeParents",
49543+
"defaultValue": true,
49544+
"description": "<p>Include rulesets configured at higher levels that apply to this repository.</p>",
49545+
"type": {
49546+
"name": "Boolean",
49547+
"id": "boolean",
49548+
"kind": "scalars",
49549+
"href": "/graphql/reference/scalars#boolean"
49550+
}
4954049551
}
4954149552
]
4954249553
},
@@ -49580,7 +49591,7 @@
4958049591
},
4958149592
{
4958249593
"name": "includeParents",
49583-
"defaultValue": false,
49594+
"defaultValue": true,
4958449595
"description": "<p>Return rulesets configured at higher levels that apply to this repository.</p>",
4958549596
"type": {
4958649597
"name": "Boolean",

src/graphql/data/ghec/schema.json

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38991,7 +38991,7 @@
3899138991
},
3899238992
{
3899338993
"name": "includeParents",
38994-
"defaultValue": false,
38994+
"defaultValue": true,
3899538995
"description": "<p>Return rulesets configured at higher levels that apply to this organization.</p>",
3899638996
"type": {
3899738997
"name": "Boolean",
@@ -45327,7 +45327,19 @@
4532745327
"type": "[ProjectV2SingleSelectFieldOption!]!",
4532845328
"id": "projectv2singleselectfieldoption",
4532945329
"kind": "objects",
45330-
"href": "/graphql/reference/objects#projectv2singleselectfieldoption"
45330+
"href": "/graphql/reference/objects#projectv2singleselectfieldoption",
45331+
"arguments": [
45332+
{
45333+
"name": "names",
45334+
"description": "<p>Filter returned options to only those matching these names, case insensitive.</p>",
45335+
"type": {
45336+
"name": "[String!]",
45337+
"id": "string",
45338+
"kind": "scalars",
45339+
"href": "/graphql/reference/scalars#string"
45340+
}
45341+
}
45342+
]
4533145343
},
4533245344
{
4533345345
"name": "project",
@@ -59330,6 +59342,17 @@
5933059342
"kind": "scalars",
5933159343
"href": "/graphql/reference/scalars#int"
5933259344
}
59345+
},
59346+
{
59347+
"name": "includeParents",
59348+
"defaultValue": true,
59349+
"description": "<p>Include rulesets configured at higher levels that apply to this repository.</p>",
59350+
"type": {
59351+
"name": "Boolean",
59352+
"id": "boolean",
59353+
"kind": "scalars",
59354+
"href": "/graphql/reference/scalars#boolean"
59355+
}
5933359356
}
5933459357
]
5933559358
},
@@ -59373,7 +59396,7 @@
5937359396
},
5937459397
{
5937559398
"name": "includeParents",
59376-
"defaultValue": false,
59399+
"defaultValue": true,
5937759400
"description": "<p>Return rulesets configured at higher levels that apply to this repository.</p>",
5937859401
"type": {
5937959402
"name": "Boolean",
@@ -78041,6 +78064,10 @@
7804178064
{
7804278065
"name": "RUST",
7804378066
"description": "<p>Rust crates.</p>"
78067+
},
78068+
{
78069+
"name": "SWIFT",
78070+
"description": "<p>Swift packages.</p>"
7804478071
}
7804578072
]
7804678073
},
@@ -82029,6 +82056,10 @@
8202982056
{
8203082057
"name": "RUST",
8203182058
"description": "<p>Rust crates.</p>"
82059+
},
82060+
{
82061+
"name": "SWIFT",
82062+
"description": "<p>Swift packages.</p>"
8203282063
}
8203382064
]
8203482065
},

0 commit comments

Comments
 (0)