@contember/graphql-builder 2.0.0-alpha.6 → 2.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/api-extractor.json +3 -0
  2. package/dist/development/index.cjs +5 -5
  3. package/dist/development/index.js +5 -5
  4. package/dist/development/{GraphQlQueryPrinter.cjs → src/GraphQlQueryPrinter.cjs} +3 -6
  5. package/dist/development/src/GraphQlQueryPrinter.cjs.map +1 -0
  6. package/dist/development/{GraphQlQueryPrinter.js → src/GraphQlQueryPrinter.js} +3 -6
  7. package/dist/development/src/GraphQlQueryPrinter.js.map +1 -0
  8. package/dist/development/src/nodes/GraphQlField.cjs.map +1 -0
  9. package/dist/development/src/nodes/GraphQlField.js.map +1 -0
  10. package/dist/development/src/nodes/GraphQlFragment.cjs.map +1 -0
  11. package/dist/development/src/nodes/GraphQlFragment.js.map +1 -0
  12. package/dist/development/src/nodes/GraphQlFragmentSpread.cjs.map +1 -0
  13. package/dist/development/src/nodes/GraphQlFragmentSpread.js.map +1 -0
  14. package/dist/development/src/nodes/GraphQlInlineFragment.cjs.map +1 -0
  15. package/dist/development/src/nodes/GraphQlInlineFragment.js.map +1 -0
  16. package/dist/production/index.cjs +5 -5
  17. package/dist/production/index.js +5 -5
  18. package/dist/production/{GraphQlQueryPrinter.cjs → src/GraphQlQueryPrinter.cjs} +3 -6
  19. package/dist/production/src/GraphQlQueryPrinter.cjs.map +1 -0
  20. package/dist/production/{GraphQlQueryPrinter.js → src/GraphQlQueryPrinter.js} +3 -6
  21. package/dist/production/src/GraphQlQueryPrinter.js.map +1 -0
  22. package/dist/production/src/nodes/GraphQlField.cjs.map +1 -0
  23. package/dist/production/src/nodes/GraphQlField.js.map +1 -0
  24. package/dist/production/src/nodes/GraphQlFragment.cjs.map +1 -0
  25. package/dist/production/src/nodes/GraphQlFragment.js.map +1 -0
  26. package/dist/production/src/nodes/GraphQlFragmentSpread.cjs.map +1 -0
  27. package/dist/production/src/nodes/GraphQlFragmentSpread.js.map +1 -0
  28. package/dist/production/src/nodes/GraphQlInlineFragment.cjs.map +1 -0
  29. package/dist/production/src/nodes/GraphQlInlineFragment.js.map +1 -0
  30. package/dist/types/nodes/GraphQlField.d.ts.map +1 -1
  31. package/dist/types/tsconfig.tsbuildinfo +1 -1
  32. package/package.json +6 -13
  33. package/src/tsconfig.json +6 -1
  34. package/tests/cases/unit/builder.test.ts +49 -0
  35. package/tests/tsconfig.json +10 -0
  36. package/tsconfig.json +8 -0
  37. package/tsdoc.json +6 -0
  38. package/vitest.config.ts +3 -0
  39. package/dist/development/GraphQlQueryPrinter.cjs.map +0 -1
  40. package/dist/development/GraphQlQueryPrinter.js.map +0 -1
  41. package/dist/development/nodes/GraphQlField.cjs.map +0 -1
  42. package/dist/development/nodes/GraphQlField.js.map +0 -1
  43. package/dist/development/nodes/GraphQlFragment.cjs.map +0 -1
  44. package/dist/development/nodes/GraphQlFragment.js.map +0 -1
  45. package/dist/development/nodes/GraphQlFragmentSpread.cjs.map +0 -1
  46. package/dist/development/nodes/GraphQlFragmentSpread.js.map +0 -1
  47. package/dist/development/nodes/GraphQlInlineFragment.cjs.map +0 -1
  48. package/dist/development/nodes/GraphQlInlineFragment.js.map +0 -1
  49. package/dist/production/GraphQlQueryPrinter.cjs.map +0 -1
  50. package/dist/production/GraphQlQueryPrinter.js.map +0 -1
  51. package/dist/production/nodes/GraphQlField.cjs.map +0 -1
  52. package/dist/production/nodes/GraphQlField.js.map +0 -1
  53. package/dist/production/nodes/GraphQlFragment.cjs.map +0 -1
  54. package/dist/production/nodes/GraphQlFragment.js.map +0 -1
  55. package/dist/production/nodes/GraphQlFragmentSpread.cjs.map +0 -1
  56. package/dist/production/nodes/GraphQlFragmentSpread.js.map +0 -1
  57. package/dist/production/nodes/GraphQlInlineFragment.cjs.map +0 -1
  58. package/dist/production/nodes/GraphQlInlineFragment.js.map +0 -1
  59. /package/dist/development/{nodes → src/nodes}/GraphQlField.cjs +0 -0
  60. /package/dist/development/{nodes → src/nodes}/GraphQlField.js +0 -0
  61. /package/dist/development/{nodes → src/nodes}/GraphQlFragment.cjs +0 -0
  62. /package/dist/development/{nodes → src/nodes}/GraphQlFragment.js +0 -0
  63. /package/dist/development/{nodes → src/nodes}/GraphQlFragmentSpread.cjs +0 -0
  64. /package/dist/development/{nodes → src/nodes}/GraphQlFragmentSpread.js +0 -0
  65. /package/dist/development/{nodes → src/nodes}/GraphQlInlineFragment.cjs +0 -0
  66. /package/dist/development/{nodes → src/nodes}/GraphQlInlineFragment.js +0 -0
  67. /package/dist/production/{nodes → src/nodes}/GraphQlField.cjs +0 -0
  68. /package/dist/production/{nodes → src/nodes}/GraphQlField.js +0 -0
  69. /package/dist/production/{nodes → src/nodes}/GraphQlFragment.cjs +0 -0
  70. /package/dist/production/{nodes → src/nodes}/GraphQlFragment.js +0 -0
  71. /package/dist/production/{nodes → src/nodes}/GraphQlFragmentSpread.cjs +0 -0
  72. /package/dist/production/{nodes → src/nodes}/GraphQlFragmentSpread.js +0 -0
  73. /package/dist/production/{nodes → src/nodes}/GraphQlInlineFragment.cjs +0 -0
  74. /package/dist/production/{nodes → src/nodes}/GraphQlInlineFragment.js +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../../build/api-extractor.json"
3
+ }
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const GraphQlQueryPrinter = require("./GraphQlQueryPrinter.cjs");
4
- const GraphQlField = require("./nodes/GraphQlField.cjs");
5
- const GraphQlFragmentSpread = require("./nodes/GraphQlFragmentSpread.cjs");
6
- const GraphQlFragment = require("./nodes/GraphQlFragment.cjs");
7
- const GraphQlInlineFragment = require("./nodes/GraphQlInlineFragment.cjs");
3
+ const GraphQlQueryPrinter = require("./src/GraphQlQueryPrinter.cjs");
4
+ const GraphQlField = require("./src/nodes/GraphQlField.cjs");
5
+ const GraphQlFragmentSpread = require("./src/nodes/GraphQlFragmentSpread.cjs");
6
+ const GraphQlFragment = require("./src/nodes/GraphQlFragment.cjs");
7
+ const GraphQlInlineFragment = require("./src/nodes/GraphQlInlineFragment.cjs");
8
8
  exports.GraphQlQueryPrinter = GraphQlQueryPrinter.GraphQlQueryPrinter;
9
9
  exports.GraphQlField = GraphQlField.GraphQlField;
10
10
  exports.GraphQlFragmentSpread = GraphQlFragmentSpread.GraphQlFragmentSpread;
