sendou.ink/frontend-react/src/graphql/queries/mapVotes.ts
2020-03-13 02:16:22 +02:00

24 lines
320 B
TypeScript

import { gql, DocumentNode } from "apollo-boost"
export interface MapVotesData {
mapVotes: {
name: string
sz: -1 | 0 | 1
tc: -1 | 0 | 1
rm: -1 | 0 | 1
cb: -1 | 0 | 1
}[]
}
export const MAP_VOTES: DocumentNode = gql`
{
mapVotes {
name
sz
tc
rm
cb
}
}
`