From 4cfdc37d63077fedfc9ffa47c281d9ca06e9a537 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Sat, 9 Mar 2024 11:32:26 -0500 Subject: [PATCH 1/2] GraphQL schema update (#49612) Co-authored-by: rachmari <9831992+rachmari@users.noreply.github.com> --- data/graphql/ghec/schema.docs.graphql | 12 +++++++++--- data/graphql/schema.docs.graphql | 12 +++++++++--- src/graphql/data/fpt/changelog.json | 13 +++++++++++++ src/graphql/data/fpt/schema.json | 10 +++++++++- src/graphql/data/ghec/schema.json | 10 +++++++++- 5 files changed, 49 insertions(+), 8 deletions(-) diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index cf12d43d98a6..4365bcfff453 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -8222,6 +8222,13 @@ input CreateSponsorshipsInput { """ receiveEmails: Boolean = false + """ + Whether the sponsorships created should continue each billing cycle for the + sponsor (monthly or annually), versus lasting only a single month. Defaults to + one-time sponsorships. + """ + recurring: Boolean = false + """ The username of the user or organization who is acting as the sponsor, paying for the sponsorships. """ @@ -22700,9 +22707,8 @@ type Mutation { ): CreateSponsorshipPayload """ - Make many one-time sponsorships for different sponsorable users or - organizations at once. Can only sponsor those who have a public GitHub - Sponsors profile. + Make many sponsorships for different sponsorable users or organizations at + once. Can only sponsor those who have a public GitHub Sponsors profile. """ createSponsorships( """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index cf12d43d98a6..4365bcfff453 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -8222,6 +8222,13 @@ input CreateSponsorshipsInput { """ receiveEmails: Boolean = false + """ + Whether the sponsorships created should continue each billing cycle for the + sponsor (monthly or annually), versus lasting only a single month. Defaults to + one-time sponsorships. + """ + recurring: Boolean = false + """ The username of the user or organization who is acting as the sponsor, paying for the sponsorships. """ @@ -22700,9 +22707,8 @@ type Mutation { ): CreateSponsorshipPayload """ - Make many one-time sponsorships for different sponsorable users or - organizations at once. Can only sponsor those who have a public GitHub - Sponsors profile. + Make many sponsorships for different sponsorable users or organizations at + once. Can only sponsor those who have a public GitHub Sponsors profile. """ createSponsorships( """ diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 2f6a5195eb6b..56eb163c96f9 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,17 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Input field recurring
of type Boolean
was added to input object type CreateSponsorshipsInput
Make many one-time sponsorships for different sponsorable users or\norganizations at once. Can only sponsor those who have a public GitHub\nSponsors profile.
", + "description": "Make many sponsorships for different sponsorable users or organizations at\nonce. Can only sponsor those who have a public GitHub Sponsors profile.
", "inputFields": [ { "name": "input", @@ -94665,6 +94665,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "recurring", + "description": "Whether the sponsorships created should continue each billing cycle for the\nsponsor (monthly or annually), versus lasting only a single month. Defaults to\none-time sponsorships.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "sponsorLogin", "description": "The username of the user or organization who is acting as the sponsor, paying for the sponsorships.
", diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 4a39534c7b08..25e516c9e18a 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -3259,7 +3259,7 @@ "kind": "mutations", "id": "createsponsorships", "href": "/graphql/reference/mutations#createsponsorships", - "description": "Make many one-time sponsorships for different sponsorable users or\norganizations at once. Can only sponsor those who have a public GitHub\nSponsors profile.
", + "description": "Make many sponsorships for different sponsorable users or organizations at\nonce. Can only sponsor those who have a public GitHub Sponsors profile.
", "inputFields": [ { "name": "input", @@ -94665,6 +94665,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "recurring", + "description": "Whether the sponsorships created should continue each billing cycle for the\nsponsor (monthly or annually), versus lasting only a single month. Defaults to\none-time sponsorships.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "sponsorLogin", "description": "The username of the user or organization who is acting as the sponsor, paying for the sponsorships.
", From aabd476f284fd7c3eca2af975154ddcd36952d88 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Sat, 9 Mar 2024 11:32:33 -0500 Subject: [PATCH 2/2] Update audit log event data (#49611) --- src/audit-logs/lib/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audit-logs/lib/config.json b/src/audit-logs/lib/config.json index dad6c5642931..87d085cd781d 100644 --- a/src/audit-logs/lib/config.json +++ b/src/audit-logs/lib/config.json @@ -1,4 +1,4 @@ { "apiOnlyEventsAdditionalDescription": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.", - "sha": "583096a231dc847f96c361eee83f7079630b5817" + "sha": "df100207104ee86448723229e2592fb75049d1fc" } \ No newline at end of file