diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 1879fd41b8b6..7f034577ce2a 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,23 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type OrganizationPropertyConditionTarget was added

", + "

Type OrganizationPropertyConditionTargetInput was added

", + "

Type OrganizationPropertyTargetDefinition was added

", + "

Type OrganizationPropertyTargetDefinitionInput was added

", + "

Field organizationProperty was added to object type RepositoryRuleConditions

", + "

Input field organizationProperty of type OrganizationPropertyConditionTargetInput was added to input object type RepositoryRuleConditionsInput

", + "

Enum value INCONCLUSIVE was added to enum RepositoryVulnerabilityAlertDependencyRelationship

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2025-10-24" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 3ca2d516848e..1189fcc8b080 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -34562,6 +34562,66 @@ enum OrganizationOrderField { LOGIN } +""" +Parameters to be used for the organization_property condition +""" +type OrganizationPropertyConditionTarget { + """ + Array of organization properties that must not match. + """ + exclude: [OrganizationPropertyTargetDefinition!]! + + """ + Array of organization properties that must match + """ + include: [OrganizationPropertyTargetDefinition!]! +} + +""" +Parameters to be used for the organization_property condition +""" +input OrganizationPropertyConditionTargetInput { + """ + Array of organization properties that must not match. + """ + exclude: [OrganizationPropertyTargetDefinitionInput!]! + + """ + Array of organization properties that must match + """ + include: [OrganizationPropertyTargetDefinitionInput!]! +} + +""" +A property that must match +""" +type OrganizationPropertyTargetDefinition { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + +""" +A property that must match +""" +input OrganizationPropertyTargetDefinitionInput { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + """ An organization teams hovercard context """ @@ -52970,6 +53030,11 @@ type RepositoryRule implements Node { Set of conditions that determine if a ruleset will evaluate """ type RepositoryRuleConditions { + """ + Configuration for the organization_property condition + """ + organizationProperty: OrganizationPropertyConditionTarget + """ Configuration for the ref_name condition """ @@ -52995,6 +53060,11 @@ type RepositoryRuleConditions { Specifies the conditions required for a ruleset to evaluate """ input RepositoryRuleConditionsInput { + """ + Configuration for the organization_property condition + """ + organizationProperty: OrganizationPropertyConditionTargetInput + """ Configuration for the ref_name condition """ @@ -54150,6 +54220,11 @@ enum RepositoryVulnerabilityAlertDependencyRelationship { """ DIRECT + """ + The relationship could not be determined + """ + INCONCLUSIVE + """ A transitive dependency of your project """ @@ -66080,7 +66155,9 @@ input UpdateProjectV2FieldInput { ) """ - Configuration for an iteration field. + Configuration for a field of type ITERATION. Empty input is ignored, provided + values overwrite the existing configuration, and existing configuration should + be fetched for partial updates. """ iterationConfiguration: ProjectV2IterationFieldConfigurationInput @@ -66090,9 +66167,9 @@ input UpdateProjectV2FieldInput { name: String """ - Options for a field of type SINGLE_SELECT. If empty, no changes will be made - to the options. If values are present, they will overwrite the existing - options for the field. + Options for a field of type SINGLE_SELECT. Empty input is ignored, provided + values overwrite existing options, and existing options should be fetched for + partial updates. """ singleSelectOptions: [ProjectV2SingleSelectFieldOptionInput!] } diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 53b75091035c..f07f0e466f71 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -46507,6 +46507,56 @@ } ] }, + { + "name": "OrganizationPropertyConditionTarget", + "kind": "objects", + "id": "organizationpropertyconditiontarget", + "href": "/graphql/reference/objects#organizationpropertyconditiontarget", + "description": "

Parameters to be used for the organization_property condition.

", + "fields": [ + { + "name": "exclude", + "description": "

Array of organization properties that must not match.

", + "type": "[OrganizationPropertyTargetDefinition!]!", + "id": "organizationpropertytargetdefinition", + "kind": "objects", + "href": "/graphql/reference/objects#organizationpropertytargetdefinition" + }, + { + "name": "include", + "description": "

Array of organization properties that must match.

", + "type": "[OrganizationPropertyTargetDefinition!]!", + "id": "organizationpropertytargetdefinition", + "kind": "objects", + "href": "/graphql/reference/objects#organizationpropertytargetdefinition" + } + ] + }, + { + "name": "OrganizationPropertyTargetDefinition", + "kind": "objects", + "id": "organizationpropertytargetdefinition", + "href": "/graphql/reference/objects#organizationpropertytargetdefinition", + "description": "

A property that must match.

", + "fields": [ + { + "name": "name", + "description": "

The name of the property.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyValues", + "description": "

The values to match for.

", + "type": "[String!]!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "OrganizationTeamsHovercardContext", "kind": "objects", @@ -69346,6 +69396,14 @@ "href": "/graphql/reference/objects#repositoryruleconditions", "description": "

Set of conditions that determine if a ruleset will evaluate.

", "fields": [ + { + "name": "organizationProperty", + "description": "

Configuration for the organization_property condition.

", + "type": "OrganizationPropertyConditionTarget", + "id": "organizationpropertyconditiontarget", + "kind": "objects", + "href": "/graphql/reference/objects#organizationpropertyconditiontarget" + }, { "name": "refName", "description": "

Configuration for the ref_name condition.

", @@ -93447,6 +93505,10 @@ "name": "DIRECT", "description": "

A direct dependency of your project.

" }, + { + "name": "INCONCLUSIVE", + "description": "

The relationship could not be determined.

" + }, { "name": "TRANSITIVE", "description": "

A transitive dependency of your project.

" @@ -105247,6 +105309,56 @@ } ] }, + { + "name": "OrganizationPropertyConditionTargetInput", + "kind": "inputObjects", + "id": "organizationpropertyconditiontargetinput", + "href": "/graphql/reference/input-objects#organizationpropertyconditiontargetinput", + "description": "

Parameters to be used for the organization_property condition.

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

Array of organization properties that must not match.

", + "type": "[OrganizationPropertyTargetDefinitionInput!]!", + "id": "organizationpropertytargetdefinitioninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationpropertytargetdefinitioninput" + }, + { + "name": "include", + "description": "

Array of organization properties that must match.

", + "type": "[OrganizationPropertyTargetDefinitionInput!]!", + "id": "organizationpropertytargetdefinitioninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationpropertytargetdefinitioninput" + } + ] + }, + { + "name": "OrganizationPropertyTargetDefinitionInput", + "kind": "inputObjects", + "id": "organizationpropertytargetdefinitioninput", + "href": "/graphql/reference/input-objects#organizationpropertytargetdefinitioninput", + "description": "

A property that must match.

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

The name of the property.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyValues", + "description": "

The values to match for.

", + "type": "[String!]!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "PackageFileOrder", "kind": "inputObjects", @@ -106978,6 +107090,14 @@ "href": "/graphql/reference/input-objects#repositoryruleconditionsinput", "description": "

Specifies the conditions required for a ruleset to evaluate.

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

Configuration for the organization_property condition.

", + "type": "OrganizationPropertyConditionTargetInput", + "id": "organizationpropertyconditiontargetinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationpropertyconditiontargetinput" + }, { "name": "refName", "description": "

Configuration for the ref_name condition.

", @@ -111132,7 +111252,7 @@ }, { "name": "iterationConfiguration", - "description": "

Configuration for an iteration field.

", + "description": "

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.

", "type": "ProjectV2IterationFieldConfigurationInput", "id": "projectv2iterationfieldconfigurationinput", "kind": "input-objects", @@ -111148,7 +111268,7 @@ }, { "name": "singleSelectOptions", - "description": "

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.

", + "description": "

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.

", "type": "[ProjectV2SingleSelectFieldOptionInput!]", "id": "projectv2singleselectfieldoptioninput", "kind": "input-objects", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 3ca2d516848e..1189fcc8b080 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -34562,6 +34562,66 @@ enum OrganizationOrderField { LOGIN } +""" +Parameters to be used for the organization_property condition +""" +type OrganizationPropertyConditionTarget { + """ + Array of organization properties that must not match. + """ + exclude: [OrganizationPropertyTargetDefinition!]! + + """ + Array of organization properties that must match + """ + include: [OrganizationPropertyTargetDefinition!]! +} + +""" +Parameters to be used for the organization_property condition +""" +input OrganizationPropertyConditionTargetInput { + """ + Array of organization properties that must not match. + """ + exclude: [OrganizationPropertyTargetDefinitionInput!]! + + """ + Array of organization properties that must match + """ + include: [OrganizationPropertyTargetDefinitionInput!]! +} + +""" +A property that must match +""" +type OrganizationPropertyTargetDefinition { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + +""" +A property that must match +""" +input OrganizationPropertyTargetDefinitionInput { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + """ An organization teams hovercard context """ @@ -52970,6 +53030,11 @@ type RepositoryRule implements Node { Set of conditions that determine if a ruleset will evaluate """ type RepositoryRuleConditions { + """ + Configuration for the organization_property condition + """ + organizationProperty: OrganizationPropertyConditionTarget + """ Configuration for the ref_name condition """ @@ -52995,6 +53060,11 @@ type RepositoryRuleConditions { Specifies the conditions required for a ruleset to evaluate """ input RepositoryRuleConditionsInput { + """ + Configuration for the organization_property condition + """ + organizationProperty: OrganizationPropertyConditionTargetInput + """ Configuration for the ref_name condition """ @@ -54150,6 +54220,11 @@ enum RepositoryVulnerabilityAlertDependencyRelationship { """ DIRECT + """ + The relationship could not be determined + """ + INCONCLUSIVE + """ A transitive dependency of your project """ @@ -66080,7 +66155,9 @@ input UpdateProjectV2FieldInput { ) """ - Configuration for an iteration field. + Configuration for a field of type ITERATION. Empty input is ignored, provided + values overwrite the existing configuration, and existing configuration should + be fetched for partial updates. """ iterationConfiguration: ProjectV2IterationFieldConfigurationInput @@ -66090,9 +66167,9 @@ input UpdateProjectV2FieldInput { name: String """ - Options for a field of type SINGLE_SELECT. If empty, no changes will be made - to the options. If values are present, they will overwrite the existing - options for the field. + Options for a field of type SINGLE_SELECT. Empty input is ignored, provided + values overwrite existing options, and existing options should be fetched for + partial updates. """ singleSelectOptions: [ProjectV2SingleSelectFieldOptionInput!] } diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 53b75091035c..f07f0e466f71 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -46507,6 +46507,56 @@ } ] }, + { + "name": "OrganizationPropertyConditionTarget", + "kind": "objects", + "id": "organizationpropertyconditiontarget", + "href": "/graphql/reference/objects#organizationpropertyconditiontarget", + "description": "

Parameters to be used for the organization_property condition.

", + "fields": [ + { + "name": "exclude", + "description": "

Array of organization properties that must not match.

", + "type": "[OrganizationPropertyTargetDefinition!]!", + "id": "organizationpropertytargetdefinition", + "kind": "objects", + "href": "/graphql/reference/objects#organizationpropertytargetdefinition" + }, + { + "name": "include", + "description": "

Array of organization properties that must match.

", + "type": "[OrganizationPropertyTargetDefinition!]!", + "id": "organizationpropertytargetdefinition", + "kind": "objects", + "href": "/graphql/reference/objects#organizationpropertytargetdefinition" + } + ] + }, + { + "name": "OrganizationPropertyTargetDefinition", + "kind": "objects", + "id": "organizationpropertytargetdefinition", + "href": "/graphql/reference/objects#organizationpropertytargetdefinition", + "description": "

A property that must match.

", + "fields": [ + { + "name": "name", + "description": "

The name of the property.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyValues", + "description": "

The values to match for.

", + "type": "[String!]!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "OrganizationTeamsHovercardContext", "kind": "objects", @@ -69346,6 +69396,14 @@ "href": "/graphql/reference/objects#repositoryruleconditions", "description": "

Set of conditions that determine if a ruleset will evaluate.

", "fields": [ + { + "name": "organizationProperty", + "description": "

Configuration for the organization_property condition.

", + "type": "OrganizationPropertyConditionTarget", + "id": "organizationpropertyconditiontarget", + "kind": "objects", + "href": "/graphql/reference/objects#organizationpropertyconditiontarget" + }, { "name": "refName", "description": "

Configuration for the ref_name condition.

", @@ -93447,6 +93505,10 @@ "name": "DIRECT", "description": "

A direct dependency of your project.

" }, + { + "name": "INCONCLUSIVE", + "description": "

The relationship could not be determined.

" + }, { "name": "TRANSITIVE", "description": "

A transitive dependency of your project.

" @@ -105247,6 +105309,56 @@ } ] }, + { + "name": "OrganizationPropertyConditionTargetInput", + "kind": "inputObjects", + "id": "organizationpropertyconditiontargetinput", + "href": "/graphql/reference/input-objects#organizationpropertyconditiontargetinput", + "description": "

Parameters to be used for the organization_property condition.

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

Array of organization properties that must not match.

", + "type": "[OrganizationPropertyTargetDefinitionInput!]!", + "id": "organizationpropertytargetdefinitioninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationpropertytargetdefinitioninput" + }, + { + "name": "include", + "description": "

Array of organization properties that must match.

", + "type": "[OrganizationPropertyTargetDefinitionInput!]!", + "id": "organizationpropertytargetdefinitioninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationpropertytargetdefinitioninput" + } + ] + }, + { + "name": "OrganizationPropertyTargetDefinitionInput", + "kind": "inputObjects", + "id": "organizationpropertytargetdefinitioninput", + "href": "/graphql/reference/input-objects#organizationpropertytargetdefinitioninput", + "description": "

A property that must match.

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

The name of the property.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyValues", + "description": "

The values to match for.

", + "type": "[String!]!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "PackageFileOrder", "kind": "inputObjects", @@ -106978,6 +107090,14 @@ "href": "/graphql/reference/input-objects#repositoryruleconditionsinput", "description": "

Specifies the conditions required for a ruleset to evaluate.

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

Configuration for the organization_property condition.

", + "type": "OrganizationPropertyConditionTargetInput", + "id": "organizationpropertyconditiontargetinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#organizationpropertyconditiontargetinput" + }, { "name": "refName", "description": "

Configuration for the ref_name condition.

", @@ -111132,7 +111252,7 @@ }, { "name": "iterationConfiguration", - "description": "

Configuration for an iteration field.

", + "description": "

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.

", "type": "ProjectV2IterationFieldConfigurationInput", "id": "projectv2iterationfieldconfigurationinput", "kind": "input-objects", @@ -111148,7 +111268,7 @@ }, { "name": "singleSelectOptions", - "description": "

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.

", + "description": "

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.

", "type": "[ProjectV2SingleSelectFieldOptionInput!]", "id": "projectv2singleselectfieldoptioninput", "kind": "input-objects",