1
0
mirror of synced 2025-12-19 09:57:42 -05:00

GraphQL schema update (#58798)

Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com>
This commit is contained in:
docs-bot
2025-12-10 08:40:38 -08:00
committed by GitHub
parent e7e956646b
commit 81a3d70a64
5 changed files with 3301 additions and 0 deletions

View File

@@ -1,4 +1,139 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Type <code>CreateRepositoryCustomPropertyInput</code> was added</p>",
"<p>Input field <code>allowedValues</code> of type '[String!]<code>was added to input object type</code>CreateRepositoryCustomPropertyInput'</p>",
"<p>Input field <code>clientMutationId</code> of type <code>String</code> was added to input object type <code>CreateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>defaultValue</code> of type <code>String</code> was added to input object type <code>CreateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>description</code> of type <code>String</code> was added to input object type <code>CreateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>propertyName</code> of type <code>String!</code> was added to input object type <code>CreateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>regex</code> of type <code>String</code> was added to input object type <code>CreateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>required</code> of type <code>Boolean</code> was added to input object type <code>CreateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>sourceId</code> of type <code>ID!</code> was added to input object type <code>CreateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>valueType</code> of type <code>CustomPropertyValueType!</code> was added to input object type <code>CreateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>valuesEditableBy</code> of type <code>RepositoryCustomPropertyValuesEditableBy</code> was added to input object type <code>CreateRepositoryCustomPropertyInput</code></p>",
"<p>Type <code>CreateRepositoryCustomPropertyPayload</code> was added</p>",
"<p>Field <code>clientMutationId</code> was added to object type <code>CreateRepositoryCustomPropertyPayload</code></p>",
"<p>Field <code>repositoryCustomProperty</code> was added to object type <code>CreateRepositoryCustomPropertyPayload</code></p>",
"<p>Type <code>CustomPropertySource</code> was added</p>",
"<p>Member <code>Enterprise</code> was added to Union type <code>CustomPropertySource</code></p>",
"<p>Member <code>Organization</code> was added to Union type <code>CustomPropertySource</code></p>",
"<p>Type <code>CustomPropertyValue</code> was added</p>",
"<p>Type <code>CustomPropertyValueInput</code> was added</p>",
"<p>Input field <code>propertyName</code> of type <code>String!</code> was added to input object type <code>CustomPropertyValueInput</code></p>",
"<p>Input field <code>value</code> of type <code>CustomPropertyValue</code> was added to input object type <code>CustomPropertyValueInput</code></p>",
"<p>Type <code>CustomPropertyValueType</code> was added</p>",
"<p>Enum value 'MULTI_SELECT<code>was added to enum</code>CustomPropertyValueType'</p>",
"<p>Enum value 'SINGLE_SELECT<code>was added to enum</code>CustomPropertyValueType'</p>",
"<p>Enum value <code>STRING</code> was added to enum <code>CustomPropertyValueType</code></p>",
"<p>Enum value 'TRUE_FALSE<code>was added to enum</code>CustomPropertyValueType'</p>",
"<p>Enum value <code>URL</code> was added to enum <code>CustomPropertyValueType</code></p>",
"<p>Type <code>DeleteRepositoryCustomPropertyInput</code> was added</p>",
"<p>Input field <code>clientMutationId</code> of type <code>String</code> was added to input object type <code>DeleteRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>id</code> of type <code>ID!</code> was added to input object type <code>DeleteRepositoryCustomPropertyInput</code></p>",
"<p>Type <code>DeleteRepositoryCustomPropertyPayload</code> was added</p>",
"<p>Field <code>clientMutationId</code> was added to object type <code>DeleteRepositoryCustomPropertyPayload</code></p>",
"<p>Field <code>repositoryCustomProperty</code> was added to object type <code>DeleteRepositoryCustomPropertyPayload</code></p>",
"<p>Type <code>PromoteRepositoryCustomPropertyInput</code> was added</p>",
"<p>Input field <code>clientMutationId</code> of type <code>String</code> was added to input object type <code>PromoteRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>repositoryCustomPropertyId</code> of type <code>ID!</code> was added to input object type <code>PromoteRepositoryCustomPropertyInput</code></p>",
"<p>Type <code>PromoteRepositoryCustomPropertyPayload</code> was added</p>",
"<p>Field <code>clientMutationId</code> was added to object type <code>PromoteRepositoryCustomPropertyPayload</code></p>",
"<p>Field <code>repositoryCustomProperty</code> was added to object type <code>PromoteRepositoryCustomPropertyPayload</code></p>",
"<p>Type <code>RepositoryCustomProperty</code> was added</p>",
"<p><code>RepositoryCustomProperty</code> object implements <code>Node</code> interface</p>",
"<p>Field <code>allowedValues</code> was added to object type <code>RepositoryCustomProperty</code></p>",
"<p>Field <code>defaultValue</code> was added to object type <code>RepositoryCustomProperty</code></p>",
"<p>Field <code>description</code> was added to object type <code>RepositoryCustomProperty</code></p>",
"<p>Field <code>id</code> was added to object type <code>RepositoryCustomProperty</code></p>",
"<p>Field <code>propertyName</code> was added to object type <code>RepositoryCustomProperty</code></p>",
"<p>Field <code>regex</code> was added to object type <code>RepositoryCustomProperty</code></p>",
"<p>Field <code>required</code> was added to object type <code>RepositoryCustomProperty</code></p>",
"<p>Field <code>source</code> was added to object type <code>RepositoryCustomProperty</code></p>",
"<p>Field <code>valueType</code> was added to object type <code>RepositoryCustomProperty</code></p>",
"<p>Field <code>valuesEditableBy</code> was added to object type <code>RepositoryCustomProperty</code></p>",
"<p>Type <code>RepositoryCustomPropertyConnection</code> was added</p>",
"<p>Field <code>edges</code> was added to object type <code>RepositoryCustomPropertyConnection</code></p>",
"<p>Field <code>nodes</code> was added to object type <code>RepositoryCustomPropertyConnection</code></p>",
"<p>Field <code>pageInfo</code> was added to object type <code>RepositoryCustomPropertyConnection</code></p>",
"<p>Field <code>totalCount</code> was added to object type <code>RepositoryCustomPropertyConnection</code></p>",
"<p>Type <code>RepositoryCustomPropertyEdge</code> was added</p>",
"<p>Field <code>cursor</code> was added to object type <code>RepositoryCustomPropertyEdge</code></p>",
"<p>Field <code>node</code> was added to object type <code>RepositoryCustomPropertyEdge</code></p>",
"<p>Type <code>RepositoryCustomPropertyValue</code> was added</p>",
"<p>Field <code>propertyName</code> was added to object type <code>RepositoryCustomPropertyValue</code></p>",
"<p>Field <code>value</code> was added to object type <code>RepositoryCustomPropertyValue</code></p>",
"<p>Type <code>RepositoryCustomPropertyValueConnection</code> was added</p>",
"<p>Field <code>edges</code> was added to object type <code>RepositoryCustomPropertyValueConnection</code></p>",
"<p>Field <code>nodes</code> was added to object type <code>RepositoryCustomPropertyValueConnection</code></p>",
"<p>Field <code>pageInfo</code> was added to object type <code>RepositoryCustomPropertyValueConnection</code></p>",
"<p>Field <code>totalCount</code> was added to object type <code>RepositoryCustomPropertyValueConnection</code></p>",
"<p>Type <code>RepositoryCustomPropertyValueEdge</code> was added</p>",
"<p>Field <code>cursor</code> was added to object type <code>RepositoryCustomPropertyValueEdge</code></p>",
"<p>Field <code>node</code> was added to object type <code>RepositoryCustomPropertyValueEdge</code></p>",
"<p>Type <code>RepositoryCustomPropertyValuesEditableBy</code> was added</p>",
"<p>Enum value 'ORG_ACTORS<code>was added to enum</code>RepositoryCustomPropertyValuesEditableBy'</p>",
"<p>Enum value 'ORG_AND_REPO_ACTORS<code>was added to enum</code>RepositoryCustomPropertyValuesEditableBy'</p>",
"<p>Type <code>SetRepositoryCustomPropertyValuesInput</code> was added</p>",
"<p>Input field <code>clientMutationId</code> of type <code>String</code> was added to input object type <code>SetRepositoryCustomPropertyValuesInput</code></p>",
"<p>Input field <code>properties</code> of type '[CustomPropertyValueInput!]!<code>was added to input object type</code>SetRepositoryCustomPropertyValuesInput'</p>",
"<p>Input field <code>repositoryId</code> of type <code>ID!</code> was added to input object type <code>SetRepositoryCustomPropertyValuesInput</code></p>",
"<p>Type <code>SetRepositoryCustomPropertyValuesPayload</code> was added</p>",
"<p>Field <code>clientMutationId</code> was added to object type <code>SetRepositoryCustomPropertyValuesPayload</code></p>",
"<p>Field <code>repository</code> was added to object type <code>SetRepositoryCustomPropertyValuesPayload</code></p>",
"<p>Type <code>UpdateRepositoryCustomPropertyInput</code> was added</p>",
"<p>Input field <code>allowedValues</code> of type '[String!]<code>was added to input object type</code>UpdateRepositoryCustomPropertyInput'</p>",
"<p>Input field <code>clientMutationId</code> of type <code>String</code> was added to input object type <code>UpdateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>defaultValue</code> of type <code>String</code> was added to input object type <code>UpdateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>description</code> of type <code>String</code> was added to input object type <code>UpdateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>regex</code> of type <code>String</code> was added to input object type <code>UpdateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>repositoryCustomPropertyId</code> of type <code>ID!</code> was added to input object type <code>UpdateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>required</code> of type <code>Boolean</code> was added to input object type <code>UpdateRepositoryCustomPropertyInput</code></p>",
"<p>Input field <code>valuesEditableBy</code> of type <code>RepositoryCustomPropertyValuesEditableBy</code> was added to input object type <code>UpdateRepositoryCustomPropertyInput</code></p>",
"<p>Type <code>UpdateRepositoryCustomPropertyPayload</code> was added</p>",
"<p>Field <code>clientMutationId</code> was added to object type <code>UpdateRepositoryCustomPropertyPayload</code></p>",
"<p>Field <code>repositoryCustomProperty</code> was added to object type <code>UpdateRepositoryCustomPropertyPayload</code></p>",
"<p>Field <code>repositoryCustomProperties</code> was added to object type <code>Enterprise</code></p>",
"<p>Argument <code>after: String</code> added to field <code>Enterprise.repositoryCustomProperties</code></p>",
"<p>Argument <code>before: String</code> added to field <code>Enterprise.repositoryCustomProperties</code></p>",
"<p>Argument <code>first: Int</code> added to field <code>Enterprise.repositoryCustomProperties</code></p>",
"<p>Argument <code>last: Int</code> added to field <code>Enterprise.repositoryCustomProperties</code></p>",
"<p>Field <code>repositoryCustomProperty</code> was added to object type <code>Enterprise</code></p>",
"<p>Argument <code>propertyName: String!</code> added to field <code>Enterprise.repositoryCustomProperty</code></p>",
"<p>Field <code>createRepositoryCustomProperty</code> was added to object type <code>Mutation</code></p>",
"<p>Argument <code>input: CreateRepositoryCustomPropertyInput!</code> added to field <code>Mutation.createRepositoryCustomProperty</code></p>",
"<p>Field <code>deleteRepositoryCustomProperty</code> was added to object type <code>Mutation</code></p>",
"<p>Argument <code>input: DeleteRepositoryCustomPropertyInput!</code> added to field <code>Mutation.deleteRepositoryCustomProperty</code></p>",
"<p>Field <code>promoteRepositoryCustomProperty</code> was added to object type <code>Mutation</code></p>",
"<p>Argument <code>input: PromoteRepositoryCustomPropertyInput!</code> added to field <code>Mutation.promoteRepositoryCustomProperty</code></p>",
"<p>Field <code>setRepositoryCustomPropertyValues</code> was added to object type <code>Mutation</code></p>",
"<p>Argument <code>input: SetRepositoryCustomPropertyValuesInput!</code> added to field <code>Mutation.setRepositoryCustomPropertyValues</code></p>",
"<p>Field <code>updateRepositoryCustomProperty</code> was added to object type <code>Mutation</code></p>",
"<p>Argument <code>input: UpdateRepositoryCustomPropertyInput!</code> added to field <code>Mutation.updateRepositoryCustomProperty</code></p>",
"<p>Field <code>repositoryCustomProperties</code> was added to object type <code>Organization</code></p>",
"<p>Argument <code>after: String</code> added to field <code>Organization.repositoryCustomProperties</code></p>",
"<p>Argument <code>before: String</code> added to field <code>Organization.repositoryCustomProperties</code></p>",
"<p>Argument <code>first: Int</code> added to field <code>Organization.repositoryCustomProperties</code></p>",
"<p>Argument <code>last: Int</code> added to field <code>Organization.repositoryCustomProperties</code></p>",
"<p>Field <code>repositoryCustomProperty</code> was added to object type <code>Organization</code></p>",
"<p>Argument <code>propertyName: String!</code> added to field <code>Organization.repositoryCustomProperty</code></p>",
"<p>Field <code>repositoryCustomPropertyValue</code> was added to object type <code>Repository</code></p>",
"<p>Argument <code>propertyName: String!</code> added to field <code>Repository.repositoryCustomPropertyValue</code></p>",
"<p>Field <code>repositoryCustomPropertyValues</code> was added to object type <code>Repository</code></p>",
"<p>Argument <code>after: String</code> added to field <code>Repository.repositoryCustomPropertyValues</code></p>",
"<p>Argument <code>before: String</code> added to field <code>Repository.repositoryCustomPropertyValues</code></p>",
"<p>Argument <code>first: Int</code> added to field <code>Repository.repositoryCustomPropertyValues</code></p>",
"<p>Argument <code>last: Int</code> added to field <code>Repository.repositoryCustomPropertyValues</code></p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2025-12-10"
},
{
"schemaChanges": [
{

View File

@@ -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
"""

File diff suppressed because it is too large Load Diff

View File

@@ -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
"""

File diff suppressed because it is too large Load Diff