From 81a3d70a6407ad9f7a86f87e28f07672deca166c Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Wed, 10 Dec 2025 08:40:38 -0800 Subject: [PATCH] GraphQL schema update (#58798) Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com> --- src/graphql/data/fpt/changelog.json | 135 +++ src/graphql/data/fpt/schema.docs.graphql | 603 +++++++++++++ src/graphql/data/fpt/schema.json | 980 ++++++++++++++++++++++ src/graphql/data/ghec/schema.docs.graphql | 603 +++++++++++++ src/graphql/data/ghec/schema.json | 980 ++++++++++++++++++++++ 5 files changed, 3301 insertions(+) diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 15fea5fc8c..05c4940186 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,139 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Type CreateRepositoryCustomPropertyInput was added
Input field allowedValues of type '[String!]was added to input object typeCreateRepositoryCustomPropertyInput'
Input field clientMutationId of type String was added to input object type CreateRepositoryCustomPropertyInput
Input field defaultValue of type String was added to input object type CreateRepositoryCustomPropertyInput
Input field description of type String was added to input object type CreateRepositoryCustomPropertyInput
Input field propertyName of type String! was added to input object type CreateRepositoryCustomPropertyInput
Input field regex of type String was added to input object type CreateRepositoryCustomPropertyInput
Input field required of type Boolean was added to input object type CreateRepositoryCustomPropertyInput
Input field sourceId of type ID! was added to input object type CreateRepositoryCustomPropertyInput
Input field valueType of type CustomPropertyValueType! was added to input object type CreateRepositoryCustomPropertyInput
Input field valuesEditableBy of type RepositoryCustomPropertyValuesEditableBy was added to input object type CreateRepositoryCustomPropertyInput
Type CreateRepositoryCustomPropertyPayload was added
Field clientMutationId was added to object type CreateRepositoryCustomPropertyPayload
Field repositoryCustomProperty was added to object type CreateRepositoryCustomPropertyPayload
Type CustomPropertySource was added
Member Enterprise was added to Union type CustomPropertySource
Member Organization was added to Union type CustomPropertySource
Type CustomPropertyValue was added
Type CustomPropertyValueInput was added
Input field propertyName of type String! was added to input object type CustomPropertyValueInput
Input field value of type CustomPropertyValue was added to input object type CustomPropertyValueInput
Type CustomPropertyValueType was added
Enum value 'MULTI_SELECTwas added to enumCustomPropertyValueType'
Enum value 'SINGLE_SELECTwas added to enumCustomPropertyValueType'
Enum value STRING was added to enum CustomPropertyValueType
Enum value 'TRUE_FALSEwas added to enumCustomPropertyValueType'
Enum value URL was added to enum CustomPropertyValueType
Type DeleteRepositoryCustomPropertyInput was added
Input field clientMutationId of type String was added to input object type DeleteRepositoryCustomPropertyInput
Input field id of type ID! was added to input object type DeleteRepositoryCustomPropertyInput
Type DeleteRepositoryCustomPropertyPayload was added
Field clientMutationId was added to object type DeleteRepositoryCustomPropertyPayload
Field repositoryCustomProperty was added to object type DeleteRepositoryCustomPropertyPayload
Type PromoteRepositoryCustomPropertyInput was added
Input field clientMutationId of type String was added to input object type PromoteRepositoryCustomPropertyInput
Input field repositoryCustomPropertyId of type ID! was added to input object type PromoteRepositoryCustomPropertyInput
Type PromoteRepositoryCustomPropertyPayload was added
Field clientMutationId was added to object type PromoteRepositoryCustomPropertyPayload
Field repositoryCustomProperty was added to object type PromoteRepositoryCustomPropertyPayload
Type RepositoryCustomProperty was added
RepositoryCustomProperty object implements Node interface
Field allowedValues was added to object type RepositoryCustomProperty
Field defaultValue was added to object type RepositoryCustomProperty
Field description was added to object type RepositoryCustomProperty
Field id was added to object type RepositoryCustomProperty
Field propertyName was added to object type RepositoryCustomProperty
Field regex was added to object type RepositoryCustomProperty
Field required was added to object type RepositoryCustomProperty
Field source was added to object type RepositoryCustomProperty
Field valueType was added to object type RepositoryCustomProperty
Field valuesEditableBy was added to object type RepositoryCustomProperty
Type RepositoryCustomPropertyConnection was added
Field edges was added to object type RepositoryCustomPropertyConnection
Field nodes was added to object type RepositoryCustomPropertyConnection
Field pageInfo was added to object type RepositoryCustomPropertyConnection
Field totalCount was added to object type RepositoryCustomPropertyConnection
Type RepositoryCustomPropertyEdge was added
Field cursor was added to object type RepositoryCustomPropertyEdge
Field node was added to object type RepositoryCustomPropertyEdge
Type RepositoryCustomPropertyValue was added
Field propertyName was added to object type RepositoryCustomPropertyValue
Field value was added to object type RepositoryCustomPropertyValue
Type RepositoryCustomPropertyValueConnection was added
Field edges was added to object type RepositoryCustomPropertyValueConnection
Field nodes was added to object type RepositoryCustomPropertyValueConnection
Field pageInfo was added to object type RepositoryCustomPropertyValueConnection
Field totalCount was added to object type RepositoryCustomPropertyValueConnection
Type RepositoryCustomPropertyValueEdge was added
Field cursor was added to object type RepositoryCustomPropertyValueEdge
Field node was added to object type RepositoryCustomPropertyValueEdge
Type RepositoryCustomPropertyValuesEditableBy was added
Enum value 'ORG_ACTORSwas added to enumRepositoryCustomPropertyValuesEditableBy'
Enum value 'ORG_AND_REPO_ACTORSwas added to enumRepositoryCustomPropertyValuesEditableBy'
Type SetRepositoryCustomPropertyValuesInput was added
Input field clientMutationId of type String was added to input object type SetRepositoryCustomPropertyValuesInput
Input field properties of type '[CustomPropertyValueInput!]!was added to input object typeSetRepositoryCustomPropertyValuesInput'
Input field repositoryId of type ID! was added to input object type SetRepositoryCustomPropertyValuesInput
Type SetRepositoryCustomPropertyValuesPayload was added
Field clientMutationId was added to object type SetRepositoryCustomPropertyValuesPayload
Field repository was added to object type SetRepositoryCustomPropertyValuesPayload
Type UpdateRepositoryCustomPropertyInput was added
Input field allowedValues of type '[String!]was added to input object typeUpdateRepositoryCustomPropertyInput'
Input field clientMutationId of type String was added to input object type UpdateRepositoryCustomPropertyInput
Input field defaultValue of type String was added to input object type UpdateRepositoryCustomPropertyInput
Input field description of type String was added to input object type UpdateRepositoryCustomPropertyInput
Input field regex of type String was added to input object type UpdateRepositoryCustomPropertyInput
Input field repositoryCustomPropertyId of type ID! was added to input object type UpdateRepositoryCustomPropertyInput
Input field required of type Boolean was added to input object type UpdateRepositoryCustomPropertyInput
Input field valuesEditableBy of type RepositoryCustomPropertyValuesEditableBy was added to input object type UpdateRepositoryCustomPropertyInput
Type UpdateRepositoryCustomPropertyPayload was added
Field clientMutationId was added to object type UpdateRepositoryCustomPropertyPayload
Field repositoryCustomProperty was added to object type UpdateRepositoryCustomPropertyPayload
Field repositoryCustomProperties was added to object type Enterprise
Argument after: String added to field Enterprise.repositoryCustomProperties
Argument before: String added to field Enterprise.repositoryCustomProperties
Argument first: Int added to field Enterprise.repositoryCustomProperties
Argument last: Int added to field Enterprise.repositoryCustomProperties
Field repositoryCustomProperty was added to object type Enterprise
Argument propertyName: String! added to field Enterprise.repositoryCustomProperty
Field createRepositoryCustomProperty was added to object type Mutation
Argument input: CreateRepositoryCustomPropertyInput! added to field Mutation.createRepositoryCustomProperty
Field deleteRepositoryCustomProperty was added to object type Mutation
Argument input: DeleteRepositoryCustomPropertyInput! added to field Mutation.deleteRepositoryCustomProperty
Field promoteRepositoryCustomProperty was added to object type Mutation
Argument input: PromoteRepositoryCustomPropertyInput! added to field Mutation.promoteRepositoryCustomProperty
Field setRepositoryCustomPropertyValues was added to object type Mutation
Argument input: SetRepositoryCustomPropertyValuesInput! added to field Mutation.setRepositoryCustomPropertyValues
Field updateRepositoryCustomProperty was added to object type Mutation
Argument input: UpdateRepositoryCustomPropertyInput! added to field Mutation.updateRepositoryCustomProperty
Field repositoryCustomProperties was added to object type Organization
Argument after: String added to field Organization.repositoryCustomProperties
Argument before: String added to field Organization.repositoryCustomProperties
Argument first: Int added to field Organization.repositoryCustomProperties
Argument last: Int added to field Organization.repositoryCustomProperties
Field repositoryCustomProperty was added to object type Organization
Argument propertyName: String! added to field Organization.repositoryCustomProperty
Field repositoryCustomPropertyValue was added to object type Repository
Argument propertyName: String! added to field Repository.repositoryCustomPropertyValue
Field repositoryCustomPropertyValues was added to object type Repository
Argument after: String added to field Repository.repositoryCustomPropertyValues
Argument before: String added to field Repository.repositoryCustomPropertyValues
Argument first: Int added to field Repository.repositoryCustomPropertyValues
Argument last: Int added to field Repository.repositoryCustomPropertyValues
Create a repository custom property.
", + "inputFields": [ + { + "name": "input", + "type": "CreateRepositoryCustomPropertyInput!", + "id": "createrepositorycustompropertyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#createrepositorycustompropertyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "repositoryCustomProperty", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "description": "The newly created repository custom property.
" + } + ] + }, { "name": "createRepositoryRuleset", "kind": "mutations", @@ -4561,6 +4595,40 @@ } ] }, + { + "name": "deleteRepositoryCustomProperty", + "kind": "mutations", + "id": "deleterepositorycustomproperty", + "href": "/graphql/reference/mutations#deleterepositorycustomproperty", + "description": "Delete a repository custom property.
", + "inputFields": [ + { + "name": "input", + "type": "DeleteRepositoryCustomPropertyInput!", + "id": "deleterepositorycustompropertyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#deleterepositorycustompropertyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "repositoryCustomProperty", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "description": "The deleted custom property.
" + } + ] + }, { "name": "deleteRepositoryRuleset", "kind": "mutations", @@ -5715,6 +5783,40 @@ } ] }, + { + "name": "promoteRepositoryCustomProperty", + "kind": "mutations", + "id": "promoterepositorycustomproperty", + "href": "/graphql/reference/mutations#promoterepositorycustomproperty", + "description": "Promote a repository custom property to the enterprise level.
", + "inputFields": [ + { + "name": "input", + "type": "PromoteRepositoryCustomPropertyInput!", + "id": "promoterepositorycustompropertyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#promoterepositorycustompropertyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "repositoryCustomProperty", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "description": "The repository custom property that has been promoted.
" + } + ] + }, { "name": "publishSponsorsTier", "kind": "mutations", @@ -6915,6 +7017,40 @@ } ] }, + { + "name": "setRepositoryCustomPropertyValues", + "kind": "mutations", + "id": "setrepositorycustompropertyvalues", + "href": "/graphql/reference/mutations#setrepositorycustompropertyvalues", + "description": "Set repository custom property values for a repository.
", + "inputFields": [ + { + "name": "input", + "type": "SetRepositoryCustomPropertyValuesInput!", + "id": "setrepositorycustompropertyvaluesinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#setrepositorycustompropertyvaluesinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "repository", + "type": "Repository", + "id": "repository", + "kind": "objects", + "href": "/graphql/reference/objects#repository", + "description": "The repository that the custom properties were set for.
" + } + ] + }, { "name": "setRepositoryInteractionLimit", "kind": "mutations", @@ -9683,6 +9819,40 @@ } ] }, + { + "name": "updateRepositoryCustomProperty", + "kind": "mutations", + "id": "updaterepositorycustomproperty", + "href": "/graphql/reference/mutations#updaterepositorycustomproperty", + "description": "Update a repository custom property.
", + "inputFields": [ + { + "name": "input", + "type": "UpdateRepositoryCustomPropertyInput!", + "id": "updaterepositorycustompropertyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updaterepositorycustompropertyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "repositoryCustomProperty", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "description": "The updated repository custom property.
" + } + ] + }, { "name": "updateRepositoryRuleset", "kind": "mutations", @@ -22469,6 +22639,76 @@ "kind": "scalars", "href": "/graphql/reference/scalars#html" }, + { + "name": "repositoryCustomProperties", + "description": "A list of repository custom properties for this enterprise.
", + "type": "RepositoryCustomPropertyConnection", + "id": "repositorycustompropertyconnection", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, + { + "name": "repositoryCustomProperty", + "description": "Returns a single repository custom property for the current enterprise by name.
", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "arguments": [ + { + "name": "propertyName", + "description": "The name of the repository custom property to be returned.
", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, { "name": "resourcePath", "description": "The HTTP path for this enterprise.
", @@ -44591,6 +44831,76 @@ } ] }, + { + "name": "repositoryCustomProperties", + "description": "A list of custom properties for this organization.
", + "type": "RepositoryCustomPropertyConnection", + "id": "repositorycustompropertyconnection", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, + { + "name": "repositoryCustomProperty", + "description": "Returns a single custom property from the current organization by name.
", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "arguments": [ + { + "name": "propertyName", + "description": "The name of the custom property to be returned.
", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, { "name": "repositoryDiscussionComments", "description": "Discussion comments this user has authored.
", @@ -67933,6 +68243,76 @@ } ] }, + { + "name": "repositoryCustomPropertyValue", + "description": "A custom property value for the repository.
", + "type": "RepositoryCustomPropertyValue", + "id": "repositorycustompropertyvalue", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyvalue", + "arguments": [ + { + "name": "propertyName", + "description": "The name of the custom property to retrieve the value for.
", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, + { + "name": "repositoryCustomPropertyValues", + "description": "A list of custom properties and their associated values for a repository.
", + "type": "RepositoryCustomPropertyValueConnection", + "id": "repositorycustompropertyvalueconnection", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyvalueconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, { "name": "repositoryTopics", "description": "A list of applied repository-topic associations for this repository.
", @@ -68896,6 +69276,259 @@ } ] }, + { + "name": "RepositoryCustomProperty", + "kind": "objects", + "id": "repositorycustomproperty", + "href": "/graphql/reference/objects#repositorycustomproperty", + "description": "A repository custom property.
", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "allowedValues", + "description": "The allowed values for the custom property. Required if value_type is single_select or multi_select.
The default value of the custom property, if the property is required.
The description of the custom property.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "The Node ID of the RepositoryCustomProperty object.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "propertyName", + "description": "The name of the custom property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "regex", + "description": "The regex pattern that the value of the custom property must match, if the value_type is string.
Whether the custom property is required.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "source", + "description": "The source type of the custom property.
", + "type": "CustomPropertySource!", + "id": "custompropertysource", + "kind": "unions", + "href": "/graphql/reference/unions#custompropertysource" + }, + { + "name": "valueType", + "description": "The value type of the custom property.
", + "type": "CustomPropertyValueType!", + "id": "custompropertyvaluetype", + "kind": "enums", + "href": "/graphql/reference/enums#custompropertyvaluetype" + }, + { + "name": "valuesEditableBy", + "description": "Who can edit the values of this repository custom property.
", + "type": "RepositoryCustomPropertyValuesEditableBy!", + "id": "repositorycustompropertyvalueseditableby", + "kind": "enums", + "href": "/graphql/reference/enums#repositorycustompropertyvalueseditableby" + } + ] + }, + { + "name": "RepositoryCustomPropertyConnection", + "kind": "objects", + "id": "repositorycustompropertyconnection", + "href": "/graphql/reference/objects#repositorycustompropertyconnection", + "description": "The connection type for RepositoryCustomProperty.
", + "fields": [ + { + "name": "edges", + "description": "A list of edges.
", + "type": "[RepositoryCustomPropertyEdge]", + "id": "repositorycustompropertyedge", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyedge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[RepositoryCustomProperty]", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "RepositoryCustomPropertyEdge", + "kind": "objects", + "id": "repositorycustompropertyedge", + "href": "/graphql/reference/objects#repositorycustompropertyedge", + "description": "An edge in a connection.
", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "The item at the end of the edge.
", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty" + } + ] + }, + { + "name": "RepositoryCustomPropertyValue", + "kind": "objects", + "id": "repositorycustompropertyvalue", + "href": "/graphql/reference/objects#repositorycustompropertyvalue", + "description": "A value associated with a repository custom property.
", + "fields": [ + { + "name": "propertyName", + "description": "The name of the custom property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "value", + "description": "The value of the custom property.
", + "type": "CustomPropertyValue!", + "id": "custompropertyvalue", + "kind": "scalars", + "href": "/graphql/reference/scalars#custompropertyvalue" + } + ] + }, + { + "name": "RepositoryCustomPropertyValueConnection", + "kind": "objects", + "id": "repositorycustompropertyvalueconnection", + "href": "/graphql/reference/objects#repositorycustompropertyvalueconnection", + "description": "The connection type for RepositoryCustomPropertyValue.
", + "fields": [ + { + "name": "edges", + "description": "A list of edges.
", + "type": "[RepositoryCustomPropertyValueEdge]", + "id": "repositorycustompropertyvalueedge", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyvalueedge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[RepositoryCustomPropertyValue]", + "id": "repositorycustompropertyvalue", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyvalue" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "RepositoryCustomPropertyValueEdge", + "kind": "objects", + "id": "repositorycustompropertyvalueedge", + "href": "/graphql/reference/objects#repositorycustompropertyvalueedge", + "description": "An edge in a connection.
", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "The item at the end of the edge.
", + "type": "RepositoryCustomPropertyValue", + "id": "repositorycustompropertyvalue", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyvalue" + } + ] + }, { "name": "RepositoryEdge", "kind": "objects", @@ -89344,6 +89977,35 @@ } ] }, + { + "name": "CustomPropertyValueType", + "kind": "enums", + "id": "custompropertyvaluetype", + "href": "/graphql/reference/enums#custompropertyvaluetype", + "description": "The allowed value types for a custom property definition.
", + "values": [ + { + "name": "MULTI_SELECT", + "description": "A multi-select value.
" + }, + { + "name": "SINGLE_SELECT", + "description": "A single-select value.
" + }, + { + "name": "STRING", + "description": "A string value.
" + }, + { + "name": "TRUE_FALSE", + "description": "A true/false value.
" + }, + { + "name": "URL", + "description": "A URL value.
" + } + ] + }, { "name": "DefaultRepositoryPermissionField", "kind": "enums", @@ -93298,6 +93960,23 @@ } ] }, + { + "name": "RepositoryCustomPropertyValuesEditableBy", + "kind": "enums", + "id": "repositorycustompropertyvalueseditableby", + "href": "/graphql/reference/enums#repositorycustompropertyvalueseditableby", + "description": "The allowed actors who can edit the values of a custom property.
", + "values": [ + { + "name": "ORG_ACTORS", + "description": "The organization actors.
" + }, + { + "name": "ORG_AND_REPO_ACTORS", + "description": "The organization and repository actors.
" + } + ] + }, { "name": "RepositoryInteractionLimit", "kind": "enums", @@ -96174,6 +96853,25 @@ } ] }, + { + "name": "CustomPropertySource", + "kind": "unions", + "id": "custompropertysource", + "href": "/graphql/reference/unions#custompropertysource", + "description": "Sources which can have custom properties defined.
", + "possibleTypes": [ + { + "name": "Enterprise", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise" + }, + { + "name": "Organization", + "id": "organization", + "href": "/graphql/reference/objects#organization" + } + ] + }, { "name": "DeploymentReviewer", "kind": "unions", @@ -102224,6 +102922,96 @@ } ] }, + { + "name": "CreateRepositoryCustomPropertyInput", + "kind": "inputObjects", + "id": "createrepositorycustompropertyinput", + "href": "/graphql/reference/input-objects#createrepositorycustompropertyinput", + "description": "Autogenerated input type of CreateRepositoryCustomProperty.
", + "inputFields": [ + { + "name": "allowedValues", + "description": "The allowed values for the custom property.
", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "defaultValue", + "description": "The default value for the custom property if the property is required.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "description", + "description": "The description of the custom property.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyName", + "description": "The name of the custom property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "regex", + "description": "The regex pattern that the value of the custom property must match, if the value_type is string.
Whether the custom property is required.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "sourceId", + "description": "The global relay id of the source in which a new custom property should be created in.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "valueType", + "description": "The value type for the custom property.
", + "type": "CustomPropertyValueType!", + "id": "custompropertyvaluetype", + "kind": "enums", + "href": "/graphql/reference/enums#custompropertyvaluetype" + }, + { + "name": "valuesEditableBy", + "description": "The allowed actors who can edit the values of a custom property.
", + "type": "RepositoryCustomPropertyValuesEditableBy", + "id": "repositorycustompropertyvalueseditableby", + "kind": "enums", + "href": "/graphql/reference/enums#repositorycustompropertyvalueseditableby" + } + ] + }, { "name": "CreateRepositoryInput", "kind": "inputObjects", @@ -102835,6 +103623,31 @@ } ] }, + { + "name": "CustomPropertyValueInput", + "kind": "inputObjects", + "id": "custompropertyvalueinput", + "href": "/graphql/reference/input-objects#custompropertyvalueinput", + "description": "The custom property name and value to be set.
", + "inputFields": [ + { + "name": "propertyName", + "description": "The name of the custom property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "value", + "description": "The value to set for the custom property. Using a value of null will unset the\nproperty value, reverting to the default value if the property is required.
", + "type": "CustomPropertyValue", + "id": "custompropertyvalue", + "kind": "scalars", + "href": "/graphql/reference/scalars#custompropertyvalue" + } + ] + }, { "name": "DeclineTopicSuggestionInput", "kind": "inputObjects", @@ -103484,6 +104297,32 @@ } ] }, + { + "name": "DeleteRepositoryCustomPropertyInput", + "kind": "inputObjects", + "id": "deleterepositorycustompropertyinput", + "href": "/graphql/reference/input-objects#deleterepositorycustompropertyinput", + "description": "Autogenerated input type of DeleteRepositoryCustomProperty.
", + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "The global relay id of the custom property to be deleted.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "DeleteRepositoryRulesetInput", "kind": "inputObjects", @@ -106254,6 +107093,32 @@ } ] }, + { + "name": "PromoteRepositoryCustomPropertyInput", + "kind": "inputObjects", + "id": "promoterepositorycustompropertyinput", + "href": "/graphql/reference/input-objects#promoterepositorycustompropertyinput", + "description": "Autogenerated input type of PromoteRepositoryCustomProperty.
", + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "repositoryCustomPropertyId", + "description": "The ID of the repository custom property to be promoted.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "PropertyTargetDefinitionInput", "kind": "inputObjects", @@ -108313,6 +109178,40 @@ } ] }, + { + "name": "SetRepositoryCustomPropertyValuesInput", + "kind": "inputObjects", + "id": "setrepositorycustompropertyvaluesinput", + "href": "/graphql/reference/input-objects#setrepositorycustompropertyvaluesinput", + "description": "Autogenerated input type of SetRepositoryCustomPropertyValues.
", + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "properties", + "description": "A list of custom property names and associated values to apply.
", + "type": "[CustomPropertyValueInput!]!", + "id": "custompropertyvalueinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#custompropertyvalueinput" + }, + { + "name": "repositoryId", + "description": "The ID of the repository to set properties for.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "SetRepositoryInteractionLimitInput", "kind": "inputObjects", @@ -112093,6 +112992,80 @@ } ] }, + { + "name": "UpdateRepositoryCustomPropertyInput", + "kind": "inputObjects", + "id": "updaterepositorycustompropertyinput", + "href": "/graphql/reference/input-objects#updaterepositorycustompropertyinput", + "description": "Autogenerated input type of UpdateRepositoryCustomProperty.
", + "inputFields": [ + { + "name": "allowedValues", + "description": "The updated allowed values for the custom property.
", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "defaultValue", + "description": "The updated default value for the custom property if the property is required.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "description", + "description": "The updated description of the custom property.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "regex", + "description": "The regex pattern that the value of the custom property must match, if the value_type is string.
The global relay id of the source of the custom property.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "required", + "description": "Whether the updated custom property is required.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "valuesEditableBy", + "description": "The updated actors who can edit the values of the custom property.
", + "type": "RepositoryCustomPropertyValuesEditableBy", + "id": "repositorycustompropertyvalueseditableby", + "kind": "enums", + "href": "/graphql/reference/enums#repositorycustompropertyvalueseditableby" + } + ] + }, { "name": "UpdateRepositoryInput", "kind": "inputObjects", @@ -112951,6 +113924,13 @@ "id": "boolean", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "CustomPropertyValue", + "kind": "scalars", + "id": "custompropertyvalue", + "href": "/graphql/reference/scalars#custompropertyvalue", + "description": "A custom property value can be either a string or an array of strings. All\nproperty types support only a single string value, except for the multi-select\ntype, which supports only a string array.
" + }, { "name": "Date", "kind": "scalars", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 9a517584ca..65dd7e8a9d 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -8724,6 +8724,76 @@ type CreateRefPayload { ref: Ref } +""" +Autogenerated input type of CreateRepositoryCustomProperty +""" +input CreateRepositoryCustomPropertyInput { + """ + The allowed values for the custom property. + """ + allowedValues: [String!] + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The default value for the custom property if the property is required. + """ + defaultValue: String + + """ + The description of the custom property. + """ + description: String + + """ + The name of the custom property. + """ + propertyName: String! + + """ + The regex pattern that the value of the custom property must match, if the `value_type` is `string`. + """ + regex: String + + """ + Whether the custom property is required. + """ + required: Boolean + + """ + The global relay id of the source in which a new custom property should be created in. + """ + sourceId: ID! @possibleTypes(concreteTypes: ["Enterprise", "Organization"], abstractType: "CustomPropertySource") + + """ + The value type for the custom property. + """ + valueType: CustomPropertyValueType! + + """ + The allowed actors who can edit the values of a custom property. + """ + valuesEditableBy: RepositoryCustomPropertyValuesEditableBy +} + +""" +Autogenerated return type of CreateRepositoryCustomProperty. +""" +type CreateRepositoryCustomPropertyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created repository custom property. + """ + repositoryCustomProperty: RepositoryCustomProperty +} + """ Autogenerated input type of CreateRepository """ @@ -9782,6 +9852,64 @@ type CrossReferencedEvent implements Node & UniformResourceLocatable { willCloseTarget: Boolean! } +""" +Sources which can have custom properties defined. +""" +union CustomPropertySource = Enterprise | Organization + +""" +A custom property value can be either a string or an array of strings. All +property types support only a single string value, except for the multi-select +type, which supports only a string array. +""" +scalar CustomPropertyValue + +""" +The custom property name and value to be set. +""" +input CustomPropertyValueInput { + """ + The name of the custom property. + """ + propertyName: String! + + """ + The value to set for the custom property. Using a value of null will unset the + property value, reverting to the default value if the property is required. + """ + value: CustomPropertyValue +} + +""" +The allowed value types for a custom property definition. +""" +enum CustomPropertyValueType { + """ + A multi-select value. + """ + MULTI_SELECT + + """ + A single-select value. + """ + SINGLE_SELECT + + """ + A string value. + """ + STRING + + """ + A true/false value. + """ + TRUE_FALSE + + """ + A URL value. + """ + URL +} + """ The Common Vulnerability Scoring System """ @@ -10588,6 +10716,36 @@ type DeleteRefPayload { clientMutationId: String } +""" +Autogenerated input type of DeleteRepositoryCustomProperty +""" +input DeleteRepositoryCustomPropertyInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The global relay id of the custom property to be deleted. + """ + id: ID! @possibleTypes(concreteTypes: ["RepositoryCustomProperty"]) +} + +""" +Autogenerated return type of DeleteRepositoryCustomProperty. +""" +type DeleteRepositoryCustomPropertyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The deleted custom property. + """ + repositoryCustomProperty: RepositoryCustomProperty +} + """ Autogenerated input type of DeleteRepositoryRuleset """ @@ -13660,6 +13818,41 @@ type Enterprise implements Node { """ readmeHTML: HTML! + """ + A list of repository custom properties for this enterprise. + """ + repositoryCustomProperties( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): RepositoryCustomPropertyConnection + + """ + Returns a single repository custom property for the current enterprise by name. + """ + repositoryCustomProperty( + """ + The name of the repository custom property to be returned. + """ + propertyName: String! + ): RepositoryCustomProperty + """ The HTTP path for this enterprise. """ @@ -25263,6 +25456,16 @@ type Mutation { input: CreateRepositoryInput! ): CreateRepositoryPayload + """ + Create a repository custom property. + """ + createRepositoryCustomProperty( + """ + Parameters for CreateRepositoryCustomProperty + """ + input: CreateRepositoryCustomPropertyInput! + ): CreateRepositoryCustomPropertyPayload + """ Create a repository ruleset """ @@ -25593,6 +25796,16 @@ type Mutation { input: DeleteRefInput! ): DeleteRefPayload + """ + Delete a repository custom property. + """ + deleteRepositoryCustomProperty( + """ + Parameters for DeleteRepositoryCustomProperty + """ + input: DeleteRepositoryCustomPropertyInput! + ): DeleteRepositoryCustomPropertyPayload + """ Delete a repository ruleset """ @@ -25935,6 +26148,16 @@ type Mutation { input: PinIssueInput! ): PinIssuePayload + """ + Promote a repository custom property to the enterprise level. + """ + promoteRepositoryCustomProperty( + """ + Parameters for PromoteRepositoryCustomProperty + """ + input: PromoteRepositoryCustomPropertyInput! + ): PromoteRepositoryCustomPropertyPayload + """ Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile. """ @@ -26256,6 +26479,16 @@ type Mutation { input: SetOrganizationInteractionLimitInput! ): SetOrganizationInteractionLimitPayload + """ + Set repository custom property values for a repository. + """ + setRepositoryCustomPropertyValues( + """ + Parameters for SetRepositoryCustomPropertyValues + """ + input: SetRepositoryCustomPropertyValuesInput! + ): SetRepositoryCustomPropertyValuesPayload + """ Sets an interaction limit setting for a repository. """ @@ -27049,6 +27282,16 @@ type Mutation { input: UpdateRepositoryInput! ): UpdateRepositoryPayload + """ + Update a repository custom property. + """ + updateRepositoryCustomProperty( + """ + Parameters for UpdateRepositoryCustomProperty + """ + input: UpdateRepositoryCustomPropertyInput! + ): UpdateRepositoryCustomPropertyPayload + """ Update a repository ruleset """ @@ -33264,6 +33507,41 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr name: String! ): Repository + """ + A list of custom properties for this organization. + """ + repositoryCustomProperties( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): RepositoryCustomPropertyConnection + + """ + Returns a single custom property from the current organization by name. + """ + repositoryCustomProperty( + """ + The name of the custom property to be returned. + """ + propertyName: String! + ): RepositoryCustomProperty + """ Discussion comments this user has authored. """ @@ -40299,6 +40577,36 @@ enum ProjectV2WorkflowsOrderField { UPDATED_AT } +""" +Autogenerated input type of PromoteRepositoryCustomProperty +""" +input PromoteRepositoryCustomPropertyInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the repository custom property to be promoted. + """ + repositoryCustomPropertyId: ID! @possibleTypes(concreteTypes: ["RepositoryCustomProperty"]) +} + +""" +Autogenerated return type of PromoteRepositoryCustomProperty. +""" +type PromoteRepositoryCustomPropertyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The repository custom property that has been promoted. + """ + repositoryCustomProperty: RepositoryCustomProperty +} + """ A property that must match """ @@ -51484,6 +51792,41 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent orderBy: ReleaseOrder ): ReleaseConnection! + """ + A custom property value for the repository. + """ + repositoryCustomPropertyValue( + """ + The name of the custom property to retrieve the value for. + """ + propertyName: String! + ): RepositoryCustomPropertyValue + + """ + A list of custom properties and their associated values for a repository. + """ + repositoryCustomPropertyValues( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): RepositoryCustomPropertyValueConnection + """ A list of applied repository-topic associations for this repository. """ @@ -52095,6 +52438,171 @@ enum RepositoryContributionType { REPOSITORY } +""" +A repository custom property. +""" +type RepositoryCustomProperty implements Node { + """ + The allowed values for the custom property. Required if `value_type` is `single_select` or `multi_select`. + """ + allowedValues: [String!] + + """ + The default value of the custom property, if the property is `required`. + """ + defaultValue: CustomPropertyValue + + """ + The description of the custom property. + """ + description: String + + """ + The Node ID of the RepositoryCustomProperty object + """ + id: ID! + + """ + The name of the custom property. + """ + propertyName: String! + + """ + The regex pattern that the value of the custom property must match, if the `value_type` is `string`. + """ + regex: String + + """ + Whether the custom property is required. + """ + required: Boolean + + """ + The source type of the custom property. + """ + source: CustomPropertySource! + + """ + The value type of the custom property. + """ + valueType: CustomPropertyValueType! + + """ + Who can edit the values of this repository custom property. + """ + valuesEditableBy: RepositoryCustomPropertyValuesEditableBy! +} + +""" +The connection type for RepositoryCustomProperty. +""" +type RepositoryCustomPropertyConnection { + """ + A list of edges. + """ + edges: [RepositoryCustomPropertyEdge] + + """ + A list of nodes. + """ + nodes: [RepositoryCustomProperty] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type RepositoryCustomPropertyEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: RepositoryCustomProperty +} + +""" +A value associated with a repository custom property. +""" +type RepositoryCustomPropertyValue { + """ + The name of the custom property. + """ + propertyName: String! + + """ + The value of the custom property. + """ + value: CustomPropertyValue! +} + +""" +The connection type for RepositoryCustomPropertyValue. +""" +type RepositoryCustomPropertyValueConnection { + """ + A list of edges. + """ + edges: [RepositoryCustomPropertyValueEdge] + + """ + A list of nodes. + """ + nodes: [RepositoryCustomPropertyValue] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type RepositoryCustomPropertyValueEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: RepositoryCustomPropertyValue +} + +""" +The allowed actors who can edit the values of a custom property. +""" +enum RepositoryCustomPropertyValuesEditableBy { + """ + The organization actors. + """ + ORG_ACTORS + + """ + The organization and repository actors. + """ + ORG_AND_REPO_ACTORS +} + """ Represents an author of discussions in repositories. """ @@ -56348,6 +56856,41 @@ type SetOrganizationInteractionLimitPayload { organization: Organization } +""" +Autogenerated input type of SetRepositoryCustomPropertyValues +""" +input SetRepositoryCustomPropertyValuesInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A list of custom property names and associated values to apply. + """ + properties: [CustomPropertyValueInput!]! + + """ + The ID of the repository to set properties for. + """ + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) +} + +""" +Autogenerated return type of SetRepositoryCustomPropertyValues. +""" +type SetRepositoryCustomPropertyValuesPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The repository that the custom properties were set for. + """ + repository: Repository +} + """ Autogenerated input type of SetRepositoryInteractionLimit """ @@ -66870,6 +67413,66 @@ type UpdateRefsPayload { clientMutationId: String } +""" +Autogenerated input type of UpdateRepositoryCustomProperty +""" +input UpdateRepositoryCustomPropertyInput { + """ + The updated allowed values for the custom property. + """ + allowedValues: [String!] + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated default value for the custom property if the property is required. + """ + defaultValue: String + + """ + The updated description of the custom property. + """ + description: String + + """ + The regex pattern that the value of the custom property must match, if the `value_type` is `string`. + """ + regex: String + + """ + The global relay id of the source of the custom property. + """ + repositoryCustomPropertyId: ID! @possibleTypes(concreteTypes: ["RepositoryCustomProperty"]) + + """ + Whether the updated custom property is required. + """ + required: Boolean + + """ + The updated actors who can edit the values of the custom property. + """ + valuesEditableBy: RepositoryCustomPropertyValuesEditableBy +} + +""" +Autogenerated return type of UpdateRepositoryCustomProperty. +""" +type UpdateRepositoryCustomPropertyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated repository custom property. + """ + repositoryCustomProperty: RepositoryCustomProperty +} + """ Autogenerated input type of UpdateRepository """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index edd334750b..2473f2dce9 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -3461,6 +3461,40 @@ } ] }, + { + "name": "createRepositoryCustomProperty", + "kind": "mutations", + "id": "createrepositorycustomproperty", + "href": "/graphql/reference/mutations#createrepositorycustomproperty", + "description": "Create a repository custom property.
", + "inputFields": [ + { + "name": "input", + "type": "CreateRepositoryCustomPropertyInput!", + "id": "createrepositorycustompropertyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#createrepositorycustompropertyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "repositoryCustomProperty", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "description": "The newly created repository custom property.
" + } + ] + }, { "name": "createRepositoryRuleset", "kind": "mutations", @@ -4561,6 +4595,40 @@ } ] }, + { + "name": "deleteRepositoryCustomProperty", + "kind": "mutations", + "id": "deleterepositorycustomproperty", + "href": "/graphql/reference/mutations#deleterepositorycustomproperty", + "description": "Delete a repository custom property.
", + "inputFields": [ + { + "name": "input", + "type": "DeleteRepositoryCustomPropertyInput!", + "id": "deleterepositorycustompropertyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#deleterepositorycustompropertyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "repositoryCustomProperty", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "description": "The deleted custom property.
" + } + ] + }, { "name": "deleteRepositoryRuleset", "kind": "mutations", @@ -5715,6 +5783,40 @@ } ] }, + { + "name": "promoteRepositoryCustomProperty", + "kind": "mutations", + "id": "promoterepositorycustomproperty", + "href": "/graphql/reference/mutations#promoterepositorycustomproperty", + "description": "Promote a repository custom property to the enterprise level.
", + "inputFields": [ + { + "name": "input", + "type": "PromoteRepositoryCustomPropertyInput!", + "id": "promoterepositorycustompropertyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#promoterepositorycustompropertyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "repositoryCustomProperty", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "description": "The repository custom property that has been promoted.
" + } + ] + }, { "name": "publishSponsorsTier", "kind": "mutations", @@ -6915,6 +7017,40 @@ } ] }, + { + "name": "setRepositoryCustomPropertyValues", + "kind": "mutations", + "id": "setrepositorycustompropertyvalues", + "href": "/graphql/reference/mutations#setrepositorycustompropertyvalues", + "description": "Set repository custom property values for a repository.
", + "inputFields": [ + { + "name": "input", + "type": "SetRepositoryCustomPropertyValuesInput!", + "id": "setrepositorycustompropertyvaluesinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#setrepositorycustompropertyvaluesinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "repository", + "type": "Repository", + "id": "repository", + "kind": "objects", + "href": "/graphql/reference/objects#repository", + "description": "The repository that the custom properties were set for.
" + } + ] + }, { "name": "setRepositoryInteractionLimit", "kind": "mutations", @@ -9683,6 +9819,40 @@ } ] }, + { + "name": "updateRepositoryCustomProperty", + "kind": "mutations", + "id": "updaterepositorycustomproperty", + "href": "/graphql/reference/mutations#updaterepositorycustomproperty", + "description": "Update a repository custom property.
", + "inputFields": [ + { + "name": "input", + "type": "UpdateRepositoryCustomPropertyInput!", + "id": "updaterepositorycustompropertyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updaterepositorycustompropertyinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "repositoryCustomProperty", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "description": "The updated repository custom property.
" + } + ] + }, { "name": "updateRepositoryRuleset", "kind": "mutations", @@ -22469,6 +22639,76 @@ "kind": "scalars", "href": "/graphql/reference/scalars#html" }, + { + "name": "repositoryCustomProperties", + "description": "A list of repository custom properties for this enterprise.
", + "type": "RepositoryCustomPropertyConnection", + "id": "repositorycustompropertyconnection", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, + { + "name": "repositoryCustomProperty", + "description": "Returns a single repository custom property for the current enterprise by name.
", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "arguments": [ + { + "name": "propertyName", + "description": "The name of the repository custom property to be returned.
", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, { "name": "resourcePath", "description": "The HTTP path for this enterprise.
", @@ -44591,6 +44831,76 @@ } ] }, + { + "name": "repositoryCustomProperties", + "description": "A list of custom properties for this organization.
", + "type": "RepositoryCustomPropertyConnection", + "id": "repositorycustompropertyconnection", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, + { + "name": "repositoryCustomProperty", + "description": "Returns a single custom property from the current organization by name.
", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty", + "arguments": [ + { + "name": "propertyName", + "description": "The name of the custom property to be returned.
", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, { "name": "repositoryDiscussionComments", "description": "Discussion comments this user has authored.
", @@ -67933,6 +68243,76 @@ } ] }, + { + "name": "repositoryCustomPropertyValue", + "description": "A custom property value for the repository.
", + "type": "RepositoryCustomPropertyValue", + "id": "repositorycustompropertyvalue", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyvalue", + "arguments": [ + { + "name": "propertyName", + "description": "The name of the custom property to retrieve the value for.
", + "type": { + "name": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, + { + "name": "repositoryCustomPropertyValues", + "description": "A list of custom properties and their associated values for a repository.
", + "type": "RepositoryCustomPropertyValueConnection", + "id": "repositorycustompropertyvalueconnection", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyvalueconnection", + "arguments": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.
", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "Returns the first n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "Returns the last n elements from the list.
", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, { "name": "repositoryTopics", "description": "A list of applied repository-topic associations for this repository.
", @@ -68896,6 +69276,259 @@ } ] }, + { + "name": "RepositoryCustomProperty", + "kind": "objects", + "id": "repositorycustomproperty", + "href": "/graphql/reference/objects#repositorycustomproperty", + "description": "A repository custom property.
", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "allowedValues", + "description": "The allowed values for the custom property. Required if value_type is single_select or multi_select.
The default value of the custom property, if the property is required.
The description of the custom property.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "The Node ID of the RepositoryCustomProperty object.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "propertyName", + "description": "The name of the custom property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "regex", + "description": "The regex pattern that the value of the custom property must match, if the value_type is string.
Whether the custom property is required.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "source", + "description": "The source type of the custom property.
", + "type": "CustomPropertySource!", + "id": "custompropertysource", + "kind": "unions", + "href": "/graphql/reference/unions#custompropertysource" + }, + { + "name": "valueType", + "description": "The value type of the custom property.
", + "type": "CustomPropertyValueType!", + "id": "custompropertyvaluetype", + "kind": "enums", + "href": "/graphql/reference/enums#custompropertyvaluetype" + }, + { + "name": "valuesEditableBy", + "description": "Who can edit the values of this repository custom property.
", + "type": "RepositoryCustomPropertyValuesEditableBy!", + "id": "repositorycustompropertyvalueseditableby", + "kind": "enums", + "href": "/graphql/reference/enums#repositorycustompropertyvalueseditableby" + } + ] + }, + { + "name": "RepositoryCustomPropertyConnection", + "kind": "objects", + "id": "repositorycustompropertyconnection", + "href": "/graphql/reference/objects#repositorycustompropertyconnection", + "description": "The connection type for RepositoryCustomProperty.
", + "fields": [ + { + "name": "edges", + "description": "A list of edges.
", + "type": "[RepositoryCustomPropertyEdge]", + "id": "repositorycustompropertyedge", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyedge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[RepositoryCustomProperty]", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "RepositoryCustomPropertyEdge", + "kind": "objects", + "id": "repositorycustompropertyedge", + "href": "/graphql/reference/objects#repositorycustompropertyedge", + "description": "An edge in a connection.
", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "The item at the end of the edge.
", + "type": "RepositoryCustomProperty", + "id": "repositorycustomproperty", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustomproperty" + } + ] + }, + { + "name": "RepositoryCustomPropertyValue", + "kind": "objects", + "id": "repositorycustompropertyvalue", + "href": "/graphql/reference/objects#repositorycustompropertyvalue", + "description": "A value associated with a repository custom property.
", + "fields": [ + { + "name": "propertyName", + "description": "The name of the custom property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "value", + "description": "The value of the custom property.
", + "type": "CustomPropertyValue!", + "id": "custompropertyvalue", + "kind": "scalars", + "href": "/graphql/reference/scalars#custompropertyvalue" + } + ] + }, + { + "name": "RepositoryCustomPropertyValueConnection", + "kind": "objects", + "id": "repositorycustompropertyvalueconnection", + "href": "/graphql/reference/objects#repositorycustompropertyvalueconnection", + "description": "The connection type for RepositoryCustomPropertyValue.
", + "fields": [ + { + "name": "edges", + "description": "A list of edges.
", + "type": "[RepositoryCustomPropertyValueEdge]", + "id": "repositorycustompropertyvalueedge", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyvalueedge" + }, + { + "name": "nodes", + "description": "A list of nodes.
", + "type": "[RepositoryCustomPropertyValue]", + "id": "repositorycustompropertyvalue", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyvalue" + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.
", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.
", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "RepositoryCustomPropertyValueEdge", + "kind": "objects", + "id": "repositorycustompropertyvalueedge", + "href": "/graphql/reference/objects#repositorycustompropertyvalueedge", + "description": "An edge in a connection.
", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "The item at the end of the edge.
", + "type": "RepositoryCustomPropertyValue", + "id": "repositorycustompropertyvalue", + "kind": "objects", + "href": "/graphql/reference/objects#repositorycustompropertyvalue" + } + ] + }, { "name": "RepositoryEdge", "kind": "objects", @@ -89344,6 +89977,35 @@ } ] }, + { + "name": "CustomPropertyValueType", + "kind": "enums", + "id": "custompropertyvaluetype", + "href": "/graphql/reference/enums#custompropertyvaluetype", + "description": "The allowed value types for a custom property definition.
", + "values": [ + { + "name": "MULTI_SELECT", + "description": "A multi-select value.
" + }, + { + "name": "SINGLE_SELECT", + "description": "A single-select value.
" + }, + { + "name": "STRING", + "description": "A string value.
" + }, + { + "name": "TRUE_FALSE", + "description": "A true/false value.
" + }, + { + "name": "URL", + "description": "A URL value.
" + } + ] + }, { "name": "DefaultRepositoryPermissionField", "kind": "enums", @@ -93298,6 +93960,23 @@ } ] }, + { + "name": "RepositoryCustomPropertyValuesEditableBy", + "kind": "enums", + "id": "repositorycustompropertyvalueseditableby", + "href": "/graphql/reference/enums#repositorycustompropertyvalueseditableby", + "description": "The allowed actors who can edit the values of a custom property.
", + "values": [ + { + "name": "ORG_ACTORS", + "description": "The organization actors.
" + }, + { + "name": "ORG_AND_REPO_ACTORS", + "description": "The organization and repository actors.
" + } + ] + }, { "name": "RepositoryInteractionLimit", "kind": "enums", @@ -96174,6 +96853,25 @@ } ] }, + { + "name": "CustomPropertySource", + "kind": "unions", + "id": "custompropertysource", + "href": "/graphql/reference/unions#custompropertysource", + "description": "Sources which can have custom properties defined.
", + "possibleTypes": [ + { + "name": "Enterprise", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise" + }, + { + "name": "Organization", + "id": "organization", + "href": "/graphql/reference/objects#organization" + } + ] + }, { "name": "DeploymentReviewer", "kind": "unions", @@ -102224,6 +102922,96 @@ } ] }, + { + "name": "CreateRepositoryCustomPropertyInput", + "kind": "inputObjects", + "id": "createrepositorycustompropertyinput", + "href": "/graphql/reference/input-objects#createrepositorycustompropertyinput", + "description": "Autogenerated input type of CreateRepositoryCustomProperty.
", + "inputFields": [ + { + "name": "allowedValues", + "description": "The allowed values for the custom property.
", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "defaultValue", + "description": "The default value for the custom property if the property is required.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "description", + "description": "The description of the custom property.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyName", + "description": "The name of the custom property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "regex", + "description": "The regex pattern that the value of the custom property must match, if the value_type is string.
Whether the custom property is required.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "sourceId", + "description": "The global relay id of the source in which a new custom property should be created in.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "valueType", + "description": "The value type for the custom property.
", + "type": "CustomPropertyValueType!", + "id": "custompropertyvaluetype", + "kind": "enums", + "href": "/graphql/reference/enums#custompropertyvaluetype" + }, + { + "name": "valuesEditableBy", + "description": "The allowed actors who can edit the values of a custom property.
", + "type": "RepositoryCustomPropertyValuesEditableBy", + "id": "repositorycustompropertyvalueseditableby", + "kind": "enums", + "href": "/graphql/reference/enums#repositorycustompropertyvalueseditableby" + } + ] + }, { "name": "CreateRepositoryInput", "kind": "inputObjects", @@ -102835,6 +103623,31 @@ } ] }, + { + "name": "CustomPropertyValueInput", + "kind": "inputObjects", + "id": "custompropertyvalueinput", + "href": "/graphql/reference/input-objects#custompropertyvalueinput", + "description": "The custom property name and value to be set.
", + "inputFields": [ + { + "name": "propertyName", + "description": "The name of the custom property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "value", + "description": "The value to set for the custom property. Using a value of null will unset the\nproperty value, reverting to the default value if the property is required.
", + "type": "CustomPropertyValue", + "id": "custompropertyvalue", + "kind": "scalars", + "href": "/graphql/reference/scalars#custompropertyvalue" + } + ] + }, { "name": "DeclineTopicSuggestionInput", "kind": "inputObjects", @@ -103484,6 +104297,32 @@ } ] }, + { + "name": "DeleteRepositoryCustomPropertyInput", + "kind": "inputObjects", + "id": "deleterepositorycustompropertyinput", + "href": "/graphql/reference/input-objects#deleterepositorycustompropertyinput", + "description": "Autogenerated input type of DeleteRepositoryCustomProperty.
", + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "The global relay id of the custom property to be deleted.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "DeleteRepositoryRulesetInput", "kind": "inputObjects", @@ -106254,6 +107093,32 @@ } ] }, + { + "name": "PromoteRepositoryCustomPropertyInput", + "kind": "inputObjects", + "id": "promoterepositorycustompropertyinput", + "href": "/graphql/reference/input-objects#promoterepositorycustompropertyinput", + "description": "Autogenerated input type of PromoteRepositoryCustomProperty.
", + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "repositoryCustomPropertyId", + "description": "The ID of the repository custom property to be promoted.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "PropertyTargetDefinitionInput", "kind": "inputObjects", @@ -108313,6 +109178,40 @@ } ] }, + { + "name": "SetRepositoryCustomPropertyValuesInput", + "kind": "inputObjects", + "id": "setrepositorycustompropertyvaluesinput", + "href": "/graphql/reference/input-objects#setrepositorycustompropertyvaluesinput", + "description": "Autogenerated input type of SetRepositoryCustomPropertyValues.
", + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "properties", + "description": "A list of custom property names and associated values to apply.
", + "type": "[CustomPropertyValueInput!]!", + "id": "custompropertyvalueinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#custompropertyvalueinput" + }, + { + "name": "repositoryId", + "description": "The ID of the repository to set properties for.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "SetRepositoryInteractionLimitInput", "kind": "inputObjects", @@ -112093,6 +112992,80 @@ } ] }, + { + "name": "UpdateRepositoryCustomPropertyInput", + "kind": "inputObjects", + "id": "updaterepositorycustompropertyinput", + "href": "/graphql/reference/input-objects#updaterepositorycustompropertyinput", + "description": "Autogenerated input type of UpdateRepositoryCustomProperty.
", + "inputFields": [ + { + "name": "allowedValues", + "description": "The updated allowed values for the custom property.
", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "defaultValue", + "description": "The updated default value for the custom property if the property is required.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "description", + "description": "The updated description of the custom property.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "regex", + "description": "The regex pattern that the value of the custom property must match, if the value_type is string.
The global relay id of the source of the custom property.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "required", + "description": "Whether the updated custom property is required.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "valuesEditableBy", + "description": "The updated actors who can edit the values of the custom property.
", + "type": "RepositoryCustomPropertyValuesEditableBy", + "id": "repositorycustompropertyvalueseditableby", + "kind": "enums", + "href": "/graphql/reference/enums#repositorycustompropertyvalueseditableby" + } + ] + }, { "name": "UpdateRepositoryInput", "kind": "inputObjects", @@ -112951,6 +113924,13 @@ "id": "boolean", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "CustomPropertyValue", + "kind": "scalars", + "id": "custompropertyvalue", + "href": "/graphql/reference/scalars#custompropertyvalue", + "description": "A custom property value can be either a string or an array of strings. All\nproperty types support only a single string value, except for the multi-select\ntype, which supports only a string array.
" + }, { "name": "Date", "kind": "scalars",