Skip to content

Commit

Permalink
feat: Adds AnnouncementBanner[readme, readmeHTML] (#959)
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 <[email protected]>
  • Loading branch information
octokitbot and Octokit Bot authored Jun 14, 2024
1 parent 4b94ff4 commit 48b05fb
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
4 changes: 4 additions & 0 deletions schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6568,6 +6568,10 @@ export type Enterprise = AnnouncementBanner & Node & {
* personal access tokens (classic) with read:enterprise or admin:enterprise scope.
*/
ownerInfo?: Maybe<EnterpriseOwnerInfo>;
/** The raw content of the enterprise README. */
readme?: Maybe<Scalars['String']['output']>;
/** The content of the enterprise README as HTML. */
readmeHTML: Scalars['HTML']['output'];
/** The HTTP path for this enterprise. */
resourcePath: Scalars['URI']['output'];
/** The URL-friendly identifier for the enterprise. */
Expand Down
10 changes: 10 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12752,6 +12752,16 @@ type Enterprise implements AnnouncementBanner & Node {
"""
ownerInfo: EnterpriseOwnerInfo

"""
The raw content of the enterprise README.
"""
readme: String

"""
The content of the enterprise README as HTML.
"""
readmeHTML: HTML!

"""
The HTTP path for this enterprise.
"""
Expand Down
28 changes: 28 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32440,6 +32440,34 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "readme",
"description": "The raw content of the enterprise README.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "readmeHTML",
"description": "The content of the enterprise README as HTML.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "HTML",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "resourcePath",
"description": "The HTTP path for this enterprise.",
Expand Down

0 comments on commit 48b05fb

Please sign in to comment.