From 3943a566e5b7b569f1eb5ddc8ea37f0ca4cfa968 Mon Sep 17 00:00:00 2001 From: Octomerger Bot <63058869+Octomerger@users.noreply.github.com> Date: Tue, 7 Mar 2023 08:39:00 -0800 Subject: [PATCH] GraphQL schema update (#35354) Co-authored-by: rachmari --- data/graphql/ghec/schema.docs.graphql | 5 +++++ data/graphql/schema.docs.graphql | 5 +++++ src/graphql/data/dotcom/changelog.json | 13 +++++++++++++ src/graphql/data/dotcom/schema.json | 8 ++++++++ src/graphql/data/ghec/schema.json | 8 ++++++++ 5 files changed, 39 insertions(+) diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 12a3705bf31f..d287686acf4c 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -29885,6 +29885,11 @@ type ProjectV2 implements Closable & Node & Updatable { orderBy: TeamOrder = {field: NAME, direction: ASC} ): TeamConnection! + """ + Returns true if this project is a template. + """ + template: Boolean! + """ The project's name. """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 12a3705bf31f..d287686acf4c 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -29885,6 +29885,11 @@ type ProjectV2 implements Closable & Node & Updatable { orderBy: TeamOrder = {field: NAME, direction: ASC} ): TeamConnection! + """ + Returns true if this project is a template. + """ + template: Boolean! + """ The project's name. """ diff --git a/src/graphql/data/dotcom/changelog.json b/src/graphql/data/dotcom/changelog.json index 9a4252481258..64f3de61ed37 100644 --- a/src/graphql/data/dotcom/changelog.json +++ b/src/graphql/data/dotcom/changelog.json @@ -1,4 +1,17 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Field template was added to object type 'ProjectV2'

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2023-03-07" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/dotcom/schema.json b/src/graphql/data/dotcom/schema.json index 4c79eacfeeb7..bdf5bd18be95 100644 --- a/src/graphql/data/dotcom/schema.json +++ b/src/graphql/data/dotcom/schema.json @@ -42054,6 +42054,14 @@ } ] }, + { + "name": "template", + "description": "

Returns true if this project is a template.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "title", "description": "

The project's name.

", diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 4c79eacfeeb7..bdf5bd18be95 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -42054,6 +42054,14 @@ } ] }, + { + "name": "template", + "description": "

Returns true if this project is a template.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "title", "description": "

The project's name.

",