import {
  FileFragment,
  GlobalElementFragment,
  SwatchFragment,
  TableFragment,
  TypographyFragment
} from "./fragments";
const IntrospectedResourcesQuery = (
  /* GraphQL */
  `
  query IntrospectedResources($fileIds: [ID!]!, $tableIds: [ID!]!) {
    files(ids: $fileIds) {
      ...File
    }

    tables(ids: $tableIds) {
      ...Table
    }
  }

  ${FileFragment}
  ${TableFragment}
`
);
const SwatchQuery = (
  /* GraphQL */
  `
  query Swatch($swatchId: ID!) {
    swatch(id: $swatchId) {
      ...Swatch
    }
  }

  ${SwatchFragment}
`
);
const FileQuery = (
  /* GraphQL */
  `
  query File($fileId: ID!) {
    file(id: $fileId) {
      ...File
    }
  }

  ${FileFragment}
`
);
const TypographyQuery = (
  /* GraphQL */
  `
  query Typography($typographyId: ID!) {
    typography(id: $typographyId) {
      ...Typography
    }
  }

  ${TypographyFragment}
`
);
const TableQuery = (
  /* GraphQL */
  `
  query Table($tableId: ID!) {
    table(id: $tableId) {
      ...Table
    }
  }

  ${TableFragment}
`
);
const TypographiesQuery = (
  /* GraphQL */
  `
  query Typographies($typographyIds: [ID!]!) {
    typographies(ids: $typographyIds) {
      ...Typography
    }
  }

  ${TypographyFragment}
`
);
const GlobalElementQuery = (
  /* GraphQL */
  `
  query GlobalElement($globalElementId: ID!) {
    globalElement(id: $globalElementId) {
      ...GlobalElement
    }
  }

  ${GlobalElementFragment}
`
);
const CreateTableRecordMutation = (
  /* GraphQL */
  `
  mutation CreateTableRecord($input: CreateTableRecordInput!) {
    createTableRecord(input: $input) {
      tableRecord {
        id
      }
    }
  }
`
);
export {
  CreateTableRecordMutation,
  FileQuery,
  GlobalElementQuery,
  IntrospectedResourcesQuery,
  SwatchQuery,
  TableQuery,
  TypographiesQuery,
  TypographyQuery
};
//# sourceMappingURL=queries.js.map