1
0
mirror of synced 2025-12-19 18:10:59 -05:00

GraphQL schema update (#34987)

Co-authored-by: rachmari <rachmari@users.noreply.github.com>
This commit is contained in:
Octomerger Bot
2023-02-22 08:40:32 -08:00
committed by GitHub
parent fbc4605980
commit e5e5bce1b6
5 changed files with 885 additions and 0 deletions

View File

@@ -1,4 +1,25 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Type 'CreateProjectV2FieldInput' was added</p>",
"<p>Type 'CreateProjectV2FieldPayload' was added</p>",
"<p>Type 'DeleteProjectV2FieldInput' was added</p>",
"<p>Type 'DeleteProjectV2FieldPayload' was added</p>",
"<p>Type 'ProjectV2CustomFieldType' was added</p>",
"<p>Type 'ProjectV2SingleSelectFieldOptionColor' was added</p>",
"<p>Type 'ProjectV2SingleSelectFieldOptionInput' was added</p>",
"<p>Field 'createProjectV2Field<code>was added to object type</code>Mutation'</p>",
"<p>Field 'deleteProjectV2Field<code>was added to object type</code>Mutation'</p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2023-02-22"
},
{
"schemaChanges": [
{

View File

@@ -2870,6 +2870,40 @@
}
]
},
{
"name": "createProjectV2Field",
"kind": "mutations",
"id": "createprojectv2field",
"href": "/graphql/reference/mutations#createprojectv2field",
"description": "<p>Create a new project field.</p>",
"inputFields": [
{
"name": "input",
"type": "CreateProjectV2FieldInput!",
"id": "createprojectv2fieldinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#createprojectv2fieldinput"
}
],
"returnFields": [
{
"name": "clientMutationId",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string",
"description": "<p>A unique identifier for the client performing the mutation.</p>"
},
{
"name": "projectV2Field",
"type": "ProjectV2FieldConfiguration",
"id": "projectv2fieldconfiguration",
"kind": "unions",
"href": "/graphql/reference/unions#projectv2fieldconfiguration",
"description": "<p>The new field.</p>"
}
]
},
{
"name": "createPullRequest",
"kind": "mutations",
@@ -3692,6 +3726,40 @@
}
]
},
{
"name": "deleteProjectV2Field",
"kind": "mutations",
"id": "deleteprojectv2field",
"href": "/graphql/reference/mutations#deleteprojectv2field",
"description": "<p>Delete a project field.</p>",
"inputFields": [
{
"name": "input",
"type": "DeleteProjectV2FieldInput!",
"id": "deleteprojectv2fieldinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#deleteprojectv2fieldinput"
}
],
"returnFields": [
{
"name": "clientMutationId",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string",
"description": "<p>A unique identifier for the client performing the mutation.</p>"
},
{
"name": "projectV2Field",
"type": "ProjectV2FieldConfiguration",
"id": "projectv2fieldconfiguration",
"kind": "unions",
"href": "/graphql/reference/unions#projectv2fieldconfiguration",
"description": "<p>The deleted field.</p>"
}
]
},
{
"name": "deleteProjectV2Item",
"kind": "mutations",
@@ -77219,6 +77287,31 @@
}
]
},
{
"name": "ProjectV2CustomFieldType",
"kind": "enums",
"id": "projectv2customfieldtype",
"href": "/graphql/reference/enums#projectv2customfieldtype",
"description": "<p>The type of a project field.</p>",
"values": [
{
"name": "DATE",
"description": "<p>Date.</p>"
},
{
"name": "NUMBER",
"description": "<p>Number.</p>"
},
{
"name": "SINGLE_SELECT",
"description": "<p>Single Select.</p>"
},
{
"name": "TEXT",
"description": "<p>Text.</p>"
}
]
},
{
"name": "ProjectV2FieldOrderField",
"kind": "enums",
@@ -77381,6 +77474,47 @@
}
]
},
{
"name": "ProjectV2SingleSelectFieldOptionColor",
"kind": "enums",
"id": "projectv2singleselectfieldoptioncolor",
"href": "/graphql/reference/enums#projectv2singleselectfieldoptioncolor",
"description": "<p>The display color of a single-select field option.</p>",
"values": [
{
"name": "BLUE",
"description": "<p>BLUE.</p>"
},
{
"name": "GRAY",
"description": "<p>GRAY.</p>"
},
{
"name": "GREEN",
"description": "<p>GREEN.</p>"
},
{
"name": "ORANGE",
"description": "<p>ORANGE.</p>"
},
{
"name": "PINK",
"description": "<p>PINK.</p>"
},
{
"name": "PURPLE",
"description": "<p>PURPLE.</p>"
},
{
"name": "RED",
"description": "<p>RED.</p>"
},
{
"name": "YELLOW",
"description": "<p>YELLOW.</p>"
}
]
},
{
"name": "ProjectV2State",
"kind": "enums",
@@ -85306,6 +85440,56 @@
}
]
},
{
"name": "CreateProjectV2FieldInput",
"kind": "inputObjects",
"id": "createprojectv2fieldinput",
"href": "/graphql/reference/input-objects#createprojectv2fieldinput",
"description": "<p>Autogenerated input type of CreateProjectV2Field.</p>",
"inputFields": [
{
"name": "clientMutationId",
"description": "<p>A unique identifier for the client performing the mutation.</p>",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "dataType",
"description": "<p>The data type of the field.</p>",
"type": "ProjectV2CustomFieldType!",
"id": "projectv2customfieldtype",
"kind": "enums",
"href": "/graphql/reference/enums#projectv2customfieldtype"
},
{
"name": "name",
"description": "<p>The name of the field.</p>",
"type": "String!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "projectId",
"description": "<p>The ID of the Project to create the field in.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
},
{
"name": "singleSelectOptions",
"description": "<p>Options for a single select field. At least one value is required if data_type is SINGLE_SELECT.</p>",
"type": "[ProjectV2SingleSelectFieldOptionInput!]",
"id": "projectv2singleselectfieldoptioninput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#projectv2singleselectfieldoptioninput"
}
]
},
{
"name": "CreateProjectV2Input",
"kind": "inputObjects",
@@ -86344,6 +86528,32 @@
}
]
},
{
"name": "DeleteProjectV2FieldInput",
"kind": "inputObjects",
"id": "deleteprojectv2fieldinput",
"href": "/graphql/reference/input-objects#deleteprojectv2fieldinput",
"description": "<p>Autogenerated input type of DeleteProjectV2Field.</p>",
"inputFields": [
{
"name": "clientMutationId",
"description": "<p>A unique identifier for the client performing the mutation.</p>",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "fieldId",
"description": "<p>The ID of the field to delete.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
}
]
},
{
"name": "DeleteProjectV2Input",
"kind": "inputObjects",
@@ -88473,6 +88683,39 @@
}
]
},
{
"name": "ProjectV2SingleSelectFieldOptionInput",
"kind": "inputObjects",
"id": "projectv2singleselectfieldoptioninput",
"href": "/graphql/reference/input-objects#projectv2singleselectfieldoptioninput",
"description": "<p>Represents a single select field option.</p>",
"inputFields": [
{
"name": "color",
"description": "<p>The display color of the option.</p>",
"type": "ProjectV2SingleSelectFieldOptionColor!",
"id": "projectv2singleselectfieldoptioncolor",
"kind": "enums",
"href": "/graphql/reference/enums#projectv2singleselectfieldoptioncolor"
},
{
"name": "description",
"description": "<p>The description text of the option.</p>",
"type": "String!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "name",
"description": "<p>The name of the option.</p>",
"type": "String!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
}
]
},
{
"name": "ProjectV2ViewOrder",
"kind": "inputObjects",

View File

@@ -2870,6 +2870,40 @@
}
]
},
{
"name": "createProjectV2Field",
"kind": "mutations",
"id": "createprojectv2field",
"href": "/graphql/reference/mutations#createprojectv2field",
"description": "<p>Create a new project field.</p>",
"inputFields": [
{
"name": "input",
"type": "CreateProjectV2FieldInput!",
"id": "createprojectv2fieldinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#createprojectv2fieldinput"
}
],
"returnFields": [
{
"name": "clientMutationId",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string",
"description": "<p>A unique identifier for the client performing the mutation.</p>"
},
{
"name": "projectV2Field",
"type": "ProjectV2FieldConfiguration",
"id": "projectv2fieldconfiguration",
"kind": "unions",
"href": "/graphql/reference/unions#projectv2fieldconfiguration",
"description": "<p>The new field.</p>"
}
]
},
{
"name": "createPullRequest",
"kind": "mutations",
@@ -3692,6 +3726,40 @@
}
]
},
{
"name": "deleteProjectV2Field",
"kind": "mutations",
"id": "deleteprojectv2field",
"href": "/graphql/reference/mutations#deleteprojectv2field",
"description": "<p>Delete a project field.</p>",
"inputFields": [
{
"name": "input",
"type": "DeleteProjectV2FieldInput!",
"id": "deleteprojectv2fieldinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#deleteprojectv2fieldinput"
}
],
"returnFields": [
{
"name": "clientMutationId",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string",
"description": "<p>A unique identifier for the client performing the mutation.</p>"
},
{
"name": "projectV2Field",
"type": "ProjectV2FieldConfiguration",
"id": "projectv2fieldconfiguration",
"kind": "unions",
"href": "/graphql/reference/unions#projectv2fieldconfiguration",
"description": "<p>The deleted field.</p>"
}
]
},
{
"name": "deleteProjectV2Item",
"kind": "mutations",
@@ -77219,6 +77287,31 @@
}
]
},
{
"name": "ProjectV2CustomFieldType",
"kind": "enums",
"id": "projectv2customfieldtype",
"href": "/graphql/reference/enums#projectv2customfieldtype",
"description": "<p>The type of a project field.</p>",
"values": [
{
"name": "DATE",
"description": "<p>Date.</p>"
},
{
"name": "NUMBER",
"description": "<p>Number.</p>"
},
{
"name": "SINGLE_SELECT",
"description": "<p>Single Select.</p>"
},
{
"name": "TEXT",
"description": "<p>Text.</p>"
}
]
},
{
"name": "ProjectV2FieldOrderField",
"kind": "enums",
@@ -77381,6 +77474,47 @@
}
]
},
{
"name": "ProjectV2SingleSelectFieldOptionColor",
"kind": "enums",
"id": "projectv2singleselectfieldoptioncolor",
"href": "/graphql/reference/enums#projectv2singleselectfieldoptioncolor",
"description": "<p>The display color of a single-select field option.</p>",
"values": [
{
"name": "BLUE",
"description": "<p>BLUE.</p>"
},
{
"name": "GRAY",
"description": "<p>GRAY.</p>"
},
{
"name": "GREEN",
"description": "<p>GREEN.</p>"
},
{
"name": "ORANGE",
"description": "<p>ORANGE.</p>"
},
{
"name": "PINK",
"description": "<p>PINK.</p>"
},
{
"name": "PURPLE",
"description": "<p>PURPLE.</p>"
},
{
"name": "RED",
"description": "<p>RED.</p>"
},
{
"name": "YELLOW",
"description": "<p>YELLOW.</p>"
}
]
},
{
"name": "ProjectV2State",
"kind": "enums",
@@ -85306,6 +85440,56 @@
}
]
},
{
"name": "CreateProjectV2FieldInput",
"kind": "inputObjects",
"id": "createprojectv2fieldinput",
"href": "/graphql/reference/input-objects#createprojectv2fieldinput",
"description": "<p>Autogenerated input type of CreateProjectV2Field.</p>",
"inputFields": [
{
"name": "clientMutationId",
"description": "<p>A unique identifier for the client performing the mutation.</p>",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "dataType",
"description": "<p>The data type of the field.</p>",
"type": "ProjectV2CustomFieldType!",
"id": "projectv2customfieldtype",
"kind": "enums",
"href": "/graphql/reference/enums#projectv2customfieldtype"
},
{
"name": "name",
"description": "<p>The name of the field.</p>",
"type": "String!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "projectId",
"description": "<p>The ID of the Project to create the field in.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
},
{
"name": "singleSelectOptions",
"description": "<p>Options for a single select field. At least one value is required if data_type is SINGLE_SELECT.</p>",
"type": "[ProjectV2SingleSelectFieldOptionInput!]",
"id": "projectv2singleselectfieldoptioninput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#projectv2singleselectfieldoptioninput"
}
]
},
{
"name": "CreateProjectV2Input",
"kind": "inputObjects",
@@ -86344,6 +86528,32 @@
}
]
},
{
"name": "DeleteProjectV2FieldInput",
"kind": "inputObjects",
"id": "deleteprojectv2fieldinput",
"href": "/graphql/reference/input-objects#deleteprojectv2fieldinput",
"description": "<p>Autogenerated input type of DeleteProjectV2Field.</p>",
"inputFields": [
{
"name": "clientMutationId",
"description": "<p>A unique identifier for the client performing the mutation.</p>",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "fieldId",
"description": "<p>The ID of the field to delete.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
}
]
},
{
"name": "DeleteProjectV2Input",
"kind": "inputObjects",
@@ -88473,6 +88683,39 @@
}
]
},
{
"name": "ProjectV2SingleSelectFieldOptionInput",
"kind": "inputObjects",
"id": "projectv2singleselectfieldoptioninput",
"href": "/graphql/reference/input-objects#projectv2singleselectfieldoptioninput",
"description": "<p>Represents a single select field option.</p>",
"inputFields": [
{
"name": "color",
"description": "<p>The display color of the option.</p>",
"type": "ProjectV2SingleSelectFieldOptionColor!",
"id": "projectv2singleselectfieldoptioncolor",
"kind": "enums",
"href": "/graphql/reference/enums#projectv2singleselectfieldoptioncolor"
},
{
"name": "description",
"description": "<p>The description text of the option.</p>",
"type": "String!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "name",
"description": "<p>The name of the option.</p>",
"type": "String!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
}
]
},
{
"name": "ProjectV2ViewOrder",
"kind": "inputObjects",