mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-01 03:47:36 -05:00
feat(github): organization sponsors
This commit is contained in:
@@ -19,6 +19,19 @@ fragment RepoParts on Repository {
|
||||
}
|
||||
}
|
||||
|
||||
fragment SponsorConnectionParts on SponsorConnection {
|
||||
totalCount
|
||||
nodes {
|
||||
__typename
|
||||
... on User {
|
||||
avatarUrl
|
||||
}
|
||||
... on Organization {
|
||||
avatarUrl
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment UserParts on User {
|
||||
login
|
||||
name
|
||||
@@ -48,29 +61,11 @@ fragment UserParts on User {
|
||||
}
|
||||
}
|
||||
}
|
||||
sponsors(first: 3) {
|
||||
totalCount
|
||||
nodes {
|
||||
__typename
|
||||
... on User {
|
||||
avatarUrl
|
||||
}
|
||||
... on Organization {
|
||||
avatarUrl
|
||||
}
|
||||
}
|
||||
}
|
||||
sponsoring(first: 3) {
|
||||
totalCount
|
||||
nodes {
|
||||
__typename
|
||||
... on User {
|
||||
avatarUrl
|
||||
}
|
||||
... on Organization {
|
||||
avatarUrl
|
||||
}
|
||||
}
|
||||
...SponsorConnectionParts
|
||||
}
|
||||
sponsors(first: 3) {
|
||||
...SponsorConnectionParts
|
||||
}
|
||||
organizations(first: 3) {
|
||||
totalCount
|
||||
@@ -125,12 +120,15 @@ query User($login: String!) {
|
||||
twitterUsername
|
||||
createdAt
|
||||
viewerIsFollowing
|
||||
sponsors {
|
||||
totalCount
|
||||
}
|
||||
membersWithRole {
|
||||
totalCount
|
||||
}
|
||||
sponsoring(first: 3) {
|
||||
...SponsorConnectionParts
|
||||
}
|
||||
sponsors(first: 3) {
|
||||
...SponsorConnectionParts
|
||||
}
|
||||
pinnedItems(first: 6) {
|
||||
nodes {
|
||||
... on Repository {
|
||||
|
||||
Reference in New Issue
Block a user