BOD-6 #comment Work In Progress for all JSON subfields for My Shop Management. Outstanding items to resolve.

This commit is contained in:
Patrick Fic
2020-03-11 11:09:52 -07:00
parent 73d4112123
commit 90d5045b10
10 changed files with 1778 additions and 9 deletions

View File

@@ -40,3 +40,13 @@ export const QUERY_SHOP_ID = gql`
}
}
`;
export const UPDATE_SHOP = gql`
mutation UPDATE_SHOP($id: uuid, $shop: bodyshops_set_input!) {
update_bodyshops(where: { id: { _eq: $id } }, _set: $shop) {
returning {
id
}
}
}
`;