@@ -1,8 +1,8 @@
1
- import { GraphQlQueryPrinter } from "./GraphQlQueryPrinter.js";
2
- import { GraphQlField } from "./nodes/GraphQlField.js";
3
- import { GraphQlFragmentSpread } from "./nodes/GraphQlFragmentSpread.js";
4
- import { GraphQlFragment } from "./nodes/GraphQlFragment.js";
5
- import { GraphQlInlineFragment } from "./nodes/GraphQlInlineFragment.js";
1
+ import { GraphQlQueryPrinter } from "./src/GraphQlQueryPrinter.js";
2
+ import { GraphQlField } from "./src/nodes/GraphQlField.js";
3
+ import { GraphQlFragmentSpread } from "./src/nodes/GraphQlFragmentSpread.js";
4
+ import { GraphQlFragment } from "./src/nodes/GraphQlFragment.js";
5
+ import { GraphQlInlineFragment } from "./src/nodes/GraphQlInlineFragment.js";
6
6
  export {
7
7
  GraphQlField,
8
8
  GraphQlFragment,
@@ -1,14 +1,11 @@
1
1
  "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
- var __publicField = (obj, key, value) => {
5
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
6
- return value;
7
- };
8
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
9
3
  const GraphQlField = require("./nodes/GraphQlField.cjs");
10
4
  const GraphQlFragmentSpread = require("./nodes/GraphQlFragmentSpread.cjs");
11
5
  const GraphQlInlineFragment = require("./nodes/GraphQlInlineFragment.cjs");
6
+ var __defProp = Object.defineProperty;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
12
9
  class GraphQlQueryPrinter {
13
10
  constructor() {
14
11
  __publicField(this, "indentString", " ");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlQueryPrinter.cjs","sources":["../../../../packages/graphql-builder/src/GraphQlQueryPrinter.ts"],"sourcesContent":["import { JSONValue } from '@contember/schema'\nimport { GraphQlField, GraphQlFragment, GraphQlFragmentSpread, GraphQlInlineFragment, GraphQlSelectionSet } from './nodes'\n\nexport type GraphQlPrintResult = { query: string; variables: Record<string, JSONValue> }\n\nexport class GraphQlQueryPrinter {\n\tprivate indentString = '\\t'\n\n\tprivate variableCounter = 0\n\tprivate variables: Record<string, {\n\t\ttype: string\n\t\tvalue: JSONValue\n\t}> = {}\n\n\tprivate variableValueToName: Record<string, Map<JSONValue, string>> = {}\n\n\tprivate usedFragments = new Set<string>()\n\n\tprivate body = ''\n\n\n\tpublic printDocument(\n\t\toperation: 'query' | 'mutation',\n\t\tselect: GraphQlSelectionSet,\n\t\tfragments: Record<string, GraphQlFragment>,\n\t): GraphQlPrintResult {\n\t\tthis.cleanState()\n\t\tthis.processSelectionSet(select, 1)\n\t\tconst body = this.body\n\t\tthis.body = ''\n\t\tthis.processUsedFragments(fragments)\n\t\tconst fragmentsStr = this.body\n\t\tconst variablesString = this.printVariables()\n\t\tconst query = `${operation}${variablesString} {\\n${body}}${fragmentsStr}\\n`\n\t\treturn {\n\t\t\tquery: query,\n\t\t\tvariables: Object.fromEntries(Object.entries(this.variables).map(([key, value]) => [key, value.value])),\n\t\t}\n\t}\n\n\n\tprivate processUsedFragments(fragments: Record<string, GraphQlFragment>): void {\n\t\tconst printed = new Set()\n\t\twhile (this.usedFragments.size > 0) {\n\t\t\tconst fragmentName = this.usedFragments.values().next().value\n\t\t\tthis.usedFragments.delete(fragmentName)\n\t\t\tif (printed.has(fragmentName)) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tprinted.add(fragmentName)\n\t\t\tif (!fragments[fragmentName]) {\n\t\t\t\tthrow new Error(`Unknown fragment ${fragmentName}`)\n\t\t\t}\n\t\t\tthis.processFragment(fragments[fragmentName])\n\t\t}\n\t}\n\n\tprivate processFragment(fragment: GraphQlFragment): void {\n\t\tthis.body += `\\nfragment ${fragment.name} on ${fragment.type} {\\n`\n\t\tthis.processSelectionSet(fragment.selectionSet, 1)\n\t\tthis.body += '}'\n\t}\n\n\tprivate printVariables(): string {\n\t\tlet variablesString = ''\n\t\tlet i = 0\n\t\tfor (const [variableName, variable] of Object.entries(this.variables)) {\n\t\t\tif (i++ === 0) {\n\t\t\t\tvariablesString += '('\n\t\t\t} else {\n\t\t\t\tvariablesString += ', '\n\t\t\t}\n\t\t\tvariablesString += `$${variableName}: ${variable.type}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tvariablesString += ')'\n\t\t}\n\t\treturn variablesString\n\t}\n\n\tprivate processSelectionSet(selectionSet: GraphQlSelectionSet, indent: number): void {\n\t\tfor (const node of selectionSet) {\n\t\t\tif (node instanceof GraphQlField) {\n\t\t\t\tthis.processField(node, indent)\n\t\t\t} else if (node instanceof GraphQlFragmentSpread) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... ' + node.name + '\\n'\n\t\t\t\tthis.usedFragments.add(node.name)\n\t\t\t} else if (node instanceof GraphQlInlineFragment) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... on ' + node.type + ' {\\n'\n\t\t\t\tthis.processSelectionSet(node.selectionSet, indent + 1)\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '}\\n'\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate processField(field: GraphQlField, indent: number): void {\n\t\tconst indentString = this.indentString.repeat(indent)\n\t\tthis.body += indentString + (field.alias && field.alias !== field.name ? (field.alias + ': ' + field.name) : field.name)\n\t\tlet i = 0\n\t\tfor (const [argName, arg] of Object.entries(field.args)) {\n\t\t\tif (arg.value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst variableName = this.resolveVariableName(arg.graphQlType, arg.value)\n\t\t\tif (i++ === 0) {\n\t\t\t\tthis.body += '('\n\t\t\t} else {\n\t\t\t\tthis.body += ', '\n\t\t\t}\n\t\t\tthis.body += `${argName}: $${variableName}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tthis.body += ')'\n\t\t}\n\t\tif (field.selectionSet) {\n\t\t\tthis.body += ' {\\n'\n\t\t\tthis.processSelectionSet(field.selectionSet, indent + 1)\n\t\t\tthis.body += this.indentString.repeat(indent) + '}'\n\t\t}\n\t\tthis.body += '\\n'\n\t}\n\n\tprivate resolveVariableName(graphQlType: string, value: JSONValue): string {\n\t\tconst variableName = this.variableValueToName[graphQlType]?.get(value)\n\t\tif (variableName) {\n\t\t\treturn variableName\n\t\t}\n\t\tconst newVariableName = `${graphQlType.replace(/[\\W]/g, '')}_${this.variableCounter++}`\n\t\tthis.variables[newVariableName] = {\n\t\t\ttype: graphQlType,\n\t\t\tvalue: value,\n\t\t}\n\t\tif (!this.variableValueToName[graphQlType]) {\n\t\t\tthis.variableValueToName[graphQlType] = new Map()\n\t\t}\n\t\tthis.variableValueToName[graphQlType].set(value, newVariableName)\n\t\treturn newVariableName\n\t}\n\n\tprivate cleanState(): void {\n\t\tthis.body = ''\n\t\tthis.variableCounter = 0\n\t\tthis.variables = {}\n\t\tthis.usedFragments = new Set<string>()\n\t}\n}\n"],"names":["GraphQlField","GraphQlFragmentSpread","GraphQlInlineFragment"],"mappings":";;;;;;;;AAKO,MAAM,oBAAoB;AAAA,EAA1B,cAAA;AACN,kBAAA,MAAQ,gBAAe,GAAA;AAEvB,kBAAA,MAAQ,mBAAkB,CAAA;AAC1B,kBAAA,MAAQ,aAGH,CAAA,CAAC;AAEN,kBAAA,MAAQ,uBAA8D,CAAA,CAAC;AAE/D,kBAAA,MAAA,qCAA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,QAAQ;AAAA,IACd;AACA,QAAI,MAAM,cAAc;AACvB,WAAK,QAAQ;AACb,WAAK,oBAAoB,MAAM,cAAc,SAAS,CAAC;AACvD,WAAK,QAAQ,KAAK,aAAa,OAAO,MAAM,IAAI;AAAA,IACjD;AACA,SAAK,QAAQ;AAAA,EACd;AAAA,EAEQ,oBAAoB,aAAqB,OAA0B;AAC1E,UAAM,eAAe,KAAK,oBAAoB,WAAW,GAAG,IAAI,KAAK;AACrE,QAAI,cAAc;AACV,aAAA;AAAA,IACR;AACM,UAAA,kBAAkB,GAAG,YAAY,QAAQ,SAAS,EAAE,CAAC,IAAI,KAAK,iBAAiB;AAChF,SAAA,UAAU,eAAe,IAAI;AAAA,MACjC,MAAM;AAAA,MACN;AAAA,IAAA;AAED,QAAI,CAAC,KAAK,oBAAoB,WAAW,GAAG;AAC3C,WAAK,oBAAoB,WAAW,IAAI,oBAAI,IAAI;AAAA,IACjD;AACA,SAAK,oBAAoB,WAAW,EAAE,IAAI,OAAO,eAAe;AACzD,WAAA;AAAA,EACR;AAAA,EAEQ,aAAmB;AAC1B,SAAK,OAAO;AACZ,SAAK,kBAAkB;AACvB,SAAK,YAAY;AACZ,SAAA,oCAAoB;EAC1B;AACD;;"}
@@ -1,12 +1,9 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => {
4
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- return value;
6
- };
7
1
  import { GraphQlField } from "./nodes/GraphQlField.js";
8
2
  import { GraphQlFragmentSpread } from "./nodes/GraphQlFragmentSpread.js";
9
3
  import { GraphQlInlineFragment } from "./nodes/GraphQlInlineFragment.js";
4
+ var __defProp = Object.defineProperty;
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
10
7
  class GraphQlQueryPrinter {
11
8
  constructor() {
12
9
  __publicField(this, "indentString", " ");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlQueryPrinter.js","sources":["../../../../packages/graphql-builder/src/GraphQlQueryPrinter.ts"],"sourcesContent":["import { JSONValue } from '@contember/schema'\nimport { GraphQlField, GraphQlFragment, GraphQlFragmentSpread, GraphQlInlineFragment, GraphQlSelectionSet } from './nodes'\n\nexport type GraphQlPrintResult = { query: string; variables: Record<string, JSONValue> }\n\nexport class GraphQlQueryPrinter {\n\tprivate indentString = '\\t'\n\n\tprivate variableCounter = 0\n\tprivate variables: Record<string, {\n\t\ttype: string\n\t\tvalue: JSONValue\n\t}> = {}\n\n\tprivate variableValueToName: Record<string, Map<JSONValue, string>> = {}\n\n\tprivate usedFragments = new Set<string>()\n\n\tprivate body = ''\n\n\n\tpublic printDocument(\n\t\toperation: 'query' | 'mutation',\n\t\tselect: GraphQlSelectionSet,\n\t\tfragments: Record<string, GraphQlFragment>,\n\t): GraphQlPrintResult {\n\t\tthis.cleanState()\n\t\tthis.processSelectionSet(select, 1)\n\t\tconst body = this.body\n\t\tthis.body = ''\n\t\tthis.processUsedFragments(fragments)\n\t\tconst fragmentsStr = this.body\n\t\tconst variablesString = this.printVariables()\n\t\tconst query = `${operation}${variablesString} {\\n${body}}${fragmentsStr}\\n`\n\t\treturn {\n\t\t\tquery: query,\n\t\t\tvariables: Object.fromEntries(Object.entries(this.variables).map(([key, value]) => [key, value.value])),\n\t\t}\n\t}\n\n\n\tprivate processUsedFragments(fragments: Record<string, GraphQlFragment>): void {\n\t\tconst printed = new Set()\n\t\twhile (this.usedFragments.size > 0) {\n\t\t\tconst fragmentName = this.usedFragments.values().next().value\n\t\t\tthis.usedFragments.delete(fragmentName)\n\t\t\tif (printed.has(fragmentName)) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tprinted.add(fragmentName)\n\t\t\tif (!fragments[fragmentName]) {\n\t\t\t\tthrow new Error(`Unknown fragment ${fragmentName}`)\n\t\t\t}\n\t\t\tthis.processFragment(fragments[fragmentName])\n\t\t}\n\t}\n\n\tprivate processFragment(fragment: GraphQlFragment): void {\n\t\tthis.body += `\\nfragment ${fragment.name} on ${fragment.type} {\\n`\n\t\tthis.processSelectionSet(fragment.selectionSet, 1)\n\t\tthis.body += '}'\n\t}\n\n\tprivate printVariables(): string {\n\t\tlet variablesString = ''\n\t\tlet i = 0\n\t\tfor (const [variableName, variable] of Object.entries(this.variables)) {\n\t\t\tif (i++ === 0) {\n\t\t\t\tvariablesString += '('\n\t\t\t} else {\n\t\t\t\tvariablesString += ', '\n\t\t\t}\n\t\t\tvariablesString += `$${variableName}: ${variable.type}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tvariablesString += ')'\n\t\t}\n\t\treturn variablesString\n\t}\n\n\tprivate processSelectionSet(selectionSet: GraphQlSelectionSet, indent: number): void {\n\t\tfor (const node of selectionSet) {\n\t\t\tif (node instanceof GraphQlField) {\n\t\t\t\tthis.processField(node, indent)\n\t\t\t} else if (node instanceof GraphQlFragmentSpread) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... ' + node.name + '\\n'\n\t\t\t\tthis.usedFragments.add(node.name)\n\t\t\t} else if (node instanceof GraphQlInlineFragment) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... on ' + node.type + ' {\\n'\n\t\t\t\tthis.processSelectionSet(node.selectionSet, indent + 1)\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '}\\n'\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate processField(field: GraphQlField, indent: number): void {\n\t\tconst indentString = this.indentString.repeat(indent)\n\t\tthis.body += indentString + (field.alias && field.alias !== field.name ? (field.alias + ': ' + field.name) : field.name)\n\t\tlet i = 0\n\t\tfor (const [argName, arg] of Object.entries(field.args)) {\n\t\t\tif (arg.value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst variableName = this.resolveVariableName(arg.graphQlType, arg.value)\n\t\t\tif (i++ === 0) {\n\t\t\t\tthis.body += '('\n\t\t\t} else {\n\t\t\t\tthis.body += ', '\n\t\t\t}\n\t\t\tthis.body += `${argName}: $${variableName}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tthis.body += ')'\n\t\t}\n\t\tif (field.selectionSet) {\n\t\t\tthis.body += ' {\\n'\n\t\t\tthis.processSelectionSet(field.selectionSet, indent + 1)\n\t\t\tthis.body += this.indentString.repeat(indent) + '}'\n\t\t}\n\t\tthis.body += '\\n'\n\t}\n\n\tprivate resolveVariableName(graphQlType: string, value: JSONValue): string {\n\t\tconst variableName = this.variableValueToName[graphQlType]?.get(value)\n\t\tif (variableName) {\n\t\t\treturn variableName\n\t\t}\n\t\tconst newVariableName = `${graphQlType.replace(/[\\W]/g, '')}_${this.variableCounter++}`\n\t\tthis.variables[newVariableName] = {\n\t\t\ttype: graphQlType,\n\t\t\tvalue: value,\n\t\t}\n\t\tif (!this.variableValueToName[graphQlType]) {\n\t\t\tthis.variableValueToName[graphQlType] = new Map()\n\t\t}\n\t\tthis.variableValueToName[graphQlType].set(value, newVariableName)\n\t\treturn newVariableName\n\t}\n\n\tprivate cleanState(): void {\n\t\tthis.body = ''\n\t\tthis.variableCounter = 0\n\t\tthis.variables = {}\n\t\tthis.usedFragments = new Set<string>()\n\t}\n}\n"],"names":[],"mappings":";;;;;;AAKO,MAAM,oBAAoB;AAAA,EAA1B,cAAA;AACN,kBAAA,MAAQ,gBAAe,GAAA;AAEvB,kBAAA,MAAQ,mBAAkB,CAAA;AAC1B,kBAAA,MAAQ,aAGH,CAAA,CAAC;AAEN,kBAAA,MAAQ,uBAA8D,CAAA,CAAC;AAE/D,kBAAA,MAAA,qCAAoB,IAAY,CAAA;AAExC,kBAAA,MAAQ,QAAO,EAAA;AAAA,EAAA;AAAA,EAGR,cACN,WACA,QACA,WACqB;AACrB,SAAK,WAAW;AACX,SAAA,oBAA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AAO,MAAM,IAAI;AAAA,IACjD;AACA,SAAK,QAAQ;AAAA,EACd;AAAA,EAEQ,oBAAoB,aAAqB,OAA0B;AAC1E,UAAM,eAAe,KAAK,oBAAoB,WAAW,GAAG,IAAI,KAAK;AACrE,QAAI,cAAc;AACV,aAAA;AAAA,IACR;AACM,UAAA,kBAAkB,GAAG,YAAY,QAAQ,SAAS,EAAE,CAAC,IAAI,KAAK,iBAAiB;AAChF,SAAA,UAAU,eAAe,IAAI;AAAA,MACjC,MAAM;AAAA,MACN;AAAA,IAAA;AAED,QAAI,CAAC,KAAK,oBAAoB,WAAW,GAAG;AAC3C,WAAK,oBAAoB,WAAW,IAAI,oBAAI,IAAI;AAAA,IACjD;AACA,SAAK,oBAAoB,WAAW,EAAE,IAAI,OAAO,eAAe;AACzD,WAAA;AAAA,EACR;AAAA,EAEQ,aAAmB;AAC1B,SAAK,OAAO;AACZ,SAAK,kBAAkB;AACvB,SAAK,YAAY;AACZ,SAAA,oCAAoB;EAC1B;AACD;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlField.cjs","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlField.ts"],"sourcesContent":["import { GraphQlFragmentSpread } from './GraphQlFragmentSpread'\nimport { GraphQlInlineFragment } from './GraphQlInlineFragment'\nimport { JSONValue } from '@contember/schema'\n\nexport class GraphQlField {\n\tconstructor(\n\t\tpublic readonly alias: string | null,\n\t\tpublic readonly name: string,\n\t\tpublic readonly args: GraphQlFieldTypedArgs = {},\n\t\tpublic readonly selectionSet?: GraphQlSelectionSet,\n\t) {\n\t}\n}\n\nexport type GraphQlFieldTypedArgs = Record<string, {\n\tgraphQlType: string\n\tvalue?: JSONValue\n}>\n\nexport type GraphQlSelectionSetItem = GraphQlField | GraphQlFragmentSpread | GraphQlInlineFragment\n\nexport type GraphQlSelectionSet = GraphQlSelectionSetItem[]\n"],"names":[],"mappings":";;AAIO,MAAM,aAAa;AAAA,EACzB,YACiB,OACA,MACA,OAA8B,CAAA,GAC9B,cACf;AAJe,SAAA,QAAA;AACA,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlField.js","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlField.ts"],"sourcesContent":["import { GraphQlFragmentSpread } from './GraphQlFragmentSpread'\nimport { GraphQlInlineFragment } from './GraphQlInlineFragment'\nimport { JSONValue } from '@contember/schema'\n\nexport class GraphQlField {\n\tconstructor(\n\t\tpublic readonly alias: string | null,\n\t\tpublic readonly name: string,\n\t\tpublic readonly args: GraphQlFieldTypedArgs = {},\n\t\tpublic readonly selectionSet?: GraphQlSelectionSet,\n\t) {\n\t}\n}\n\nexport type GraphQlFieldTypedArgs = Record<string, {\n\tgraphQlType: string\n\tvalue?: JSONValue\n}>\n\nexport type GraphQlSelectionSetItem = GraphQlField | GraphQlFragmentSpread | GraphQlInlineFragment\n\nexport type GraphQlSelectionSet = GraphQlSelectionSetItem[]\n"],"names":[],"mappings":"AAIO,MAAM,aAAa;AAAA,EACzB,YACiB,OACA,MACA,OAA8B,CAAA,GAC9B,cACf;AAJe,SAAA,QAAA;AACA,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlFragment.cjs","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlFragment {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAEO,MAAM,gBAAgB;AAAA,EAC5B,YACiB,MACA,MACA,cACf;AAHe,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlFragment.js","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlFragment {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAEO,MAAM,gBAAgB;AAAA,EAC5B,YACiB,MACA,MACA,cACf;AAHe,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlFragmentSpread.cjs","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlFragmentSpread.ts"],"sourcesContent":["export class GraphQlFragmentSpread {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAAO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACf;AADe,SAAA,OAAA;AAAA,EAEjB;AACD;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlFragmentSpread.js","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlFragmentSpread.ts"],"sourcesContent":["export class GraphQlFragmentSpread {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAAO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACf;AADe,SAAA,OAAA;AAAA,EAEjB;AACD;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlInlineFragment.cjs","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlInlineFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlInlineFragment {\n\tconstructor(\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAEO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACA,cACf;AAFe,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlInlineFragment.js","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlInlineFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlInlineFragment {\n\tconstructor(\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAEO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACA,cACf;AAFe,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const GraphQlQueryPrinter = require("./GraphQlQueryPrinter.cjs");
4
- const GraphQlField = require("./nodes/GraphQlField.cjs");
5
- const GraphQlFragmentSpread = require("./nodes/GraphQlFragmentSpread.cjs");
6
- const GraphQlFragment = require("./nodes/GraphQlFragment.cjs");
7
- const GraphQlInlineFragment = require("./nodes/GraphQlInlineFragment.cjs");
3
+ const GraphQlQueryPrinter = require("./src/GraphQlQueryPrinter.cjs");
4
+ const GraphQlField = require("./src/nodes/GraphQlField.cjs");
5
+ const GraphQlFragmentSpread = require("./src/nodes/GraphQlFragmentSpread.cjs");
6
+ const GraphQlFragment = require("./src/nodes/GraphQlFragment.cjs");
7
+ const GraphQlInlineFragment = require("./src/nodes/GraphQlInlineFragment.cjs");
8
8
  exports.GraphQlQueryPrinter = GraphQlQueryPrinter.GraphQlQueryPrinter;
9
9
  exports.GraphQlField = GraphQlField.GraphQlField;
10
10
  exports.GraphQlFragmentSpread = GraphQlFragmentSpread.GraphQlFragmentSpread;
@@ -1,8 +1,8 @@
1
- import { GraphQlQueryPrinter } from "./GraphQlQueryPrinter.js";
2
- import { GraphQlField } from "./nodes/GraphQlField.js";
3
- import { GraphQlFragmentSpread } from "./nodes/GraphQlFragmentSpread.js";
4
- import { GraphQlFragment } from "./nodes/GraphQlFragment.js";
5
- import { GraphQlInlineFragment } from "./nodes/GraphQlInlineFragment.js";
1
+ import { GraphQlQueryPrinter } from "./src/GraphQlQueryPrinter.js";
2
+ import { GraphQlField } from "./src/nodes/GraphQlField.js";
3
+ import { GraphQlFragmentSpread } from "./src/nodes/GraphQlFragmentSpread.js";
4
+ import { GraphQlFragment } from "./src/nodes/GraphQlFragment.js";
5
+ import { GraphQlInlineFragment } from "./src/nodes/GraphQlInlineFragment.js";
6
6
  export {
7
7
  GraphQlField,
8
8
  GraphQlFragment,
@@ -1,14 +1,11 @@
1
1
  "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
- var __publicField = (obj, key, value) => {
5
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
6
- return value;
7
- };
8
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
9
3
  const GraphQlField = require("./nodes/GraphQlField.cjs");
10
4
  const GraphQlFragmentSpread = require("./nodes/GraphQlFragmentSpread.cjs");
11
5
  const GraphQlInlineFragment = require("./nodes/GraphQlInlineFragment.cjs");
6
+ var __defProp = Object.defineProperty;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
12
9
  class GraphQlQueryPrinter {
13
10
  constructor() {
14
11
  __publicField(this, "indentString", " ");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlQueryPrinter.cjs","sources":["../../../../packages/graphql-builder/src/GraphQlQueryPrinter.ts"],"sourcesContent":["import { JSONValue } from '@contember/schema'\nimport { GraphQlField, GraphQlFragment, GraphQlFragmentSpread, GraphQlInlineFragment, GraphQlSelectionSet } from './nodes'\n\nexport type GraphQlPrintResult = { query: string; variables: Record<string, JSONValue> }\n\nexport class GraphQlQueryPrinter {\n\tprivate indentString = '\\t'\n\n\tprivate variableCounter = 0\n\tprivate variables: Record<string, {\n\t\ttype: string\n\t\tvalue: JSONValue\n\t}> = {}\n\n\tprivate variableValueToName: Record<string, Map<JSONValue, string>> = {}\n\n\tprivate usedFragments = new Set<string>()\n\n\tprivate body = ''\n\n\n\tpublic printDocument(\n\t\toperation: 'query' | 'mutation',\n\t\tselect: GraphQlSelectionSet,\n\t\tfragments: Record<string, GraphQlFragment>,\n\t): GraphQlPrintResult {\n\t\tthis.cleanState()\n\t\tthis.processSelectionSet(select, 1)\n\t\tconst body = this.body\n\t\tthis.body = ''\n\t\tthis.processUsedFragments(fragments)\n\t\tconst fragmentsStr = this.body\n\t\tconst variablesString = this.printVariables()\n\t\tconst query = `${operation}${variablesString} {\\n${body}}${fragmentsStr}\\n`\n\t\treturn {\n\t\t\tquery: query,\n\t\t\tvariables: Object.fromEntries(Object.entries(this.variables).map(([key, value]) => [key, value.value])),\n\t\t}\n\t}\n\n\n\tprivate processUsedFragments(fragments: Record<string, GraphQlFragment>): void {\n\t\tconst printed = new Set()\n\t\twhile (this.usedFragments.size > 0) {\n\t\t\tconst fragmentName = this.usedFragments.values().next().value\n\t\t\tthis.usedFragments.delete(fragmentName)\n\t\t\tif (printed.has(fragmentName)) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tprinted.add(fragmentName)\n\t\t\tif (!fragments[fragmentName]) {\n\t\t\t\tthrow new Error(`Unknown fragment ${fragmentName}`)\n\t\t\t}\n\t\t\tthis.processFragment(fragments[fragmentName])\n\t\t}\n\t}\n\n\tprivate processFragment(fragment: GraphQlFragment): void {\n\t\tthis.body += `\\nfragment ${fragment.name} on ${fragment.type} {\\n`\n\t\tthis.processSelectionSet(fragment.selectionSet, 1)\n\t\tthis.body += '}'\n\t}\n\n\tprivate printVariables(): string {\n\t\tlet variablesString = ''\n\t\tlet i = 0\n\t\tfor (const [variableName, variable] of Object.entries(this.variables)) {\n\t\t\tif (i++ === 0) {\n\t\t\t\tvariablesString += '('\n\t\t\t} else {\n\t\t\t\tvariablesString += ', '\n\t\t\t}\n\t\t\tvariablesString += `$${variableName}: ${variable.type}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tvariablesString += ')'\n\t\t}\n\t\treturn variablesString\n\t}\n\n\tprivate processSelectionSet(selectionSet: GraphQlSelectionSet, indent: number): void {\n\t\tfor (const node of selectionSet) {\n\t\t\tif (node instanceof GraphQlField) {\n\t\t\t\tthis.processField(node, indent)\n\t\t\t} else if (node instanceof GraphQlFragmentSpread) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... ' + node.name + '\\n'\n\t\t\t\tthis.usedFragments.add(node.name)\n\t\t\t} else if (node instanceof GraphQlInlineFragment) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... on ' + node.type + ' {\\n'\n\t\t\t\tthis.processSelectionSet(node.selectionSet, indent + 1)\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '}\\n'\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate processField(field: GraphQlField, indent: number): void {\n\t\tconst indentString = this.indentString.repeat(indent)\n\t\tthis.body += indentString + (field.alias && field.alias !== field.name ? (field.alias + ': ' + field.name) : field.name)\n\t\tlet i = 0\n\t\tfor (const [argName, arg] of Object.entries(field.args)) {\n\t\t\tif (arg.value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst variableName = this.resolveVariableName(arg.graphQlType, arg.value)\n\t\t\tif (i++ === 0) {\n\t\t\t\tthis.body += '('\n\t\t\t} else {\n\t\t\t\tthis.body += ', '\n\t\t\t}\n\t\t\tthis.body += `${argName}: $${variableName}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tthis.body += ')'\n\t\t}\n\t\tif (field.selectionSet) {\n\t\t\tthis.body += ' {\\n'\n\t\t\tthis.processSelectionSet(field.selectionSet, indent + 1)\n\t\t\tthis.body += this.indentString.repeat(indent) + '}'\n\t\t}\n\t\tthis.body += '\\n'\n\t}\n\n\tprivate resolveVariableName(graphQlType: string, value: JSONValue): string {\n\t\tconst variableName = this.variableValueToName[graphQlType]?.get(value)\n\t\tif (variableName) {\n\t\t\treturn variableName\n\t\t}\n\t\tconst newVariableName = `${graphQlType.replace(/[\\W]/g, '')}_${this.variableCounter++}`\n\t\tthis.variables[newVariableName] = {\n\t\t\ttype: graphQlType,\n\t\t\tvalue: value,\n\t\t}\n\t\tif (!this.variableValueToName[graphQlType]) {\n\t\t\tthis.variableValueToName[graphQlType] = new Map()\n\t\t}\n\t\tthis.variableValueToName[graphQlType].set(value, newVariableName)\n\t\treturn newVariableName\n\t}\n\n\tprivate cleanState(): void {\n\t\tthis.body = ''\n\t\tthis.variableCounter = 0\n\t\tthis.variables = {}\n\t\tthis.usedFragments = new Set<string>()\n\t}\n}\n"],"names":["GraphQlField","GraphQlFragmentSpread","GraphQlInlineFragment"],"mappings":";;;;;;;;AAKO,MAAM,oBAAoB;AAAA,EAA1B,cAAA;AACN,kBAAA,MAAQ,gBAAe,GAAA;AAEvB,kBAAA,MAAQ,mBAAkB,CAAA;AAC1B,kBAAA,MAAQ,aAGH,CAAA,CAAC;AAEN,kBAAA,MAAQ,uBAA8D,CAAA,CAAC;AAE/D,kBAAA,MAAA,qCAAoB,IAAY,CAAA;AAExC,kBAAA,MAAQ,QAAO,EAAA;AAAA,EAAA;AAAA,EAGR,cACN,WACA,QACA,WACqB;AACrB,SAAK,WAAW;AACX,SAAA,oBAAoB,QAAQ,CAAC;AAClC,UAAM,OAAO,KAAK;AAClB,SAAK,OAAO;AACZ,SAAK,qBAAqB,SAAS;AACnC,UAAM,eAAe,KAAK;AACpB,UAAA,kBAAkB,KAAK;AAC7B,UAAM,QAAQ,GAAG,SAAS,GAAG,eAAe;AAAA,EAAO,IAAI,IAAI,YAAY;AAAA;AAChE,WAAA;AAAA,M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AQ,SAAS,EAAE,CAAC,IAAI,KAAK,iBAAiB;AAChF,SAAA,UAAU,eAAe,IAAI;AAAA,MACjC,MAAM;AAAA,MACN;AAAA,IAAA;AAED,QAAI,CAAC,KAAK,oBAAoB,WAAW,GAAG;AAC3C,WAAK,oBAAoB,WAAW,IAAI,oBAAI,IAAI;AAAA,IACjD;AACA,SAAK,oBAAoB,WAAW,EAAE,IAAI,OAAO,eAAe;AACzD,WAAA;AAAA,EACR;AAAA,EAEQ,aAAmB;AAC1B,SAAK,OAAO;AACZ,SAAK,kBAAkB;AACvB,SAAK,YAAY;AACZ,SAAA,oCAAoB;EAC1B;AACD;;"}
@@ -1,12 +1,9 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => {
4
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- return value;
6
- };
7
1
  import { GraphQlField } from "./nodes/GraphQlField.js";
8
2
  import { GraphQlFragmentSpread } from "./nodes/GraphQlFragmentSpread.js";
9
3
  import { GraphQlInlineFragment } from "./nodes/GraphQlInlineFragment.js";
4
+ var __defProp = Object.defineProperty;
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
10
7
  class GraphQlQueryPrinter {
11
8
  constructor() {
12
9
  __publicField(this, "indentString", " ");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlQueryPrinter.js","sources":["../../../../packages/graphql-builder/src/GraphQlQueryPrinter.ts"],"sourcesContent":["import { JSONValue } from '@contember/schema'\nimport { GraphQlField, GraphQlFragment, GraphQlFragmentSpread, GraphQlInlineFragment, GraphQlSelectionSet } from './nodes'\n\nexport type GraphQlPrintResult = { query: string; variables: Record<string, JSONValue> }\n\nexport class GraphQlQueryPrinter {\n\tprivate indentString = '\\t'\n\n\tprivate variableCounter = 0\n\tprivate variables: Record<string, {\n\t\ttype: string\n\t\tvalue: JSONValue\n\t}> = {}\n\n\tprivate variableValueToName: Record<string, Map<JSONValue, string>> = {}\n\n\tprivate usedFragments = new Set<string>()\n\n\tprivate body = ''\n\n\n\tpublic printDocument(\n\t\toperation: 'query' | 'mutation',\n\t\tselect: GraphQlSelectionSet,\n\t\tfragments: Record<string, GraphQlFragment>,\n\t): GraphQlPrintResult {\n\t\tthis.cleanState()\n\t\tthis.processSelectionSet(select, 1)\n\t\tconst body = this.body\n\t\tthis.body = ''\n\t\tthis.processUsedFragments(fragments)\n\t\tconst fragmentsStr = this.body\n\t\tconst variablesString = this.printVariables()\n\t\tconst query = `${operation}${variablesString} {\\n${body}}${fragmentsStr}\\n`\n\t\treturn {\n\t\t\tquery: query,\n\t\t\tvariables: Object.fromEntries(Object.entries(this.variables).map(([key, value]) => [key, value.value])),\n\t\t}\n\t}\n\n\n\tprivate processUsedFragments(fragments: Record<string, GraphQlFragment>): void {\n\t\tconst printed = new Set()\n\t\twhile (this.usedFragments.size > 0) {\n\t\t\tconst fragmentName = this.usedFragments.values().next().value\n\t\t\tthis.usedFragments.delete(fragmentName)\n\t\t\tif (printed.has(fragmentName)) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tprinted.add(fragmentName)\n\t\t\tif (!fragments[fragmentName]) {\n\t\t\t\tthrow new Error(`Unknown fragment ${fragmentName}`)\n\t\t\t}\n\t\t\tthis.processFragment(fragments[fragmentName])\n\t\t}\n\t}\n\n\tprivate processFragment(fragment: GraphQlFragment): void {\n\t\tthis.body += `\\nfragment ${fragment.name} on ${fragment.type} {\\n`\n\t\tthis.processSelectionSet(fragment.selectionSet, 1)\n\t\tthis.body += '}'\n\t}\n\n\tprivate printVariables(): string {\n\t\tlet variablesString = ''\n\t\tlet i = 0\n\t\tfor (const [variableName, variable] of Object.entries(this.variables)) {\n\t\t\tif (i++ === 0) {\n\t\t\t\tvariablesString += '('\n\t\t\t} else {\n\t\t\t\tvariablesString += ', '\n\t\t\t}\n\t\t\tvariablesString += `$${variableName}: ${variable.type}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tvariablesString += ')'\n\t\t}\n\t\treturn variablesString\n\t}\n\n\tprivate processSelectionSet(selectionSet: GraphQlSelectionSet, indent: number): void {\n\t\tfor (const node of selectionSet) {\n\t\t\tif (node instanceof GraphQlField) {\n\t\t\t\tthis.processField(node, indent)\n\t\t\t} else if (node instanceof GraphQlFragmentSpread) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... ' + node.name + '\\n'\n\t\t\t\tthis.usedFragments.add(node.name)\n\t\t\t} else if (node instanceof GraphQlInlineFragment) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... on ' + node.type + ' {\\n'\n\t\t\t\tthis.processSelectionSet(node.selectionSet, indent + 1)\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '}\\n'\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate processField(field: GraphQlField, indent: number): void {\n\t\tconst indentString = this.indentString.repeat(indent)\n\t\tthis.body += indentString + (field.alias && field.alias !== field.name ? (field.alias + ': ' + field.name) : field.name)\n\t\tlet i = 0\n\t\tfor (const [argName, arg] of Object.entries(field.args)) {\n\t\t\tif (arg.value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst variableName = this.resolveVariableName(arg.graphQlType, arg.value)\n\t\t\tif (i++ === 0) {\n\t\t\t\tthis.body += '('\n\t\t\t} else {\n\t\t\t\tthis.body += ', '\n\t\t\t}\n\t\t\tthis.body += `${argName}: $${variableName}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tthis.body += ')'\n\t\t}\n\t\tif (field.selectionSet) {\n\t\t\tthis.body += ' {\\n'\n\t\t\tthis.processSelectionSet(field.selectionSet, indent + 1)\n\t\t\tthis.body += this.indentString.repeat(indent) + '}'\n\t\t}\n\t\tthis.body += '\\n'\n\t}\n\n\tprivate resolveVariableName(graphQlType: string, value: JSONValue): string {\n\t\tconst variableName = this.variableValueToName[graphQlType]?.get(value)\n\t\tif (variableName) {\n\t\t\treturn variableName\n\t\t}\n\t\tconst newVariableName = `${graphQlType.replace(/[\\W]/g, '')}_${this.variableCounter++}`\n\t\tthis.variables[newVariableName] = {\n\t\t\ttype: graphQlType,\n\t\t\tvalue: value,\n\t\t}\n\t\tif (!this.variableValueToName[graphQlType]) {\n\t\t\tthis.variableValueToName[graphQlType] = new Map()\n\t\t}\n\t\tthis.variableValueToName[graphQlType].set(value, newVariableName)\n\t\treturn newVariableName\n\t}\n\n\tprivate cleanState(): void {\n\t\tthis.body = ''\n\t\tthis.variableCounter = 0\n\t\tthis.variables = {}\n\t\tthis.usedFragments = new Set<string>()\n\t}\n}\n"],"names":[],"mappings":";;;;;;AAKO,MAAM,oBAAoB;AAAA,EAA1B,cAAA;AACN,kBAAA,MAAQ,gBAAe,GAAA;AAEvB,kBAAA,MAAQ,mBAAkB,CAAA;AAC1B,kBAAA,MAAQ,aAGH,CAAA,CAAC;AAEN,kBAAA,MAAQ,uBAA8D,CAAA,CAAC;AAE/D,kBAAA,MAAA,qCAAoB,IAAY,CAAA;AAExC,kBAAA,MAAQ,QAAO,EAAA;AAAA,EAAA;AAAA,EAGR,cACN,WACA,QACA,WACqB;AACrB,SAAK,WAAW;AACX,SAAA,oBAAoB,QAAQ,CAAC;AAClC,UAAM,OAAO,KAAK;AAClB,SAAK,OAAO;AACZ,SAAK,qBAAqB,SAAS;AACnC,UAAM,eAAe,KAAK;AACpB,UAAA,kBAAkB,KAAK;AAC7B,UAAM,QAAQ,GAAG,SAAS,GAAG,eAAe;AAAA,EAAO,IAAI,IAAI,YAAY;AAAA;AAChE,WAAA;AAAA,MACN;AAAA,MACA,WAAW,OAAO,YAAY,OAAO,QAAQ,KAAK,SAAS,EAAE,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,MAAM,KAAK,CA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oBAAoB,WAAW,GAAG;AAC3C,WAAK,oBAAoB,WAAW,IAAI,oBAAI,IAAI;AAAA,IACjD;AACA,SAAK,oBAAoB,WAAW,EAAE,IAAI,OAAO,eAAe;AACzD,WAAA;AAAA,EACR;AAAA,EAEQ,aAAmB;AAC1B,SAAK,OAAO;AACZ,SAAK,kBAAkB;AACvB,SAAK,YAAY;AACZ,SAAA,oCAAoB;EAC1B;AACD;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlField.cjs","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlField.ts"],"sourcesContent":["import { GraphQlFragmentSpread } from './GraphQlFragmentSpread'\nimport { GraphQlInlineFragment } from './GraphQlInlineFragment'\nimport { JSONValue } from '@contember/schema'\n\nexport class GraphQlField {\n\tconstructor(\n\t\tpublic readonly alias: string | null,\n\t\tpublic readonly name: string,\n\t\tpublic readonly args: GraphQlFieldTypedArgs = {},\n\t\tpublic readonly selectionSet?: GraphQlSelectionSet,\n\t) {\n\t}\n}\n\nexport type GraphQlFieldTypedArgs = Record<string, {\n\tgraphQlType: string\n\tvalue?: JSONValue\n}>\n\nexport type GraphQlSelectionSetItem = GraphQlField | GraphQlFragmentSpread | GraphQlInlineFragment\n\nexport type GraphQlSelectionSet = GraphQlSelectionSetItem[]\n"],"names":[],"mappings":";;AAIO,MAAM,aAAa;AAAA,EACzB,YACiB,OACA,MACA,OAA8B,CAAA,GAC9B,cACf;AAJe,SAAA,QAAA;AACA,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlField.js","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlField.ts"],"sourcesContent":["import { GraphQlFragmentSpread } from './GraphQlFragmentSpread'\nimport { GraphQlInlineFragment } from './GraphQlInlineFragment'\nimport { JSONValue } from '@contember/schema'\n\nexport class GraphQlField {\n\tconstructor(\n\t\tpublic readonly alias: string | null,\n\t\tpublic readonly name: string,\n\t\tpublic readonly args: GraphQlFieldTypedArgs = {},\n\t\tpublic readonly selectionSet?: GraphQlSelectionSet,\n\t) {\n\t}\n}\n\nexport type GraphQlFieldTypedArgs = Record<string, {\n\tgraphQlType: string\n\tvalue?: JSONValue\n}>\n\nexport type GraphQlSelectionSetItem = GraphQlField | GraphQlFragmentSpread | GraphQlInlineFragment\n\nexport type GraphQlSelectionSet = GraphQlSelectionSetItem[]\n"],"names":[],"mappings":"AAIO,MAAM,aAAa;AAAA,EACzB,YACiB,OACA,MACA,OAA8B,CAAA,GAC9B,cACf;AAJe,SAAA,QAAA;AACA,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlFragment.cjs","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlFragment {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAEO,MAAM,gBAAgB;AAAA,EAC5B,YACiB,MACA,MACA,cACf;AAHe,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlFragment.js","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlFragment {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAEO,MAAM,gBAAgB;AAAA,EAC5B,YACiB,MACA,MACA,cACf;AAHe,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlFragmentSpread.cjs","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlFragmentSpread.ts"],"sourcesContent":["export class GraphQlFragmentSpread {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAAO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACf;AADe,SAAA,OAAA;AAAA,EAEjB;AACD;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlFragmentSpread.js","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlFragmentSpread.ts"],"sourcesContent":["export class GraphQlFragmentSpread {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAAO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACf;AADe,SAAA,OAAA;AAAA,EAEjB;AACD;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlInlineFragment.cjs","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlInlineFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlInlineFragment {\n\tconstructor(\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAEO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACA,cACf;AAFe,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphQlInlineFragment.js","sources":["../../../../../packages/graphql-builder/src/nodes/GraphQlInlineFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlInlineFragment {\n\tconstructor(\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAEO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACA,cACf;AAFe,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -1 +1 @@
1
- {"version":3,"file":"GraphQlField.d.ts","sourceRoot":"","sources":["../../../src/nodes/GraphQlField.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE7C,qBAAa,YAAY;aAEP,KAAK,EAAE,MAAM,GAAG,IAAI;aACpB,IAAI,EAAE,MAAM;aACZ,IAAI,EAAE,qBAAqB;aAC3B,YAAY,CAAC;gBAHb,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,qBAA0B,EAChC,YAAY,CAAC,iCAAqB;CAGnD;AAED,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE;IAClD,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,SAAS,CAAA;CACjB,CAAC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,YAAY,GAAG,qBAAqB,GAAG,qBAAqB,CAAA;AAElG,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,EAAE,CAAA"}
1
+ {"version":3,"file":"GraphQlField.d.ts","sourceRoot":"","sources":["../../../src/nodes/GraphQlField.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE7C,qBAAa,YAAY;aAEP,KAAK,EAAE,MAAM,GAAG,IAAI;aACpB,IAAI,EAAE,MAAM;aACZ,IAAI,EAAE,qBAAqB;aAC3B,YAAY,CAAC,EAAE,mBAAmB;gBAHlC,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,qBAA0B,EAChC,YAAY,CAAC,EAAE,mBAAmB,YAAA;CAGnD;AAED,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE;IAClD,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,SAAS,CAAA;CACjB,CAAC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,YAAY,GAAG,qBAAqB,GAAG,qBAAqB,CAAA;AAElG,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/@types/react/global.d.ts","../../../../node_modules/csstype/index.d.ts","../../../../node_modules/@types/prop-types/index.d.ts","../../../../node_modules/@types/react/index.d.ts","../../../../node_modules/@types/react/jsx-runtime.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/value.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/input.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/json.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/acl.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/actions.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/model.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/result.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/validation.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/settings.d.ts","../../../../node_modules/@contember/schema/dist/src/ProjectRole.d.ts","../../../../node_modules/@contember/schema/dist/src/index.d.ts","../../src/nodes/GraphQlFragmentSpread.ts","../../src/nodes/GraphQlInlineFragment.ts","../../src/nodes/GraphQlField.ts","../../src/nodes/GraphQlFragment.ts","../../src/nodes/index.ts","../../src/GraphQlQueryPrinter.ts","../../src/index.ts","../../../../node_modules/vite/types/hmrPayload.d.ts","../../../../node_modules/vite/types/customEvent.d.ts","../../../../node_modules/vite/types/hot.d.ts","../../../../node_modules/vite/types/importGlob.d.ts","../../../../node_modules/vite/types/importMeta.d.ts","../../../../node_modules/vite/client.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","886e50ef125efb7878f744e86908884c0133e7a6d9d80013f421b0cd8fb2af94",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"76f838d5d49b65de83bc345c04aa54c62a3cfdb72a477dc0c0fce89a30596c30","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"55461596dc873b866911ef4e640fae4c39da7ac1fbc7ef5e649cb2f2fb42c349","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea",{"version":"8ca4709dbd22a34bcc1ebf93e1877645bdb02ebd3f3d9a211a299a8db2ee4ba1","affectsGlobalScope":true},"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","3ae62be455efcb1874e7fd1f30f2bb83144757d2f349ceb0c6523bb9f7f7a860","be0f711ade459d8e51739f8544a565bc7d2ea56a9dda7ef6d5edd9d864737276","b1296831e111197bd9ebd73f0d15ad0fe2e11fcc51a6302edb23ffd93794db36","5610e8177b34fa50394973f3faba06fd5268b1264a2f4f7daaa71fee1194a94d","4dc29833bfcaa8597097a99fd486d72a0de9c38bb7a6dcd1dadb70e1b9c17282","9869fe612661e4bb3a63b339b3a0d0cdbb6c9e85dd4a59209c86383179e3fbd9","f42116e2e8ad600dc90bdf8ceade9dcf593c35812d8aaba9c03a3f1dbb87330e","dff2fee737ebe5174f549c9f28e114c0cabac4b5fe4e364654465ba528979ba4","86c9954d4c0c270f2952a8695b90fbf4a58210deae10911be98b6c31b84cc8db","466df547af9cf3861658b08baf3ecbd41c0eaad2101378fadfa54ab24db103e6","66b37de2f4b108cf4467570730a30cac8aa7d9ec94a0e335825c9192c1188094",{"version":"1492704513322629439c269bb9a1daf672c9319bff4cb85fb3739a5a53afbbae","signature":"34e5c5b2be8aa1b3f75ccd21529ae8b9163f510dbdabae4caae3fec3010cc33b"},{"version":"17f850d81088adf2bbc979ed59102d9f67f57a4581d24b63886ae4c6b5f79e89","signature":"45fb3525f5c652416e54f91bd8378464d41e22b0ccc108de7db918cf8e92ffd3"},{"version":"75faa8444f3d7281d1ec337213720d738129ef55a9672c7176bf6a949217ed77","signature":"e2402a646d4471b0985495b6bfca6c9c731d335195bf206e8c982d8ca362692f"},{"version":"10b5677a98e54b81f2ebd2661cb5c6cd9df9f210082b50c4281a308ffedbe72f","signature":"08d34fcbf615950f6d3dd6858437159f0c0af08d5af645ec415ebfeaeacf3bd0"},{"version":"ee4207ce0cb680870df58a4f65bc63d22601f63c867a319bf94e1196b9a03c93","signature":"13ce162c8088b92a985e41a2ddf61cbb191101c280214a74dd9e8d2fd3c9c905"},{"version":"41d26b47fa23c6126b4407396799af8a4d5a63be15837f61204beb4d2692209d","signature":"d2689735d2498972d6f02fbaff989b1fa500b5a140af7e7c08a15fbc36c1d3d3"},{"version":"cd017864db761491dd1dca6cf01c70ee66313a662062664ceb01254b61ce64b1","signature":"4b47e095287cc1351b5fa9c5112d1d2d255bd8916ce76347225837b244e97ed5"},"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","80d02a787d4aa00e2e22dcf3ea9d40390f38dfb0c3497bc6855978974a63e20c","cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea",{"version":"4025a454b1ca489b179ee8c684bdd70ff8c1967e382076ade53e7e4653e1daec","affectsGlobalScope":true},{"version":"c4baf2c38b00f29adfb4e60554de4152ebf4c17f3365c0f2ff34af7f3b35ef1d","affectsGlobalScope":true}],"root":[[86,92]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useDefineForClassFields":true},"fileIdsList":[[75,76,77,78,79,80,81,82,83,84],[76,77],[77],[75],[76],[70,71,72],[73],[97],[93],[94],[95,96],[74,85,90],[74,90,91],[74,85,86,87],[74,88],[74],[74,86,87,88,89],[85,90],[90,91],[85,86,87],[88],[86,87,88,89]],"referencedMap":[[85,1],[78,2],[79,3],[76,4],[80,5],[81,4],[82,3],[73,6],[74,7],[98,8],[94,9],[95,10],[97,11],[91,12],[92,13],[88,14],[89,15],[86,16],[87,15],[90,17]],"exportedModulesMap":[[85,1],[78,2],[79,3],[76,4],[80,5],[81,4],[82,3],[73,6],[74,7],[98,8],[94,9],[95,10],[97,11],[91,18],[92,19],[88,20],[89,21],[87,21],[90,22]],"semanticDiagnosticsPerFile":[84,85,78,79,76,77,80,81,83,82,75,72,70,73,74,71,68,69,12,13,15,14,2,16,17,18,19,20,21,22,23,3,24,4,25,29,26,27,28,30,31,32,5,33,34,35,36,6,40,37,38,39,41,7,42,47,48,43,44,45,46,8,52,49,50,51,53,9,54,55,56,59,57,58,60,61,10,1,62,11,66,64,63,67,65,98,94,93,95,96,97,91,92,88,89,86,87,90],"latestChangedDtsFile":"./index.d.ts"},"version":"5.4.5"}
1
+ {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/typescript/lib/lib.esnext.string.d.ts","../../../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../../../node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/@types/react/global.d.ts","../../../../node_modules/csstype/index.d.ts","../../../../node_modules/@types/prop-types/index.d.ts","../../../../node_modules/@types/react/index.d.ts","../../../../node_modules/@types/react/jsx-runtime.d.ts","../../../schema/dist/types/schema/value.d.ts","../../../schema/dist/types/schema/input.d.ts","../../../schema/dist/types/schema/json.d.ts","../../../schema/dist/types/schema/acl.d.ts","../../../schema/dist/types/schema/actions.d.ts","../../../schema/dist/types/schema/actionsPayload.d.ts","../../../schema/dist/types/schema/model.d.ts","../../../schema/dist/types/schema/result.d.ts","../../../schema/dist/types/schema/settings.d.ts","../../../schema/dist/types/schema/validation.d.ts","../../../schema/dist/types/schema/index.d.ts","../../../schema/dist/types/ProjectRole.d.ts","../../../schema/dist/types/index.d.ts","../../src/nodes/GraphQlFragmentSpread.ts","../../src/nodes/GraphQlInlineFragment.ts","../../src/nodes/GraphQlField.ts","../../src/nodes/GraphQlFragment.ts","../../src/nodes/index.ts","../../src/GraphQlQueryPrinter.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/accepts/index.d.ts","../../../../node_modules/@types/argparse/index.d.ts","../../../../node_modules/@types/aria-query/index.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../../node_modules/@types/babel__generator/index.d.ts","../../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../../node_modules/@types/babel__template/index.d.ts","../../../../node_modules/@types/babel__traverse/index.d.ts","../../../../node_modules/@types/babel__core/index.d.ts","../../../../node_modules/@types/bcryptjs/index.d.ts","../../../../node_modules/@types/connect/index.d.ts","../../../../node_modules/@types/body-parser/index.d.ts","../../../../node_modules/@types/content-disposition/index.d.ts","../../../../node_modules/@types/keygrip/index.d.ts","../../../../node_modules/@types/range-parser/index.d.ts","../../../../node_modules/@types/qs/index.d.ts","../../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../../node_modules/@types/mime/Mime.d.ts","../../../../node_modules/@types/mime/index.d.ts","../../../../node_modules/@types/serve-static/index.d.ts","../../../../node_modules/@types/express/index.d.ts","../../../../node_modules/@types/cookies/index.d.ts","../../../../node_modules/@types/estree/index.d.ts","../../../../node_modules/@types/jsonfile/index.d.ts","../../../../node_modules/@types/jsonfile/utils.d.ts","../../../../node_modules/@types/fs-extra/index.d.ts","../../../../node_modules/@types/http-assert/index.d.ts","../../../../node_modules/@types/http-errors/index.d.ts","../../../../node_modules/@types/is-hotkey/index.d.ts","../../../../node_modules/@types/js-levenshtein/index.d.ts","../../../../node_modules/@types/js-yaml/index.d.ts","../../../../node_modules/parse5/dist/common/html.d.ts","../../../../node_modules/parse5/dist/common/token.d.ts","../../../../node_modules/parse5/dist/common/error-codes.d.ts","../../../../node_modules/parse5/dist/tokenizer/preprocessor.d.ts","../../../../node_modules/parse5/dist/tokenizer/index.d.ts","../../../../node_modules/parse5/dist/tree-adapters/interface.d.ts","../../../../node_modules/parse5/dist/parser/open-element-stack.d.ts","../../../../node_modules/parse5/dist/parser/formatting-element-list.d.ts","../../../../node_modules/parse5/dist/parser/index.d.ts","../../../../node_modules/parse5/dist/tree-adapters/default.d.ts","../../../../node_modules/parse5/dist/serializer/index.d.ts","../../../../node_modules/parse5/dist/common/foreign-content.d.ts","../../../../node_modules/parse5/dist/index.d.ts","../../../../node_modules/@types/tough-cookie/index.d.ts","../../../../node_modules/@types/jsdom/base.d.ts","../../../../node_modules/@types/jsdom/index.d.ts","../../../../node_modules/@types/json-schema/index.d.ts","../../../../node_modules/@types/json-stable-stringify/index.d.ts","../../../../node_modules/@types/keyv/index.d.ts","../../../../node_modules/@types/koa-compose/index.d.ts","../../../../node_modules/@types/koa/index.d.ts","../../../../node_modules/@types/koa-bodyparser/index.d.ts","../../../../node_modules/@types/koa-compress/index.d.ts","../../../../node_modules/@types/koa__cors/index.d.ts","../../../../node_modules/@types/lodash/common/common.d.ts","../../../../node_modules/@types/lodash/common/array.d.ts","../../../../node_modules/@types/lodash/common/collection.d.ts","../../../../node_modules/@types/lodash/common/date.d.ts","../../../../node_modules/@types/lodash/common/function.d.ts","../../../../node_modules/@types/lodash/common/lang.d.ts","../../../../node_modules/@types/lodash/common/math.d.ts","../../../../node_modules/@types/lodash/common/number.d.ts","../../../../node_modules/@types/lodash/common/object.d.ts","../../../../node_modules/@types/lodash/common/seq.d.ts","../../../../node_modules/@types/lodash/common/string.d.ts","../../../../node_modules/@types/lodash/common/util.d.ts","../../../../node_modules/@types/lodash/index.d.ts","../../../../node_modules/@types/mime-types/index.d.ts","../../../../node_modules/@types/mustache/index.d.ts","../../../../node_modules/form-data/index.d.ts","../../../../node_modules/@types/node-fetch/externals.d.ts","../../../../node_modules/@types/node-fetch/index.d.ts","../../../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../../../node_modules/@types/nodemailer/lib/xoauth2/index.d.ts","../../../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../../../node_modules/@types/nodemailer/lib/shared/index.d.ts","../../../../node_modules/@types/nodemailer/lib/json-transport/index.d.ts","../../../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../../../node_modules/@types/nodemailer/lib/ses-transport/index.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts","../../../../node_modules/@types/nodemailer/lib/stream-transport/index.d.ts","../../../../node_modules/@types/nodemailer/index.d.ts","../../../../node_modules/@types/npm-package-arg/index.d.ts","../../../../node_modules/pg-types/index.d.ts","../../../../node_modules/pg-protocol/dist/messages.d.ts","../../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../../node_modules/pg-protocol/dist/parser.d.ts","../../../../node_modules/pg-protocol/dist/index.d.ts","../../../../node_modules/@types/pg/index.d.ts","../../../../node_modules/kleur/kleur.d.ts","../../../../node_modules/@types/prompts/index.d.ts","../../../../node_modules/@types/react-dom/index.d.ts","../../../../node_modules/@types/responselike/index.d.ts","../../../../node_modules/@types/semver/classes/semver.d.ts","../../../../node_modules/@types/semver/functions/parse.d.ts","../../../../node_modules/@types/semver/functions/valid.d.ts","../../../../node_modules/@types/semver/functions/clean.d.ts","../../../../node_modules/@types/semver/functions/inc.d.ts","../../../../node_modules/@types/semver/functions/diff.d.ts","../../../../node_modules/@types/semver/functions/major.d.ts","../../../../node_modules/@types/semver/functions/minor.d.ts","../../../../node_modules/@types/semver/functions/patch.d.ts","../../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../../node_modules/@types/semver/functions/compare.d.ts","../../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../../node_modules/@types/semver/functions/sort.d.ts","../../../../node_modules/@types/semver/functions/rsort.d.ts","../../../../node_modules/@types/semver/functions/gt.d.ts","../../../../node_modules/@types/semver/functions/lt.d.ts","../../../../node_modules/@types/semver/functions/eq.d.ts","../../../../node_modules/@types/semver/functions/neq.d.ts","../../../../node_modules/@types/semver/functions/gte.d.ts","../../../../node_modules/@types/semver/functions/lte.d.ts","../../../../node_modules/@types/semver/functions/cmp.d.ts","../../../../node_modules/@types/semver/functions/coerce.d.ts","../../../../node_modules/@types/semver/classes/comparator.d.ts","../../../../node_modules/@types/semver/classes/range.d.ts","../../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../../node_modules/@types/semver/ranges/valid.d.ts","../../../../node_modules/@types/semver/ranges/outside.d.ts","../../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../../node_modules/@types/semver/ranges/subset.d.ts","../../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../../node_modules/@types/semver/index.d.ts","../../../../node_modules/@types/uuid/index.d.ts","../../../../node_modules/@types/ws/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","17edc026abf73c5c2dd508652d63f68ec4efd9d4856e3469890d27598209feb5",{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"9c00a480825408b6a24c63c1b71362232927247595d7c97659bc24dc68ae0757","affectsGlobalScope":true},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","247a952efd811d780e5630f8cfd76f495196f5fa74f6f0fee39ac8ba4a3c9800",{"version":"8ca4709dbd22a34bcc1ebf93e1877645bdb02ebd3f3d9a211a299a8db2ee4ba1","affectsGlobalScope":true},"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","3ae62be455efcb1874e7fd1f30f2bb83144757d2f349ceb0c6523bb9f7f7a860","8e86b98b3e0df46d3f83c303661824d1965ddd63e674fc0b6849f7869f5b86f0","b1296831e111197bd9ebd73f0d15ad0fe2e11fcc51a6302edb23ffd93794db36","5610e8177b34fa50394973f3faba06fd5268b1264a2f4f7daaa71fee1194a94d","ec0b1ad8de385d526b4e16c7ab8da4b84c1fb15a680d4c82b0e0b5f70e9f80c5","462c0b72a4911d6356ebbfed5dedd9682edf2bd60bcf6ea025539f1cd8c64bf4","5c3f0890ecc492ada4fa62824b8db132adbf9757e918cdc7421a586474b7cb16","f42116e2e8ad600dc90bdf8ceade9dcf593c35812d8aaba9c03a3f1dbb87330e","0a719586fbf47735737c3ef22372473f05ae36bcdec431c5bb565478466190be","dff2fee737ebe5174f549c9f28e114c0cabac4b5fe4e364654465ba528979ba4","ad1f130d5fb49665e218d5366db67ead55593335a2c02733ae5f8466a99def53","466df547af9cf3861658b08baf3ecbd41c0eaad2101378fadfa54ab24db103e6","92404f0f42ffd8d939cf6fb1a911235e931981f94dcab0e85f9ae5faf876ea3c",{"version":"1492704513322629439c269bb9a1daf672c9319bff4cb85fb3739a5a53afbbae","signature":"34e5c5b2be8aa1b3f75ccd21529ae8b9163f510dbdabae4caae3fec3010cc33b"},{"version":"17f850d81088adf2bbc979ed59102d9f67f57a4581d24b63886ae4c6b5f79e89","signature":"45fb3525f5c652416e54f91bd8378464d41e22b0ccc108de7db918cf8e92ffd3"},{"version":"75faa8444f3d7281d1ec337213720d738129ef55a9672c7176bf6a949217ed77","signature":"e2402a646d4471b0985495b6bfca6c9c731d335195bf206e8c982d8ca362692f"},{"version":"10b5677a98e54b81f2ebd2661cb5c6cd9df9f210082b50c4281a308ffedbe72f","signature":"08d34fcbf615950f6d3dd6858437159f0c0af08d5af645ec415ebfeaeacf3bd0"},{"version":"ee4207ce0cb680870df58a4f65bc63d22601f63c867a319bf94e1196b9a03c93","signature":"13ce162c8088b92a985e41a2ddf61cbb191101c280214a74dd9e8d2fd3c9c905"},{"version":"41d26b47fa23c6126b4407396799af8a4d5a63be15837f61204beb4d2692209d","signature":"d2689735d2498972d6f02fbaff989b1fa500b5a140af7e7c08a15fbc36c1d3d3"},{"version":"cd017864db761491dd1dca6cf01c70ee66313a662062664ceb01254b61ce64b1","signature":"4b47e095287cc1351b5fa9c5112d1d2d255bd8916ce76347225837b244e97ed5"},"09df3b4f1c937f02e7fee2836d4c4d7a63e66db70fd4d4e97126f4542cc21d9d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"4d719cfab49ae4045d15cb6bed0f38ad3d7d6eb7f277d2603502a0f862ca3182","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"5a856afb15f9dc9983faa391dde989826995a33983c1cccb173e9606688e9709","affectsGlobalScope":true},"546ab07e19116d935ad982e76a223275b53bff7771dab94f433b7ab04652936e","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"aefb5a4a209f756b580eb53ea771cca8aad411603926f307a5e5b8ec6b16dcf6","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","f5a8b7ec4b798c88679194a8ebc25dcb6f5368e6e5811fcda9fe12b0d445b8db","b86e1a45b29437f3a99bad4147cb9fe2357617e8008c0484568e5bb5138d6e13","b5b719a47968cd61a6f83f437236bb6fe22a39223b6620da81ef89f5d7a78fb7","42c431e7965b641106b5e25ab3283aa4865ca7bb9909610a2abfa6226e4348be","0b7e732af0a9599be28c091d6bd1cb22c856ec0d415d4749c087c3881ca07a56","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"8d6138a264ddc6f94f16e99d4e117a2d6eb31b217891cf091b6437a2f114d561","affectsGlobalScope":true},"3b4c85eea12187de9929a76792b98406e8778ce575caca8c574f06da82622c54","f788131a39c81e0c9b9e463645dd7132b5bc1beb609b0e31e5c1ceaea378b4df","0c236069ce7bded4f6774946e928e4b3601894d294054af47a553f7abcafe2c1","21894466693f64957b9bd4c80fa3ec7fdfd4efa9d1861e070aca23f10220c9b2","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac",{"version":"6ec93c745c5e3e25e278fa35451bf18ef857f733de7e57c15e7920ac463baa2a","affectsGlobalScope":true},"a5fe4cc622c3bf8e09ababde5f4096ceac53163eefcd95e9cd53f062ff9bb67a","30c2ec6abf6aaa60eb4f32fb1235531506b7961c6d1bdc7430711aec8fd85295","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"308b84e1943ef30015469770e931eb21b795348893b2a6562ca54ea8f0b3c41c","affectsGlobalScope":true},{"version":"d48009cbe8a30a504031cc82e1286f78fed33b7a42abf7602c23b5547b382563","affectsGlobalScope":true},"7aaeb5e62f90e1b2be0fc4844df78cdb1be15c22b427bc6c39d57308785b8f10","3ba30205a029ebc0c91d7b1ab4da73f6277d730ca1fc6692d5a9144c6772c76b","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","458b216959c231df388a5de9dcbcafd4b4ca563bc3784d706d0455467d7d4942","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","f8c87b19eae111f8720b0345ab301af8d81add39621b63614dfc2d15fd6f140a","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"24ba151e213906027e2b1f5223d33575a3612b0234a0e2b56119520bbe0e594b","affectsGlobalScope":true},{"version":"cbf046714f3a3ba2544957e1973ac94aa819fa8aa668846fa8de47eb1c41b0b2","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eae74e3d50820f37c72c0679fed959cd1e63c98f6a146a55b8c4361582fa6a52","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"aed89e3c18f4c659ee8153a76560dffda23e2d801e1e60d7a67abd84bc555f8d","affectsGlobalScope":true},{"version":"0ed13c80faeb2b7160bffb4926ff299c468e67a37a645b3ae0917ba0db633c1b","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","2f940651c2f30e6b29f8743fae3f40b7b1c03615184f837132b56ea75edad08b","5749c327c3f789f658072f8340786966c8b05ea124a56c1d8d60e04649495a4d",{"version":"c9d62b2a51b2ff166314d8be84f6881a7fcbccd37612442cf1c70d27d5352f50","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","6738101ae8e56cd3879ab3f99630ada7d78097fc9fd334df7e766216778ca219","dc3b172ee27054dbcedcf5007b78c256021db936f6313a9ce9a3ecbb503fd646","ae77d81a5541a8abb938a0efedf9ac4bea36fb3a24cc28cfa11c598863aba571","1894294e2f0e275a6ca2c3d0af1fb45f629531bbf446f2946dc8c881583a5935","2c8e55457aaf4902941dfdba4061935922e8ee6e120539c9801cd7b400fae050","5f02abbb1b17e3d1e68c5eea14adf4705696e6255e2982b010c0dc2a5417b606","670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","9e0cf651e8e2c5b9bebbabdff2f7c6f8cedd91b1d9afcc0a854cdff053a88f1b","069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","a3d3f704c5339a36da3ca8c62b29072f87e86c783b8452d235992142ec71aa2d","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","204dbe6c72467fb14bbe8f06510b11fb541b6ce29580c6e10ebd3bdb2eb0c1f9","ce013414484233b24f42c0fcfca48a60bb66ab4e13c82953662305e8f1ee4925","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","fedd311d427fdafac411b4e0edc0d1014668853679e021e04717a6de45ff5c0c",{"version":"ae3fe461989bbd951344efc1f1fe932360ce7392e6126bdb225a82a1bbaf15ee","affectsGlobalScope":true},"5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7","951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e","f47887b61c6cf2f48746980390d6cb5b8013518951d912cfb37fe748071942be","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","eb96a2321f717bccc3e49e104e299152984b927ea4546b559ae631c06565819c","ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","211440ce81e87b3491cdf07155881344b0a61566df6e749acff0be7e8b9d1a07","5d9a0b6e6be8dbb259f64037bce02f34692e8c1519f5cd5d467d7fa4490dced4","880da0e0f3ebca42f9bd1bc2d3e5e7df33f2619d85f18ee0ed4bd16d1800bc32","e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51","6168414aa12d33d0fcfac4f9870aa81ce27e136db6faf182001a5f3792e1d720","0112a7f3c11fc4792e70f5d0d5c9f80ee6a1c5c548723714433da6a03307e87b","a8d630427635fa316e57fa4949132acde9cf23aa067220bffea30612497824cc","7a1dd1e9c8bf5e23129495b10718b280340c7500570e0cfe5cffcdee51e13e48","3411c785dbe8fd42f7d644d1e05a7e72b624774a08a9356479754999419c3c5a","8fb8fdda477cd7382477ffda92c2bb7d9f7ef583b1aa531eb6b2dc2f0a206c10","66995b0c991b5c5d42eff1d950733f85482c7419f7296ab8952e03718169e379","33f3795a4617f98b1bb8dac36312119d02f31897ae75436a1e109ce042b48ee8","2850c9c5dc28d34ad5f354117d0419f325fc8932d2a62eadc4dc52c018cd569b","c753948f7e0febe7aa1a5b71a714001a127a68861309b2c4127775aa9b6d4f24","3e7a40e023e1d4a9eef1a6f08a3ded8edacb67ae5fce072014205d730f717ba5","a77be6fc44c876bc10c897107f84eaba10790913ebdcad40fcda7e47469b2160","382100b010774614310d994bbf16cc9cd291c14f0d417126c7a7cfad1dc1d3f8","91f5dbcdb25d145a56cffe957ec665256827892d779ef108eb2f3864faff523b","4fdf56315340bd1770eb52e1601c3a98e45b1d207202831357e99ce29c35b55c","927955a3de5857e0a1c575ced5a4245e74e6821d720ed213141347dd1870197f","be6fd74528b32986fbf0cd2cfa9192a5ed7f369060b32a7adcb0c8d055708e61","03c258e060b7da220973f84b89615e4e9850e9b5d30b3a8e4840b3e3268ae8eb","6f5a9b68ce8608014210f5a777f8dd82e6382285f6278c811b7b0214bbcac5bd",{"version":"af11413ffc8c34a2a2475cb9d2982b4cc87a9317bf474474eedaacc4aaab4582","affectsGlobalScope":true},"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","13cc3979e1f548aacaa23911f2d6e69c1a2999266c4a1952806de1e9593bdaaa","fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","5006668996956580886022c05108e32c742823e1b5652aff7914917233731518","0d0a431dda18aaaeaa5f0eee95a956ad63bba7606835537a38b003e36132a531","cee62e64fc4bdfb3798ab8e21486fadd2027ce4128349989acc63905366f91c5","f4b436d9b250c7e7087edef00fc0ecf9a62cbbbfe0f1d1c4f3888f1355c17eeb","80dcca1873e2e57a2c81f9efc12bbbf81d186ac5a7977955b37dd44b3b2cfd0d","ff81bffa4ecfceae2e86b5920c3fcb250b66b1d6ed72944dffdf58123be2481b","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","da2b6356b84a40111aaecb18304ea4e4fcb43d70efb1c13ca7d7a906445ee0d3","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","aa2c18a1b5a086bbcaae10a4efba409cc95ba7287d8cf8f2591b53704fea3dea","6f294731b495c65ecf46a5694f0082954b961cf05463bea823f8014098eaffa0","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","6c65d33115c7410ecbb59db5fcbb042fc6b831a258d028dbb06b42b75d8459c1","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd","169cc96316cacf8b489aaab4ac6bcef7b33e8779a8902bce57c737b4aa372d16","b58c81d4cc365d3986aee6c2a86592edc50f141b796899079196ffb103047390","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","4340936f4e937c452ae783514e7c7bbb7fc06d0c97993ff4865370d0962bb9cf","5009c081fd8ca3fcd6f3adcd071a1c79a933a400532b897822aad0943688a1f1","6825eb4d1c8beb77e9ed6681c830326a15ebf52b171f83ffbca1b1574c90a3b0","1741975791f9be7f803a826457273094096e8bba7a50f8fa960d5ed2328cdbcc","6ec0d1c15d14d63d08ccb10d09d839bf8a724f6b4b9ed134a3ab5042c54a7721","75dabc9afdb451a85e6d46e9ca65ec82ead2256476c0686f671f3421923667a7","ddfc215bfbddf5854d80ab8fb0256bd802f2a8acb6be62f9e630041266d56cd5","2c3bcb8a4ea2fcb4208a06672af7540dd65bf08298d742f041ffa6cbe487cf80","1cce0460d75645fc40044c729da9a16c2e0dabe11a58b5e4bfd62ac840a1835d","c784a9f75a6f27cf8c43cc9a12c66d68d3beb2e7376e1babfae5ae4998ffbc4a","feb4c51948d875fdbbaa402dad77ee40cf1752b179574094b613d8ad98921ce1","a6d3984b706cefe5f4a83c1d3f0918ff603475a2a3afa9d247e4114f18b1f1ef","b457d606cabde6ea3b0bc32c23dc0de1c84bb5cb06d9e101f7076440fc244727","9d59919309a2d462b249abdefba8ca36b06e8e480a77b36c0d657f83a63af465","9faa2661daa32d2369ec31e583df91fd556f74bcbd036dab54184303dee4f311","b08de5693ec0119e033ced692f3ad0c0449c7331fd1d84033ea9b4b22e7f269c","da3d9c69fe4d916969f59b6553ac79b49e8dea8d35084733c396a3555d155f56","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","fa5c2d3fcd8e227e180815df0a0903ed4b116400452af8a75ac5b68e5e1de9da","6ab263df6465e2ed8f1d02922bae18bb5b407020767de021449a4c509859b22e","1cbabdfa7ca0e8ae0967971ef61e151bde38900f91bde4f91193c9347dfb49fb","adb17fea4d847e1267ae1241fa1ac3917c7e332999ebdab388a24d82d4f58240","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","7d2b7fe4adb76d8253f20e4dbdce044f1cdfab4902ec33c3604585f553883f7d","5562230b6ae4f2205fddf46ab28518d4b0a5727c1e04d4f568c76d0271ae3293"],"root":[[92,98]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useDefineForClassFields":true},"fileIdsList":[[178,189],[178],[151,178,185],[178,189,190,191,192,193],[178,189,191],[151,178,185,196],[151,178,185,196,199,206],[148,151,178,185,200,201],[178,197,201,202,205],[149,178,185,209,210],[148,178,180,185,229,230,232],[178,231],[149,177,178,185],[148,178,185],[178,237],[178,183,185,237],[148,151,152,156,162,177,178,185,186,198,199,207,212,213,236],[178,241,243,244,245,246,247,248,249,250,251,252,253],[178,241,242,244,245,246,247,248,249,250,251,252,253],[178,242,243,244,245,246,247,248,249,250,251,252,253],[178,241,242,243,245,246,247,248,249,250,251,252,253],[178,241,242,243,244,246,247,248,249,250,251,252,253],[178,241,242,243,244,245,247,248,249,250,251,252,253],[178,241,242,243,244,245,246,248,249,250,251,252,253],[178,241,242,243,244,245,246,247,249,250,251,252,253],[178,241,242,243,244,245,246,247,248,250,251,252,253],[178,241,242,243,244,245,246,247,248,249,251,252,253],[178,241,242,243,244,245,246,247,248,249,250,252,253],[178,241,242,243,244,245,246,247,248,249,250,251,253],[178,241,242,243,244,245,246,247,248,249,250,251,252],[178,204],[178,203],[151,177,178,185,256,257],[99,178],[135,178],[136,141,169,178],[137,148,149,156,166,177,178],[137,138,148,156,178],[139,178],[140,141,149,157,178],[141,166,174,178],[142,144,148,156,178],[143,178],[144,145,178],[148,178],[146,148,178],[135,148,178],[148,149,150,166,177,178],[148,149,150,163,166,169,178],[133,178,182],[144,148,151,156,166,177,178],[148,149,151,152,156,166,174,177,178],[151,153,166,174,177,178],[99,100,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],[148,154,178],[155,177,178,182],[144,148,156,166,178],[157,178],[158,178],[135,159,178],[160,176,178,182],[161,178],[162,178],[148,163,164,178],[163,165,178,180],[136,148,166,167,168,169,178],[136,166,168,178],[166,167,178],[169,178],[170,178],[135,166,178],[148,172,173,178],[172,173,178],[141,156,166,174,178],[175,178],[156,176,178],[136,151,162,177,178],[141,178],[166,178,179],[155,178,180],[178,181],[136,141,148,150,159,166,177,178,180,182],[166,178,183],[178,185,260,262,266,267,268,269,270,271],[166,178,185],[148,178,185,260,262,263,265,272],[148,156,166,177,178,185,259,260,261,263,264,265,272],[166,178,185,262,263],[166,178,185,262,264],[178,185,260,262,263,265,272],[166,178,185,264],[148,156,166,174,178,185,261,263,265],[148,178,185,260,262,263,264,265,272],[148,166,178,185,260,261,262,263,264,265,272],[148,166,178,185,260,262,263,265,272],[151,166,178,185,265],[148,166,174,178,185,274,275,278,279],[166,178,185,280],[77,178],[74,75,76,178],[151,166,178,185],[178,284,323],[178,284,308,323],[178,323],[178,284],[178,284,309,323],[178,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322],[178,309,323],[151,178,185,204],[148,151,153,166,174,177,178,183,185],[178,218],[178,217,218],[178,217],[178,217,218,219,221,222,225,226,227,228],[178,218,222],[178,217,218,219,221,222,223,224],[178,217,222],[178,222,226],[178,218,219,220],[178,219],[178,217,218,222],[178,185,275,276,277],[178,185],[166,178,185,275],[110,114,177,178],[110,166,177,178],[105,178],[107,110,174,177,178],[156,174,178],[105,178,185],[107,110,156,177,178],[102,103,106,109,136,148,166,177,178],[102,108,178],[106,110,136,169,177,178,185],[136,178,185],[126,136,178,185],[104,105,178,185],[110,178],[104,105,106,107,108,109,110,111,112,114,115,116,117,118,119,120,121,122,123,124,125,127,128,129,130,131,132,178],[110,117,118,178],[108,110,118,119,178],[109,178],[102,105,110,178],[110,114,118,119,178],[114,178],[108,110,113,177,178],[102,107,108,110,114,117,178],[136,166,178],[105,110,126,136,178,182,185],[78,91,96,178],[78,96,97,178],[78,91,92,93,178],[78,94,178],[78,178],[78,92,93,94,95,178],[89,90,178],[80,81,178],[81,178],[79,80,81,82,83,84,85,86,87,88,178],[79,178],[80,178]],"referencedMap":[[191,1],[189,2],[186,3],[187,2],[188,2],[194,4],[190,1],[192,5],[193,1],[195,2],[197,6],[196,3],[198,2],[207,7],[208,2],[202,8],[206,9],[211,10],[212,2],[213,2],[214,2],[215,2],[216,2],[231,11],[232,12],[233,2],[234,2],[209,13],[210,2],[199,2],[235,14],[238,15],[236,15],[239,16],[237,17],[240,15],[242,18],[243,19],[241,20],[244,21],[245,22],[246,23],[247,24],[248,25],[249,26],[250,27],[251,28],[252,29],[253,30],[254,2],[203,31],[204,32],[255,2],[257,2],[258,33],[99,34],[100,34],[135,35],[136,36],[137,37],[138,38],[139,39],[140,40],[141,41],[142,42],[143,43],[144,44],[145,44],[147,45],[146,46],[148,47],[149,48],[150,49],[134,50],[184,2],[151,51],[152,52],[153,53],[185,54],[154,55],[155,56],[156,57],[157,58],[158,59],[159,60],[160,61],[161,62],[162,63],[163,64],[164,64],[165,65],[166,66],[168,67],[167,68],[169,69],[170,70],[171,71],[172,72],[173,73],[174,74],[175,75],[176,76],[177,77],[178,78],[179,79],[180,80],[181,81],[182,82],[183,83],[272,84],[259,85],[266,86],[262,87],[260,88],[263,89],[267,90],[268,86],[265,91],[264,92],[269,93],[270,94],[271,95],[261,96],[273,2],[279,97],[281,98],[76,2],[201,2],[200,2],[282,99],[74,2],[77,100],[78,99],[283,101],[308,102],[309,103],[284,104],[287,104],[306,102],[307,102],[297,102],[296,105],[294,102],[289,102],[302,102],[300,102],[304,102],[288,102],[301,102],[305,102],[290,102],[291,102],[303,102],[285,102],[292,102],[293,102],[295,102],[299,102],[310,106],[298,102],[286,102],[323,107],[322,2],[317,106],[319,108],[318,106],[311,106],[312,106],[314,106],[316,106],[320,108],[321,108],[313,108],[315,108],[205,109],[230,2],[324,2],[325,110],[101,2],[75,2],[256,101],[280,2],[219,111],[228,112],[217,2],[218,113],[229,114],[224,115],[225,116],[223,117],[227,118],[221,119],[220,120],[226,121],[222,112],[278,122],[275,123],[277,124],[276,123],[274,2],[72,2],[73,2],[12,2],[13,2],[15,2],[14,2],[2,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[23,2],[3,2],[24,2],[4,2],[25,2],[29,2],[26,2],[27,2],[28,2],[30,2],[31,2],[32,2],[5,2],[33,2],[34,2],[35,2],[36,2],[6,2],[40,2],[37,2],[38,2],[39,2],[41,2],[7,2],[42,2],[47,2],[48,2],[43,2],[44,2],[45,2],[46,2],[8,2],[52,2],[49,2],[50,2],[51,2],[53,2],[9,2],[54,2],[55,2],[56,2],[59,2],[57,2],[58,2],[60,2],[61,2],[10,2],[62,2],[1,2],[63,2],[64,2],[11,2],[69,2],[66,2],[65,2],[70,2],[68,2],[71,2],[67,2],[117,125],[124,126],[116,125],[131,127],[108,128],[107,129],[130,123],[125,130],[128,131],[110,132],[109,133],[105,134],[104,135],[127,136],[106,137],[111,138],[112,2],[115,138],[102,2],[133,139],[132,138],[119,140],[120,141],[122,142],[118,143],[121,144],[126,123],[113,145],[114,146],[123,147],[103,148],[129,149],[97,150],[98,151],[94,152],[95,153],[92,154],[93,153],[96,155],[90,2],[91,156],[82,157],[83,158],[84,157],[89,159],[80,160],[81,2],[85,161],[86,160],[87,2],[88,158],[79,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.5.3"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contember/graphql-builder",
3
3
  "license": "Apache-2.0",
4
- "version": "2.0.0-alpha.6",
4
+ "version": "2.0.0-alpha.8",
5
5
  "main": "./dist/production/index.js",
6
6
  "exports": {
7
7
  ".": {
@@ -9,38 +9,31 @@
9
9
  "types": "./dist/types/index.d.ts",
10
10
  "development": "./dist/development/index.js",
11
11
  "production": "./dist/production/index.js",
12
+ "typescript": "./src/index.ts",
12
13
  "default": "./dist/production/index.js"
13
14
  },
14
15
  "require": {
15
16
  "types": "./dist/types/index.d.ts",
16
17
  "development": "./dist/development/index.cjs",
17
18
  "production": "./dist/production/index.cjs",
19
+ "typescript": "./src/index.ts",
18
20
  "default": "./dist/production/index.cjs"
19
21
  }
20
22
  }
21
23
  },
22
- "files": [
23
- "dist/",
24
- "src/"
25
- ],
26
24
  "typings": "./dist/types/index.d.ts",
27
25
  "type": "module",
28
26
  "sideEffects": false,
29
27
  "scripts": {
30
- "build": "yarn build:js:dev && yarn build:js:prod",
31
- "build:js:dev": "NODE_ENV=development vite build --mode development",
32
- "build:js:prod": "vite build --mode production",
33
28
  "ae:build": "api-extractor run --local",
34
- "ae:test": "api-extractor run",
35
- "test": "vitest"
29
+ "ae:test": "api-extractor run"
36
30
  },
37
31
  "dependencies": {
38
- "@contember/schema": "^1.3.7"
32
+ "@contember/schema": "2.0.0-alpha.8"
39
33
  },
40
34
  "repository": {
41
35
  "type": "git",
42
36
  "url": "https://github.com/contember/interface.git",
43
37
  "directory": "packages/graphql-builder"
44
- },
45
- "stableVersion": "0.0.0"
38
+ }
46
39
  }
package/src/tsconfig.json CHANGED
@@ -2,5 +2,10 @@
2
2
  "extends": "../../../tsconfig.settings.json",
3
3
  "compilerOptions": {
4
4
  "outDir": "../dist/types"
5
- }
5
+ },
6
+ "references": [
7
+ {
8
+ "path": "../../schema/src"
9
+ }
10
+ ]
6
11
  }
@@ -0,0 +1,49 @@
1
+ import { describe, expect, test } from 'vitest'
2
+ import { GraphQlField, GraphQlQueryPrinter } from '../../../src'
3
+
4
+ describe('builder', () => {
5
+
6
+ test('fetch field', async () => {
7
+ const printer = new GraphQlQueryPrinter()
8
+ const result = printer.printDocument('query', [
9
+ new GraphQlField(null, 'test', {}),
10
+ ], {})
11
+ expect(result).toMatchInlineSnapshot(`
12
+ {
13
+ "query": "query {
14
+ test
15
+ }
16
+ ",
17
+ "variables": {},
18
+ }
19
+ `)
20
+ })
21
+
22
+ test('variable deduplication', async () => {
23
+ const printer = new GraphQlQueryPrinter()
24
+ const someValue = { foo: 'bar' }
25
+ const result = printer.printDocument('query', [
26
+ new GraphQlField('b', 'test', {
27
+ variable: { graphQlType: 'Json', value: someValue },
28
+ }),
29
+ new GraphQlField('a', 'test', {
30
+ variable: { graphQlType: 'Json', value: someValue },
31
+ }),
32
+ ], {})
33
+ expect(result).toMatchInlineSnapshot(`
34
+ {
35
+ "query": "query($Json_0: Json) {
36
+ b: test(variable: $Json_0)
37
+ a: test(variable: $Json_0)
38
+ }
39
+ ",
40
+ "variables": {
41
+ "Json_0": {
42
+ "foo": "bar",
43
+ },
44
+ },
45
+ }
46
+ `)
47
+
48
+ })
49
+ })
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "../../../tsconfig.settings.json",
3
+ "compilerOptions": {
4
+ "noEmit": true,
5
+ "emitDeclarationOnly": false
6
+ },
7
+ "references": [
8
+ { "path": "../src" }
9
+ ]
10
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "files": [],
3
+ "include": [],
4
+ "references": [
5
+ { "path": "./src" },
6
+ { "path": "./tests" }
7
+ ]
8
+ }
package/tsdoc.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
3
+ "extends": [
4
+ "../../tsdoc.json"
5
+ ]
6
+ }
@@ -0,0 +1,3 @@
1
+ import { defineProject } from 'vitest/config'
2
+
3
+ export default defineProject({})
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlQueryPrinter.cjs","sources":["../../src/GraphQlQueryPrinter.ts"],"sourcesContent":["import { JSONValue } from '@contember/schema'\nimport { GraphQlField, GraphQlFragment, GraphQlFragmentSpread, GraphQlInlineFragment, GraphQlSelectionSet } from './nodes'\n\nexport type GraphQlPrintResult = { query: string; variables: Record<string, JSONValue> }\n\nexport class GraphQlQueryPrinter {\n\tprivate indentString = '\\t'\n\n\tprivate variableCounter = 0\n\tprivate variables: Record<string, {\n\t\ttype: string\n\t\tvalue: JSONValue\n\t}> = {}\n\n\tprivate variableValueToName: Record<string, Map<JSONValue, string>> = {}\n\n\tprivate usedFragments = new Set<string>()\n\n\tprivate body = ''\n\n\n\tpublic printDocument(\n\t\toperation: 'query' | 'mutation',\n\t\tselect: GraphQlSelectionSet,\n\t\tfragments: Record<string, GraphQlFragment>,\n\t): GraphQlPrintResult {\n\t\tthis.cleanState()\n\t\tthis.processSelectionSet(select, 1)\n\t\tconst body = this.body\n\t\tthis.body = ''\n\t\tthis.processUsedFragments(fragments)\n\t\tconst fragmentsStr = this.body\n\t\tconst variablesString = this.printVariables()\n\t\tconst query = `${operation}${variablesString} {\\n${body}}${fragmentsStr}\\n`\n\t\treturn {\n\t\t\tquery: query,\n\t\t\tvariables: Object.fromEntries(Object.entries(this.variables).map(([key, value]) => [key, value.value])),\n\t\t}\n\t}\n\n\n\tprivate processUsedFragments(fragments: Record<string, GraphQlFragment>): void {\n\t\tconst printed = new Set()\n\t\twhile (this.usedFragments.size > 0) {\n\t\t\tconst fragmentName = this.usedFragments.values().next().value\n\t\t\tthis.usedFragments.delete(fragmentName)\n\t\t\tif (printed.has(fragmentName)) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tprinted.add(fragmentName)\n\t\t\tif (!fragments[fragmentName]) {\n\t\t\t\tthrow new Error(`Unknown fragment ${fragmentName}`)\n\t\t\t}\n\t\t\tthis.processFragment(fragments[fragmentName])\n\t\t}\n\t}\n\n\tprivate processFragment(fragment: GraphQlFragment): void {\n\t\tthis.body += `\\nfragment ${fragment.name} on ${fragment.type} {\\n`\n\t\tthis.processSelectionSet(fragment.selectionSet, 1)\n\t\tthis.body += '}'\n\t}\n\n\tprivate printVariables(): string {\n\t\tlet variablesString = ''\n\t\tlet i = 0\n\t\tfor (const [variableName, variable] of Object.entries(this.variables)) {\n\t\t\tif (i++ === 0) {\n\t\t\t\tvariablesString += '('\n\t\t\t} else {\n\t\t\t\tvariablesString += ', '\n\t\t\t}\n\t\t\tvariablesString += `$${variableName}: ${variable.type}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tvariablesString += ')'\n\t\t}\n\t\treturn variablesString\n\t}\n\n\tprivate processSelectionSet(selectionSet: GraphQlSelectionSet, indent: number): void {\n\t\tfor (const node of selectionSet) {\n\t\t\tif (node instanceof GraphQlField) {\n\t\t\t\tthis.processField(node, indent)\n\t\t\t} else if (node instanceof GraphQlFragmentSpread) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... ' + node.name + '\\n'\n\t\t\t\tthis.usedFragments.add(node.name)\n\t\t\t} else if (node instanceof GraphQlInlineFragment) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... on ' + node.type + ' {\\n'\n\t\t\t\tthis.processSelectionSet(node.selectionSet, indent + 1)\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '}\\n'\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate processField(field: GraphQlField, indent: number): void {\n\t\tconst indentString = this.indentString.repeat(indent)\n\t\tthis.body += indentString + (field.alias && field.alias !== field.name ? (field.alias + ': ' + field.name) : field.name)\n\t\tlet i = 0\n\t\tfor (const [argName, arg] of Object.entries(field.args)) {\n\t\t\tif (arg.value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst variableName = this.resolveVariableName(arg.graphQlType, arg.value)\n\t\t\tif (i++ === 0) {\n\t\t\t\tthis.body += '('\n\t\t\t} else {\n\t\t\t\tthis.body += ', '\n\t\t\t}\n\t\t\tthis.body += `${argName}: $${variableName}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tthis.body += ')'\n\t\t}\n\t\tif (field.selectionSet) {\n\t\t\tthis.body += ' {\\n'\n\t\t\tthis.processSelectionSet(field.selectionSet, indent + 1)\n\t\t\tthis.body += this.indentString.repeat(indent) + '}'\n\t\t}\n\t\tthis.body += '\\n'\n\t}\n\n\tprivate resolveVariableName(graphQlType: string, value: JSONValue): string {\n\t\tconst variableName = this.variableValueToName[graphQlType]?.get(value)\n\t\tif (variableName) {\n\t\t\treturn variableName\n\t\t}\n\t\tconst newVariableName = `${graphQlType.replace(/[\\W]/g, '')}_${this.variableCounter++}`\n\t\tthis.variables[newVariableName] = {\n\t\t\ttype: graphQlType,\n\t\t\tvalue: value,\n\t\t}\n\t\tif (!this.variableValueToName[graphQlType]) {\n\t\t\tthis.variableValueToName[graphQlType] = new Map()\n\t\t}\n\t\tthis.variableValueToName[graphQlType].set(value, newVariableName)\n\t\treturn newVariableName\n\t}\n\n\tprivate cleanState(): void {\n\t\tthis.body = ''\n\t\tthis.variableCounter = 0\n\t\tthis.variables = {}\n\t\tthis.usedFragments = new Set<string>()\n\t}\n}\n"],"names":["GraphQlField","GraphQlFragmentSpread","GraphQlInlineFragment"],"mappings":";;;;;;;;;;;AAKO,MAAM,oBAAoB;AAAA,EAA1B;AACE,wCAAe;AAEf,2CAAkB;AAClB,qCAGH,CAAA;AAEG,+CAA8D,CAAA;AAE9D,6DAAoB;AAEpB,gCAAO;AAAA;AAAA,EAGR,cACN,WACA,QACA,WACqB;AACrB,SAAK,WAAW;AACX,SAAA,oBAAoB,QAAQ,CAAC;AAClC,UAAM,OAAO,KAAK;AAClB,SAAK,OAAO;AACZ,SAAK,qBAAqB,SAAS;AACnC,UAAM,eAAe,KAAK;AACpB,UAAA,kBAAkB,KAAK;AAC7B,UAAM,QAAQ,GAAG,SAAS,GAAG,eAAe;AAAA,EAAO,IAAI,IAAI,YAAY;AAAA;AAChE,WAAA;AAAA,MACN;AAAA,MACA,WAAW,OAAO,YAAY,OAAO,QAAQ,KAAK,SAAS,EAAE,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,MAAM,KAAK,CAAC,CAAC;AAAA,IAAA;AAAA,EAExG;AAAA,EAGQ,qBAA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,WAAW,IAAI,oBAAI,IAAI;AAAA,IACjD;AACA,SAAK,oBAAoB,WAAW,EAAE,IAAI,OAAO,eAAe;AACzD,WAAA;AAAA,EACR;AAAA,EAEQ,aAAmB;AAC1B,SAAK,OAAO;AACZ,SAAK,kBAAkB;AACvB,SAAK,YAAY;AACZ,SAAA,oCAAoB;EAC1B;AACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlQueryPrinter.js","sources":["../../src/GraphQlQueryPrinter.ts"],"sourcesContent":["import { JSONValue } from '@contember/schema'\nimport { GraphQlField, GraphQlFragment, GraphQlFragmentSpread, GraphQlInlineFragment, GraphQlSelectionSet } from './nodes'\n\nexport type GraphQlPrintResult = { query: string; variables: Record<string, JSONValue> }\n\nexport class GraphQlQueryPrinter {\n\tprivate indentString = '\\t'\n\n\tprivate variableCounter = 0\n\tprivate variables: Record<string, {\n\t\ttype: string\n\t\tvalue: JSONValue\n\t}> = {}\n\n\tprivate variableValueToName: Record<string, Map<JSONValue, string>> = {}\n\n\tprivate usedFragments = new Set<string>()\n\n\tprivate body = ''\n\n\n\tpublic printDocument(\n\t\toperation: 'query' | 'mutation',\n\t\tselect: GraphQlSelectionSet,\n\t\tfragments: Record<string, GraphQlFragment>,\n\t): GraphQlPrintResult {\n\t\tthis.cleanState()\n\t\tthis.processSelectionSet(select, 1)\n\t\tconst body = this.body\n\t\tthis.body = ''\n\t\tthis.processUsedFragments(fragments)\n\t\tconst fragmentsStr = this.body\n\t\tconst variablesString = this.printVariables()\n\t\tconst query = `${operation}${variablesString} {\\n${body}}${fragmentsStr}\\n`\n\t\treturn {\n\t\t\tquery: query,\n\t\t\tvariables: Object.fromEntries(Object.entries(this.variables).map(([key, value]) => [key, value.value])),\n\t\t}\n\t}\n\n\n\tprivate processUsedFragments(fragments: Record<string, GraphQlFragment>): void {\n\t\tconst printed = new Set()\n\t\twhile (this.usedFragments.size > 0) {\n\t\t\tconst fragmentName = this.usedFragments.values().next().value\n\t\t\tthis.usedFragments.delete(fragmentName)\n\t\t\tif (printed.has(fragmentName)) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tprinted.add(fragmentName)\n\t\t\tif (!fragments[fragmentName]) {\n\t\t\t\tthrow new Error(`Unknown fragment ${fragmentName}`)\n\t\t\t}\n\t\t\tthis.processFragment(fragments[fragmentName])\n\t\t}\n\t}\n\n\tprivate processFragment(fragment: GraphQlFragment): void {\n\t\tthis.body += `\\nfragment ${fragment.name} on ${fragment.type} {\\n`\n\t\tthis.processSelectionSet(fragment.selectionSet, 1)\n\t\tthis.body += '}'\n\t}\n\n\tprivate printVariables(): string {\n\t\tlet variablesString = ''\n\t\tlet i = 0\n\t\tfor (const [variableName, variable] of Object.entries(this.variables)) {\n\t\t\tif (i++ === 0) {\n\t\t\t\tvariablesString += '('\n\t\t\t} else {\n\t\t\t\tvariablesString += ', '\n\t\t\t}\n\t\t\tvariablesString += `$${variableName}: ${variable.type}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tvariablesString += ')'\n\t\t}\n\t\treturn variablesString\n\t}\n\n\tprivate processSelectionSet(selectionSet: GraphQlSelectionSet, indent: number): void {\n\t\tfor (const node of selectionSet) {\n\t\t\tif (node instanceof GraphQlField) {\n\t\t\t\tthis.processField(node, indent)\n\t\t\t} else if (node instanceof GraphQlFragmentSpread) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... ' + node.name + '\\n'\n\t\t\t\tthis.usedFragments.add(node.name)\n\t\t\t} else if (node instanceof GraphQlInlineFragment) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... on ' + node.type + ' {\\n'\n\t\t\t\tthis.processSelectionSet(node.selectionSet, indent + 1)\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '}\\n'\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate processField(field: GraphQlField, indent: number): void {\n\t\tconst indentString = this.indentString.repeat(indent)\n\t\tthis.body += indentString + (field.alias && field.alias !== field.name ? (field.alias + ': ' + field.name) : field.name)\n\t\tlet i = 0\n\t\tfor (const [argName, arg] of Object.entries(field.args)) {\n\t\t\tif (arg.value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst variableName = this.resolveVariableName(arg.graphQlType, arg.value)\n\t\t\tif (i++ === 0) {\n\t\t\t\tthis.body += '('\n\t\t\t} else {\n\t\t\t\tthis.body += ', '\n\t\t\t}\n\t\t\tthis.body += `${argName}: $${variableName}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tthis.body += ')'\n\t\t}\n\t\tif (field.selectionSet) {\n\t\t\tthis.body += ' {\\n'\n\t\t\tthis.processSelectionSet(field.selectionSet, indent + 1)\n\t\t\tthis.body += this.indentString.repeat(indent) + '}'\n\t\t}\n\t\tthis.body += '\\n'\n\t}\n\n\tprivate resolveVariableName(graphQlType: string, value: JSONValue): string {\n\t\tconst variableName = this.variableValueToName[graphQlType]?.get(value)\n\t\tif (variableName) {\n\t\t\treturn variableName\n\t\t}\n\t\tconst newVariableName = `${graphQlType.replace(/[\\W]/g, '')}_${this.variableCounter++}`\n\t\tthis.variables[newVariableName] = {\n\t\t\ttype: graphQlType,\n\t\t\tvalue: value,\n\t\t}\n\t\tif (!this.variableValueToName[graphQlType]) {\n\t\t\tthis.variableValueToName[graphQlType] = new Map()\n\t\t}\n\t\tthis.variableValueToName[graphQlType].set(value, newVariableName)\n\t\treturn newVariableName\n\t}\n\n\tprivate cleanState(): void {\n\t\tthis.body = ''\n\t\tthis.variableCounter = 0\n\t\tthis.variables = {}\n\t\tthis.usedFragments = new Set<string>()\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;AAKO,MAAM,oBAAoB;AAAA,EAA1B;AACE,wCAAe;AAEf,2CAAkB;AAClB,qCAGH,CAAA;AAEG,+CAA8D,CAAA;AAE9D,6DAAoB;AAEpB,gCAAO;AAAA;AAAA,EAGR,cACN,WACA,QACA,WACqB;AACrB,SAAK,WAAW;AACX,SAAA,oBAAoB,QAAQ,CAAC;AAClC,UAAM,OAAO,KAAK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QAAQ;AAAA,EACd;AAAA,EAEQ,oBAAoB,aAAqB,OAA0B;AAC1E,UAAM,eAAe,KAAK,oBAAoB,WAAW,GAAG,IAAI,KAAK;AACrE,QAAI,cAAc;AACV,aAAA;AAAA,IACR;AACM,UAAA,kBAAkB,GAAG,YAAY,QAAQ,SAAS,EAAE,CAAC,IAAI,KAAK,iBAAiB;AAChF,SAAA,UAAU,eAAe,IAAI;AAAA,MACjC,MAAM;AAAA,MACN;AAAA,IAAA;AAED,QAAI,CAAC,KAAK,oBAAoB,WAAW,GAAG;AAC3C,WAAK,oBAAoB,WAAW,IAAI,oBAAI,IAAI;AAAA,IACjD;AACA,SAAK,oBAAoB,WAAW,EAAE,IAAI,OAAO,eAAe;AACzD,WAAA;AAAA,EACR;AAAA,EAEQ,aAAmB;AAC1B,SAAK,OAAO;AACZ,SAAK,kBAAkB;AACvB,SAAK,YAAY;AACZ,SAAA,oCAAoB;EAC1B;AACD;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlField.cjs","sources":["../../../src/nodes/GraphQlField.ts"],"sourcesContent":["import { GraphQlFragmentSpread } from './GraphQlFragmentSpread'\nimport { GraphQlInlineFragment } from './GraphQlInlineFragment'\nimport { JSONValue } from '@contember/schema'\n\nexport class GraphQlField {\n\tconstructor(\n\t\tpublic readonly alias: string | null,\n\t\tpublic readonly name: string,\n\t\tpublic readonly args: GraphQlFieldTypedArgs = {},\n\t\tpublic readonly selectionSet?: GraphQlSelectionSet,\n\t) {\n\t}\n}\n\nexport type GraphQlFieldTypedArgs = Record<string, {\n\tgraphQlType: string\n\tvalue?: JSONValue\n}>\n\nexport type GraphQlSelectionSetItem = GraphQlField | GraphQlFragmentSpread | GraphQlInlineFragment\n\nexport type GraphQlSelectionSet = GraphQlSelectionSetItem[]\n"],"names":[],"mappings":";;AAIO,MAAM,aAAa;AAAA,EACzB,YACiB,OACA,MACA,OAA8B,CAAA,GAC9B,cACf;AAJe,SAAA,QAAA;AACA,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlField.js","sources":["../../../src/nodes/GraphQlField.ts"],"sourcesContent":["import { GraphQlFragmentSpread } from './GraphQlFragmentSpread'\nimport { GraphQlInlineFragment } from './GraphQlInlineFragment'\nimport { JSONValue } from '@contember/schema'\n\nexport class GraphQlField {\n\tconstructor(\n\t\tpublic readonly alias: string | null,\n\t\tpublic readonly name: string,\n\t\tpublic readonly args: GraphQlFieldTypedArgs = {},\n\t\tpublic readonly selectionSet?: GraphQlSelectionSet,\n\t) {\n\t}\n}\n\nexport type GraphQlFieldTypedArgs = Record<string, {\n\tgraphQlType: string\n\tvalue?: JSONValue\n}>\n\nexport type GraphQlSelectionSetItem = GraphQlField | GraphQlFragmentSpread | GraphQlInlineFragment\n\nexport type GraphQlSelectionSet = GraphQlSelectionSetItem[]\n"],"names":[],"mappings":"AAIO,MAAM,aAAa;AAAA,EACzB,YACiB,OACA,MACA,OAA8B,CAAA,GAC9B,cACf;AAJe,SAAA,QAAA;AACA,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlFragment.cjs","sources":["../../../src/nodes/GraphQlFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlFragment {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAEO,MAAM,gBAAgB;AAAA,EAC5B,YACiB,MACA,MACA,cACf;AAHe,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlFragment.js","sources":["../../../src/nodes/GraphQlFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlFragment {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAEO,MAAM,gBAAgB;AAAA,EAC5B,YACiB,MACA,MACA,cACf;AAHe,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlFragmentSpread.cjs","sources":["../../../src/nodes/GraphQlFragmentSpread.ts"],"sourcesContent":["export class GraphQlFragmentSpread {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAAO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACf;AADe,SAAA,OAAA;AAAA,EAEjB;AACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlFragmentSpread.js","sources":["../../../src/nodes/GraphQlFragmentSpread.ts"],"sourcesContent":["export class GraphQlFragmentSpread {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAAO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACf;AADe,SAAA,OAAA;AAAA,EAEjB;AACD;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlInlineFragment.cjs","sources":["../../../src/nodes/GraphQlInlineFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlInlineFragment {\n\tconstructor(\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAEO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACA,cACf;AAFe,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlInlineFragment.js","sources":["../../../src/nodes/GraphQlInlineFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlInlineFragment {\n\tconstructor(\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAEO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACA,cACf;AAFe,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlQueryPrinter.cjs","sources":["../../src/GraphQlQueryPrinter.ts"],"sourcesContent":["import { JSONValue } from '@contember/schema'\nimport { GraphQlField, GraphQlFragment, GraphQlFragmentSpread, GraphQlInlineFragment, GraphQlSelectionSet } from './nodes'\n\nexport type GraphQlPrintResult = { query: string; variables: Record<string, JSONValue> }\n\nexport class GraphQlQueryPrinter {\n\tprivate indentString = '\\t'\n\n\tprivate variableCounter = 0\n\tprivate variables: Record<string, {\n\t\ttype: string\n\t\tvalue: JSONValue\n\t}> = {}\n\n\tprivate variableValueToName: Record<string, Map<JSONValue, string>> = {}\n\n\tprivate usedFragments = new Set<string>()\n\n\tprivate body = ''\n\n\n\tpublic printDocument(\n\t\toperation: 'query' | 'mutation',\n\t\tselect: GraphQlSelectionSet,\n\t\tfragments: Record<string, GraphQlFragment>,\n\t): GraphQlPrintResult {\n\t\tthis.cleanState()\n\t\tthis.processSelectionSet(select, 1)\n\t\tconst body = this.body\n\t\tthis.body = ''\n\t\tthis.processUsedFragments(fragments)\n\t\tconst fragmentsStr = this.body\n\t\tconst variablesString = this.printVariables()\n\t\tconst query = `${operation}${variablesString} {\\n${body}}${fragmentsStr}\\n`\n\t\treturn {\n\t\t\tquery: query,\n\t\t\tvariables: Object.fromEntries(Object.entries(this.variables).map(([key, value]) => [key, value.value])),\n\t\t}\n\t}\n\n\n\tprivate processUsedFragments(fragments: Record<string, GraphQlFragment>): void {\n\t\tconst printed = new Set()\n\t\twhile (this.usedFragments.size > 0) {\n\t\t\tconst fragmentName = this.usedFragments.values().next().value\n\t\t\tthis.usedFragments.delete(fragmentName)\n\t\t\tif (printed.has(fragmentName)) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tprinted.add(fragmentName)\n\t\t\tif (!fragments[fragmentName]) {\n\t\t\t\tthrow new Error(`Unknown fragment ${fragmentName}`)\n\t\t\t}\n\t\t\tthis.processFragment(fragments[fragmentName])\n\t\t}\n\t}\n\n\tprivate processFragment(fragment: GraphQlFragment): void {\n\t\tthis.body += `\\nfragment ${fragment.name} on ${fragment.type} {\\n`\n\t\tthis.processSelectionSet(fragment.selectionSet, 1)\n\t\tthis.body += '}'\n\t}\n\n\tprivate printVariables(): string {\n\t\tlet variablesString = ''\n\t\tlet i = 0\n\t\tfor (const [variableName, variable] of Object.entries(this.variables)) {\n\t\t\tif (i++ === 0) {\n\t\t\t\tvariablesString += '('\n\t\t\t} else {\n\t\t\t\tvariablesString += ', '\n\t\t\t}\n\t\t\tvariablesString += `$${variableName}: ${variable.type}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tvariablesString += ')'\n\t\t}\n\t\treturn variablesString\n\t}\n\n\tprivate processSelectionSet(selectionSet: GraphQlSelectionSet, indent: number): void {\n\t\tfor (const node of selectionSet) {\n\t\t\tif (node instanceof GraphQlField) {\n\t\t\t\tthis.processField(node, indent)\n\t\t\t} else if (node instanceof GraphQlFragmentSpread) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... ' + node.name + '\\n'\n\t\t\t\tthis.usedFragments.add(node.name)\n\t\t\t} else if (node instanceof GraphQlInlineFragment) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... on ' + node.type + ' {\\n'\n\t\t\t\tthis.processSelectionSet(node.selectionSet, indent + 1)\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '}\\n'\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate processField(field: GraphQlField, indent: number): void {\n\t\tconst indentString = this.indentString.repeat(indent)\n\t\tthis.body += indentString + (field.alias && field.alias !== field.name ? (field.alias + ': ' + field.name) : field.name)\n\t\tlet i = 0\n\t\tfor (const [argName, arg] of Object.entries(field.args)) {\n\t\t\tif (arg.value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst variableName = this.resolveVariableName(arg.graphQlType, arg.value)\n\t\t\tif (i++ === 0) {\n\t\t\t\tthis.body += '('\n\t\t\t} else {\n\t\t\t\tthis.body += ', '\n\t\t\t}\n\t\t\tthis.body += `${argName}: $${variableName}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tthis.body += ')'\n\t\t}\n\t\tif (field.selectionSet) {\n\t\t\tthis.body += ' {\\n'\n\t\t\tthis.processSelectionSet(field.selectionSet, indent + 1)\n\t\t\tthis.body += this.indentString.repeat(indent) + '}'\n\t\t}\n\t\tthis.body += '\\n'\n\t}\n\n\tprivate resolveVariableName(graphQlType: string, value: JSONValue): string {\n\t\tconst variableName = this.variableValueToName[graphQlType]?.get(value)\n\t\tif (variableName) {\n\t\t\treturn variableName\n\t\t}\n\t\tconst newVariableName = `${graphQlType.replace(/[\\W]/g, '')}_${this.variableCounter++}`\n\t\tthis.variables[newVariableName] = {\n\t\t\ttype: graphQlType,\n\t\t\tvalue: value,\n\t\t}\n\t\tif (!this.variableValueToName[graphQlType]) {\n\t\t\tthis.variableValueToName[graphQlType] = new Map()\n\t\t}\n\t\tthis.variableValueToName[graphQlType].set(value, newVariableName)\n\t\treturn newVariableName\n\t}\n\n\tprivate cleanState(): void {\n\t\tthis.body = ''\n\t\tthis.variableCounter = 0\n\t\tthis.variables = {}\n\t\tthis.usedFragments = new Set<string>()\n\t}\n}\n"],"names":["GraphQlField","GraphQlFragmentSpread","GraphQlInlineFragment"],"mappings":";;;;;;;;;;;AAKO,MAAM,oBAAoB;AAAA,EAA1B;AACE,wCAAe;AAEf,2CAAkB;AAClB,qCAGH,CAAA;AAEG,+CAA8D,CAAA;AAE9D,6DAAoB;AAEpB,gCAAO;AA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AQ;AACb,WAAK,oBAAoB,MAAM,cAAc,SAAS,CAAC;AACvD,WAAK,QAAQ,KAAK,aAAa,OAAO,MAAM,IAAI;AAAA,IACjD;AACA,SAAK,QAAQ;AAAA,EACd;AAAA,EAEQ,oBAAoB,aAAqB,OAA0B;AAC1E,UAAM,eAAe,KAAK,oBAAoB,WAAW,GAAG,IAAI,KAAK;AACrE,QAAI,cAAc;AACV,aAAA;AAAA,IACR;AACM,UAAA,kBAAkB,GAAG,YAAY,QAAQ,SAAS,EAAE,CAAC,IAAI,KAAK,iBAAiB;AAChF,SAAA,UAAU,eAAe,IAAI;AAAA,MACjC,MAAM;AAAA,MACN;AAAA,IAAA;AAED,QAAI,CAAC,KAAK,oBAAoB,WAAW,GAAG;AAC3C,WAAK,oBAAoB,WAAW,IAAI,oBAAI,IAAI;AAAA,IACjD;AACA,SAAK,oBAAoB,WAAW,EAAE,IAAI,OAAO,eAAe;AACzD,WAAA;AAAA,EACR;AAAA,EAEQ,aAAmB;AAC1B,SAAK,OAAO;AACZ,SAAK,kBAAkB;AACvB,SAAK,YAAY;AACZ,SAAA,oCAAoB;EAC1B;AACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlQueryPrinter.js","sources":["../../src/GraphQlQueryPrinter.ts"],"sourcesContent":["import { JSONValue } from '@contember/schema'\nimport { GraphQlField, GraphQlFragment, GraphQlFragmentSpread, GraphQlInlineFragment, GraphQlSelectionSet } from './nodes'\n\nexport type GraphQlPrintResult = { query: string; variables: Record<string, JSONValue> }\n\nexport class GraphQlQueryPrinter {\n\tprivate indentString = '\\t'\n\n\tprivate variableCounter = 0\n\tprivate variables: Record<string, {\n\t\ttype: string\n\t\tvalue: JSONValue\n\t}> = {}\n\n\tprivate variableValueToName: Record<string, Map<JSONValue, string>> = {}\n\n\tprivate usedFragments = new Set<string>()\n\n\tprivate body = ''\n\n\n\tpublic printDocument(\n\t\toperation: 'query' | 'mutation',\n\t\tselect: GraphQlSelectionSet,\n\t\tfragments: Record<string, GraphQlFragment>,\n\t): GraphQlPrintResult {\n\t\tthis.cleanState()\n\t\tthis.processSelectionSet(select, 1)\n\t\tconst body = this.body\n\t\tthis.body = ''\n\t\tthis.processUsedFragments(fragments)\n\t\tconst fragmentsStr = this.body\n\t\tconst variablesString = this.printVariables()\n\t\tconst query = `${operation}${variablesString} {\\n${body}}${fragmentsStr}\\n`\n\t\treturn {\n\t\t\tquery: query,\n\t\t\tvariables: Object.fromEntries(Object.entries(this.variables).map(([key, value]) => [key, value.value])),\n\t\t}\n\t}\n\n\n\tprivate processUsedFragments(fragments: Record<string, GraphQlFragment>): void {\n\t\tconst printed = new Set()\n\t\twhile (this.usedFragments.size > 0) {\n\t\t\tconst fragmentName = this.usedFragments.values().next().value\n\t\t\tthis.usedFragments.delete(fragmentName)\n\t\t\tif (printed.has(fragmentName)) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tprinted.add(fragmentName)\n\t\t\tif (!fragments[fragmentName]) {\n\t\t\t\tthrow new Error(`Unknown fragment ${fragmentName}`)\n\t\t\t}\n\t\t\tthis.processFragment(fragments[fragmentName])\n\t\t}\n\t}\n\n\tprivate processFragment(fragment: GraphQlFragment): void {\n\t\tthis.body += `\\nfragment ${fragment.name} on ${fragment.type} {\\n`\n\t\tthis.processSelectionSet(fragment.selectionSet, 1)\n\t\tthis.body += '}'\n\t}\n\n\tprivate printVariables(): string {\n\t\tlet variablesString = ''\n\t\tlet i = 0\n\t\tfor (const [variableName, variable] of Object.entries(this.variables)) {\n\t\t\tif (i++ === 0) {\n\t\t\t\tvariablesString += '('\n\t\t\t} else {\n\t\t\t\tvariablesString += ', '\n\t\t\t}\n\t\t\tvariablesString += `$${variableName}: ${variable.type}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tvariablesString += ')'\n\t\t}\n\t\treturn variablesString\n\t}\n\n\tprivate processSelectionSet(selectionSet: GraphQlSelectionSet, indent: number): void {\n\t\tfor (const node of selectionSet) {\n\t\t\tif (node instanceof GraphQlField) {\n\t\t\t\tthis.processField(node, indent)\n\t\t\t} else if (node instanceof GraphQlFragmentSpread) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... ' + node.name + '\\n'\n\t\t\t\tthis.usedFragments.add(node.name)\n\t\t\t} else if (node instanceof GraphQlInlineFragment) {\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '... on ' + node.type + ' {\\n'\n\t\t\t\tthis.processSelectionSet(node.selectionSet, indent + 1)\n\t\t\t\tthis.body += this.indentString.repeat(indent) + '}\\n'\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate processField(field: GraphQlField, indent: number): void {\n\t\tconst indentString = this.indentString.repeat(indent)\n\t\tthis.body += indentString + (field.alias && field.alias !== field.name ? (field.alias + ': ' + field.name) : field.name)\n\t\tlet i = 0\n\t\tfor (const [argName, arg] of Object.entries(field.args)) {\n\t\t\tif (arg.value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst variableName = this.resolveVariableName(arg.graphQlType, arg.value)\n\t\t\tif (i++ === 0) {\n\t\t\t\tthis.body += '('\n\t\t\t} else {\n\t\t\t\tthis.body += ', '\n\t\t\t}\n\t\t\tthis.body += `${argName}: $${variableName}`\n\t\t}\n\t\tif (i > 0) {\n\t\t\tthis.body += ')'\n\t\t}\n\t\tif (field.selectionSet) {\n\t\t\tthis.body += ' {\\n'\n\t\t\tthis.processSelectionSet(field.selectionSet, indent + 1)\n\t\t\tthis.body += this.indentString.repeat(indent) + '}'\n\t\t}\n\t\tthis.body += '\\n'\n\t}\n\n\tprivate resolveVariableName(graphQlType: string, value: JSONValue): string {\n\t\tconst variableName = this.variableValueToName[graphQlType]?.get(value)\n\t\tif (variableName) {\n\t\t\treturn variableName\n\t\t}\n\t\tconst newVariableName = `${graphQlType.replace(/[\\W]/g, '')}_${this.variableCounter++}`\n\t\tthis.variables[newVariableName] = {\n\t\t\ttype: graphQlType,\n\t\t\tvalue: value,\n\t\t}\n\t\tif (!this.variableValueToName[graphQlType]) {\n\t\t\tthis.variableValueToName[graphQlType] = new Map()\n\t\t}\n\t\tthis.variableValueToName[graphQlType].set(value, newVariableName)\n\t\treturn newVariableName\n\t}\n\n\tprivate cleanState(): void {\n\t\tthis.body = ''\n\t\tthis.variableCounter = 0\n\t\tthis.variables = {}\n\t\tthis.usedFragments = new Set<string>()\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;AAKO,MAAM,oBAAoB;AAAA,EAA1B;AACE,wCAAe;AAEf,2CAAkB;AAClB,qCAGH,CAAA;AAEG,+CAA8D,CAAA;AAE9D,6DAAoB;AAEpB,gCAAO;AAAA;AAAA,EAGR,cACN,WACA,QACA,WACqB;AACrB,SAAK,WAAW;AACX,SAAA,oBAAoB,QAAQ,CAAC;AAClC,UAAM,OAAO,KAAK;AAClB,SAAK,OAAO;AACZ,SAAK,qBAAqB,SAAS;AACnC,UAAM,eAAe,KAAK;AACpB,UAAA,kBAAkB,KAAK;AAC7B,UAAM,QAAQ,GAAG,SAAS,GAAG,eAAe;AAAA,EAAO,IAAI,IAAI,YAAY;AAAA;AAChE,WAAA;AAAA,MACN;AAAA,MACA,WAAW,OAAO,YAAY,OAAO,QAAQ,KAAK,SAAS,EAAE,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,MAAM,KAAK,CAAC,CAAC;AAAA,IAAA;AAAA,EAExG;AAAA,EAGQ,qBAAqB,WAAkD;AACxE,UAAA,8BAAc;AACb,WAAA,KAAK,cAAc,OAAO,GAAG;AACnC,YAAM,eAAe,KAAK,cAAc,OAAO,EAAE,KAAO,EAAA;AACnD,WAAA,cAAc,OAAO,YAAY;AAClC,UAAA,QAAQ,IAAI,YAAY,GAAG;AAC9B;AAAA,MACD;AACA,cAAQ,IAAI,YAAY;AACpB,UAAA,CAAC,UAAU,YAAY,GAAG;AAC7B,cAAM,IAAI,MAAM,oBAAoB,YAAY,EAAE;AAAA,MACnD;AACK,WAAA,gBAAgB,UAAU,YAAY,CAAC;AAAA,IAC7C;A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,QAAQ,MAAM,IAAI,GAAG;AACpD,UAAA,IAAI,UAAU,QAAW;AAC5B;AAAA,MACD;AACA,YAAM,eAAe,KAAK,oBAAoB,IAAI,aAAa,IAAI,KAAK;AACxE,UAAI,QAAQ,GAAG;AACd,aAAK,QAAQ;AAAA,MAAA,OACP;AACN,aAAK,QAAQ;AAAA,MACd;AACA,WAAK,QAAQ,GAAG,OAAO,MAAM,YAAY;AAAA,IAC1C;AACA,QAAI,IAAI,GAAG;AACV,WAAK,QAAQ;AAAA,IACd;AACA,QAAI,MAAM,cAAc;AACvB,WAAK,QAAQ;AACb,WAAK,oBAAoB,MAAM,cAAc,SAAS,CAAC;AACvD,WAAK,QAAQ,KAAK,aAAa,OAAO,MAAM,IAAI;AAAA,IACjD;AACA,SAAK,QAAQ;AAAA,EACd;AAAA,EAEQ,oBAAoB,aAAqB,OAA0B;AAC1E,UAAM,eAAe,KAAK,oBAAoB,WAAW,GAAG,IAAI,KAAK;AACrE,QAAI,cAAc;AACV,aAAA;AAAA,IACR;AACM,UAAA,kBAAkB,GAAG,YAAY,QAAQ,SAAS,EAAE,CAAC,IAAI,KAAK,iBAAiB;AAChF,SAAA,UAAU,eAAe,IAAI;AAAA,MACjC,MAAM;AAAA,MACN;AAAA,IAAA;AAED,QAAI,CAAC,KAAK,oBAAoB,WAAW,GAAG;AAC3C,WAAK,oBAAoB,WAAW,IAAI,oBAAI,IAAI;AAAA,IACjD;AACA,SAAK,oBAAoB,WAAW,EAAE,IAAI,OAAO,eAAe;AACzD,WAAA;AAAA,EACR;AAAA,EAEQ,aAAmB;AAC1B,SAAK,OAAO;AACZ,SAAK,kBAAkB;AACvB,SAAK,YAAY;AACZ,SAAA,oCAAoB;EAC1B;AACD;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlField.cjs","sources":["../../../src/nodes/GraphQlField.ts"],"sourcesContent":["import { GraphQlFragmentSpread } from './GraphQlFragmentSpread'\nimport { GraphQlInlineFragment } from './GraphQlInlineFragment'\nimport { JSONValue } from '@contember/schema'\n\nexport class GraphQlField {\n\tconstructor(\n\t\tpublic readonly alias: string | null,\n\t\tpublic readonly name: string,\n\t\tpublic readonly args: GraphQlFieldTypedArgs = {},\n\t\tpublic readonly selectionSet?: GraphQlSelectionSet,\n\t) {\n\t}\n}\n\nexport type GraphQlFieldTypedArgs = Record<string, {\n\tgraphQlType: string\n\tvalue?: JSONValue\n}>\n\nexport type GraphQlSelectionSetItem = GraphQlField | GraphQlFragmentSpread | GraphQlInlineFragment\n\nexport type GraphQlSelectionSet = GraphQlSelectionSetItem[]\n"],"names":[],"mappings":";;AAIO,MAAM,aAAa;AAAA,EACzB,YACiB,OACA,MACA,OAA8B,CAAA,GAC9B,cACf;AAJe,SAAA,QAAA;AACA,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlField.js","sources":["../../../src/nodes/GraphQlField.ts"],"sourcesContent":["import { GraphQlFragmentSpread } from './GraphQlFragmentSpread'\nimport { GraphQlInlineFragment } from './GraphQlInlineFragment'\nimport { JSONValue } from '@contember/schema'\n\nexport class GraphQlField {\n\tconstructor(\n\t\tpublic readonly alias: string | null,\n\t\tpublic readonly name: string,\n\t\tpublic readonly args: GraphQlFieldTypedArgs = {},\n\t\tpublic readonly selectionSet?: GraphQlSelectionSet,\n\t) {\n\t}\n}\n\nexport type GraphQlFieldTypedArgs = Record<string, {\n\tgraphQlType: string\n\tvalue?: JSONValue\n}>\n\nexport type GraphQlSelectionSetItem = GraphQlField | GraphQlFragmentSpread | GraphQlInlineFragment\n\nexport type GraphQlSelectionSet = GraphQlSelectionSetItem[]\n"],"names":[],"mappings":"AAIO,MAAM,aAAa;AAAA,EACzB,YACiB,OACA,MACA,OAA8B,CAAA,GAC9B,cACf;AAJe,SAAA,QAAA;AACA,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlFragment.cjs","sources":["../../../src/nodes/GraphQlFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlFragment {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAEO,MAAM,gBAAgB;AAAA,EAC5B,YACiB,MACA,MACA,cACf;AAHe,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlFragment.js","sources":["../../../src/nodes/GraphQlFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlFragment {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAEO,MAAM,gBAAgB;AAAA,EAC5B,YACiB,MACA,MACA,cACf;AAHe,SAAA,OAAA;AACA,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlFragmentSpread.cjs","sources":["../../../src/nodes/GraphQlFragmentSpread.ts"],"sourcesContent":["export class GraphQlFragmentSpread {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAAO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACf;AADe,SAAA,OAAA;AAAA,EAEjB;AACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlFragmentSpread.js","sources":["../../../src/nodes/GraphQlFragmentSpread.ts"],"sourcesContent":["export class GraphQlFragmentSpread {\n\tconstructor(\n\t\tpublic readonly name: string,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAAO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACf;AADe,SAAA,OAAA;AAAA,EAEjB;AACD;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlInlineFragment.cjs","sources":["../../../src/nodes/GraphQlInlineFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlInlineFragment {\n\tconstructor(\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":";;AAEO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACA,cACf;AAFe,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphQlInlineFragment.js","sources":["../../../src/nodes/GraphQlInlineFragment.ts"],"sourcesContent":["import { GraphQlSelectionSet } from './GraphQlField'\n\nexport class GraphQlInlineFragment {\n\tconstructor(\n\t\tpublic readonly type: string,\n\t\tpublic readonly selectionSet: GraphQlSelectionSet,\n\t) {\n\t}\n}\n"],"names":[],"mappings":"AAEO,MAAM,sBAAsB;AAAA,EAClC,YACiB,MACA,cACf;AAFe,SAAA,OAAA;AACA,SAAA,eAAA;AAAA,EAEjB;AACD;"}