From 61cfd0512b1246ab2ceebd9640675e4cbec004d8 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Fri, 14 Jun 2024 10:00:51 +0000 Subject: [PATCH 1/2] WIP: schema.graphql changed - please review --- schema.graphql | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/schema.graphql b/schema.graphql index d36f82b76..06bb46d30 100644 --- a/schema.graphql +++ b/schema.graphql @@ -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. """ From 0472023196483d74cc30dde9ea7a1af9e4bd05c4 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Fri, 14 Jun 2024 10:00:54 +0000 Subject: [PATCH 2/2] build: schema.json and schema.d.ts updated --- schema.d.ts | 4 ++++ schema.json | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/schema.d.ts b/schema.d.ts index 6cbac06fa..7805c762a 100644 --- a/schema.d.ts +++ b/schema.d.ts @@ -6568,6 +6568,10 @@ export type Enterprise = AnnouncementBanner & Node & { * personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ ownerInfo?: Maybe; + /** The raw content of the enterprise README. */ + readme?: Maybe; + /** 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. */ diff --git a/schema.json b/schema.json index 5ce703351..19f564cfb 100644 --- a/schema.json +++ b/schema.json @@ -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.",