mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Workshop - Avoid crashes when auto-updating without internet
Workshop - Added vote based entry score system
This commit is contained in:
1 parent
7f5bb589af
commit
1e8c68bbeb
19 files changed
+408
-43
No files matched your search
@@ -0,0 +1,16 @@
|
||||
mutation CastVote($input: CastVoteInput!) {
|
||||
castVote(input: $input) {
|
||||
...voteCount
|
||||
}
|
||||
}
|
||||
|
||||
mutation ClearVote($entryId: Long!) {
|
||||
clearVote(entryId: $entryId) {
|
||||
...voteCount
|
||||
}
|
||||
}
|
||||
|
||||
fragment voteCount on Entry {
|
||||
upvoteCount
|
||||
downvoteCount
|
||||
}
|
||||
@@ -2,4 +2,4 @@ mutation AddEntry ($input: CreateEntryInput!) {
|
||||
addEntry(input: $input) {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user