"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var queries_exports = {};
__export(queries_exports, {
  CreateTableRecordMutation: () => CreateTableRecordMutation,
  FileQuery: () => FileQuery,
  GlobalElementQuery: () => GlobalElementQuery,
  IntrospectedResourcesQuery: () => IntrospectedResourcesQuery,
  SwatchQuery: () => SwatchQuery,
  TableQuery: () => TableQuery,
  TypographiesQuery: () => TypographiesQuery,
  TypographyQuery: () => TypographyQuery
});
module.exports = __toCommonJS(queries_exports);
var import_fragments = require("./fragments");
const IntrospectedResourcesQuery = (
  /* GraphQL */
  `
  query IntrospectedResources($fileIds: [ID!]!, $tableIds: [ID!]!) {
    files(ids: $fileIds) {
      ...File
    }

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

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

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

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

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

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

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

  ${import_fragments.GlobalElementFragment}
`
);
const CreateTableRecordMutation = (
  /* GraphQL */
  `
  mutation CreateTableRecord($input: CreateTableRecordInput!) {
    createTableRecord(input: $input) {
      tableRecord {
        id
      }
    }
  }
`
);
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  CreateTableRecordMutation,
  FileQuery,
  GlobalElementQuery,
  IntrospectedResourcesQuery,
  SwatchQuery,
  TableQuery,
  TypographiesQuery,
  TypographyQuery
});
//# sourceMappingURL=queries.js.map