Files
imexmobile/graphql/bodyshop.queries.js
2022-01-10 14:09:10 -08:00

24 lines
403 B
JavaScript

import gql from "graphql-tag";
export const QUERY_BODYSHOP = gql`
query QUERY_BODYSHOP {
bodyshops(where: { associations: { active: { _eq: true } } }) {
id
jobsizelimit
md_ro_statuses
shopname
features
}
}
`;
export const QUERY_SHOP_ID = gql`
query QUERY_SHOP_ID {
bodyshops(where: { associations: { active: { _eq: true } } }) {
id
}
}
`;