Added add to and remove from scoreboard functionality. BOD-91

This commit is contained in:
Patrick Fic
2020-06-29 11:27:47 -07:00
parent 5650a66916
commit 0009f7d3bb
10 changed files with 253 additions and 3 deletions

View File

@@ -23,3 +23,15 @@ export const DELETE_SCOREBOARD_ENTRY = gql`
}
}
`;
export const INSERT_SCOREBOARD_ENTRY = gql`
mutation INSERT_SCOREBOARD_ENTRY($sbInput: [scoreboard_insert_input!]!) {
insert_scoreboard(objects: $sbInput) {
returning {
id
date
bodyhrs
painthrs
}
}
}
`;