All files / web/modules/score mutations.ts

100% Statements 3/3
100% Branches 4/4
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 183x   3x               3x              
import gql from 'graphql-tag';
 
export const CREATE_SCORE = gql`
  mutation createScore($data: CreateScore!) {
    createScore(data: $data) {
      _id
    }
  }
`;
 
export const DELETE_SCORE = gql`
  mutation deleteScore($userSub: String!, $itemId: String!) {
    deleteScore(userSub: $userSub, itemId: $itemId) {
      _id
    }
  }
`;