Skip to content

Commit 416d48e

Browse files
octokitbotgr2m
authored andcommittedSep 22, 2019
feat: Organization#{sponsorshipsAsMaintainer,sponsorshipsAsSponsor} (#215)
1 parent 221a39d commit 416d48e

File tree

2 files changed

+789
-568
lines changed

2 files changed

+789
-568
lines changed
 

‎schema.graphql

+68-1
Original file line numberDiff line numberDiff line change
@@ -12938,7 +12938,7 @@ type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEnt
1293812938
"""
1293912939
An account on GitHub, with one or more owners, that has repositories, members and teams.
1294012940
"""
12941-
type Organization implements Actor & MemberStatusable & Node & ProfileOwner & ProjectOwner & RegistryPackageOwner & RegistryPackageSearch & RepositoryOwner & UniformResourceLocatable {
12941+
type Organization implements Actor & MemberStatusable & Node & ProfileOwner & ProjectOwner & RegistryPackageOwner & RegistryPackageSearch & RepositoryOwner & Sponsorable & UniformResourceLocatable {
1294212942
"""
1294312943
Determine if this repository owner has any items that can be pinned to their profile.
1294412944
"""
@@ -13495,6 +13495,73 @@ type Organization implements Actor & MemberStatusable & Node & ProfileOwner & Pr
1349513495
"""
1349613496
samlIdentityProvider: OrganizationIdentityProvider
1349713497

13498+
"""
13499+
This object's sponsorships as the maintainer.
13500+
"""
13501+
sponsorshipsAsMaintainer(
13502+
"""
13503+
Returns the elements in the list that come after the specified cursor.
13504+
"""
13505+
after: String
13506+
13507+
"""
13508+
Returns the elements in the list that come before the specified cursor.
13509+
"""
13510+
before: String
13511+
13512+
"""
13513+
Returns the first _n_ elements from the list.
13514+
"""
13515+
first: Int
13516+
13517+
"""
13518+
Whether or not to include private sponsorships in the result set
13519+
"""
13520+
includePrivate: Boolean = false
13521+
13522+
"""
13523+
Returns the last _n_ elements from the list.
13524+
"""
13525+
last: Int
13526+
13527+
"""
13528+
Ordering options for sponsorships returned from this connection. If left
13529+
blank, the sponsorships will be ordered based on relevancy to the viewer.
13530+
"""
13531+
orderBy: SponsorshipOrder
13532+
): SponsorshipConnection!
13533+
13534+
"""
13535+
This object's sponsorships as the sponsor.
13536+
"""
13537+
sponsorshipsAsSponsor(
13538+
"""
13539+
Returns the elements in the list that come after the specified cursor.
13540+
"""
13541+
after: String
13542+
13543+
"""
13544+
Returns the elements in the list that come before the specified cursor.
13545+
"""
13546+
before: String
13547+
13548+
"""
13549+
Returns the first _n_ elements from the list.
13550+
"""
13551+
first: Int
13552+
13553+
"""
13554+
Returns the last _n_ elements from the list.
13555+
"""
13556+
last: Int
13557+
13558+
"""
13559+
Ordering options for sponsorships returned from this connection. If left
13560+
blank, the sponsorships will be ordered based on relevancy to the viewer.
13561+
"""
13562+
orderBy: SponsorshipOrder
13563+
): SponsorshipConnection!
13564+
1349813565
"""
1349913566
Find an organization's team by its slug.
1350013567
"""

0 commit comments

Comments
 (0)
Please sign in to comment.