Added scoreboard initial design BOD-91
This commit is contained in:
16
client/src/graphql/scoreboard.queries.js
Normal file
16
client/src/graphql/scoreboard.queries.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import gql from "graphql-tag";
|
||||
|
||||
export const SUBSCRIPTION_SCOREBOARD = gql`
|
||||
subscription SUBSCRIPTION_SCOREBOARD($start: date!, $end: date!) {
|
||||
scoreboard(where: { _and: { date: { _gte: $start, _lte: $end } } }) {
|
||||
id
|
||||
painthrs
|
||||
bodyhrs
|
||||
date
|
||||
job {
|
||||
id
|
||||
ro_number
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user