Skip to content

Commit eeb2a2a

Browse files
docs-botheiskr
andauthored
GraphQL schema update (#58195)
Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com>
1 parent 445a741 commit eeb2a2a

File tree

5 files changed

+425
-12
lines changed

5 files changed

+425
-12
lines changed

src/graphql/data/fpt/changelog.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>OrganizationPropertyConditionTarget</code> was added</p>",
8+
"<p>Type <code>OrganizationPropertyConditionTargetInput</code> was added</p>",
9+
"<p>Type <code>OrganizationPropertyTargetDefinition</code> was added</p>",
10+
"<p>Type <code>OrganizationPropertyTargetDefinitionInput</code> was added</p>",
11+
"<p>Field <code>organizationProperty</code> was added to object type <code>RepositoryRuleConditions</code></p>",
12+
"<p>Input field <code>organizationProperty</code> of type <code>OrganizationPropertyConditionTargetInput</code> was added to input object type <code>RepositoryRuleConditionsInput</code></p>",
13+
"<p>Enum value <code>INCONCLUSIVE</code> was added to enum <code>RepositoryVulnerabilityAlertDependencyRelationship</code></p>"
14+
]
15+
}
16+
],
17+
"previewChanges": [],
18+
"upcomingChanges": [],
19+
"date": "2025-10-24"
20+
},
221
{
322
"schemaChanges": [
423
{

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 81 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34562,6 +34562,66 @@ enum OrganizationOrderField {
3456234562
LOGIN
3456334563
}
3456434564

34565+
"""
34566+
Parameters to be used for the organization_property condition
34567+
"""
34568+
type OrganizationPropertyConditionTarget {
34569+
"""
34570+
Array of organization properties that must not match.
34571+
"""
34572+
exclude: [OrganizationPropertyTargetDefinition!]!
34573+
34574+
"""
34575+
Array of organization properties that must match
34576+
"""
34577+
include: [OrganizationPropertyTargetDefinition!]!
34578+
}
34579+
34580+
"""
34581+
Parameters to be used for the organization_property condition
34582+
"""
34583+
input OrganizationPropertyConditionTargetInput {
34584+
"""
34585+
Array of organization properties that must not match.
34586+
"""
34587+
exclude: [OrganizationPropertyTargetDefinitionInput!]!
34588+
34589+
"""
34590+
Array of organization properties that must match
34591+
"""
34592+
include: [OrganizationPropertyTargetDefinitionInput!]!
34593+
}
34594+
34595+
"""
34596+
A property that must match
34597+
"""
34598+
type OrganizationPropertyTargetDefinition {
34599+
"""
34600+
The name of the property
34601+
"""
34602+
name: String!
34603+
34604+
"""
34605+
The values to match for
34606+
"""
34607+
propertyValues: [String!]!
34608+
}
34609+
34610+
"""
34611+
A property that must match
34612+
"""
34613+
input OrganizationPropertyTargetDefinitionInput {
34614+
"""
34615+
The name of the property
34616+
"""
34617+
name: String!
34618+
34619+
"""
34620+
The values to match for
34621+
"""
34622+
propertyValues: [String!]!
34623+
}
34624+
3456534625
"""
3456634626
An organization teams hovercard context
3456734627
"""
@@ -52970,6 +53030,11 @@ type RepositoryRule implements Node {
5297053030
Set of conditions that determine if a ruleset will evaluate
5297153031
"""
5297253032
type RepositoryRuleConditions {
53033+
"""
53034+
Configuration for the organization_property condition
53035+
"""
53036+
organizationProperty: OrganizationPropertyConditionTarget
53037+
5297353038
"""
5297453039
Configuration for the ref_name condition
5297553040
"""
@@ -52995,6 +53060,11 @@ type RepositoryRuleConditions {
5299553060
Specifies the conditions required for a ruleset to evaluate
5299653061
"""
5299753062
input RepositoryRuleConditionsInput {
53063+
"""
53064+
Configuration for the organization_property condition
53065+
"""
53066+
organizationProperty: OrganizationPropertyConditionTargetInput
53067+
5299853068
"""
5299953069
Configuration for the ref_name condition
5300053070
"""
@@ -54150,6 +54220,11 @@ enum RepositoryVulnerabilityAlertDependencyRelationship {
5415054220
"""
5415154221
DIRECT
5415254222

54223+
"""
54224+
The relationship could not be determined
54225+
"""
54226+
INCONCLUSIVE
54227+
5415354228
"""
5415454229
A transitive dependency of your project
5415554230
"""
@@ -66080,7 +66155,9 @@ input UpdateProjectV2FieldInput {
6608066155
)
6608166156

6608266157
"""
66083-
Configuration for an iteration field.
66158+
Configuration for a field of type ITERATION. Empty input is ignored, provided
66159+
values overwrite the existing configuration, and existing configuration should
66160+
be fetched for partial updates.
6608466161
"""
6608566162
iterationConfiguration: ProjectV2IterationFieldConfigurationInput
6608666163

@@ -66090,9 +66167,9 @@ input UpdateProjectV2FieldInput {
6609066167
name: String
6609166168

6609266169
"""
66093-
Options for a field of type SINGLE_SELECT. If empty, no changes will be made
66094-
to the options. If values are present, they will overwrite the existing
66095-
options for the field.
66170+
Options for a field of type SINGLE_SELECT. Empty input is ignored, provided
66171+
values overwrite existing options, and existing options should be fetched for
66172+
partial updates.
6609666173
"""
6609766174
singleSelectOptions: [ProjectV2SingleSelectFieldOptionInput!]
6609866175
}

src/graphql/data/fpt/schema.json

Lines changed: 122 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46507,6 +46507,56 @@
4650746507
}
4650846508
]
4650946509
},
46510+
{
46511+
"name": "OrganizationPropertyConditionTarget",
46512+
"kind": "objects",
46513+
"id": "organizationpropertyconditiontarget",
46514+
"href": "/graphql/reference/objects#organizationpropertyconditiontarget",
46515+
"description": "<p>Parameters to be used for the organization_property condition.</p>",
46516+
"fields": [
46517+
{
46518+
"name": "exclude",
46519+
"description": "<p>Array of organization properties that must not match.</p>",
46520+
"type": "[OrganizationPropertyTargetDefinition!]!",
46521+
"id": "organizationpropertytargetdefinition",
46522+
"kind": "objects",
46523+
"href": "/graphql/reference/objects#organizationpropertytargetdefinition"
46524+
},
46525+
{
46526+
"name": "include",
46527+
"description": "<p>Array of organization properties that must match.</p>",
46528+
"type": "[OrganizationPropertyTargetDefinition!]!",
46529+
"id": "organizationpropertytargetdefinition",
46530+
"kind": "objects",
46531+
"href": "/graphql/reference/objects#organizationpropertytargetdefinition"
46532+
}
46533+
]
46534+
},
46535+
{
46536+
"name": "OrganizationPropertyTargetDefinition",
46537+
"kind": "objects",
46538+
"id": "organizationpropertytargetdefinition",
46539+
"href": "/graphql/reference/objects#organizationpropertytargetdefinition",
46540+
"description": "<p>A property that must match.</p>",
46541+
"fields": [
46542+
{
46543+
"name": "name",
46544+
"description": "<p>The name of the property.</p>",
46545+
"type": "String!",
46546+
"id": "string",
46547+
"kind": "scalars",
46548+
"href": "/graphql/reference/scalars#string"
46549+
},
46550+
{
46551+
"name": "propertyValues",
46552+
"description": "<p>The values to match for.</p>",
46553+
"type": "[String!]!",
46554+
"id": "string",
46555+
"kind": "scalars",
46556+
"href": "/graphql/reference/scalars#string"
46557+
}
46558+
]
46559+
},
4651046560
{
4651146561
"name": "OrganizationTeamsHovercardContext",
4651246562
"kind": "objects",
@@ -69346,6 +69396,14 @@
6934669396
"href": "/graphql/reference/objects#repositoryruleconditions",
6934769397
"description": "<p>Set of conditions that determine if a ruleset will evaluate.</p>",
6934869398
"fields": [
69399+
{
69400+
"name": "organizationProperty",
69401+
"description": "<p>Configuration for the organization_property condition.</p>",
69402+
"type": "OrganizationPropertyConditionTarget",
69403+
"id": "organizationpropertyconditiontarget",
69404+
"kind": "objects",
69405+
"href": "/graphql/reference/objects#organizationpropertyconditiontarget"
69406+
},
6934969407
{
6935069408
"name": "refName",
6935169409
"description": "<p>Configuration for the ref_name condition.</p>",
@@ -93447,6 +93505,10 @@
9344793505
"name": "DIRECT",
9344893506
"description": "<p>A direct dependency of your project.</p>"
9344993507
},
93508+
{
93509+
"name": "INCONCLUSIVE",
93510+
"description": "<p>The relationship could not be determined.</p>"
93511+
},
9345093512
{
9345193513
"name": "TRANSITIVE",
9345293514
"description": "<p>A transitive dependency of your project.</p>"
@@ -105247,6 +105309,56 @@
105247105309
}
105248105310
]
105249105311
},
105312+
{
105313+
"name": "OrganizationPropertyConditionTargetInput",
105314+
"kind": "inputObjects",
105315+
"id": "organizationpropertyconditiontargetinput",
105316+
"href": "/graphql/reference/input-objects#organizationpropertyconditiontargetinput",
105317+
"description": "<p>Parameters to be used for the organization_property condition.</p>",
105318+
"inputFields": [
105319+
{
105320+
"name": "exclude",
105321+
"description": "<p>Array of organization properties that must not match.</p>",
105322+
"type": "[OrganizationPropertyTargetDefinitionInput!]!",
105323+
"id": "organizationpropertytargetdefinitioninput",
105324+
"kind": "input-objects",
105325+
"href": "/graphql/reference/input-objects#organizationpropertytargetdefinitioninput"
105326+
},
105327+
{
105328+
"name": "include",
105329+
"description": "<p>Array of organization properties that must match.</p>",
105330+
"type": "[OrganizationPropertyTargetDefinitionInput!]!",
105331+
"id": "organizationpropertytargetdefinitioninput",
105332+
"kind": "input-objects",
105333+
"href": "/graphql/reference/input-objects#organizationpropertytargetdefinitioninput"
105334+
}
105335+
]
105336+
},
105337+
{
105338+
"name": "OrganizationPropertyTargetDefinitionInput",
105339+
"kind": "inputObjects",
105340+
"id": "organizationpropertytargetdefinitioninput",
105341+
"href": "/graphql/reference/input-objects#organizationpropertytargetdefinitioninput",
105342+
"description": "<p>A property that must match.</p>",
105343+
"inputFields": [
105344+
{
105345+
"name": "name",
105346+
"description": "<p>The name of the property.</p>",
105347+
"type": "String!",
105348+
"id": "string",
105349+
"kind": "scalars",
105350+
"href": "/graphql/reference/scalars#string"
105351+
},
105352+
{
105353+
"name": "propertyValues",
105354+
"description": "<p>The values to match for.</p>",
105355+
"type": "[String!]!",
105356+
"id": "string",
105357+
"kind": "scalars",
105358+
"href": "/graphql/reference/scalars#string"
105359+
}
105360+
]
105361+
},
105250105362
{
105251105363
"name": "PackageFileOrder",
105252105364
"kind": "inputObjects",
@@ -106978,6 +107090,14 @@
106978107090
"href": "/graphql/reference/input-objects#repositoryruleconditionsinput",
106979107091
"description": "<p>Specifies the conditions required for a ruleset to evaluate.</p>",
106980107092
"inputFields": [
107093+
{
107094+
"name": "organizationProperty",
107095+
"description": "<p>Configuration for the organization_property condition.</p>",
107096+
"type": "OrganizationPropertyConditionTargetInput",
107097+
"id": "organizationpropertyconditiontargetinput",
107098+
"kind": "input-objects",
107099+
"href": "/graphql/reference/input-objects#organizationpropertyconditiontargetinput"
107100+
},
106981107101
{
106982107102
"name": "refName",
106983107103
"description": "<p>Configuration for the ref_name condition.</p>",
@@ -111132,7 +111252,7 @@
111132111252
},
111133111253
{
111134111254
"name": "iterationConfiguration",
111135-
"description": "<p>Configuration for an iteration field.</p>",
111255+
"description": "<p>Configuration for a field of type ITERATION. Empty input is ignored, provided\nvalues overwrite the existing configuration, and existing configuration should\nbe fetched for partial updates.</p>",
111136111256
"type": "ProjectV2IterationFieldConfigurationInput",
111137111257
"id": "projectv2iterationfieldconfigurationinput",
111138111258
"kind": "input-objects",
@@ -111148,7 +111268,7 @@
111148111268
},
111149111269
{
111150111270
"name": "singleSelectOptions",
111151-
"description": "<p>Options for a field of type SINGLE_SELECT. If empty, no changes will be made\nto the options. If values are present, they will overwrite the existing\noptions for the field.</p>",
111271+
"description": "<p>Options for a field of type SINGLE_SELECT. Empty input is ignored, provided\nvalues overwrite existing options, and existing options should be fetched for\npartial updates.</p>",
111152111272
"type": "[ProjectV2SingleSelectFieldOptionInput!]",
111153111273
"id": "projectv2singleselectfieldoptioninput",
111154111274
"kind": "input-objects",

0 commit comments

Comments
 (0)