@graphitation/graphql-codegen-supermassive-typed-document-node-plugin 0.7.2 → 1.0.1

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.
package/.eslintcache CHANGED
@@ -1 +1 @@
1
- [{"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/index.ts":"1","/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/visitor.ts":"2"},{"size":2430,"mtime":1720027674189,"results":"3","hashOfConfig":"4"},{"size":6909,"mtime":1720027674189,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","suppressedMessages":"8","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1wpehpj",{"filePath":"9","messages":"10","suppressedMessages":"11","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/index.ts",[],[],"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/visitor.ts",[],[]]
1
+ [{"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/index.ts":"1","/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/utils/__tests__/print.test.ts":"2","/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/utils/block-string.ts":"3","/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/utils/print-string.ts":"4","/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/utils/print.ts":"5","/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/utils/types.ts":"6","/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/visitor.ts":"7"},{"size":2430,"mtime":1728892361361,"results":"8","hashOfConfig":"9"},{"size":4080,"mtime":1728892361361,"results":"10","hashOfConfig":"9"},{"size":2227,"mtime":1728892361361,"results":"11","hashOfConfig":"9"},{"size":1775,"mtime":1728892361361,"results":"12","hashOfConfig":"9"},{"size":9094,"mtime":1728892361361,"results":"13","hashOfConfig":"9"},{"size":2180,"mtime":1728892361361,"results":"14","hashOfConfig":"9"},{"size":7562,"mtime":1728892361361,"results":"15","hashOfConfig":"9"},{"filePath":"16","messages":"17","suppressedMessages":"18","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"jts1pj",{"filePath":"19","messages":"20","suppressedMessages":"21","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"22","messages":"23","suppressedMessages":"24","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"25","messages":"26","suppressedMessages":"27","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"28","messages":"29","suppressedMessages":"30","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"31","messages":"32","suppressedMessages":"33","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"34","messages":"35","suppressedMessages":"36","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/index.ts",[],[],"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/utils/__tests__/print.test.ts",[],[],"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/utils/block-string.ts",[],[],"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/utils/print-string.ts",[],["37"],"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/utils/print.ts",[],[],"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/utils/types.ts",["38","39"],[],"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-typed-document-node-plugin/src/visitor.ts",[],[],{"ruleId":"40","severity":2,"message":"41","line":14,"column":23,"nodeType":"42","messageId":"43","endLine":14,"endColumn":54,"suppressions":"44"},{"ruleId":"45","severity":1,"message":"46","line":26,"column":6,"nodeType":"47","messageId":"48","endLine":26,"endColumn":9,"suggestions":"49"},{"ruleId":"45","severity":1,"message":"46","line":58,"column":29,"nodeType":"47","messageId":"48","endLine":58,"endColumn":32,"suggestions":"50"},"no-control-regex","Unexpected control character(s) in regular expression: \\x00, \\x1f.","Literal","unexpected",["51"],"@typescript-eslint/no-explicit-any","Unexpected any. Specify a different type.","TSAnyKeyword","unexpectedAny",["52","53"],["54","55"],{"kind":"56","justification":"57"},{"messageId":"58","fix":"59","desc":"60"},{"messageId":"61","fix":"62","desc":"63"},{"messageId":"58","fix":"64","desc":"60"},{"messageId":"61","fix":"65","desc":"63"},"directive","","suggestUnknown",{"range":"66","text":"67"},"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct.","suggestNever",{"range":"66","text":"68"},"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of.",{"range":"69","text":"67"},{"range":"69","text":"68"},[990,993],"unknown","never",[2147,2150]]
package/CHANGELOG.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # Change Log - @graphitation/graphql-codegen-supermassive-typed-document-node-plugin
2
2
 
3
- This log was last generated on Wed, 03 Jul 2024 17:33:29 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 14 Oct 2024 07:58:19 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.0.1
8
+
9
+ Mon, 14 Oct 2024 07:58:19 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @graphitation/supermassive to v3.5.3
14
+
15
+ ## 1.0.0
16
+
17
+ Tue, 27 Aug 2024 09:02:07 GMT
18
+
19
+ ### Major changes
20
+
21
+ - supermassiveDocumentNodeOutputType config option renamed to astType and supports new mode "Lazy". "V3" renamed to "SupermassiveV3", "V2" and "BOTH" are no longer available (dsamsonov@microsoft.com)
22
+
7
23
  ## 0.7.2
8
24
 
9
- Wed, 03 Jul 2024 17:33:29 GMT
25
+ Wed, 03 Jul 2024 17:33:49 GMT
10
26
 
11
27
  ### Patches
12
28
 
package/NOTICE ADDED
@@ -0,0 +1,27 @@
1
+ NOTICES
2
+
3
+ This repository incorporates material as listed below or described in the code.
4
+
5
+ graphql-js
6
+
7
+ MIT License
8
+
9
+ Copyright (c) GraphQL Contributors
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Source: https://github.com/graphql/graphql-js/blob/16.x.x/src/language/blockString.ts
3
+ */
4
+ /**
5
+ * Print a block string in the indented block form by adding a leading and
6
+ * trailing blank line. However, if a block string starts with whitespace and is
7
+ * a single-line, adding a leading blank line would strip that whitespace.
8
+ *
9
+ * @internal
10
+ */
11
+ export declare function printBlockString(value: string, options?: {
12
+ minimize?: boolean;
13
+ }): string;
14
+ //# sourceMappingURL=block-string.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-string.d.ts","sourceRoot":"","sources":["../../src/utils/block-string.ts"],"names":[],"mappings":"AAAA;;GAEG;AAcH;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAC/B,MAAM,CA6CR"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var block_string_exports = {};
20
+ __export(block_string_exports, {
21
+ printBlockString: () => printBlockString
22
+ });
23
+ module.exports = __toCommonJS(block_string_exports);
24
+ function isWhiteSpace(code) {
25
+ return code === 9 || code === 32;
26
+ }
27
+ function printBlockString(value, options) {
28
+ const escapedValue = value.replace(/"""/g, '\\"""');
29
+ const lines = escapedValue.split(/\r\n|[\n\r]/g);
30
+ const isSingleLine = lines.length === 1;
31
+ const forceLeadingNewLine = lines.length > 1 && lines.slice(1).every((line) => line.length === 0 || isWhiteSpace(line.charCodeAt(0)));
32
+ const hasTrailingTripleQuotes = escapedValue.endsWith('\\"""');
33
+ const hasTrailingQuote = value.endsWith('"') && !hasTrailingTripleQuotes;
34
+ const hasTrailingSlash = value.endsWith("\\");
35
+ const forceTrailingNewline = hasTrailingQuote || hasTrailingSlash;
36
+ const printAsMultipleLines = !(options == null ? void 0 : options.minimize) && // add leading and trailing new lines only if it improves readability
37
+ (!isSingleLine || value.length > 70 || forceTrailingNewline || forceLeadingNewLine || hasTrailingTripleQuotes);
38
+ let result = "";
39
+ const skipLeadingNewLine = isSingleLine && isWhiteSpace(value.charCodeAt(0));
40
+ if (printAsMultipleLines && !skipLeadingNewLine || forceLeadingNewLine) {
41
+ result += "\n";
42
+ }
43
+ result += escapedValue;
44
+ if (printAsMultipleLines || forceTrailingNewline) {
45
+ result += "\n";
46
+ }
47
+ return '"""' + result + '"""';
48
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/block-string.ts"],
4
+ "sourcesContent": ["/**\n * Source: https://github.com/graphql/graphql-js/blob/16.x.x/src/language/blockString.ts\n */\n\n/**\n * ```\n * WhiteSpace ::\n * - \"Horizontal Tab (U+0009)\"\n * - \"Space (U+0020)\"\n * ```\n * @internal\n */\nfunction isWhiteSpace(code: number): boolean {\n return code === 0x0009 || code === 0x0020;\n}\n\n/**\n * Print a block string in the indented block form by adding a leading and\n * trailing blank line. However, if a block string starts with whitespace and is\n * a single-line, adding a leading blank line would strip that whitespace.\n *\n * @internal\n */\nexport function printBlockString(\n value: string,\n options?: { minimize?: boolean },\n): string {\n const escapedValue = value.replace(/\"\"\"/g, '\\\\\"\"\"');\n\n // Expand a block string's raw value into independent lines.\n const lines = escapedValue.split(/\\r\\n|[\\n\\r]/g);\n const isSingleLine = lines.length === 1;\n\n // If common indentation is found we can fix some of those cases by adding leading new line\n const forceLeadingNewLine =\n lines.length > 1 &&\n lines\n .slice(1)\n .every((line) => line.length === 0 || isWhiteSpace(line.charCodeAt(0)));\n\n // Trailing triple quotes just looks confusing but doesn't force trailing new line\n const hasTrailingTripleQuotes = escapedValue.endsWith('\\\\\"\"\"');\n\n // Trailing quote (single or double) or slash forces trailing new line\n const hasTrailingQuote = value.endsWith('\"') && !hasTrailingTripleQuotes;\n const hasTrailingSlash = value.endsWith(\"\\\\\");\n const forceTrailingNewline = hasTrailingQuote || hasTrailingSlash;\n\n const printAsMultipleLines =\n !options?.minimize &&\n // add leading and trailing new lines only if it improves readability\n (!isSingleLine ||\n value.length > 70 ||\n forceTrailingNewline ||\n forceLeadingNewLine ||\n hasTrailingTripleQuotes);\n\n let result = \"\";\n\n // Format a multi-line block quote to account for leading space.\n const skipLeadingNewLine = isSingleLine && isWhiteSpace(value.charCodeAt(0));\n if ((printAsMultipleLines && !skipLeadingNewLine) || forceLeadingNewLine) {\n result += \"\\n\";\n }\n\n result += escapedValue;\n if (printAsMultipleLines || forceTrailingNewline) {\n result += \"\\n\";\n }\n\n return '\"\"\"' + result + '\"\"\"';\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAYA,SAAS,aAAa,MAAuB;AAC3C,SAAO,SAAS,KAAU,SAAS;AACrC;AASO,SAAS,iBACd,OACA,SACQ;AACR,QAAM,eAAe,MAAM,QAAQ,QAAQ,OAAO;AAGlD,QAAM,QAAQ,aAAa,MAAM,cAAc;AAC/C,QAAM,eAAe,MAAM,WAAW;AAGtC,QAAM,sBACJ,MAAM,SAAS,KACf,MACG,MAAM,CAAC,EACP,MAAM,CAAC,SAAS,KAAK,WAAW,KAAK,aAAa,KAAK,WAAW,CAAC,CAAC,CAAC;AAG1E,QAAM,0BAA0B,aAAa,SAAS,OAAO;AAG7D,QAAM,mBAAmB,MAAM,SAAS,GAAG,KAAK,CAAC;AACjD,QAAM,mBAAmB,MAAM,SAAS,IAAI;AAC5C,QAAM,uBAAuB,oBAAoB;AAEjD,QAAM,uBACJ,EAAC,mCAAS;AAAA,GAET,CAAC,gBACA,MAAM,SAAS,MACf,wBACA,uBACA;AAEJ,MAAI,SAAS;AAGb,QAAM,qBAAqB,gBAAgB,aAAa,MAAM,WAAW,CAAC,CAAC;AAC3E,MAAK,wBAAwB,CAAC,sBAAuB,qBAAqB;AACxE,cAAU;AAAA,EACZ;AAEA,YAAU;AACV,MAAI,wBAAwB,sBAAsB;AAChD,cAAU;AAAA,EACZ;AAEA,SAAO,QAAQ,SAAS;AAC1B;",
6
+ "names": []
7
+ }
@@ -0,0 +1,29 @@
1
+ // src/utils/block-string.ts
2
+ function isWhiteSpace(code) {
3
+ return code === 9 || code === 32;
4
+ }
5
+ function printBlockString(value, options) {
6
+ const escapedValue = value.replace(/"""/g, '\\"""');
7
+ const lines = escapedValue.split(/\r\n|[\n\r]/g);
8
+ const isSingleLine = lines.length === 1;
9
+ const forceLeadingNewLine = lines.length > 1 && lines.slice(1).every((line) => line.length === 0 || isWhiteSpace(line.charCodeAt(0)));
10
+ const hasTrailingTripleQuotes = escapedValue.endsWith('\\"""');
11
+ const hasTrailingQuote = value.endsWith('"') && !hasTrailingTripleQuotes;
12
+ const hasTrailingSlash = value.endsWith("\\");
13
+ const forceTrailingNewline = hasTrailingQuote || hasTrailingSlash;
14
+ const printAsMultipleLines = !(options == null ? void 0 : options.minimize) && // add leading and trailing new lines only if it improves readability
15
+ (!isSingleLine || value.length > 70 || forceTrailingNewline || forceLeadingNewLine || hasTrailingTripleQuotes);
16
+ let result = "";
17
+ const skipLeadingNewLine = isSingleLine && isWhiteSpace(value.charCodeAt(0));
18
+ if (printAsMultipleLines && !skipLeadingNewLine || forceLeadingNewLine) {
19
+ result += "\n";
20
+ }
21
+ result += escapedValue;
22
+ if (printAsMultipleLines || forceTrailingNewline) {
23
+ result += "\n";
24
+ }
25
+ return '"""' + result + '"""';
26
+ }
27
+ export {
28
+ printBlockString
29
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/block-string.ts"],
4
+ "sourcesContent": ["/**\n * Source: https://github.com/graphql/graphql-js/blob/16.x.x/src/language/blockString.ts\n */\n\n/**\n * ```\n * WhiteSpace ::\n * - \"Horizontal Tab (U+0009)\"\n * - \"Space (U+0020)\"\n * ```\n * @internal\n */\nfunction isWhiteSpace(code: number): boolean {\n return code === 0x0009 || code === 0x0020;\n}\n\n/**\n * Print a block string in the indented block form by adding a leading and\n * trailing blank line. However, if a block string starts with whitespace and is\n * a single-line, adding a leading blank line would strip that whitespace.\n *\n * @internal\n */\nexport function printBlockString(\n value: string,\n options?: { minimize?: boolean },\n): string {\n const escapedValue = value.replace(/\"\"\"/g, '\\\\\"\"\"');\n\n // Expand a block string's raw value into independent lines.\n const lines = escapedValue.split(/\\r\\n|[\\n\\r]/g);\n const isSingleLine = lines.length === 1;\n\n // If common indentation is found we can fix some of those cases by adding leading new line\n const forceLeadingNewLine =\n lines.length > 1 &&\n lines\n .slice(1)\n .every((line) => line.length === 0 || isWhiteSpace(line.charCodeAt(0)));\n\n // Trailing triple quotes just looks confusing but doesn't force trailing new line\n const hasTrailingTripleQuotes = escapedValue.endsWith('\\\\\"\"\"');\n\n // Trailing quote (single or double) or slash forces trailing new line\n const hasTrailingQuote = value.endsWith('\"') && !hasTrailingTripleQuotes;\n const hasTrailingSlash = value.endsWith(\"\\\\\");\n const forceTrailingNewline = hasTrailingQuote || hasTrailingSlash;\n\n const printAsMultipleLines =\n !options?.minimize &&\n // add leading and trailing new lines only if it improves readability\n (!isSingleLine ||\n value.length > 70 ||\n forceTrailingNewline ||\n forceLeadingNewLine ||\n hasTrailingTripleQuotes);\n\n let result = \"\";\n\n // Format a multi-line block quote to account for leading space.\n const skipLeadingNewLine = isSingleLine && isWhiteSpace(value.charCodeAt(0));\n if ((printAsMultipleLines && !skipLeadingNewLine) || forceLeadingNewLine) {\n result += \"\\n\";\n }\n\n result += escapedValue;\n if (printAsMultipleLines || forceTrailingNewline) {\n result += \"\\n\";\n }\n\n return '\"\"\"' + result + '\"\"\"';\n}\n"],
5
+ "mappings": ";AAYA,SAAS,aAAa,MAAuB;AAC3C,SAAO,SAAS,KAAU,SAAS;AACrC;AASO,SAAS,iBACd,OACA,SACQ;AACR,QAAM,eAAe,MAAM,QAAQ,QAAQ,OAAO;AAGlD,QAAM,QAAQ,aAAa,MAAM,cAAc;AAC/C,QAAM,eAAe,MAAM,WAAW;AAGtC,QAAM,sBACJ,MAAM,SAAS,KACf,MACG,MAAM,CAAC,EACP,MAAM,CAAC,SAAS,KAAK,WAAW,KAAK,aAAa,KAAK,WAAW,CAAC,CAAC,CAAC;AAG1E,QAAM,0BAA0B,aAAa,SAAS,OAAO;AAG7D,QAAM,mBAAmB,MAAM,SAAS,GAAG,KAAK,CAAC;AACjD,QAAM,mBAAmB,MAAM,SAAS,IAAI;AAC5C,QAAM,uBAAuB,oBAAoB;AAEjD,QAAM,uBACJ,EAAC,mCAAS;AAAA,GAET,CAAC,gBACA,MAAM,SAAS,MACf,wBACA,uBACA;AAEJ,MAAI,SAAS;AAGb,QAAM,qBAAqB,gBAAgB,aAAa,MAAM,WAAW,CAAC,CAAC;AAC3E,MAAK,wBAAwB,CAAC,sBAAuB,qBAAqB;AACxE,cAAU;AAAA,EACZ;AAEA,YAAU;AACV,MAAI,wBAAwB,sBAAsB;AAChD,cAAU;AAAA,EACZ;AAEA,SAAO,QAAQ,SAAS;AAC1B;",
6
+ "names": []
7
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Source: https://github.com/graphql/graphql-js/blob/16.x.x/src/language/printString.ts
3
+ */
4
+ /**
5
+ * Prints a string as a GraphQL StringValue literal. Replaces control characters
6
+ * and excluded characters (" U+0022 and \\ U+005C) with escape sequences.
7
+ */
8
+ export declare function printString(str: string): string;
9
+ //# sourceMappingURL=print-string.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print-string.d.ts","sourceRoot":"","sources":["../../src/utils/print-string.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE/C"}
@@ -0,0 +1,197 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var print_string_exports = {};
20
+ __export(print_string_exports, {
21
+ printString: () => printString
22
+ });
23
+ module.exports = __toCommonJS(print_string_exports);
24
+ function printString(str) {
25
+ return `"${str.replace(escapedRegExp, escapedReplacer)}"`;
26
+ }
27
+ const escapedRegExp = /[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
28
+ function escapedReplacer(str) {
29
+ return escapeSequences[str.charCodeAt(0)];
30
+ }
31
+ const escapeSequences = [
32
+ "\\u0000",
33
+ "\\u0001",
34
+ "\\u0002",
35
+ "\\u0003",
36
+ "\\u0004",
37
+ "\\u0005",
38
+ "\\u0006",
39
+ "\\u0007",
40
+ "\\b",
41
+ "\\t",
42
+ "\\n",
43
+ "\\u000B",
44
+ "\\f",
45
+ "\\r",
46
+ "\\u000E",
47
+ "\\u000F",
48
+ "\\u0010",
49
+ "\\u0011",
50
+ "\\u0012",
51
+ "\\u0013",
52
+ "\\u0014",
53
+ "\\u0015",
54
+ "\\u0016",
55
+ "\\u0017",
56
+ "\\u0018",
57
+ "\\u0019",
58
+ "\\u001A",
59
+ "\\u001B",
60
+ "\\u001C",
61
+ "\\u001D",
62
+ "\\u001E",
63
+ "\\u001F",
64
+ "",
65
+ "",
66
+ '\\"',
67
+ "",
68
+ "",
69
+ "",
70
+ "",
71
+ "",
72
+ "",
73
+ "",
74
+ "",
75
+ "",
76
+ "",
77
+ "",
78
+ "",
79
+ "",
80
+ // 2F
81
+ "",
82
+ "",
83
+ "",
84
+ "",
85
+ "",
86
+ "",
87
+ "",
88
+ "",
89
+ "",
90
+ "",
91
+ "",
92
+ "",
93
+ "",
94
+ "",
95
+ "",
96
+ "",
97
+ // 3F
98
+ "",
99
+ "",
100
+ "",
101
+ "",
102
+ "",
103
+ "",
104
+ "",
105
+ "",
106
+ "",
107
+ "",
108
+ "",
109
+ "",
110
+ "",
111
+ "",
112
+ "",
113
+ "",
114
+ // 4F
115
+ "",
116
+ "",
117
+ "",
118
+ "",
119
+ "",
120
+ "",
121
+ "",
122
+ "",
123
+ "",
124
+ "",
125
+ "",
126
+ "",
127
+ "\\\\",
128
+ "",
129
+ "",
130
+ "",
131
+ // 5F
132
+ "",
133
+ "",
134
+ "",
135
+ "",
136
+ "",
137
+ "",
138
+ "",
139
+ "",
140
+ "",
141
+ "",
142
+ "",
143
+ "",
144
+ "",
145
+ "",
146
+ "",
147
+ "",
148
+ // 6F
149
+ "",
150
+ "",
151
+ "",
152
+ "",
153
+ "",
154
+ "",
155
+ "",
156
+ "",
157
+ "",
158
+ "",
159
+ "",
160
+ "",
161
+ "",
162
+ "",
163
+ "",
164
+ "\\u007F",
165
+ "\\u0080",
166
+ "\\u0081",
167
+ "\\u0082",
168
+ "\\u0083",
169
+ "\\u0084",
170
+ "\\u0085",
171
+ "\\u0086",
172
+ "\\u0087",
173
+ "\\u0088",
174
+ "\\u0089",
175
+ "\\u008A",
176
+ "\\u008B",
177
+ "\\u008C",
178
+ "\\u008D",
179
+ "\\u008E",
180
+ "\\u008F",
181
+ "\\u0090",
182
+ "\\u0091",
183
+ "\\u0092",
184
+ "\\u0093",
185
+ "\\u0094",
186
+ "\\u0095",
187
+ "\\u0096",
188
+ "\\u0097",
189
+ "\\u0098",
190
+ "\\u0099",
191
+ "\\u009A",
192
+ "\\u009B",
193
+ "\\u009C",
194
+ "\\u009D",
195
+ "\\u009E",
196
+ "\\u009F"
197
+ ];
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/print-string.ts"],
4
+ "sourcesContent": ["/**\n * Source: https://github.com/graphql/graphql-js/blob/16.x.x/src/language/printString.ts\n */\n\n/**\n * Prints a string as a GraphQL StringValue literal. Replaces control characters\n * and excluded characters (\" U+0022 and \\\\ U+005C) with escape sequences.\n */\nexport function printString(str: string): string {\n return `\"${str.replace(escapedRegExp, escapedReplacer)}\"`;\n}\n\n// eslint-disable-next-line no-control-regex\nconst escapedRegExp = /[\\x00-\\x1f\\x22\\x5c\\x7f-\\x9f]/g;\n\nfunction escapedReplacer(str: string): string {\n return escapeSequences[str.charCodeAt(0)];\n}\n\n// prettier-ignore\nconst escapeSequences = [\n \"\\\\u0000\", \"\\\\u0001\", \"\\\\u0002\", \"\\\\u0003\", \"\\\\u0004\", \"\\\\u0005\", \"\\\\u0006\", \"\\\\u0007\",\n \"\\\\b\", \"\\\\t\", \"\\\\n\", \"\\\\u000B\", \"\\\\f\", \"\\\\r\", \"\\\\u000E\", \"\\\\u000F\",\n \"\\\\u0010\", \"\\\\u0011\", \"\\\\u0012\", \"\\\\u0013\", \"\\\\u0014\", \"\\\\u0015\", \"\\\\u0016\", \"\\\\u0017\",\n \"\\\\u0018\", \"\\\\u0019\", \"\\\\u001A\", \"\\\\u001B\", \"\\\\u001C\", \"\\\\u001D\", \"\\\\u001E\", \"\\\\u001F\",\n \"\", \"\", \"\\\\\\\"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", // 2F\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", // 3F\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", // 4F\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\\\\\\\\\", \"\", \"\", \"\", // 5F\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", // 6F\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\\\\u007F\",\n \"\\\\u0080\", \"\\\\u0081\", \"\\\\u0082\", \"\\\\u0083\", \"\\\\u0084\", \"\\\\u0085\", \"\\\\u0086\", \"\\\\u0087\",\n \"\\\\u0088\", \"\\\\u0089\", \"\\\\u008A\", \"\\\\u008B\", \"\\\\u008C\", \"\\\\u008D\", \"\\\\u008E\", \"\\\\u008F\",\n \"\\\\u0090\", \"\\\\u0091\", \"\\\\u0092\", \"\\\\u0093\", \"\\\\u0094\", \"\\\\u0095\", \"\\\\u0096\", \"\\\\u0097\",\n \"\\\\u0098\", \"\\\\u0099\", \"\\\\u009A\", \"\\\\u009B\", \"\\\\u009C\", \"\\\\u009D\", \"\\\\u009E\", \"\\\\u009F\",\n];\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAQO,SAAS,YAAY,KAAqB;AAC/C,SAAO,IAAI,IAAI,QAAQ,eAAe,eAAe;AACvD;AAGA,MAAM,gBAAgB;AAEtB,SAAS,gBAAgB,KAAqB;AAC5C,SAAO,gBAAgB,IAAI,WAAW,CAAC,CAAC;AAC1C;AAGA,MAAM,kBAAkB;AAAA,EACtB;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAO;AAAA,EAAO;AAAA,EAAO;AAAA,EAAW;AAAA,EAAO;AAAA,EAAO;AAAA,EAAW;AAAA,EACzD;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAI;AAAA,EAAI;AAAA,EAAQ;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAChC;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAQ;AAAA,EAAI;AAAA,EAAI;AAAA;AAAA,EAChC;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAC/E;",
6
+ "names": []
7
+ }
@@ -0,0 +1,178 @@
1
+ // src/utils/print-string.ts
2
+ function printString(str) {
3
+ return `"${str.replace(escapedRegExp, escapedReplacer)}"`;
4
+ }
5
+ var escapedRegExp = /[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
6
+ function escapedReplacer(str) {
7
+ return escapeSequences[str.charCodeAt(0)];
8
+ }
9
+ var escapeSequences = [
10
+ "\\u0000",
11
+ "\\u0001",
12
+ "\\u0002",
13
+ "\\u0003",
14
+ "\\u0004",
15
+ "\\u0005",
16
+ "\\u0006",
17
+ "\\u0007",
18
+ "\\b",
19
+ "\\t",
20
+ "\\n",
21
+ "\\u000B",
22
+ "\\f",
23
+ "\\r",
24
+ "\\u000E",
25
+ "\\u000F",
26
+ "\\u0010",
27
+ "\\u0011",
28
+ "\\u0012",
29
+ "\\u0013",
30
+ "\\u0014",
31
+ "\\u0015",
32
+ "\\u0016",
33
+ "\\u0017",
34
+ "\\u0018",
35
+ "\\u0019",
36
+ "\\u001A",
37
+ "\\u001B",
38
+ "\\u001C",
39
+ "\\u001D",
40
+ "\\u001E",
41
+ "\\u001F",
42
+ "",
43
+ "",
44
+ '\\"',
45
+ "",
46
+ "",
47
+ "",
48
+ "",
49
+ "",
50
+ "",
51
+ "",
52
+ "",
53
+ "",
54
+ "",
55
+ "",
56
+ "",
57
+ "",
58
+ // 2F
59
+ "",
60
+ "",
61
+ "",
62
+ "",
63
+ "",
64
+ "",
65
+ "",
66
+ "",
67
+ "",
68
+ "",
69
+ "",
70
+ "",
71
+ "",
72
+ "",
73
+ "",
74
+ "",
75
+ // 3F
76
+ "",
77
+ "",
78
+ "",
79
+ "",
80
+ "",
81
+ "",
82
+ "",
83
+ "",
84
+ "",
85
+ "",
86
+ "",
87
+ "",
88
+ "",
89
+ "",
90
+ "",
91
+ "",
92
+ // 4F
93
+ "",
94
+ "",
95
+ "",
96
+ "",
97
+ "",
98
+ "",
99
+ "",
100
+ "",
101
+ "",
102
+ "",
103
+ "",
104
+ "",
105
+ "\\\\",
106
+ "",
107
+ "",
108
+ "",
109
+ // 5F
110
+ "",
111
+ "",
112
+ "",
113
+ "",
114
+ "",
115
+ "",
116
+ "",
117
+ "",
118
+ "",
119
+ "",
120
+ "",
121
+ "",
122
+ "",
123
+ "",
124
+ "",
125
+ "",
126
+ // 6F
127
+ "",
128
+ "",
129
+ "",
130
+ "",
131
+ "",
132
+ "",
133
+ "",
134
+ "",
135
+ "",
136
+ "",
137
+ "",
138
+ "",
139
+ "",
140
+ "",
141
+ "",
142
+ "\\u007F",
143
+ "\\u0080",
144
+ "\\u0081",
145
+ "\\u0082",
146
+ "\\u0083",
147
+ "\\u0084",
148
+ "\\u0085",
149
+ "\\u0086",
150
+ "\\u0087",
151
+ "\\u0088",
152
+ "\\u0089",
153
+ "\\u008A",
154
+ "\\u008B",
155
+ "\\u008C",
156
+ "\\u008D",
157
+ "\\u008E",
158
+ "\\u008F",
159
+ "\\u0090",
160
+ "\\u0091",
161
+ "\\u0092",
162
+ "\\u0093",
163
+ "\\u0094",
164
+ "\\u0095",
165
+ "\\u0096",
166
+ "\\u0097",
167
+ "\\u0098",
168
+ "\\u0099",
169
+ "\\u009A",
170
+ "\\u009B",
171
+ "\\u009C",
172
+ "\\u009D",
173
+ "\\u009E",
174
+ "\\u009F"
175
+ ];
176
+ export {
177
+ printString
178
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/print-string.ts"],
4
+ "sourcesContent": ["/**\n * Source: https://github.com/graphql/graphql-js/blob/16.x.x/src/language/printString.ts\n */\n\n/**\n * Prints a string as a GraphQL StringValue literal. Replaces control characters\n * and excluded characters (\" U+0022 and \\\\ U+005C) with escape sequences.\n */\nexport function printString(str: string): string {\n return `\"${str.replace(escapedRegExp, escapedReplacer)}\"`;\n}\n\n// eslint-disable-next-line no-control-regex\nconst escapedRegExp = /[\\x00-\\x1f\\x22\\x5c\\x7f-\\x9f]/g;\n\nfunction escapedReplacer(str: string): string {\n return escapeSequences[str.charCodeAt(0)];\n}\n\n// prettier-ignore\nconst escapeSequences = [\n \"\\\\u0000\", \"\\\\u0001\", \"\\\\u0002\", \"\\\\u0003\", \"\\\\u0004\", \"\\\\u0005\", \"\\\\u0006\", \"\\\\u0007\",\n \"\\\\b\", \"\\\\t\", \"\\\\n\", \"\\\\u000B\", \"\\\\f\", \"\\\\r\", \"\\\\u000E\", \"\\\\u000F\",\n \"\\\\u0010\", \"\\\\u0011\", \"\\\\u0012\", \"\\\\u0013\", \"\\\\u0014\", \"\\\\u0015\", \"\\\\u0016\", \"\\\\u0017\",\n \"\\\\u0018\", \"\\\\u0019\", \"\\\\u001A\", \"\\\\u001B\", \"\\\\u001C\", \"\\\\u001D\", \"\\\\u001E\", \"\\\\u001F\",\n \"\", \"\", \"\\\\\\\"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", // 2F\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", // 3F\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", // 4F\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\\\\\\\\\", \"\", \"\", \"\", // 5F\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", // 6F\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\\\\u007F\",\n \"\\\\u0080\", \"\\\\u0081\", \"\\\\u0082\", \"\\\\u0083\", \"\\\\u0084\", \"\\\\u0085\", \"\\\\u0086\", \"\\\\u0087\",\n \"\\\\u0088\", \"\\\\u0089\", \"\\\\u008A\", \"\\\\u008B\", \"\\\\u008C\", \"\\\\u008D\", \"\\\\u008E\", \"\\\\u008F\",\n \"\\\\u0090\", \"\\\\u0091\", \"\\\\u0092\", \"\\\\u0093\", \"\\\\u0094\", \"\\\\u0095\", \"\\\\u0096\", \"\\\\u0097\",\n \"\\\\u0098\", \"\\\\u0099\", \"\\\\u009A\", \"\\\\u009B\", \"\\\\u009C\", \"\\\\u009D\", \"\\\\u009E\", \"\\\\u009F\",\n];\n"],
5
+ "mappings": ";AAQO,SAAS,YAAY,KAAqB;AAC/C,SAAO,IAAI,IAAI,QAAQ,eAAe,eAAe;AACvD;AAGA,IAAM,gBAAgB;AAEtB,SAAS,gBAAgB,KAAqB;AAC5C,SAAO,gBAAgB,IAAI,WAAW,CAAC,CAAC;AAC1C;AAGA,IAAM,kBAAkB;AAAA,EACtB;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAO;AAAA,EAAO;AAAA,EAAO;AAAA,EAAW;AAAA,EAAO;AAAA,EAAO;AAAA,EAAW;AAAA,EACzD;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAI;AAAA,EAAI;AAAA,EAAQ;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAChC;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAQ;AAAA,EAAI;AAAA,EAAI;AAAA;AAAA,EAChC;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAAI;AAAA,EAC5B;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC7E;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAC/E;",
6
+ "names": []
7
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Source: https://github.com/graphql/graphql-js/blob/16.x.x/src/language/printer.ts
3
+ */
4
+ import type { ASTNode } from "graphql";
5
+ /**
6
+ * Converts an AST into a compact string
7
+ */
8
+ export declare function print(ast: ASTNode): string;
9
+ //# sourceMappingURL=print.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../../src/utils/print.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAA0B,MAAM,SAAS,CAAC;AAQ/D;;GAEG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAE1C"}