import gql from "graphql-tag";

export const QUERY_BODYSHOP = gql`
  query QUERY_BODYSHOP {
    bodyshops(where: { associations: { active: { _eq: true } } }) {
      id
      jobsizelimit
      md_ro_statuses
      uselocalmediaserver
      localmediaserverhttp
      shopname
      features
      localmediatoken
    }
  }
`;

export const QUERY_SHOP_ID = gql`
  query QUERY_SHOP_ID {
    bodyshops(where: { associations: { active: { _eq: true } } }) {
      id
    }
  }
`;
