Skip to content

Commit

Permalink
feat: Adds property AnnouncementBanner.announcementCreatedAt (#947)
Browse files Browse the repository at this point in the history
* WIP: schema.graphql changed - please review

* build: schema.json and schema.d.ts updated

---------

Co-authored-by: Octokit Bot <octokitbot@martynus.net>
  • Loading branch information
octokitbot and Octokit Bot authored May 20, 2024
1 parent 5b662f5 commit 4f1108e
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
6 changes: 6 additions & 0 deletions schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ export type AddedToProjectEvent = Node & {
export type AnnouncementBanner = {
/** The text of the announcement */
announcement?: Maybe<Scalars['String']['output']>;
/** The date the announcement was created */
announcementCreatedAt?: Maybe<Scalars['DateTime']['output']>;
/** The expiration date of the announcement, if any */
announcementExpiresAt?: Maybe<Scalars['DateTime']['output']>;
/** Whether the announcement can be dismissed by the user */
Expand Down Expand Up @@ -6480,6 +6482,8 @@ export type Enterprise = AnnouncementBanner & Node & {
__typename?: 'Enterprise';
/** The text of the announcement */
announcement?: Maybe<Scalars['String']['output']>;
/** The date the announcement was created */
announcementCreatedAt?: Maybe<Scalars['DateTime']['output']>;
/** The expiration date of the announcement, if any */
announcementExpiresAt?: Maybe<Scalars['DateTime']['output']>;
/** Whether the announcement can be dismissed by the user */
Expand Down Expand Up @@ -14725,6 +14729,8 @@ export type Organization = Actor & AnnouncementBanner & MemberStatusable & Node
__typename?: 'Organization';
/** The text of the announcement */
announcement?: Maybe<Scalars['String']['output']>;
/** The date the announcement was created */
announcementCreatedAt?: Maybe<Scalars['DateTime']['output']>;
/** The expiration date of the announcement, if any */
announcementExpiresAt?: Maybe<Scalars['DateTime']['output']>;
/** Whether the announcement can be dismissed by the user */
Expand Down
15 changes: 15 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,11 @@ interface AnnouncementBanner {
"""
announcement: String

"""
The date the announcement was created
"""
announcementCreatedAt: DateTime

"""
The expiration date of the announcement, if any
"""
Expand Down Expand Up @@ -12478,6 +12483,11 @@ type Enterprise implements AnnouncementBanner & Node {
"""
announcement: String

"""
The date the announcement was created
"""
announcementCreatedAt: DateTime

"""
The expiration date of the announcement, if any
"""
Expand Down Expand Up @@ -28150,6 +28160,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
"""
Expand Down
36 changes: 36 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2663,6 +2663,18 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "announcementCreatedAt",
"description": "The date the announcement was created",
"args": [],
"type": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "announcementExpiresAt",
"description": "The expiration date of the announcement, if any",
Expand Down Expand Up @@ -31778,6 +31790,18 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "announcementCreatedAt",
"description": "The date the announcement was created",
"args": [],
"type": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "announcementExpiresAt",
"description": "The expiration date of the announcement, if any",
Expand Down Expand Up @@ -73095,6 +73119,18 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "announcementCreatedAt",
"description": "The date the announcement was created",
"args": [],
"type": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "announcementExpiresAt",
"description": "The expiration date of the announcement, if any",
Expand Down

0 comments on commit 4f1108e

Please sign in to comment.