Workshop - Avoid crashes when auto-updating without internet

Workshop - Added vote based entry score system
This commit is contained in:
Robert committed 2024-07-24 11:39:56 +02:00
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
}
}
}