Skip to content

Commit a60d792

Browse files
authored
GraphQL schema update
2 parents e6e1cf7 + b6648d7 commit a60d792

File tree

7 files changed

+610
-55
lines changed

7 files changed

+610
-55
lines changed

data/graphql/ghae/schema.docs-ghae.graphql

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,10 +1821,6 @@ type CWE implements Node {
18211821
A detailed description of this CWE
18221822
"""
18231823
description: String!
1824-
1825-
"""
1826-
ID of the object.
1827-
"""
18281824
id: ID!
18291825

18301826
"""
@@ -6541,7 +6537,7 @@ An ISO-8601 encoded UTC date string.
65416537
scalar DateTime
65426538

65436539
"""
6544-
The possible default permissions for repositories.
6540+
The possible base permissions for repositories.
65456541
"""
65466542
enum DefaultRepositoryPermissionField {
65476543
"""
@@ -9336,7 +9332,7 @@ type EnterpriseBillingInfo {
93369332
}
93379333

93389334
"""
9339-
The possible values for the enterprise default repository permission setting.
9335+
The possible values for the enterprise base repository permission setting.
93409336
"""
93419337
enum EnterpriseDefaultRepositoryPermissionSettingValue {
93429338
"""
@@ -9350,7 +9346,7 @@ enum EnterpriseDefaultRepositoryPermissionSettingValue {
93509346
NONE
93519347

93529348
"""
9353-
Organizations in the enterprise choose default repository permissions for their members.
9349+
Organizations in the enterprise choose base repository permissions for their members.
93549350
"""
93559351
NO_POLICY
93569352

@@ -9836,7 +9832,7 @@ type EnterpriseOwnerInfo {
98369832
defaultRepositoryPermissionSetting: EnterpriseDefaultRepositoryPermissionSettingValue!
98379833

98389834
"""
9839-
A list of enterprise organizations configured with the provided default repository permission.
9835+
A list of enterprise organizations configured with the provided base repository permission.
98409836
"""
98419837
defaultRepositoryPermissionSettingOrganizations(
98429838
"""
@@ -9911,7 +9907,7 @@ type EnterpriseOwnerInfo {
99119907
ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue!
99129908

99139909
"""
9914-
Whether or not the default repository permission is currently being updated.
9910+
Whether or not the base repository permission is currently being updated.
99159911
"""
99169912
isUpdatingDefaultRepositoryPermission: Boolean!
99179913

@@ -20224,12 +20220,12 @@ type OrgUpdateDefaultRepositoryPermissionAuditEntry implements AuditEntry & Node
2022420220
organizationUrl: URI
2022520221

2022620222
"""
20227-
The new default repository permission level for the organization.
20223+
The new base repository permission level for the organization.
2022820224
"""
2022920225
permission: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
2023020226

2023120227
"""
20232-
The former default repository permission level for the organization.
20228+
The former base repository permission level for the organization.
2023320229
"""
2023420230
permissionWas: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
2023520231

data/graphql/schema.docs.graphql

Lines changed: 198 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1941,10 +1941,6 @@ type CWE implements Node {
19411941
A detailed description of this CWE
19421942
"""
19431943
description: String!
1944-
1945-
"""
1946-
ID of the object.
1947-
"""
19481944
id: ID!
19491945

19501946
"""
@@ -6736,7 +6732,7 @@ type DeclineTopicSuggestionPayload {
67366732
}
67376733

67386734
"""
6739-
The possible default permissions for repositories.
6735+
The possible base permissions for repositories.
67406736
"""
67416737
enum DefaultRepositoryPermissionField {
67426738
"""
@@ -9769,7 +9765,7 @@ type EnterpriseBillingInfo {
97699765
}
97709766

97719767
"""
9772-
The possible values for the enterprise default repository permission setting.
9768+
The possible values for the enterprise base repository permission setting.
97739769
"""
97749770
enum EnterpriseDefaultRepositoryPermissionSettingValue {
97759771
"""
@@ -9783,7 +9779,7 @@ enum EnterpriseDefaultRepositoryPermissionSettingValue {
97839779
NONE
97849780

97859781
"""
9786-
Organizations in the enterprise choose default repository permissions for their members.
9782+
Organizations in the enterprise choose base repository permissions for their members.
97879783
"""
97889784
NO_POLICY
97899785

@@ -10269,7 +10265,7 @@ type EnterpriseOwnerInfo {
1026910265
defaultRepositoryPermissionSetting: EnterpriseDefaultRepositoryPermissionSettingValue!
1027010266

1027110267
"""
10272-
A list of enterprise organizations configured with the provided default repository permission.
10268+
A list of enterprise organizations configured with the provided base repository permission.
1027310269
"""
1027410270
defaultRepositoryPermissionSettingOrganizations(
1027510271
"""
@@ -10419,7 +10415,7 @@ type EnterpriseOwnerInfo {
1041910415
ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue!
1042010416

1042110417
"""
10422-
Whether or not the default repository permission is currently being updated.
10418+
Whether or not the base repository permission is currently being updated.
1042310419
"""
1042410420
isUpdatingDefaultRepositoryPermission: Boolean!
1042510421

@@ -21586,12 +21582,12 @@ type OrgUpdateDefaultRepositoryPermissionAuditEntry implements AuditEntry & Node
2158621582
organizationUrl: URI
2158721583

2158821584
"""
21589-
The new default repository permission level for the organization.
21585+
The new base repository permission level for the organization.
2159021586
"""
2159121587
permission: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
2159221588

2159321589
"""
21594-
The former default repository permission level for the organization.
21590+
The former base repository permission level for the organization.
2159521591
"""
2159621592
permissionWas: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
2159721593

@@ -22757,6 +22753,36 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
2275722753
"""
2275822754
sponsorshipForViewerAsSponsor: Sponsorship
2275922755

22756+
"""
22757+
List of sponsorship updates sent from this sponsorable to sponsors.
22758+
"""
22759+
sponsorshipNewsletters(
22760+
"""
22761+
Returns the elements in the list that come after the specified cursor.
22762+
"""
22763+
after: String
22764+
22765+
"""
22766+
Returns the elements in the list that come before the specified cursor.
22767+
"""
22768+
before: String
22769+
22770+
"""
22771+
Returns the first _n_ elements from the list.
22772+
"""
22773+
first: Int
22774+
22775+
"""
22776+
Returns the last _n_ elements from the list.
22777+
"""
22778+
last: Int
22779+
22780+
"""
22781+
Ordering options for sponsorship updates returned from the connection.
22782+
"""
22783+
orderBy: SponsorshipNewsletterOrder = {field: CREATED_AT, direction: DESC}
22784+
): SponsorshipNewsletterConnection!
22785+
2276022786
"""
2276122787
This object's sponsorships as the maintainer.
2276222788
"""
@@ -37179,6 +37205,36 @@ interface Sponsorable {
3717937205
"""
3718037206
sponsorshipForViewerAsSponsor: Sponsorship
3718137207

37208+
"""
37209+
List of sponsorship updates sent from this sponsorable to sponsors.
37210+
"""
37211+
sponsorshipNewsletters(
37212+
"""
37213+
Returns the elements in the list that come after the specified cursor.
37214+
"""
37215+
after: String
37216+
37217+
"""
37218+
Returns the elements in the list that come before the specified cursor.
37219+
"""
37220+
before: String
37221+
37222+
"""
37223+
Returns the first _n_ elements from the list.
37224+
"""
37225+
first: Int
37226+
37227+
"""
37228+
Returns the last _n_ elements from the list.
37229+
"""
37230+
last: Int
37231+
37232+
"""
37233+
Ordering options for sponsorship updates returned from the connection.
37234+
"""
37235+
orderBy: SponsorshipNewsletterOrder = {field: CREATED_AT, direction: DESC}
37236+
): SponsorshipNewsletterConnection!
37237+
3718237238
"""
3718337239
This object's sponsorships as the maintainer.
3718437240
"""
@@ -37909,6 +37965,107 @@ type SponsorshipEdge {
3790937965
node: Sponsorship
3791037966
}
3791137967

37968+
"""
37969+
An update sent to sponsors of a user or organization on GitHub Sponsors.
37970+
"""
37971+
type SponsorshipNewsletter implements Node {
37972+
"""
37973+
The contents of the newsletter, the message the sponsorable wanted to give.
37974+
"""
37975+
body: String!
37976+
37977+
"""
37978+
Identifies the date and time when the object was created.
37979+
"""
37980+
createdAt: DateTime!
37981+
id: ID!
37982+
37983+
"""
37984+
Indicates if the newsletter has been made available to sponsors.
37985+
"""
37986+
isPublished: Boolean!
37987+
37988+
"""
37989+
The user or organization this newsletter is from.
37990+
"""
37991+
sponsorable: Sponsorable!
37992+
37993+
"""
37994+
The subject of the newsletter, what it's about.
37995+
"""
37996+
subject: String!
37997+
37998+
"""
37999+
Identifies the date and time when the object was last updated.
38000+
"""
38001+
updatedAt: DateTime!
38002+
}
38003+
38004+
"""
38005+
The connection type for SponsorshipNewsletter.
38006+
"""
38007+
type SponsorshipNewsletterConnection {
38008+
"""
38009+
A list of edges.
38010+
"""
38011+
edges: [SponsorshipNewsletterEdge]
38012+
38013+
"""
38014+
A list of nodes.
38015+
"""
38016+
nodes: [SponsorshipNewsletter]
38017+
38018+
"""
38019+
Information to aid in pagination.
38020+
"""
38021+
pageInfo: PageInfo!
38022+
38023+
"""
38024+
Identifies the total count of items in the connection.
38025+
"""
38026+
totalCount: Int!
38027+
}
38028+
38029+
"""
38030+
An edge in a connection.
38031+
"""
38032+
type SponsorshipNewsletterEdge {
38033+
"""
38034+
A cursor for use in pagination.
38035+
"""
38036+
cursor: String!
38037+
38038+
"""
38039+
The item at the end of the edge.
38040+
"""
38041+
node: SponsorshipNewsletter
38042+
}
38043+
38044+
"""
38045+
Ordering options for sponsorship newsletter connections.
38046+
"""
38047+
input SponsorshipNewsletterOrder {
38048+
"""
38049+
The ordering direction.
38050+
"""
38051+
direction: OrderDirection!
38052+
38053+
"""
38054+
The field to order sponsorship newsletters by.
38055+
"""
38056+
field: SponsorshipNewsletterOrderField!
38057+
}
38058+
38059+
"""
38060+
Properties by which sponsorship update connections can be ordered.
38061+
"""
38062+
enum SponsorshipNewsletterOrderField {
38063+
"""
38064+
Order sponsorship newsletters by when they were created.
38065+
"""
38066+
CREATED_AT
38067+
}
38068+
3791238069
"""
3791338070
Ordering options for sponsorship connections.
3791438071
"""
@@ -44445,6 +44602,36 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner &
4444544602
"""
4444644603
sponsorshipForViewerAsSponsor: Sponsorship
4444744604

44605+
"""
44606+
List of sponsorship updates sent from this sponsorable to sponsors.
44607+
"""
44608+
sponsorshipNewsletters(
44609+
"""
44610+
Returns the elements in the list that come after the specified cursor.
44611+
"""
44612+
after: String
44613+
44614+
"""
44615+
Returns the elements in the list that come before the specified cursor.
44616+
"""
44617+
before: String
44618+
44619+
"""
44620+
Returns the first _n_ elements from the list.
44621+
"""
44622+
first: Int
44623+
44624+
"""
44625+
Returns the last _n_ elements from the list.
44626+
"""
44627+
last: Int
44628+
44629+
"""
44630+
Ordering options for sponsorship updates returned from the connection.
44631+
"""
44632+
orderBy: SponsorshipNewsletterOrder = {field: CREATED_AT, direction: DESC}
44633+
): SponsorshipNewsletterConnection!
44634+
4444844635
"""
4444944636
This object's sponsorships as the maintainer.
4445044637
"""

lib/graphql/static/changelog.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"Type `SponsorshipNewsletter` was added",
8+
"Type `SponsorshipNewsletterConnection` was added",
9+
"Type `SponsorshipNewsletterEdge` was added",
10+
"Type `SponsorshipNewsletterOrder` was added",
11+
"Type `SponsorshipNewsletterOrderField` was added",
12+
"Field `sponsorshipNewsletters` was added to object type `Organization`",
13+
"Field `sponsorshipNewsletters` was added to interface `Sponsorable`",
14+
"Field `sponsorshipNewsletters` was added to object type `User`"
15+
]
16+
}
17+
],
18+
"previewChanges": [],
19+
"upcomingChanges": [],
20+
"date": "2021-08-12"
21+
},
222
{
323
"schemaChanges": [
424
{

lib/graphql/static/prerendered-input-objects.json

Lines changed: 6 additions & 1 deletion
Large diffs are not rendered by default.

lib/graphql/static/prerendered-objects.json

Lines changed: 17 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)