In progress subscriptions

This commit is contained in:
Patrick Fic
2019-12-11 16:52:57 -08:00
parent 51040fd455
commit 5c7523e6bd
7 changed files with 118 additions and 24 deletions

View File

@@ -1,7 +1,30 @@
import gql from "graphql-tag";
import { gql } from "apollo-boost";
export const GET_ALL_OPEN_JOBS = gql`
{
query {
jobs {
id
est_number
ro_number
status
scheduled_completion
scheduled_delivery
vehicle {
v_model_yr
v_make_desc
v_model_desc
plate_no
}
owner {
first_name
last_name
}
}
}
`;
export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
subscription {
jobs {
id
est_number