-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Peng Kaifan
committed
Mar 20, 2021
1 parent
a0a5a80
commit 3dd2889
Showing
22 changed files
with
314 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
export const NODES_COMMIT = ` | ||
query($ids:[ID!]!,$withAuthors:Boolean!,$withState:Boolean!){ | ||
nodes(ids: $ids) { | ||
... on Commit { | ||
id | ||
authors (first: 4) @include(if: $withAuthors) { | ||
nodes { | ||
name | ||
user { | ||
avatarUrl | ||
login | ||
name | ||
} | ||
} | ||
} | ||
status @include(if: $withState) { | ||
state | ||
} | ||
} | ||
} | ||
} | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.