From 9435c1a1b532366be130653ccaaf4a4e03f828c2 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Mon, 20 May 2024 09:33:50 -0700 Subject: [PATCH] GraphQL schema update (#50707) Co-authored-by: rachmari <9831992+rachmari@users.noreply.github.com> --- src/graphql/data/fpt/changelog.json | 15 ++++++++++++++ src/graphql/data/fpt/schema.docs.graphql | 15 ++++++++++++++ src/graphql/data/fpt/schema.json | 24 +++++++++++++++++++++++ src/graphql/data/ghec/schema.docs.graphql | 15 ++++++++++++++ src/graphql/data/ghec/schema.json | 24 +++++++++++++++++++++++ 5 files changed, 93 insertions(+) diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index abf14b542e..7d25f3aad1 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,19 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Field announcementCreatedAt was added to interface AnnouncementBanner

", + "

Field announcementCreatedAt was added to object type Enterprise

", + "

Field announcementCreatedAt was added to object type Organization

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2024-05-20" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index c1aa22390a..e5887f5b95 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -1182,6 +1182,11 @@ interface AnnouncementBanner { """ announcement: String + """ + The date the announcement was created + """ + announcementCreatedAt: DateTime + """ The expiration date of the announcement, if any """ @@ -12544,6 +12549,11 @@ type Enterprise implements AnnouncementBanner & Node { """ announcement: String + """ + The date the announcement was created + """ + announcementCreatedAt: DateTime + """ The expiration date of the announcement, if any """ @@ -28286,6 +28296,11 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod """ announcement: String + """ + The date the announcement was created + """ + announcementCreatedAt: DateTime + """ The expiration date of the announcement, if any """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index e1251d6fff..4451de3d84 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -20660,6 +20660,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "announcementCreatedAt", + "description": "

The date the announcement was created.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "announcementExpiresAt", "description": "

The expiration date of the announcement, if any.

", @@ -38884,6 +38892,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "announcementCreatedAt", + "description": "

The date the announcement was created.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "announcementExpiresAt", "description": "

The expiration date of the announcement, if any.

", @@ -78169,6 +78185,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "announcementCreatedAt", + "description": "

The date the announcement was created.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "announcementExpiresAt", "description": "

The expiration date of the announcement, if any.

", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index c1aa22390a..e5887f5b95 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -1182,6 +1182,11 @@ interface AnnouncementBanner { """ announcement: String + """ + The date the announcement was created + """ + announcementCreatedAt: DateTime + """ The expiration date of the announcement, if any """ @@ -12544,6 +12549,11 @@ type Enterprise implements AnnouncementBanner & Node { """ announcement: String + """ + The date the announcement was created + """ + announcementCreatedAt: DateTime + """ The expiration date of the announcement, if any """ @@ -28286,6 +28296,11 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod """ announcement: String + """ + The date the announcement was created + """ + announcementCreatedAt: DateTime + """ The expiration date of the announcement, if any """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index e1251d6fff..4451de3d84 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -20660,6 +20660,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "announcementCreatedAt", + "description": "

The date the announcement was created.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "announcementExpiresAt", "description": "

The expiration date of the announcement, if any.

", @@ -38884,6 +38892,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "announcementCreatedAt", + "description": "

The date the announcement was created.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "announcementExpiresAt", "description": "

The expiration date of the announcement, if any.

", @@ -78169,6 +78185,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "announcementCreatedAt", + "description": "

The date the announcement was created.

", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, { "name": "announcementExpiresAt", "description": "

The expiration date of the announcement, if any.

",