Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adds AnnouncementBanner[readme, readmeHTML] #959

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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