msw 2.6.6 → 2.6.7
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/lib/browser/index.js +9 -9
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/index.mjs +9 -9
- package/lib/browser/index.mjs.map +1 -1
- package/lib/iife/index.js +306 -501
- package/lib/iife/index.js.map +1 -1
- package/lib/mockServiceWorker.js +15 -3
- package/package.json +3 -4
- package/src/mockServiceWorker.js +13 -1
package/lib/iife/index.js
CHANGED
|
@@ -27,22 +27,22 @@ var MockServiceWorker = (() => {
|
|
|
27
27
|
};
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/graphql@16.
|
|
30
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/version.mjs
|
|
31
31
|
var version, versionInfo;
|
|
32
32
|
var init_version = __esm({
|
|
33
|
-
"node_modules/.pnpm/graphql@16.
|
|
33
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/version.mjs"() {
|
|
34
34
|
"use strict";
|
|
35
|
-
version = "16.
|
|
35
|
+
version = "16.8.2";
|
|
36
36
|
versionInfo = Object.freeze({
|
|
37
37
|
major: 16,
|
|
38
|
-
minor:
|
|
39
|
-
patch:
|
|
38
|
+
minor: 8,
|
|
39
|
+
patch: 2,
|
|
40
40
|
preReleaseTag: null
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
// node_modules/.pnpm/graphql@16.
|
|
45
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/devAssert.mjs
|
|
46
46
|
function devAssert(condition, message3) {
|
|
47
47
|
const booleanCondition = Boolean(condition);
|
|
48
48
|
if (!booleanCondition) {
|
|
@@ -50,32 +50,32 @@ var MockServiceWorker = (() => {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var init_devAssert = __esm({
|
|
53
|
-
"node_modules/.pnpm/graphql@16.
|
|
53
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/devAssert.mjs"() {
|
|
54
54
|
"use strict";
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/graphql@16.
|
|
58
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isPromise.mjs
|
|
59
59
|
function isPromise(value) {
|
|
60
60
|
return typeof (value === null || value === void 0 ? void 0 : value.then) === "function";
|
|
61
61
|
}
|
|
62
62
|
var init_isPromise = __esm({
|
|
63
|
-
"node_modules/.pnpm/graphql@16.
|
|
63
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isPromise.mjs"() {
|
|
64
64
|
"use strict";
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
|
|
68
|
-
// node_modules/.pnpm/graphql@16.
|
|
68
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isObjectLike.mjs
|
|
69
69
|
function isObjectLike(value) {
|
|
70
70
|
return typeof value == "object" && value !== null;
|
|
71
71
|
}
|
|
72
72
|
var init_isObjectLike = __esm({
|
|
73
|
-
"node_modules/.pnpm/graphql@16.
|
|
73
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isObjectLike.mjs"() {
|
|
74
74
|
"use strict";
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
|
|
78
|
-
// node_modules/.pnpm/graphql@16.
|
|
78
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/invariant.mjs
|
|
79
79
|
function invariant2(condition, message3) {
|
|
80
80
|
const booleanCondition = Boolean(condition);
|
|
81
81
|
if (!booleanCondition) {
|
|
@@ -85,12 +85,12 @@ var MockServiceWorker = (() => {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
var init_invariant = __esm({
|
|
88
|
-
"node_modules/.pnpm/graphql@16.
|
|
88
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/invariant.mjs"() {
|
|
89
89
|
"use strict";
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
// node_modules/.pnpm/graphql@16.
|
|
93
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/location.mjs
|
|
94
94
|
function getLocation(source, position) {
|
|
95
95
|
let lastLineStart = 0;
|
|
96
96
|
let line = 1;
|
|
@@ -109,14 +109,14 @@ var MockServiceWorker = (() => {
|
|
|
109
109
|
}
|
|
110
110
|
var LineRegExp;
|
|
111
111
|
var init_location = __esm({
|
|
112
|
-
"node_modules/.pnpm/graphql@16.
|
|
112
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/location.mjs"() {
|
|
113
113
|
"use strict";
|
|
114
114
|
init_invariant();
|
|
115
115
|
LineRegExp = /\r\n|[\n\r]/g;
|
|
116
116
|
}
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
// node_modules/.pnpm/graphql@16.
|
|
119
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printLocation.mjs
|
|
120
120
|
function printLocation(location2) {
|
|
121
121
|
return printSourceLocation(
|
|
122
122
|
location2.source,
|
|
@@ -163,13 +163,13 @@ var MockServiceWorker = (() => {
|
|
|
163
163
|
return existingLines.map(([prefix, line]) => prefix.padStart(padLen) + (line ? " " + line : "")).join("\n");
|
|
164
164
|
}
|
|
165
165
|
var init_printLocation = __esm({
|
|
166
|
-
"node_modules/.pnpm/graphql@16.
|
|
166
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printLocation.mjs"() {
|
|
167
167
|
"use strict";
|
|
168
168
|
init_location();
|
|
169
169
|
}
|
|
170
170
|
});
|
|
171
171
|
|
|
172
|
-
// node_modules/.pnpm/graphql@16.
|
|
172
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/GraphQLError.mjs
|
|
173
173
|
function toNormalizedOptions(args) {
|
|
174
174
|
const firstArg = args[0];
|
|
175
175
|
if (firstArg == null || "kind" in firstArg || "length" in firstArg) {
|
|
@@ -195,7 +195,7 @@ var MockServiceWorker = (() => {
|
|
|
195
195
|
}
|
|
196
196
|
var GraphQLError;
|
|
197
197
|
var init_GraphQLError = __esm({
|
|
198
|
-
"node_modules/.pnpm/graphql@16.
|
|
198
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/GraphQLError.mjs"() {
|
|
199
199
|
"use strict";
|
|
200
200
|
init_isObjectLike();
|
|
201
201
|
init_location();
|
|
@@ -333,7 +333,7 @@ var MockServiceWorker = (() => {
|
|
|
333
333
|
}
|
|
334
334
|
});
|
|
335
335
|
|
|
336
|
-
// node_modules/.pnpm/graphql@16.
|
|
336
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/syntaxError.mjs
|
|
337
337
|
function syntaxError(source, position, description) {
|
|
338
338
|
return new GraphQLError(`Syntax Error: ${description}`, {
|
|
339
339
|
source,
|
|
@@ -341,20 +341,20 @@ var MockServiceWorker = (() => {
|
|
|
341
341
|
});
|
|
342
342
|
}
|
|
343
343
|
var init_syntaxError = __esm({
|
|
344
|
-
"node_modules/.pnpm/graphql@16.
|
|
344
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/syntaxError.mjs"() {
|
|
345
345
|
"use strict";
|
|
346
346
|
init_GraphQLError();
|
|
347
347
|
}
|
|
348
348
|
});
|
|
349
349
|
|
|
350
|
-
// node_modules/.pnpm/graphql@16.
|
|
350
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/ast.mjs
|
|
351
351
|
function isNode(maybeNode) {
|
|
352
352
|
const maybeKind = maybeNode === null || maybeNode === void 0 ? void 0 : maybeNode.kind;
|
|
353
353
|
return typeof maybeKind === "string" && kindValues.has(maybeKind);
|
|
354
354
|
}
|
|
355
355
|
var Location, Token, QueryDocumentKeys, kindValues, OperationTypeNode;
|
|
356
356
|
var init_ast = __esm({
|
|
357
|
-
"node_modules/.pnpm/graphql@16.
|
|
357
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/ast.mjs"() {
|
|
358
358
|
"use strict";
|
|
359
359
|
Location = class {
|
|
360
360
|
/**
|
|
@@ -522,10 +522,10 @@ var MockServiceWorker = (() => {
|
|
|
522
522
|
}
|
|
523
523
|
});
|
|
524
524
|
|
|
525
|
-
// node_modules/.pnpm/graphql@16.
|
|
525
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/directiveLocation.mjs
|
|
526
526
|
var DirectiveLocation;
|
|
527
527
|
var init_directiveLocation = __esm({
|
|
528
|
-
"node_modules/.pnpm/graphql@16.
|
|
528
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/directiveLocation.mjs"() {
|
|
529
529
|
"use strict";
|
|
530
530
|
(function(DirectiveLocation2) {
|
|
531
531
|
DirectiveLocation2["QUERY"] = "QUERY";
|
|
@@ -551,10 +551,10 @@ var MockServiceWorker = (() => {
|
|
|
551
551
|
}
|
|
552
552
|
});
|
|
553
553
|
|
|
554
|
-
// node_modules/.pnpm/graphql@16.
|
|
554
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/kinds.mjs
|
|
555
555
|
var Kind;
|
|
556
556
|
var init_kinds = __esm({
|
|
557
|
-
"node_modules/.pnpm/graphql@16.
|
|
557
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/kinds.mjs"() {
|
|
558
558
|
"use strict";
|
|
559
559
|
(function(Kind2) {
|
|
560
560
|
Kind2["NAME"] = "Name";
|
|
@@ -604,7 +604,7 @@ var MockServiceWorker = (() => {
|
|
|
604
604
|
}
|
|
605
605
|
});
|
|
606
606
|
|
|
607
|
-
// node_modules/.pnpm/graphql@16.
|
|
607
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/characterClasses.mjs
|
|
608
608
|
function isWhiteSpace(code) {
|
|
609
609
|
return code === 9 || code === 32;
|
|
610
610
|
}
|
|
@@ -622,12 +622,12 @@ var MockServiceWorker = (() => {
|
|
|
622
622
|
return isLetter(code) || isDigit(code) || code === 95;
|
|
623
623
|
}
|
|
624
624
|
var init_characterClasses = __esm({
|
|
625
|
-
"node_modules/.pnpm/graphql@16.
|
|
625
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/characterClasses.mjs"() {
|
|
626
626
|
"use strict";
|
|
627
627
|
}
|
|
628
628
|
});
|
|
629
629
|
|
|
630
|
-
// node_modules/.pnpm/graphql@16.
|
|
630
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/blockString.mjs
|
|
631
631
|
function dedentBlockStringLines(lines) {
|
|
632
632
|
var _firstNonEmptyLine2;
|
|
633
633
|
let commonIndent = Number.MAX_SAFE_INTEGER;
|
|
@@ -735,16 +735,16 @@ var MockServiceWorker = (() => {
|
|
|
735
735
|
return '"""' + result + '"""';
|
|
736
736
|
}
|
|
737
737
|
var init_blockString = __esm({
|
|
738
|
-
"node_modules/.pnpm/graphql@16.
|
|
738
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/blockString.mjs"() {
|
|
739
739
|
"use strict";
|
|
740
740
|
init_characterClasses();
|
|
741
741
|
}
|
|
742
742
|
});
|
|
743
743
|
|
|
744
|
-
// node_modules/.pnpm/graphql@16.
|
|
744
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/tokenKind.mjs
|
|
745
745
|
var TokenKind;
|
|
746
746
|
var init_tokenKind = __esm({
|
|
747
|
-
"node_modules/.pnpm/graphql@16.
|
|
747
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/tokenKind.mjs"() {
|
|
748
748
|
"use strict";
|
|
749
749
|
(function(TokenKind2) {
|
|
750
750
|
TokenKind2["SOF"] = "<SOF>";
|
|
@@ -773,7 +773,7 @@ var MockServiceWorker = (() => {
|
|
|
773
773
|
}
|
|
774
774
|
});
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/graphql@16.
|
|
776
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/lexer.mjs
|
|
777
777
|
function isPunctuatorTokenKind(kind) {
|
|
778
778
|
return kind === TokenKind.BANG || kind === TokenKind.DOLLAR || kind === TokenKind.AMP || kind === TokenKind.PAREN_L || kind === TokenKind.PAREN_R || kind === TokenKind.SPREAD || kind === TokenKind.COLON || kind === TokenKind.EQUALS || kind === TokenKind.AT || kind === TokenKind.BRACKET_L || kind === TokenKind.BRACKET_R || kind === TokenKind.BRACE_L || kind === TokenKind.PIPE || kind === TokenKind.BRACE_R;
|
|
779
779
|
}
|
|
@@ -1253,7 +1253,7 @@ var MockServiceWorker = (() => {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
var Lexer;
|
|
1255
1255
|
var init_lexer = __esm({
|
|
1256
|
-
"node_modules/.pnpm/graphql@16.
|
|
1256
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/lexer.mjs"() {
|
|
1257
1257
|
"use strict";
|
|
1258
1258
|
init_syntaxError();
|
|
1259
1259
|
init_ast();
|
|
@@ -1316,7 +1316,7 @@ var MockServiceWorker = (() => {
|
|
|
1316
1316
|
}
|
|
1317
1317
|
});
|
|
1318
1318
|
|
|
1319
|
-
// node_modules/.pnpm/graphql@16.
|
|
1319
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/inspect.mjs
|
|
1320
1320
|
function inspect(value) {
|
|
1321
1321
|
return formatValue(value, []);
|
|
1322
1322
|
}
|
|
@@ -1398,17 +1398,17 @@ var MockServiceWorker = (() => {
|
|
|
1398
1398
|
}
|
|
1399
1399
|
var MAX_ARRAY_LENGTH, MAX_RECURSIVE_DEPTH;
|
|
1400
1400
|
var init_inspect = __esm({
|
|
1401
|
-
"node_modules/.pnpm/graphql@16.
|
|
1401
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/inspect.mjs"() {
|
|
1402
1402
|
"use strict";
|
|
1403
1403
|
MAX_ARRAY_LENGTH = 10;
|
|
1404
1404
|
MAX_RECURSIVE_DEPTH = 2;
|
|
1405
1405
|
}
|
|
1406
1406
|
});
|
|
1407
1407
|
|
|
1408
|
-
// node_modules/.pnpm/graphql@16.
|
|
1408
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/instanceOf.mjs
|
|
1409
1409
|
var isProduction, instanceOf;
|
|
1410
1410
|
var init_instanceOf = __esm({
|
|
1411
|
-
"node_modules/.pnpm/graphql@16.
|
|
1411
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/instanceOf.mjs"() {
|
|
1412
1412
|
"use strict";
|
|
1413
1413
|
init_inspect();
|
|
1414
1414
|
isProduction = globalThis.process && // eslint-disable-next-line no-undef
|
|
@@ -1449,13 +1449,13 @@ spurious results.`);
|
|
|
1449
1449
|
}
|
|
1450
1450
|
});
|
|
1451
1451
|
|
|
1452
|
-
// node_modules/.pnpm/graphql@16.
|
|
1452
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/source.mjs
|
|
1453
1453
|
function isSource(source) {
|
|
1454
1454
|
return instanceOf(source, Source);
|
|
1455
1455
|
}
|
|
1456
1456
|
var Source;
|
|
1457
1457
|
var init_source = __esm({
|
|
1458
|
-
"node_modules/.pnpm/graphql@16.
|
|
1458
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/source.mjs"() {
|
|
1459
1459
|
"use strict";
|
|
1460
1460
|
init_devAssert();
|
|
1461
1461
|
init_inspect();
|
|
@@ -1485,7 +1485,7 @@ spurious results.`);
|
|
|
1485
1485
|
}
|
|
1486
1486
|
});
|
|
1487
1487
|
|
|
1488
|
-
// node_modules/.pnpm/graphql@16.
|
|
1488
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/parser.mjs
|
|
1489
1489
|
function parse2(source, options) {
|
|
1490
1490
|
const parser = new Parser(source, options);
|
|
1491
1491
|
return parser.parseDocument();
|
|
@@ -1520,7 +1520,7 @@ spurious results.`);
|
|
|
1520
1520
|
}
|
|
1521
1521
|
var Parser;
|
|
1522
1522
|
var init_parser = __esm({
|
|
1523
|
-
"node_modules/.pnpm/graphql@16.
|
|
1523
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/parser.mjs"() {
|
|
1524
1524
|
"use strict";
|
|
1525
1525
|
init_syntaxError();
|
|
1526
1526
|
init_ast();
|
|
@@ -2768,7 +2768,7 @@ spurious results.`);
|
|
|
2768
2768
|
}
|
|
2769
2769
|
});
|
|
2770
2770
|
|
|
2771
|
-
// node_modules/.pnpm/graphql@16.
|
|
2771
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/didYouMean.mjs
|
|
2772
2772
|
function didYouMean(firstArg, secondArg) {
|
|
2773
2773
|
const [subMessage, suggestionsArg] = secondArg ? [firstArg, secondArg] : [void 0, firstArg];
|
|
2774
2774
|
let message3 = " Did you mean ";
|
|
@@ -2790,23 +2790,23 @@ spurious results.`);
|
|
|
2790
2790
|
}
|
|
2791
2791
|
var MAX_SUGGESTIONS;
|
|
2792
2792
|
var init_didYouMean = __esm({
|
|
2793
|
-
"node_modules/.pnpm/graphql@16.
|
|
2793
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/didYouMean.mjs"() {
|
|
2794
2794
|
"use strict";
|
|
2795
2795
|
MAX_SUGGESTIONS = 5;
|
|
2796
2796
|
}
|
|
2797
2797
|
});
|
|
2798
2798
|
|
|
2799
|
-
// node_modules/.pnpm/graphql@16.
|
|
2799
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/identityFunc.mjs
|
|
2800
2800
|
function identityFunc(x) {
|
|
2801
2801
|
return x;
|
|
2802
2802
|
}
|
|
2803
2803
|
var init_identityFunc = __esm({
|
|
2804
|
-
"node_modules/.pnpm/graphql@16.
|
|
2804
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/identityFunc.mjs"() {
|
|
2805
2805
|
"use strict";
|
|
2806
2806
|
}
|
|
2807
2807
|
});
|
|
2808
2808
|
|
|
2809
|
-
// node_modules/.pnpm/graphql@16.
|
|
2809
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/keyMap.mjs
|
|
2810
2810
|
function keyMap(list, keyFn) {
|
|
2811
2811
|
const result = /* @__PURE__ */ Object.create(null);
|
|
2812
2812
|
for (const item of list) {
|
|
@@ -2815,12 +2815,12 @@ spurious results.`);
|
|
|
2815
2815
|
return result;
|
|
2816
2816
|
}
|
|
2817
2817
|
var init_keyMap = __esm({
|
|
2818
|
-
"node_modules/.pnpm/graphql@16.
|
|
2818
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/keyMap.mjs"() {
|
|
2819
2819
|
"use strict";
|
|
2820
2820
|
}
|
|
2821
2821
|
});
|
|
2822
2822
|
|
|
2823
|
-
// node_modules/.pnpm/graphql@16.
|
|
2823
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/keyValMap.mjs
|
|
2824
2824
|
function keyValMap(list, keyFn, valFn) {
|
|
2825
2825
|
const result = /* @__PURE__ */ Object.create(null);
|
|
2826
2826
|
for (const item of list) {
|
|
@@ -2829,12 +2829,12 @@ spurious results.`);
|
|
|
2829
2829
|
return result;
|
|
2830
2830
|
}
|
|
2831
2831
|
var init_keyValMap = __esm({
|
|
2832
|
-
"node_modules/.pnpm/graphql@16.
|
|
2832
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/keyValMap.mjs"() {
|
|
2833
2833
|
"use strict";
|
|
2834
2834
|
}
|
|
2835
2835
|
});
|
|
2836
2836
|
|
|
2837
|
-
// node_modules/.pnpm/graphql@16.
|
|
2837
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/mapValue.mjs
|
|
2838
2838
|
function mapValue(map, fn) {
|
|
2839
2839
|
const result = /* @__PURE__ */ Object.create(null);
|
|
2840
2840
|
for (const key of Object.keys(map)) {
|
|
@@ -2843,12 +2843,12 @@ spurious results.`);
|
|
|
2843
2843
|
return result;
|
|
2844
2844
|
}
|
|
2845
2845
|
var init_mapValue = __esm({
|
|
2846
|
-
"node_modules/.pnpm/graphql@16.
|
|
2846
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/mapValue.mjs"() {
|
|
2847
2847
|
"use strict";
|
|
2848
2848
|
}
|
|
2849
2849
|
});
|
|
2850
2850
|
|
|
2851
|
-
// node_modules/.pnpm/graphql@16.
|
|
2851
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/naturalCompare.mjs
|
|
2852
2852
|
function naturalCompare(aStr, bStr) {
|
|
2853
2853
|
let aIndex = 0;
|
|
2854
2854
|
let bIndex = 0;
|
|
@@ -2892,14 +2892,14 @@ spurious results.`);
|
|
|
2892
2892
|
}
|
|
2893
2893
|
var DIGIT_0, DIGIT_9;
|
|
2894
2894
|
var init_naturalCompare = __esm({
|
|
2895
|
-
"node_modules/.pnpm/graphql@16.
|
|
2895
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/naturalCompare.mjs"() {
|
|
2896
2896
|
"use strict";
|
|
2897
2897
|
DIGIT_0 = 48;
|
|
2898
2898
|
DIGIT_9 = 57;
|
|
2899
2899
|
}
|
|
2900
2900
|
});
|
|
2901
2901
|
|
|
2902
|
-
// node_modules/.pnpm/graphql@16.
|
|
2902
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/suggestionList.mjs
|
|
2903
2903
|
function suggestionList(input, options) {
|
|
2904
2904
|
const optionsByDistance = /* @__PURE__ */ Object.create(null);
|
|
2905
2905
|
const lexicalDistance = new LexicalDistance(input);
|
|
@@ -2925,7 +2925,7 @@ spurious results.`);
|
|
|
2925
2925
|
}
|
|
2926
2926
|
var LexicalDistance;
|
|
2927
2927
|
var init_suggestionList = __esm({
|
|
2928
|
-
"node_modules/.pnpm/graphql@16.
|
|
2928
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/suggestionList.mjs"() {
|
|
2929
2929
|
"use strict";
|
|
2930
2930
|
init_naturalCompare();
|
|
2931
2931
|
LexicalDistance = class {
|
|
@@ -2997,7 +2997,7 @@ spurious results.`);
|
|
|
2997
2997
|
}
|
|
2998
2998
|
});
|
|
2999
2999
|
|
|
3000
|
-
// node_modules/.pnpm/graphql@16.
|
|
3000
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/toObjMap.mjs
|
|
3001
3001
|
function toObjMap(obj) {
|
|
3002
3002
|
if (obj == null) {
|
|
3003
3003
|
return /* @__PURE__ */ Object.create(null);
|
|
@@ -3012,12 +3012,12 @@ spurious results.`);
|
|
|
3012
3012
|
return map;
|
|
3013
3013
|
}
|
|
3014
3014
|
var init_toObjMap = __esm({
|
|
3015
|
-
"node_modules/.pnpm/graphql@16.
|
|
3015
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/toObjMap.mjs"() {
|
|
3016
3016
|
"use strict";
|
|
3017
3017
|
}
|
|
3018
3018
|
});
|
|
3019
3019
|
|
|
3020
|
-
// node_modules/.pnpm/graphql@16.
|
|
3020
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printString.mjs
|
|
3021
3021
|
function printString(str) {
|
|
3022
3022
|
return `"${str.replace(escapedRegExp, escapedReplacer)}"`;
|
|
3023
3023
|
}
|
|
@@ -3026,7 +3026,7 @@ spurious results.`);
|
|
|
3026
3026
|
}
|
|
3027
3027
|
var escapedRegExp, escapeSequences;
|
|
3028
3028
|
var init_printString = __esm({
|
|
3029
|
-
"node_modules/.pnpm/graphql@16.
|
|
3029
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printString.mjs"() {
|
|
3030
3030
|
"use strict";
|
|
3031
3031
|
escapedRegExp = /[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
|
|
3032
3032
|
escapeSequences = [
|
|
@@ -3199,7 +3199,7 @@ spurious results.`);
|
|
|
3199
3199
|
}
|
|
3200
3200
|
});
|
|
3201
3201
|
|
|
3202
|
-
// node_modules/.pnpm/graphql@16.
|
|
3202
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/visitor.mjs
|
|
3203
3203
|
function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
|
|
3204
3204
|
const enterLeaveMap = /* @__PURE__ */ new Map();
|
|
3205
3205
|
for (const kind of Object.values(Kind)) {
|
|
@@ -3389,7 +3389,7 @@ spurious results.`);
|
|
|
3389
3389
|
}
|
|
3390
3390
|
var BREAK;
|
|
3391
3391
|
var init_visitor = __esm({
|
|
3392
|
-
"node_modules/.pnpm/graphql@16.
|
|
3392
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/visitor.mjs"() {
|
|
3393
3393
|
"use strict";
|
|
3394
3394
|
init_devAssert();
|
|
3395
3395
|
init_inspect();
|
|
@@ -3399,7 +3399,7 @@ spurious results.`);
|
|
|
3399
3399
|
}
|
|
3400
3400
|
});
|
|
3401
3401
|
|
|
3402
|
-
// node_modules/.pnpm/graphql@16.
|
|
3402
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printer.mjs
|
|
3403
3403
|
function print(ast) {
|
|
3404
3404
|
return visit(ast, printDocASTReducer);
|
|
3405
3405
|
}
|
|
@@ -3422,7 +3422,7 @@ spurious results.`);
|
|
|
3422
3422
|
}
|
|
3423
3423
|
var MAX_LINE_LENGTH, printDocASTReducer;
|
|
3424
3424
|
var init_printer = __esm({
|
|
3425
|
-
"node_modules/.pnpm/graphql@16.
|
|
3425
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printer.mjs"() {
|
|
3426
3426
|
"use strict";
|
|
3427
3427
|
init_blockString();
|
|
3428
3428
|
init_printString();
|
|
@@ -3650,7 +3650,7 @@ spurious results.`);
|
|
|
3650
3650
|
}
|
|
3651
3651
|
});
|
|
3652
3652
|
|
|
3653
|
-
// node_modules/.pnpm/graphql@16.
|
|
3653
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/valueFromASTUntyped.mjs
|
|
3654
3654
|
function valueFromASTUntyped(valueNode, variables) {
|
|
3655
3655
|
switch (valueNode.kind) {
|
|
3656
3656
|
case Kind.NULL:
|
|
@@ -3678,14 +3678,14 @@ spurious results.`);
|
|
|
3678
3678
|
}
|
|
3679
3679
|
}
|
|
3680
3680
|
var init_valueFromASTUntyped = __esm({
|
|
3681
|
-
"node_modules/.pnpm/graphql@16.
|
|
3681
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/valueFromASTUntyped.mjs"() {
|
|
3682
3682
|
"use strict";
|
|
3683
3683
|
init_keyValMap();
|
|
3684
3684
|
init_kinds();
|
|
3685
3685
|
}
|
|
3686
3686
|
});
|
|
3687
3687
|
|
|
3688
|
-
// node_modules/.pnpm/graphql@16.
|
|
3688
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/assertName.mjs
|
|
3689
3689
|
function assertName(name) {
|
|
3690
3690
|
name != null || devAssert(false, "Must provide name.");
|
|
3691
3691
|
typeof name === "string" || devAssert(false, "Expected name to be a string.");
|
|
@@ -3713,7 +3713,7 @@ spurious results.`);
|
|
|
3713
3713
|
return assertName(name);
|
|
3714
3714
|
}
|
|
3715
3715
|
var init_assertName = __esm({
|
|
3716
|
-
"node_modules/.pnpm/graphql@16.
|
|
3716
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/assertName.mjs"() {
|
|
3717
3717
|
"use strict";
|
|
3718
3718
|
init_devAssert();
|
|
3719
3719
|
init_GraphQLError();
|
|
@@ -3721,7 +3721,7 @@ spurious results.`);
|
|
|
3721
3721
|
}
|
|
3722
3722
|
});
|
|
3723
3723
|
|
|
3724
|
-
// node_modules/.pnpm/graphql@16.
|
|
3724
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/definition.mjs
|
|
3725
3725
|
function isType(type) {
|
|
3726
3726
|
return isScalarType(type) || isObjectType(type) || isInterfaceType(type) || isUnionType(type) || isEnumType(type) || isInputObjectType(type) || isListType(type) || isNonNullType(type);
|
|
3727
3727
|
}
|
|
@@ -4049,7 +4049,7 @@ spurious results.`);
|
|
|
4049
4049
|
}
|
|
4050
4050
|
var GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType, GraphQLEnumType, GraphQLInputObjectType;
|
|
4051
4051
|
var init_definition = __esm({
|
|
4052
|
-
"node_modules/.pnpm/graphql@16.
|
|
4052
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/definition.mjs"() {
|
|
4053
4053
|
"use strict";
|
|
4054
4054
|
init_devAssert();
|
|
4055
4055
|
init_didYouMean();
|
|
@@ -4302,31 +4302,22 @@ spurious results.`);
|
|
|
4302
4302
|
this.extensions = toObjMap(config.extensions);
|
|
4303
4303
|
this.astNode = config.astNode;
|
|
4304
4304
|
this.extensionASTNodes = (_config$extensionASTN5 = config.extensionASTNodes) !== null && _config$extensionASTN5 !== void 0 ? _config$extensionASTN5 : [];
|
|
4305
|
-
this._values =
|
|
4306
|
-
this._valueLookup =
|
|
4307
|
-
|
|
4305
|
+
this._values = defineEnumValues(this.name, config.values);
|
|
4306
|
+
this._valueLookup = new Map(
|
|
4307
|
+
this._values.map((enumValue) => [enumValue.value, enumValue])
|
|
4308
|
+
);
|
|
4309
|
+
this._nameLookup = keyMap(this._values, (value) => value.name);
|
|
4308
4310
|
}
|
|
4309
4311
|
get [Symbol.toStringTag]() {
|
|
4310
4312
|
return "GraphQLEnumType";
|
|
4311
4313
|
}
|
|
4312
4314
|
getValues() {
|
|
4313
|
-
if (typeof this._values === "function") {
|
|
4314
|
-
this._values = defineEnumValues(this.name, this._values());
|
|
4315
|
-
}
|
|
4316
4315
|
return this._values;
|
|
4317
4316
|
}
|
|
4318
4317
|
getValue(name) {
|
|
4319
|
-
if (this._nameLookup === null) {
|
|
4320
|
-
this._nameLookup = keyMap(this.getValues(), (value) => value.name);
|
|
4321
|
-
}
|
|
4322
4318
|
return this._nameLookup[name];
|
|
4323
4319
|
}
|
|
4324
4320
|
serialize(outputValue) {
|
|
4325
|
-
if (this._valueLookup === null) {
|
|
4326
|
-
this._valueLookup = new Map(
|
|
4327
|
-
this.getValues().map((enumValue2) => [enumValue2.value, enumValue2])
|
|
4328
|
-
);
|
|
4329
|
-
}
|
|
4330
4321
|
const enumValue = this._valueLookup.get(outputValue);
|
|
4331
4322
|
if (enumValue === void 0) {
|
|
4332
4323
|
throw new GraphQLError(
|
|
@@ -4402,13 +4393,12 @@ spurious results.`);
|
|
|
4402
4393
|
};
|
|
4403
4394
|
GraphQLInputObjectType = class {
|
|
4404
4395
|
constructor(config) {
|
|
4405
|
-
var _config$extensionASTN6
|
|
4396
|
+
var _config$extensionASTN6;
|
|
4406
4397
|
this.name = assertName(config.name);
|
|
4407
4398
|
this.description = config.description;
|
|
4408
4399
|
this.extensions = toObjMap(config.extensions);
|
|
4409
4400
|
this.astNode = config.astNode;
|
|
4410
4401
|
this.extensionASTNodes = (_config$extensionASTN6 = config.extensionASTNodes) !== null && _config$extensionASTN6 !== void 0 ? _config$extensionASTN6 : [];
|
|
4411
|
-
this.isOneOf = (_config$isOneOf = config.isOneOf) !== null && _config$isOneOf !== void 0 ? _config$isOneOf : false;
|
|
4412
4402
|
this._fields = defineInputFieldMap.bind(void 0, config);
|
|
4413
4403
|
}
|
|
4414
4404
|
get [Symbol.toStringTag]() {
|
|
@@ -4435,8 +4425,7 @@ spurious results.`);
|
|
|
4435
4425
|
fields,
|
|
4436
4426
|
extensions: this.extensions,
|
|
4437
4427
|
astNode: this.astNode,
|
|
4438
|
-
extensionASTNodes: this.extensionASTNodes
|
|
4439
|
-
isOneOf: this.isOneOf
|
|
4428
|
+
extensionASTNodes: this.extensionASTNodes
|
|
4440
4429
|
};
|
|
4441
4430
|
}
|
|
4442
4431
|
toString() {
|
|
@@ -4449,7 +4438,7 @@ spurious results.`);
|
|
|
4449
4438
|
}
|
|
4450
4439
|
});
|
|
4451
4440
|
|
|
4452
|
-
// node_modules/.pnpm/graphql@16.
|
|
4441
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/typeComparators.mjs
|
|
4453
4442
|
function isEqualType(typeA, typeB) {
|
|
4454
4443
|
if (typeA === typeB) {
|
|
4455
4444
|
return true;
|
|
@@ -4502,13 +4491,13 @@ spurious results.`);
|
|
|
4502
4491
|
return false;
|
|
4503
4492
|
}
|
|
4504
4493
|
var init_typeComparators = __esm({
|
|
4505
|
-
"node_modules/.pnpm/graphql@16.
|
|
4494
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/typeComparators.mjs"() {
|
|
4506
4495
|
"use strict";
|
|
4507
4496
|
init_definition();
|
|
4508
4497
|
}
|
|
4509
4498
|
});
|
|
4510
4499
|
|
|
4511
|
-
// node_modules/.pnpm/graphql@16.
|
|
4500
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/scalars.mjs
|
|
4512
4501
|
function isSpecifiedScalarType(type) {
|
|
4513
4502
|
return specifiedScalarTypes.some(({ name }) => type.name === name);
|
|
4514
4503
|
}
|
|
@@ -4528,7 +4517,7 @@ spurious results.`);
|
|
|
4528
4517
|
}
|
|
4529
4518
|
var GRAPHQL_MAX_INT, GRAPHQL_MIN_INT, GraphQLInt, GraphQLFloat, GraphQLString, GraphQLBoolean, GraphQLID, specifiedScalarTypes;
|
|
4530
4519
|
var init_scalars = __esm({
|
|
4531
|
-
"node_modules/.pnpm/graphql@16.
|
|
4520
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/scalars.mjs"() {
|
|
4532
4521
|
"use strict";
|
|
4533
4522
|
init_inspect();
|
|
4534
4523
|
init_isObjectLike();
|
|
@@ -4752,7 +4741,7 @@ spurious results.`);
|
|
|
4752
4741
|
}
|
|
4753
4742
|
});
|
|
4754
4743
|
|
|
4755
|
-
// node_modules/.pnpm/graphql@16.
|
|
4744
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/directives.mjs
|
|
4756
4745
|
function isDirective(directive) {
|
|
4757
4746
|
return instanceOf(directive, GraphQLDirective);
|
|
4758
4747
|
}
|
|
@@ -4767,9 +4756,9 @@ spurious results.`);
|
|
|
4767
4756
|
function isSpecifiedDirective(directive) {
|
|
4768
4757
|
return specifiedDirectives.some(({ name }) => name === directive.name);
|
|
4769
4758
|
}
|
|
4770
|
-
var GraphQLDirective, GraphQLIncludeDirective, GraphQLSkipDirective, DEFAULT_DEPRECATION_REASON, GraphQLDeprecatedDirective, GraphQLSpecifiedByDirective,
|
|
4759
|
+
var GraphQLDirective, GraphQLIncludeDirective, GraphQLSkipDirective, DEFAULT_DEPRECATION_REASON, GraphQLDeprecatedDirective, GraphQLSpecifiedByDirective, specifiedDirectives;
|
|
4771
4760
|
var init_directives = __esm({
|
|
4772
|
-
"node_modules/.pnpm/graphql@16.
|
|
4761
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/directives.mjs"() {
|
|
4773
4762
|
"use strict";
|
|
4774
4763
|
init_devAssert();
|
|
4775
4764
|
init_inspect();
|
|
@@ -4877,33 +4866,26 @@ spurious results.`);
|
|
|
4877
4866
|
}
|
|
4878
4867
|
}
|
|
4879
4868
|
});
|
|
4880
|
-
GraphQLOneOfDirective = new GraphQLDirective({
|
|
4881
|
-
name: "oneOf",
|
|
4882
|
-
description: "Indicates exactly one field must be supplied and this field must not be `null`.",
|
|
4883
|
-
locations: [DirectiveLocation.INPUT_OBJECT],
|
|
4884
|
-
args: {}
|
|
4885
|
-
});
|
|
4886
4869
|
specifiedDirectives = Object.freeze([
|
|
4887
4870
|
GraphQLIncludeDirective,
|
|
4888
4871
|
GraphQLSkipDirective,
|
|
4889
4872
|
GraphQLDeprecatedDirective,
|
|
4890
|
-
GraphQLSpecifiedByDirective
|
|
4891
|
-
GraphQLOneOfDirective
|
|
4873
|
+
GraphQLSpecifiedByDirective
|
|
4892
4874
|
]);
|
|
4893
4875
|
}
|
|
4894
4876
|
});
|
|
4895
4877
|
|
|
4896
|
-
// node_modules/.pnpm/graphql@16.
|
|
4878
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isIterableObject.mjs
|
|
4897
4879
|
function isIterableObject(maybeIterable) {
|
|
4898
4880
|
return typeof maybeIterable === "object" && typeof (maybeIterable === null || maybeIterable === void 0 ? void 0 : maybeIterable[Symbol.iterator]) === "function";
|
|
4899
4881
|
}
|
|
4900
4882
|
var init_isIterableObject = __esm({
|
|
4901
|
-
"node_modules/.pnpm/graphql@16.
|
|
4883
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isIterableObject.mjs"() {
|
|
4902
4884
|
"use strict";
|
|
4903
4885
|
}
|
|
4904
4886
|
});
|
|
4905
4887
|
|
|
4906
|
-
// node_modules/.pnpm/graphql@16.
|
|
4888
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/astFromValue.mjs
|
|
4907
4889
|
function astFromValue(value, type) {
|
|
4908
4890
|
if (isNonNullType(type)) {
|
|
4909
4891
|
const astValue = astFromValue(value, type.ofType);
|
|
@@ -5005,7 +4987,7 @@ spurious results.`);
|
|
|
5005
4987
|
}
|
|
5006
4988
|
var integerStringRegExp;
|
|
5007
4989
|
var init_astFromValue = __esm({
|
|
5008
|
-
"node_modules/.pnpm/graphql@16.
|
|
4990
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/astFromValue.mjs"() {
|
|
5009
4991
|
"use strict";
|
|
5010
4992
|
init_inspect();
|
|
5011
4993
|
init_invariant();
|
|
@@ -5018,13 +5000,13 @@ spurious results.`);
|
|
|
5018
5000
|
}
|
|
5019
5001
|
});
|
|
5020
5002
|
|
|
5021
|
-
// node_modules/.pnpm/graphql@16.
|
|
5003
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/introspection.mjs
|
|
5022
5004
|
function isIntrospectionType(type) {
|
|
5023
5005
|
return introspectionTypes.some(({ name }) => type.name === name);
|
|
5024
5006
|
}
|
|
5025
5007
|
var __Schema, __Directive, __DirectiveLocation, __Type, __Field, __InputValue, __EnumValue, TypeKind, __TypeKind, SchemaMetaFieldDef, TypeMetaFieldDef, TypeNameMetaFieldDef, introspectionTypes;
|
|
5026
5008
|
var init_introspection = __esm({
|
|
5027
|
-
"node_modules/.pnpm/graphql@16.
|
|
5009
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/introspection.mjs"() {
|
|
5028
5010
|
"use strict";
|
|
5029
5011
|
init_inspect();
|
|
5030
5012
|
init_invariant();
|
|
@@ -5305,14 +5287,6 @@ spurious results.`);
|
|
|
5305
5287
|
ofType: {
|
|
5306
5288
|
type: __Type,
|
|
5307
5289
|
resolve: (type) => "ofType" in type ? type.ofType : void 0
|
|
5308
|
-
},
|
|
5309
|
-
isOneOf: {
|
|
5310
|
-
type: GraphQLBoolean,
|
|
5311
|
-
resolve: (type) => {
|
|
5312
|
-
if (isInputObjectType(type)) {
|
|
5313
|
-
return type.isOneOf;
|
|
5314
|
-
}
|
|
5315
|
-
}
|
|
5316
5290
|
}
|
|
5317
5291
|
})
|
|
5318
5292
|
});
|
|
@@ -5514,7 +5488,7 @@ spurious results.`);
|
|
|
5514
5488
|
}
|
|
5515
5489
|
});
|
|
5516
5490
|
|
|
5517
|
-
// node_modules/.pnpm/graphql@16.
|
|
5491
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/schema.mjs
|
|
5518
5492
|
function isSchema(schema) {
|
|
5519
5493
|
return instanceOf(schema, GraphQLSchema);
|
|
5520
5494
|
}
|
|
@@ -5552,7 +5526,7 @@ spurious results.`);
|
|
|
5552
5526
|
}
|
|
5553
5527
|
var GraphQLSchema;
|
|
5554
5528
|
var init_schema = __esm({
|
|
5555
|
-
"node_modules/.pnpm/graphql@16.
|
|
5529
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/schema.mjs"() {
|
|
5556
5530
|
"use strict";
|
|
5557
5531
|
init_devAssert();
|
|
5558
5532
|
init_inspect();
|
|
@@ -5739,7 +5713,7 @@ spurious results.`);
|
|
|
5739
5713
|
}
|
|
5740
5714
|
});
|
|
5741
5715
|
|
|
5742
|
-
// node_modules/.pnpm/graphql@16.
|
|
5716
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/validate.mjs
|
|
5743
5717
|
function validateSchema(schema) {
|
|
5744
5718
|
assertSchema(schema);
|
|
5745
5719
|
if (schema.__validationErrors) {
|
|
@@ -6084,24 +6058,6 @@ spurious results.`);
|
|
|
6084
6058
|
]
|
|
6085
6059
|
);
|
|
6086
6060
|
}
|
|
6087
|
-
if (inputObj.isOneOf) {
|
|
6088
|
-
validateOneOfInputObjectField(inputObj, field, context);
|
|
6089
|
-
}
|
|
6090
|
-
}
|
|
6091
|
-
}
|
|
6092
|
-
function validateOneOfInputObjectField(type, field, context) {
|
|
6093
|
-
if (isNonNullType(field.type)) {
|
|
6094
|
-
var _field$astNode4;
|
|
6095
|
-
context.reportError(
|
|
6096
|
-
`OneOf input field ${type.name}.${field.name} must be nullable.`,
|
|
6097
|
-
(_field$astNode4 = field.astNode) === null || _field$astNode4 === void 0 ? void 0 : _field$astNode4.type
|
|
6098
|
-
);
|
|
6099
|
-
}
|
|
6100
|
-
if (field.defaultValue !== void 0) {
|
|
6101
|
-
context.reportError(
|
|
6102
|
-
`OneOf input field ${type.name}.${field.name} cannot have a default value.`,
|
|
6103
|
-
field.astNode
|
|
6104
|
-
);
|
|
6105
6061
|
}
|
|
6106
6062
|
}
|
|
6107
6063
|
function createInputObjectCircularRefsValidator(context) {
|
|
@@ -6167,7 +6123,7 @@ spurious results.`);
|
|
|
6167
6123
|
}
|
|
6168
6124
|
var SchemaValidationContext;
|
|
6169
6125
|
var init_validate = __esm({
|
|
6170
|
-
"node_modules/.pnpm/graphql@16.
|
|
6126
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/validate.mjs"() {
|
|
6171
6127
|
"use strict";
|
|
6172
6128
|
init_inspect();
|
|
6173
6129
|
init_GraphQLError();
|
|
@@ -6197,7 +6153,7 @@ spurious results.`);
|
|
|
6197
6153
|
}
|
|
6198
6154
|
});
|
|
6199
6155
|
|
|
6200
|
-
// node_modules/.pnpm/graphql@16.
|
|
6156
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/typeFromAST.mjs
|
|
6201
6157
|
function typeFromAST(schema, typeNode) {
|
|
6202
6158
|
switch (typeNode.kind) {
|
|
6203
6159
|
case Kind.LIST_TYPE: {
|
|
@@ -6213,14 +6169,14 @@ spurious results.`);
|
|
|
6213
6169
|
}
|
|
6214
6170
|
}
|
|
6215
6171
|
var init_typeFromAST = __esm({
|
|
6216
|
-
"node_modules/.pnpm/graphql@16.
|
|
6172
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/typeFromAST.mjs"() {
|
|
6217
6173
|
"use strict";
|
|
6218
6174
|
init_kinds();
|
|
6219
6175
|
init_definition();
|
|
6220
6176
|
}
|
|
6221
6177
|
});
|
|
6222
6178
|
|
|
6223
|
-
// node_modules/.pnpm/graphql@16.
|
|
6179
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/TypeInfo.mjs
|
|
6224
6180
|
function getFieldDef(schema, parentType, fieldNode) {
|
|
6225
6181
|
const name = fieldNode.name.value;
|
|
6226
6182
|
if (name === SchemaMetaFieldDef.name && schema.getQueryType() === parentType) {
|
|
@@ -6267,7 +6223,7 @@ spurious results.`);
|
|
|
6267
6223
|
}
|
|
6268
6224
|
var TypeInfo;
|
|
6269
6225
|
var init_TypeInfo = __esm({
|
|
6270
|
-
"node_modules/.pnpm/graphql@16.
|
|
6226
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/TypeInfo.mjs"() {
|
|
6271
6227
|
"use strict";
|
|
6272
6228
|
init_ast();
|
|
6273
6229
|
init_kinds();
|
|
@@ -6482,7 +6438,7 @@ spurious results.`);
|
|
|
6482
6438
|
}
|
|
6483
6439
|
});
|
|
6484
6440
|
|
|
6485
|
-
// node_modules/.pnpm/graphql@16.
|
|
6441
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/predicates.mjs
|
|
6486
6442
|
function isDefinitionNode(node) {
|
|
6487
6443
|
return isExecutableDefinitionNode(node) || isTypeSystemDefinitionNode(node) || isTypeSystemExtensionNode(node);
|
|
6488
6444
|
}
|
|
@@ -6514,13 +6470,13 @@ spurious results.`);
|
|
|
6514
6470
|
return node.kind === Kind.SCALAR_TYPE_EXTENSION || node.kind === Kind.OBJECT_TYPE_EXTENSION || node.kind === Kind.INTERFACE_TYPE_EXTENSION || node.kind === Kind.UNION_TYPE_EXTENSION || node.kind === Kind.ENUM_TYPE_EXTENSION || node.kind === Kind.INPUT_OBJECT_TYPE_EXTENSION;
|
|
6515
6471
|
}
|
|
6516
6472
|
var init_predicates = __esm({
|
|
6517
|
-
"node_modules/.pnpm/graphql@16.
|
|
6473
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/predicates.mjs"() {
|
|
6518
6474
|
"use strict";
|
|
6519
6475
|
init_kinds();
|
|
6520
6476
|
}
|
|
6521
6477
|
});
|
|
6522
6478
|
|
|
6523
|
-
// node_modules/.pnpm/graphql@16.
|
|
6479
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.mjs
|
|
6524
6480
|
function ExecutableDefinitionsRule(context) {
|
|
6525
6481
|
return {
|
|
6526
6482
|
Document(node) {
|
|
@@ -6539,7 +6495,7 @@ spurious results.`);
|
|
|
6539
6495
|
};
|
|
6540
6496
|
}
|
|
6541
6497
|
var init_ExecutableDefinitionsRule = __esm({
|
|
6542
|
-
"node_modules/.pnpm/graphql@16.
|
|
6498
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.mjs"() {
|
|
6543
6499
|
"use strict";
|
|
6544
6500
|
init_GraphQLError();
|
|
6545
6501
|
init_kinds();
|
|
@@ -6547,7 +6503,7 @@ spurious results.`);
|
|
|
6547
6503
|
}
|
|
6548
6504
|
});
|
|
6549
6505
|
|
|
6550
|
-
// node_modules/.pnpm/graphql@16.
|
|
6506
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.mjs
|
|
6551
6507
|
function FieldsOnCorrectTypeRule(context) {
|
|
6552
6508
|
return {
|
|
6553
6509
|
Field(node) {
|
|
@@ -6620,7 +6576,7 @@ spurious results.`);
|
|
|
6620
6576
|
return [];
|
|
6621
6577
|
}
|
|
6622
6578
|
var init_FieldsOnCorrectTypeRule = __esm({
|
|
6623
|
-
"node_modules/.pnpm/graphql@16.
|
|
6579
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.mjs"() {
|
|
6624
6580
|
"use strict";
|
|
6625
6581
|
init_didYouMean();
|
|
6626
6582
|
init_naturalCompare();
|
|
@@ -6630,7 +6586,7 @@ spurious results.`);
|
|
|
6630
6586
|
}
|
|
6631
6587
|
});
|
|
6632
6588
|
|
|
6633
|
-
// node_modules/.pnpm/graphql@16.
|
|
6589
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.mjs
|
|
6634
6590
|
function FragmentsOnCompositeTypesRule(context) {
|
|
6635
6591
|
return {
|
|
6636
6592
|
InlineFragment(node) {
|
|
@@ -6667,7 +6623,7 @@ spurious results.`);
|
|
|
6667
6623
|
};
|
|
6668
6624
|
}
|
|
6669
6625
|
var init_FragmentsOnCompositeTypesRule = __esm({
|
|
6670
|
-
"node_modules/.pnpm/graphql@16.
|
|
6626
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.mjs"() {
|
|
6671
6627
|
"use strict";
|
|
6672
6628
|
init_GraphQLError();
|
|
6673
6629
|
init_printer();
|
|
@@ -6676,7 +6632,7 @@ spurious results.`);
|
|
|
6676
6632
|
}
|
|
6677
6633
|
});
|
|
6678
6634
|
|
|
6679
|
-
// node_modules/.pnpm/graphql@16.
|
|
6635
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownArgumentNamesRule.mjs
|
|
6680
6636
|
function KnownArgumentNamesRule(context) {
|
|
6681
6637
|
return {
|
|
6682
6638
|
// eslint-disable-next-line new-cap
|
|
@@ -6741,7 +6697,7 @@ spurious results.`);
|
|
|
6741
6697
|
};
|
|
6742
6698
|
}
|
|
6743
6699
|
var init_KnownArgumentNamesRule = __esm({
|
|
6744
|
-
"node_modules/.pnpm/graphql@16.
|
|
6700
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownArgumentNamesRule.mjs"() {
|
|
6745
6701
|
"use strict";
|
|
6746
6702
|
init_didYouMean();
|
|
6747
6703
|
init_suggestionList();
|
|
@@ -6751,7 +6707,7 @@ spurious results.`);
|
|
|
6751
6707
|
}
|
|
6752
6708
|
});
|
|
6753
6709
|
|
|
6754
|
-
// node_modules/.pnpm/graphql@16.
|
|
6710
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownDirectivesRule.mjs
|
|
6755
6711
|
function KnownDirectivesRule(context) {
|
|
6756
6712
|
const locationsMap = /* @__PURE__ */ Object.create(null);
|
|
6757
6713
|
const schema = context.getSchema();
|
|
@@ -6854,7 +6810,7 @@ spurious results.`);
|
|
|
6854
6810
|
}
|
|
6855
6811
|
}
|
|
6856
6812
|
var init_KnownDirectivesRule = __esm({
|
|
6857
|
-
"node_modules/.pnpm/graphql@16.
|
|
6813
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownDirectivesRule.mjs"() {
|
|
6858
6814
|
"use strict";
|
|
6859
6815
|
init_inspect();
|
|
6860
6816
|
init_invariant();
|
|
@@ -6866,7 +6822,7 @@ spurious results.`);
|
|
|
6866
6822
|
}
|
|
6867
6823
|
});
|
|
6868
6824
|
|
|
6869
|
-
// node_modules/.pnpm/graphql@16.
|
|
6825
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownFragmentNamesRule.mjs
|
|
6870
6826
|
function KnownFragmentNamesRule(context) {
|
|
6871
6827
|
return {
|
|
6872
6828
|
FragmentSpread(node) {
|
|
@@ -6883,13 +6839,13 @@ spurious results.`);
|
|
|
6883
6839
|
};
|
|
6884
6840
|
}
|
|
6885
6841
|
var init_KnownFragmentNamesRule = __esm({
|
|
6886
|
-
"node_modules/.pnpm/graphql@16.
|
|
6842
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownFragmentNamesRule.mjs"() {
|
|
6887
6843
|
"use strict";
|
|
6888
6844
|
init_GraphQLError();
|
|
6889
6845
|
}
|
|
6890
6846
|
});
|
|
6891
6847
|
|
|
6892
|
-
// node_modules/.pnpm/graphql@16.
|
|
6848
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs
|
|
6893
6849
|
function KnownTypeNamesRule(context) {
|
|
6894
6850
|
const schema = context.getSchema();
|
|
6895
6851
|
const existingTypesMap = schema ? schema.getTypeMap() : /* @__PURE__ */ Object.create(null);
|
|
@@ -6934,7 +6890,7 @@ spurious results.`);
|
|
|
6934
6890
|
}
|
|
6935
6891
|
var standardTypeNames;
|
|
6936
6892
|
var init_KnownTypeNamesRule = __esm({
|
|
6937
|
-
"node_modules/.pnpm/graphql@16.
|
|
6893
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs"() {
|
|
6938
6894
|
"use strict";
|
|
6939
6895
|
init_didYouMean();
|
|
6940
6896
|
init_suggestionList();
|
|
@@ -6948,7 +6904,7 @@ spurious results.`);
|
|
|
6948
6904
|
}
|
|
6949
6905
|
});
|
|
6950
6906
|
|
|
6951
|
-
// node_modules/.pnpm/graphql@16.
|
|
6907
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs
|
|
6952
6908
|
function LoneAnonymousOperationRule(context) {
|
|
6953
6909
|
let operationCount = 0;
|
|
6954
6910
|
return {
|
|
@@ -6972,14 +6928,14 @@ spurious results.`);
|
|
|
6972
6928
|
};
|
|
6973
6929
|
}
|
|
6974
6930
|
var init_LoneAnonymousOperationRule = __esm({
|
|
6975
|
-
"node_modules/.pnpm/graphql@16.
|
|
6931
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs"() {
|
|
6976
6932
|
"use strict";
|
|
6977
6933
|
init_GraphQLError();
|
|
6978
6934
|
init_kinds();
|
|
6979
6935
|
}
|
|
6980
6936
|
});
|
|
6981
6937
|
|
|
6982
|
-
// node_modules/.pnpm/graphql@16.
|
|
6938
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs
|
|
6983
6939
|
function LoneSchemaDefinitionRule(context) {
|
|
6984
6940
|
var _ref, _ref2, _oldSchema$astNode;
|
|
6985
6941
|
const oldSchema = context.getSchema();
|
|
@@ -7010,73 +6966,13 @@ spurious results.`);
|
|
|
7010
6966
|
};
|
|
7011
6967
|
}
|
|
7012
6968
|
var init_LoneSchemaDefinitionRule = __esm({
|
|
7013
|
-
"node_modules/.pnpm/graphql@16.
|
|
7014
|
-
"use strict";
|
|
7015
|
-
init_GraphQLError();
|
|
7016
|
-
}
|
|
7017
|
-
});
|
|
7018
|
-
|
|
7019
|
-
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.mjs
|
|
7020
|
-
function MaxIntrospectionDepthRule(context) {
|
|
7021
|
-
function checkDepth(node, visitedFragments = /* @__PURE__ */ Object.create(null), depth = 0) {
|
|
7022
|
-
if (node.kind === Kind.FRAGMENT_SPREAD) {
|
|
7023
|
-
const fragmentName = node.name.value;
|
|
7024
|
-
if (visitedFragments[fragmentName] === true) {
|
|
7025
|
-
return false;
|
|
7026
|
-
}
|
|
7027
|
-
const fragment = context.getFragment(fragmentName);
|
|
7028
|
-
if (!fragment) {
|
|
7029
|
-
return false;
|
|
7030
|
-
}
|
|
7031
|
-
try {
|
|
7032
|
-
visitedFragments[fragmentName] = true;
|
|
7033
|
-
return checkDepth(fragment, visitedFragments, depth);
|
|
7034
|
-
} finally {
|
|
7035
|
-
visitedFragments[fragmentName] = void 0;
|
|
7036
|
-
}
|
|
7037
|
-
}
|
|
7038
|
-
if (node.kind === Kind.FIELD && // check all introspection lists
|
|
7039
|
-
(node.name.value === "fields" || node.name.value === "interfaces" || node.name.value === "possibleTypes" || node.name.value === "inputFields")) {
|
|
7040
|
-
depth++;
|
|
7041
|
-
if (depth >= MAX_LISTS_DEPTH) {
|
|
7042
|
-
return true;
|
|
7043
|
-
}
|
|
7044
|
-
}
|
|
7045
|
-
if ("selectionSet" in node && node.selectionSet) {
|
|
7046
|
-
for (const child of node.selectionSet.selections) {
|
|
7047
|
-
if (checkDepth(child, visitedFragments, depth)) {
|
|
7048
|
-
return true;
|
|
7049
|
-
}
|
|
7050
|
-
}
|
|
7051
|
-
}
|
|
7052
|
-
return false;
|
|
7053
|
-
}
|
|
7054
|
-
return {
|
|
7055
|
-
Field(node) {
|
|
7056
|
-
if (node.name.value === "__schema" || node.name.value === "__type") {
|
|
7057
|
-
if (checkDepth(node)) {
|
|
7058
|
-
context.reportError(
|
|
7059
|
-
new GraphQLError("Maximum introspection depth exceeded", {
|
|
7060
|
-
nodes: [node]
|
|
7061
|
-
})
|
|
7062
|
-
);
|
|
7063
|
-
return false;
|
|
7064
|
-
}
|
|
7065
|
-
}
|
|
7066
|
-
}
|
|
7067
|
-
};
|
|
7068
|
-
}
|
|
7069
|
-
var MAX_LISTS_DEPTH;
|
|
7070
|
-
var init_MaxIntrospectionDepthRule = __esm({
|
|
7071
|
-
"node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.mjs"() {
|
|
6969
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs"() {
|
|
7072
6970
|
"use strict";
|
|
7073
6971
|
init_GraphQLError();
|
|
7074
|
-
init_kinds();
|
|
7075
|
-
MAX_LISTS_DEPTH = 3;
|
|
7076
6972
|
}
|
|
7077
6973
|
});
|
|
7078
6974
|
|
|
7079
|
-
// node_modules/.pnpm/graphql@16.
|
|
6975
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs
|
|
7080
6976
|
function NoFragmentCyclesRule(context) {
|
|
7081
6977
|
const visitedFrags = /* @__PURE__ */ Object.create(null);
|
|
7082
6978
|
const spreadPath = [];
|
|
@@ -7126,13 +7022,13 @@ spurious results.`);
|
|
|
7126
7022
|
}
|
|
7127
7023
|
}
|
|
7128
7024
|
var init_NoFragmentCyclesRule = __esm({
|
|
7129
|
-
"node_modules/.pnpm/graphql@16.
|
|
7025
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs"() {
|
|
7130
7026
|
"use strict";
|
|
7131
7027
|
init_GraphQLError();
|
|
7132
7028
|
}
|
|
7133
7029
|
});
|
|
7134
7030
|
|
|
7135
|
-
// node_modules/.pnpm/graphql@16.
|
|
7031
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs
|
|
7136
7032
|
function NoUndefinedVariablesRule(context) {
|
|
7137
7033
|
let variableNameDefined = /* @__PURE__ */ Object.create(null);
|
|
7138
7034
|
return {
|
|
@@ -7163,13 +7059,13 @@ spurious results.`);
|
|
|
7163
7059
|
};
|
|
7164
7060
|
}
|
|
7165
7061
|
var init_NoUndefinedVariablesRule = __esm({
|
|
7166
|
-
"node_modules/.pnpm/graphql@16.
|
|
7062
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs"() {
|
|
7167
7063
|
"use strict";
|
|
7168
7064
|
init_GraphQLError();
|
|
7169
7065
|
}
|
|
7170
7066
|
});
|
|
7171
7067
|
|
|
7172
|
-
// node_modules/.pnpm/graphql@16.
|
|
7068
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs
|
|
7173
7069
|
function NoUnusedFragmentsRule(context) {
|
|
7174
7070
|
const operationDefs = [];
|
|
7175
7071
|
const fragmentDefs = [];
|
|
@@ -7207,13 +7103,13 @@ spurious results.`);
|
|
|
7207
7103
|
};
|
|
7208
7104
|
}
|
|
7209
7105
|
var init_NoUnusedFragmentsRule = __esm({
|
|
7210
|
-
"node_modules/.pnpm/graphql@16.
|
|
7106
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs"() {
|
|
7211
7107
|
"use strict";
|
|
7212
7108
|
init_GraphQLError();
|
|
7213
7109
|
}
|
|
7214
7110
|
});
|
|
7215
7111
|
|
|
7216
|
-
// node_modules/.pnpm/graphql@16.
|
|
7112
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUnusedVariablesRule.mjs
|
|
7217
7113
|
function NoUnusedVariablesRule(context) {
|
|
7218
7114
|
let variableDefs = [];
|
|
7219
7115
|
return {
|
|
@@ -7248,13 +7144,13 @@ spurious results.`);
|
|
|
7248
7144
|
};
|
|
7249
7145
|
}
|
|
7250
7146
|
var init_NoUnusedVariablesRule = __esm({
|
|
7251
|
-
"node_modules/.pnpm/graphql@16.
|
|
7147
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUnusedVariablesRule.mjs"() {
|
|
7252
7148
|
"use strict";
|
|
7253
7149
|
init_GraphQLError();
|
|
7254
7150
|
}
|
|
7255
7151
|
});
|
|
7256
7152
|
|
|
7257
|
-
// node_modules/.pnpm/graphql@16.
|
|
7153
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/sortValueNode.mjs
|
|
7258
7154
|
function sortValueNode(valueNode) {
|
|
7259
7155
|
switch (valueNode.kind) {
|
|
7260
7156
|
case Kind.OBJECT:
|
|
@@ -7280,14 +7176,14 @@ spurious results.`);
|
|
|
7280
7176
|
);
|
|
7281
7177
|
}
|
|
7282
7178
|
var init_sortValueNode = __esm({
|
|
7283
|
-
"node_modules/.pnpm/graphql@16.
|
|
7179
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/sortValueNode.mjs"() {
|
|
7284
7180
|
"use strict";
|
|
7285
7181
|
init_naturalCompare();
|
|
7286
7182
|
init_kinds();
|
|
7287
7183
|
}
|
|
7288
7184
|
});
|
|
7289
7185
|
|
|
7290
|
-
// node_modules/.pnpm/graphql@16.
|
|
7186
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.mjs
|
|
7291
7187
|
function reasonMessage(reason) {
|
|
7292
7188
|
if (Array.isArray(reason)) {
|
|
7293
7189
|
return reason.map(
|
|
@@ -7745,7 +7641,7 @@ spurious results.`);
|
|
|
7745
7641
|
}
|
|
7746
7642
|
var PairSet;
|
|
7747
7643
|
var init_OverlappingFieldsCanBeMergedRule = __esm({
|
|
7748
|
-
"node_modules/.pnpm/graphql@16.
|
|
7644
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.mjs"() {
|
|
7749
7645
|
"use strict";
|
|
7750
7646
|
init_inspect();
|
|
7751
7647
|
init_GraphQLError();
|
|
@@ -7780,7 +7676,7 @@ spurious results.`);
|
|
|
7780
7676
|
}
|
|
7781
7677
|
});
|
|
7782
7678
|
|
|
7783
|
-
// node_modules/.pnpm/graphql@16.
|
|
7679
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.mjs
|
|
7784
7680
|
function PossibleFragmentSpreadsRule(context) {
|
|
7785
7681
|
return {
|
|
7786
7682
|
InlineFragment(node) {
|
|
@@ -7828,7 +7724,7 @@ spurious results.`);
|
|
|
7828
7724
|
}
|
|
7829
7725
|
}
|
|
7830
7726
|
var init_PossibleFragmentSpreadsRule = __esm({
|
|
7831
|
-
"node_modules/.pnpm/graphql@16.
|
|
7727
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.mjs"() {
|
|
7832
7728
|
"use strict";
|
|
7833
7729
|
init_inspect();
|
|
7834
7730
|
init_GraphQLError();
|
|
@@ -7838,7 +7734,7 @@ spurious results.`);
|
|
|
7838
7734
|
}
|
|
7839
7735
|
});
|
|
7840
7736
|
|
|
7841
|
-
// node_modules/.pnpm/graphql@16.
|
|
7737
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.mjs
|
|
7842
7738
|
function PossibleTypeExtensionsRule(context) {
|
|
7843
7739
|
const schema = context.getSchema();
|
|
7844
7740
|
const definedTypes = /* @__PURE__ */ Object.create(null);
|
|
@@ -7934,7 +7830,7 @@ spurious results.`);
|
|
|
7934
7830
|
}
|
|
7935
7831
|
var defKindToExtKind;
|
|
7936
7832
|
var init_PossibleTypeExtensionsRule = __esm({
|
|
7937
|
-
"node_modules/.pnpm/graphql@16.
|
|
7833
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.mjs"() {
|
|
7938
7834
|
"use strict";
|
|
7939
7835
|
init_didYouMean();
|
|
7940
7836
|
init_inspect();
|
|
@@ -7955,7 +7851,7 @@ spurious results.`);
|
|
|
7955
7851
|
}
|
|
7956
7852
|
});
|
|
7957
7853
|
|
|
7958
|
-
// node_modules/.pnpm/graphql@16.
|
|
7854
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.mjs
|
|
7959
7855
|
function ProvidedRequiredArgumentsRule(context) {
|
|
7960
7856
|
return {
|
|
7961
7857
|
// eslint-disable-next-line new-cap
|
|
@@ -8044,7 +7940,7 @@ spurious results.`);
|
|
|
8044
7940
|
return arg.type.kind === Kind.NON_NULL_TYPE && arg.defaultValue == null;
|
|
8045
7941
|
}
|
|
8046
7942
|
var init_ProvidedRequiredArgumentsRule = __esm({
|
|
8047
|
-
"node_modules/.pnpm/graphql@16.
|
|
7943
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.mjs"() {
|
|
8048
7944
|
"use strict";
|
|
8049
7945
|
init_inspect();
|
|
8050
7946
|
init_keyMap();
|
|
@@ -8056,7 +7952,7 @@ spurious results.`);
|
|
|
8056
7952
|
}
|
|
8057
7953
|
});
|
|
8058
7954
|
|
|
8059
|
-
// node_modules/.pnpm/graphql@16.
|
|
7955
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ScalarLeafsRule.mjs
|
|
8060
7956
|
function ScalarLeafsRule(context) {
|
|
8061
7957
|
return {
|
|
8062
7958
|
Field(node) {
|
|
@@ -8093,7 +7989,7 @@ spurious results.`);
|
|
|
8093
7989
|
};
|
|
8094
7990
|
}
|
|
8095
7991
|
var init_ScalarLeafsRule = __esm({
|
|
8096
|
-
"node_modules/.pnpm/graphql@16.
|
|
7992
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ScalarLeafsRule.mjs"() {
|
|
8097
7993
|
"use strict";
|
|
8098
7994
|
init_inspect();
|
|
8099
7995
|
init_GraphQLError();
|
|
@@ -8101,19 +7997,19 @@ spurious results.`);
|
|
|
8101
7997
|
}
|
|
8102
7998
|
});
|
|
8103
7999
|
|
|
8104
|
-
// node_modules/.pnpm/graphql@16.
|
|
8000
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/printPathArray.mjs
|
|
8105
8001
|
function printPathArray(path) {
|
|
8106
8002
|
return path.map(
|
|
8107
8003
|
(key) => typeof key === "number" ? "[" + key.toString() + "]" : "." + key
|
|
8108
8004
|
).join("");
|
|
8109
8005
|
}
|
|
8110
8006
|
var init_printPathArray = __esm({
|
|
8111
|
-
"node_modules/.pnpm/graphql@16.
|
|
8007
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/printPathArray.mjs"() {
|
|
8112
8008
|
"use strict";
|
|
8113
8009
|
}
|
|
8114
8010
|
});
|
|
8115
8011
|
|
|
8116
|
-
// node_modules/.pnpm/graphql@16.
|
|
8012
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/Path.mjs
|
|
8117
8013
|
function addPath(prev, key, typename) {
|
|
8118
8014
|
return {
|
|
8119
8015
|
prev,
|
|
@@ -8131,12 +8027,12 @@ spurious results.`);
|
|
|
8131
8027
|
return flattened.reverse();
|
|
8132
8028
|
}
|
|
8133
8029
|
var init_Path = __esm({
|
|
8134
|
-
"node_modules/.pnpm/graphql@16.
|
|
8030
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/Path.mjs"() {
|
|
8135
8031
|
"use strict";
|
|
8136
8032
|
}
|
|
8137
8033
|
});
|
|
8138
8034
|
|
|
8139
|
-
// node_modules/.pnpm/graphql@16.
|
|
8035
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/coerceInputValue.mjs
|
|
8140
8036
|
function coerceInputValue(inputValue, type, onError = defaultOnError) {
|
|
8141
8037
|
return coerceInputValueImpl(inputValue, type, onError, void 0);
|
|
8142
8038
|
}
|
|
@@ -8225,27 +8121,6 @@ spurious results.`);
|
|
|
8225
8121
|
);
|
|
8226
8122
|
}
|
|
8227
8123
|
}
|
|
8228
|
-
if (type.isOneOf) {
|
|
8229
|
-
const keys = Object.keys(coercedValue);
|
|
8230
|
-
if (keys.length !== 1) {
|
|
8231
|
-
onError(
|
|
8232
|
-
pathToArray(path),
|
|
8233
|
-
inputValue,
|
|
8234
|
-
new GraphQLError(
|
|
8235
|
-
`Exactly one key must be specified for OneOf type "${type.name}".`
|
|
8236
|
-
)
|
|
8237
|
-
);
|
|
8238
|
-
}
|
|
8239
|
-
const key = keys[0];
|
|
8240
|
-
const value = coercedValue[key];
|
|
8241
|
-
if (value === null) {
|
|
8242
|
-
onError(
|
|
8243
|
-
pathToArray(path).concat(key),
|
|
8244
|
-
value,
|
|
8245
|
-
new GraphQLError(`Field "${key}" must be non-null.`)
|
|
8246
|
-
);
|
|
8247
|
-
}
|
|
8248
|
-
}
|
|
8249
8124
|
return coercedValue;
|
|
8250
8125
|
}
|
|
8251
8126
|
if (isLeafType(type)) {
|
|
@@ -8278,7 +8153,7 @@ spurious results.`);
|
|
|
8278
8153
|
invariant2(false, "Unexpected input type: " + inspect(type));
|
|
8279
8154
|
}
|
|
8280
8155
|
var init_coerceInputValue = __esm({
|
|
8281
|
-
"node_modules/.pnpm/graphql@16.
|
|
8156
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/coerceInputValue.mjs"() {
|
|
8282
8157
|
"use strict";
|
|
8283
8158
|
init_didYouMean();
|
|
8284
8159
|
init_inspect();
|
|
@@ -8293,7 +8168,7 @@ spurious results.`);
|
|
|
8293
8168
|
}
|
|
8294
8169
|
});
|
|
8295
8170
|
|
|
8296
|
-
// node_modules/.pnpm/graphql@16.
|
|
8171
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/valueFromAST.mjs
|
|
8297
8172
|
function valueFromAST(valueNode, type, variables) {
|
|
8298
8173
|
if (!valueNode) {
|
|
8299
8174
|
return;
|
|
@@ -8366,15 +8241,6 @@ spurious results.`);
|
|
|
8366
8241
|
}
|
|
8367
8242
|
coercedObj[field.name] = fieldValue;
|
|
8368
8243
|
}
|
|
8369
|
-
if (type.isOneOf) {
|
|
8370
|
-
const keys = Object.keys(coercedObj);
|
|
8371
|
-
if (keys.length !== 1) {
|
|
8372
|
-
return;
|
|
8373
|
-
}
|
|
8374
|
-
if (coercedObj[keys[0]] === null) {
|
|
8375
|
-
return;
|
|
8376
|
-
}
|
|
8377
|
-
}
|
|
8378
8244
|
return coercedObj;
|
|
8379
8245
|
}
|
|
8380
8246
|
if (isLeafType(type)) {
|
|
@@ -8395,7 +8261,7 @@ spurious results.`);
|
|
|
8395
8261
|
return valueNode.kind === Kind.VARIABLE && (variables == null || variables[valueNode.name.value] === void 0);
|
|
8396
8262
|
}
|
|
8397
8263
|
var init_valueFromAST = __esm({
|
|
8398
|
-
"node_modules/.pnpm/graphql@16.
|
|
8264
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/valueFromAST.mjs"() {
|
|
8399
8265
|
"use strict";
|
|
8400
8266
|
init_inspect();
|
|
8401
8267
|
init_invariant();
|
|
@@ -8405,7 +8271,7 @@ spurious results.`);
|
|
|
8405
8271
|
}
|
|
8406
8272
|
});
|
|
8407
8273
|
|
|
8408
|
-
// node_modules/.pnpm/graphql@16.
|
|
8274
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/values.mjs
|
|
8409
8275
|
function getVariableValues(schema, varDefNodes, inputs, options) {
|
|
8410
8276
|
const errors = [];
|
|
8411
8277
|
const maxErrors = options === null || options === void 0 ? void 0 : options.maxErrors;
|
|
@@ -8575,7 +8441,7 @@ spurious results.`);
|
|
|
8575
8441
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
8576
8442
|
}
|
|
8577
8443
|
var init_values = __esm({
|
|
8578
|
-
"node_modules/.pnpm/graphql@16.
|
|
8444
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/values.mjs"() {
|
|
8579
8445
|
"use strict";
|
|
8580
8446
|
init_inspect();
|
|
8581
8447
|
init_keyMap();
|
|
@@ -8590,7 +8456,7 @@ spurious results.`);
|
|
|
8590
8456
|
}
|
|
8591
8457
|
});
|
|
8592
8458
|
|
|
8593
|
-
// node_modules/.pnpm/graphql@16.
|
|
8459
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/collectFields.mjs
|
|
8594
8460
|
function collectFields(schema, fragments, variableValues, runtimeType, selectionSet) {
|
|
8595
8461
|
const fields = /* @__PURE__ */ new Map();
|
|
8596
8462
|
collectFieldsImpl(
|
|
@@ -8710,7 +8576,7 @@ spurious results.`);
|
|
|
8710
8576
|
return node.alias ? node.alias.value : node.name.value;
|
|
8711
8577
|
}
|
|
8712
8578
|
var init_collectFields = __esm({
|
|
8713
|
-
"node_modules/.pnpm/graphql@16.
|
|
8579
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/collectFields.mjs"() {
|
|
8714
8580
|
"use strict";
|
|
8715
8581
|
init_kinds();
|
|
8716
8582
|
init_definition();
|
|
@@ -8720,7 +8586,7 @@ spurious results.`);
|
|
|
8720
8586
|
}
|
|
8721
8587
|
});
|
|
8722
8588
|
|
|
8723
|
-
// node_modules/.pnpm/graphql@16.
|
|
8589
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.mjs
|
|
8724
8590
|
function SingleFieldSubscriptionsRule(context) {
|
|
8725
8591
|
return {
|
|
8726
8592
|
OperationDefinition(node) {
|
|
@@ -8777,7 +8643,7 @@ spurious results.`);
|
|
|
8777
8643
|
};
|
|
8778
8644
|
}
|
|
8779
8645
|
var init_SingleFieldSubscriptionsRule = __esm({
|
|
8780
|
-
"node_modules/.pnpm/graphql@16.
|
|
8646
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.mjs"() {
|
|
8781
8647
|
"use strict";
|
|
8782
8648
|
init_GraphQLError();
|
|
8783
8649
|
init_kinds();
|
|
@@ -8785,7 +8651,7 @@ spurious results.`);
|
|
|
8785
8651
|
}
|
|
8786
8652
|
});
|
|
8787
8653
|
|
|
8788
|
-
// node_modules/.pnpm/graphql@16.
|
|
8654
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/groupBy.mjs
|
|
8789
8655
|
function groupBy(list, keyFn) {
|
|
8790
8656
|
const result = /* @__PURE__ */ new Map();
|
|
8791
8657
|
for (const item of list) {
|
|
@@ -8800,12 +8666,12 @@ spurious results.`);
|
|
|
8800
8666
|
return result;
|
|
8801
8667
|
}
|
|
8802
8668
|
var init_groupBy = __esm({
|
|
8803
|
-
"node_modules/.pnpm/graphql@16.
|
|
8669
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/groupBy.mjs"() {
|
|
8804
8670
|
"use strict";
|
|
8805
8671
|
}
|
|
8806
8672
|
});
|
|
8807
8673
|
|
|
8808
|
-
// node_modules/.pnpm/graphql@16.
|
|
8674
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.mjs
|
|
8809
8675
|
function UniqueArgumentDefinitionNamesRule(context) {
|
|
8810
8676
|
return {
|
|
8811
8677
|
DirectiveDefinition(directiveNode) {
|
|
@@ -8848,14 +8714,14 @@ spurious results.`);
|
|
|
8848
8714
|
}
|
|
8849
8715
|
}
|
|
8850
8716
|
var init_UniqueArgumentDefinitionNamesRule = __esm({
|
|
8851
|
-
"node_modules/.pnpm/graphql@16.
|
|
8717
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.mjs"() {
|
|
8852
8718
|
"use strict";
|
|
8853
8719
|
init_groupBy();
|
|
8854
8720
|
init_GraphQLError();
|
|
8855
8721
|
}
|
|
8856
8722
|
});
|
|
8857
8723
|
|
|
8858
|
-
// node_modules/.pnpm/graphql@16.
|
|
8724
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.mjs
|
|
8859
8725
|
function UniqueArgumentNamesRule(context) {
|
|
8860
8726
|
return {
|
|
8861
8727
|
Field: checkArgUniqueness,
|
|
@@ -8880,14 +8746,14 @@ spurious results.`);
|
|
|
8880
8746
|
}
|
|
8881
8747
|
}
|
|
8882
8748
|
var init_UniqueArgumentNamesRule = __esm({
|
|
8883
|
-
"node_modules/.pnpm/graphql@16.
|
|
8749
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.mjs"() {
|
|
8884
8750
|
"use strict";
|
|
8885
8751
|
init_groupBy();
|
|
8886
8752
|
init_GraphQLError();
|
|
8887
8753
|
}
|
|
8888
8754
|
});
|
|
8889
8755
|
|
|
8890
|
-
// node_modules/.pnpm/graphql@16.
|
|
8756
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.mjs
|
|
8891
8757
|
function UniqueDirectiveNamesRule(context) {
|
|
8892
8758
|
const knownDirectiveNames = /* @__PURE__ */ Object.create(null);
|
|
8893
8759
|
const schema = context.getSchema();
|
|
@@ -8922,13 +8788,13 @@ spurious results.`);
|
|
|
8922
8788
|
};
|
|
8923
8789
|
}
|
|
8924
8790
|
var init_UniqueDirectiveNamesRule = __esm({
|
|
8925
|
-
"node_modules/.pnpm/graphql@16.
|
|
8791
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.mjs"() {
|
|
8926
8792
|
"use strict";
|
|
8927
8793
|
init_GraphQLError();
|
|
8928
8794
|
}
|
|
8929
8795
|
});
|
|
8930
8796
|
|
|
8931
|
-
// node_modules/.pnpm/graphql@16.
|
|
8797
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs
|
|
8932
8798
|
function UniqueDirectivesPerLocationRule(context) {
|
|
8933
8799
|
const uniqueDirectiveMap = /* @__PURE__ */ Object.create(null);
|
|
8934
8800
|
const schema = context.getSchema();
|
|
@@ -8985,7 +8851,7 @@ spurious results.`);
|
|
|
8985
8851
|
};
|
|
8986
8852
|
}
|
|
8987
8853
|
var init_UniqueDirectivesPerLocationRule = __esm({
|
|
8988
|
-
"node_modules/.pnpm/graphql@16.
|
|
8854
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs"() {
|
|
8989
8855
|
"use strict";
|
|
8990
8856
|
init_GraphQLError();
|
|
8991
8857
|
init_kinds();
|
|
@@ -8994,7 +8860,7 @@ spurious results.`);
|
|
|
8994
8860
|
}
|
|
8995
8861
|
});
|
|
8996
8862
|
|
|
8997
|
-
// node_modules/.pnpm/graphql@16.
|
|
8863
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.mjs
|
|
8998
8864
|
function UniqueEnumValueNamesRule(context) {
|
|
8999
8865
|
const schema = context.getSchema();
|
|
9000
8866
|
const existingTypeMap = schema ? schema.getTypeMap() : /* @__PURE__ */ Object.create(null);
|
|
@@ -9040,14 +8906,14 @@ spurious results.`);
|
|
|
9040
8906
|
}
|
|
9041
8907
|
}
|
|
9042
8908
|
var init_UniqueEnumValueNamesRule = __esm({
|
|
9043
|
-
"node_modules/.pnpm/graphql@16.
|
|
8909
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.mjs"() {
|
|
9044
8910
|
"use strict";
|
|
9045
8911
|
init_GraphQLError();
|
|
9046
8912
|
init_definition();
|
|
9047
8913
|
}
|
|
9048
8914
|
});
|
|
9049
8915
|
|
|
9050
|
-
// node_modules/.pnpm/graphql@16.
|
|
8916
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.mjs
|
|
9051
8917
|
function UniqueFieldDefinitionNamesRule(context) {
|
|
9052
8918
|
const schema = context.getSchema();
|
|
9053
8919
|
const existingTypeMap = schema ? schema.getTypeMap() : /* @__PURE__ */ Object.create(null);
|
|
@@ -9102,14 +8968,14 @@ spurious results.`);
|
|
|
9102
8968
|
return false;
|
|
9103
8969
|
}
|
|
9104
8970
|
var init_UniqueFieldDefinitionNamesRule = __esm({
|
|
9105
|
-
"node_modules/.pnpm/graphql@16.
|
|
8971
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.mjs"() {
|
|
9106
8972
|
"use strict";
|
|
9107
8973
|
init_GraphQLError();
|
|
9108
8974
|
init_definition();
|
|
9109
8975
|
}
|
|
9110
8976
|
});
|
|
9111
8977
|
|
|
9112
|
-
// node_modules/.pnpm/graphql@16.
|
|
8978
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.mjs
|
|
9113
8979
|
function UniqueFragmentNamesRule(context) {
|
|
9114
8980
|
const knownFragmentNames = /* @__PURE__ */ Object.create(null);
|
|
9115
8981
|
return {
|
|
@@ -9133,13 +8999,13 @@ spurious results.`);
|
|
|
9133
8999
|
};
|
|
9134
9000
|
}
|
|
9135
9001
|
var init_UniqueFragmentNamesRule = __esm({
|
|
9136
|
-
"node_modules/.pnpm/graphql@16.
|
|
9002
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.mjs"() {
|
|
9137
9003
|
"use strict";
|
|
9138
9004
|
init_GraphQLError();
|
|
9139
9005
|
}
|
|
9140
9006
|
});
|
|
9141
9007
|
|
|
9142
|
-
// node_modules/.pnpm/graphql@16.
|
|
9008
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.mjs
|
|
9143
9009
|
function UniqueInputFieldNamesRule(context) {
|
|
9144
9010
|
const knownNameStack = [];
|
|
9145
9011
|
let knownNames = /* @__PURE__ */ Object.create(null);
|
|
@@ -9173,14 +9039,14 @@ spurious results.`);
|
|
|
9173
9039
|
};
|
|
9174
9040
|
}
|
|
9175
9041
|
var init_UniqueInputFieldNamesRule = __esm({
|
|
9176
|
-
"node_modules/.pnpm/graphql@16.
|
|
9042
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.mjs"() {
|
|
9177
9043
|
"use strict";
|
|
9178
9044
|
init_invariant();
|
|
9179
9045
|
init_GraphQLError();
|
|
9180
9046
|
}
|
|
9181
9047
|
});
|
|
9182
9048
|
|
|
9183
|
-
// node_modules/.pnpm/graphql@16.
|
|
9049
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueOperationNamesRule.mjs
|
|
9184
9050
|
function UniqueOperationNamesRule(context) {
|
|
9185
9051
|
const knownOperationNames = /* @__PURE__ */ Object.create(null);
|
|
9186
9052
|
return {
|
|
@@ -9209,13 +9075,13 @@ spurious results.`);
|
|
|
9209
9075
|
};
|
|
9210
9076
|
}
|
|
9211
9077
|
var init_UniqueOperationNamesRule = __esm({
|
|
9212
|
-
"node_modules/.pnpm/graphql@16.
|
|
9078
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueOperationNamesRule.mjs"() {
|
|
9213
9079
|
"use strict";
|
|
9214
9080
|
init_GraphQLError();
|
|
9215
9081
|
}
|
|
9216
9082
|
});
|
|
9217
9083
|
|
|
9218
|
-
// node_modules/.pnpm/graphql@16.
|
|
9084
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueOperationTypesRule.mjs
|
|
9219
9085
|
function UniqueOperationTypesRule(context) {
|
|
9220
9086
|
const schema = context.getSchema();
|
|
9221
9087
|
const definedOperationTypes = /* @__PURE__ */ Object.create(null);
|
|
@@ -9260,13 +9126,13 @@ spurious results.`);
|
|
|
9260
9126
|
}
|
|
9261
9127
|
}
|
|
9262
9128
|
var init_UniqueOperationTypesRule = __esm({
|
|
9263
|
-
"node_modules/.pnpm/graphql@16.
|
|
9129
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueOperationTypesRule.mjs"() {
|
|
9264
9130
|
"use strict";
|
|
9265
9131
|
init_GraphQLError();
|
|
9266
9132
|
}
|
|
9267
9133
|
});
|
|
9268
9134
|
|
|
9269
|
-
// node_modules/.pnpm/graphql@16.
|
|
9135
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueTypeNamesRule.mjs
|
|
9270
9136
|
function UniqueTypeNamesRule(context) {
|
|
9271
9137
|
const knownTypeNames = /* @__PURE__ */ Object.create(null);
|
|
9272
9138
|
const schema = context.getSchema();
|
|
@@ -9304,13 +9170,13 @@ spurious results.`);
|
|
|
9304
9170
|
}
|
|
9305
9171
|
}
|
|
9306
9172
|
var init_UniqueTypeNamesRule = __esm({
|
|
9307
|
-
"node_modules/.pnpm/graphql@16.
|
|
9173
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueTypeNamesRule.mjs"() {
|
|
9308
9174
|
"use strict";
|
|
9309
9175
|
init_GraphQLError();
|
|
9310
9176
|
}
|
|
9311
9177
|
});
|
|
9312
9178
|
|
|
9313
|
-
// node_modules/.pnpm/graphql@16.
|
|
9179
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueVariableNamesRule.mjs
|
|
9314
9180
|
function UniqueVariableNamesRule(context) {
|
|
9315
9181
|
return {
|
|
9316
9182
|
OperationDefinition(operationNode) {
|
|
@@ -9336,25 +9202,16 @@ spurious results.`);
|
|
|
9336
9202
|
};
|
|
9337
9203
|
}
|
|
9338
9204
|
var init_UniqueVariableNamesRule = __esm({
|
|
9339
|
-
"node_modules/.pnpm/graphql@16.
|
|
9205
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueVariableNamesRule.mjs"() {
|
|
9340
9206
|
"use strict";
|
|
9341
9207
|
init_groupBy();
|
|
9342
9208
|
init_GraphQLError();
|
|
9343
9209
|
}
|
|
9344
9210
|
});
|
|
9345
9211
|
|
|
9346
|
-
// node_modules/.pnpm/graphql@16.
|
|
9212
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs
|
|
9347
9213
|
function ValuesOfCorrectTypeRule(context) {
|
|
9348
|
-
let variableDefinitions = {};
|
|
9349
9214
|
return {
|
|
9350
|
-
OperationDefinition: {
|
|
9351
|
-
enter() {
|
|
9352
|
-
variableDefinitions = {};
|
|
9353
|
-
}
|
|
9354
|
-
},
|
|
9355
|
-
VariableDefinition(definition) {
|
|
9356
|
-
variableDefinitions[definition.variable.name.value] = definition;
|
|
9357
|
-
},
|
|
9358
9215
|
ListValue(node) {
|
|
9359
9216
|
const type = getNullableType(context.getParentInputType());
|
|
9360
9217
|
if (!isListType(type)) {
|
|
@@ -9383,15 +9240,6 @@ spurious results.`);
|
|
|
9383
9240
|
);
|
|
9384
9241
|
}
|
|
9385
9242
|
}
|
|
9386
|
-
if (type.isOneOf) {
|
|
9387
|
-
validateOneOfInputObject(
|
|
9388
|
-
context,
|
|
9389
|
-
node,
|
|
9390
|
-
type,
|
|
9391
|
-
fieldNodeMap,
|
|
9392
|
-
variableDefinitions
|
|
9393
|
-
);
|
|
9394
|
-
}
|
|
9395
9243
|
},
|
|
9396
9244
|
ObjectField(node) {
|
|
9397
9245
|
const parentType = getNamedType(context.getParentInputType());
|
|
@@ -9483,63 +9331,20 @@ spurious results.`);
|
|
|
9483
9331
|
}
|
|
9484
9332
|
}
|
|
9485
9333
|
}
|
|
9486
|
-
function validateOneOfInputObject(context, node, type, fieldNodeMap, variableDefinitions) {
|
|
9487
|
-
var _fieldNodeMap$keys$;
|
|
9488
|
-
const keys = Object.keys(fieldNodeMap);
|
|
9489
|
-
const isNotExactlyOneField = keys.length !== 1;
|
|
9490
|
-
if (isNotExactlyOneField) {
|
|
9491
|
-
context.reportError(
|
|
9492
|
-
new GraphQLError(
|
|
9493
|
-
`OneOf Input Object "${type.name}" must specify exactly one key.`,
|
|
9494
|
-
{
|
|
9495
|
-
nodes: [node]
|
|
9496
|
-
}
|
|
9497
|
-
)
|
|
9498
|
-
);
|
|
9499
|
-
return;
|
|
9500
|
-
}
|
|
9501
|
-
const value = (_fieldNodeMap$keys$ = fieldNodeMap[keys[0]]) === null || _fieldNodeMap$keys$ === void 0 ? void 0 : _fieldNodeMap$keys$.value;
|
|
9502
|
-
const isNullLiteral = !value || value.kind === Kind.NULL;
|
|
9503
|
-
const isVariable = (value === null || value === void 0 ? void 0 : value.kind) === Kind.VARIABLE;
|
|
9504
|
-
if (isNullLiteral) {
|
|
9505
|
-
context.reportError(
|
|
9506
|
-
new GraphQLError(`Field "${type.name}.${keys[0]}" must be non-null.`, {
|
|
9507
|
-
nodes: [node]
|
|
9508
|
-
})
|
|
9509
|
-
);
|
|
9510
|
-
return;
|
|
9511
|
-
}
|
|
9512
|
-
if (isVariable) {
|
|
9513
|
-
const variableName = value.name.value;
|
|
9514
|
-
const definition = variableDefinitions[variableName];
|
|
9515
|
-
const isNullableVariable = definition.type.kind !== Kind.NON_NULL_TYPE;
|
|
9516
|
-
if (isNullableVariable) {
|
|
9517
|
-
context.reportError(
|
|
9518
|
-
new GraphQLError(
|
|
9519
|
-
`Variable "${variableName}" must be non-nullable to be used for OneOf Input Object "${type.name}".`,
|
|
9520
|
-
{
|
|
9521
|
-
nodes: [node]
|
|
9522
|
-
}
|
|
9523
|
-
)
|
|
9524
|
-
);
|
|
9525
|
-
}
|
|
9526
|
-
}
|
|
9527
|
-
}
|
|
9528
9334
|
var init_ValuesOfCorrectTypeRule = __esm({
|
|
9529
|
-
"node_modules/.pnpm/graphql@16.
|
|
9335
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs"() {
|
|
9530
9336
|
"use strict";
|
|
9531
9337
|
init_didYouMean();
|
|
9532
9338
|
init_inspect();
|
|
9533
9339
|
init_keyMap();
|
|
9534
9340
|
init_suggestionList();
|
|
9535
9341
|
init_GraphQLError();
|
|
9536
|
-
init_kinds();
|
|
9537
9342
|
init_printer();
|
|
9538
9343
|
init_definition();
|
|
9539
9344
|
}
|
|
9540
9345
|
});
|
|
9541
9346
|
|
|
9542
|
-
// node_modules/.pnpm/graphql@16.
|
|
9347
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.mjs
|
|
9543
9348
|
function VariablesAreInputTypesRule(context) {
|
|
9544
9349
|
return {
|
|
9545
9350
|
VariableDefinition(node) {
|
|
@@ -9560,7 +9365,7 @@ spurious results.`);
|
|
|
9560
9365
|
};
|
|
9561
9366
|
}
|
|
9562
9367
|
var init_VariablesAreInputTypesRule = __esm({
|
|
9563
|
-
"node_modules/.pnpm/graphql@16.
|
|
9368
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.mjs"() {
|
|
9564
9369
|
"use strict";
|
|
9565
9370
|
init_GraphQLError();
|
|
9566
9371
|
init_printer();
|
|
@@ -9569,7 +9374,7 @@ spurious results.`);
|
|
|
9569
9374
|
}
|
|
9570
9375
|
});
|
|
9571
9376
|
|
|
9572
|
-
// node_modules/.pnpm/graphql@16.
|
|
9377
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.mjs
|
|
9573
9378
|
function VariablesInAllowedPositionRule(context) {
|
|
9574
9379
|
let varDefMap = /* @__PURE__ */ Object.create(null);
|
|
9575
9380
|
return {
|
|
@@ -9625,7 +9430,7 @@ spurious results.`);
|
|
|
9625
9430
|
return isTypeSubTypeOf(schema, varType, locationType);
|
|
9626
9431
|
}
|
|
9627
9432
|
var init_VariablesInAllowedPositionRule = __esm({
|
|
9628
|
-
"node_modules/.pnpm/graphql@16.
|
|
9433
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.mjs"() {
|
|
9629
9434
|
"use strict";
|
|
9630
9435
|
init_inspect();
|
|
9631
9436
|
init_GraphQLError();
|
|
@@ -9636,10 +9441,10 @@ spurious results.`);
|
|
|
9636
9441
|
}
|
|
9637
9442
|
});
|
|
9638
9443
|
|
|
9639
|
-
// node_modules/.pnpm/graphql@16.
|
|
9640
|
-
var
|
|
9444
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/specifiedRules.mjs
|
|
9445
|
+
var specifiedRules, specifiedSDLRules;
|
|
9641
9446
|
var init_specifiedRules = __esm({
|
|
9642
|
-
"node_modules/.pnpm/graphql@16.
|
|
9447
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/specifiedRules.mjs"() {
|
|
9643
9448
|
"use strict";
|
|
9644
9449
|
init_ExecutableDefinitionsRule();
|
|
9645
9450
|
init_FieldsOnCorrectTypeRule();
|
|
@@ -9650,7 +9455,6 @@ spurious results.`);
|
|
|
9650
9455
|
init_KnownTypeNamesRule();
|
|
9651
9456
|
init_LoneAnonymousOperationRule();
|
|
9652
9457
|
init_LoneSchemaDefinitionRule();
|
|
9653
|
-
init_MaxIntrospectionDepthRule();
|
|
9654
9458
|
init_NoFragmentCyclesRule();
|
|
9655
9459
|
init_NoUndefinedVariablesRule();
|
|
9656
9460
|
init_NoUnusedFragmentsRule();
|
|
@@ -9676,7 +9480,6 @@ spurious results.`);
|
|
|
9676
9480
|
init_ValuesOfCorrectTypeRule();
|
|
9677
9481
|
init_VariablesAreInputTypesRule();
|
|
9678
9482
|
init_VariablesInAllowedPositionRule();
|
|
9679
|
-
recommendedRules = Object.freeze([MaxIntrospectionDepthRule]);
|
|
9680
9483
|
specifiedRules = Object.freeze([
|
|
9681
9484
|
ExecutableDefinitionsRule,
|
|
9682
9485
|
UniqueOperationNamesRule,
|
|
@@ -9703,8 +9506,7 @@ spurious results.`);
|
|
|
9703
9506
|
ProvidedRequiredArgumentsRule,
|
|
9704
9507
|
VariablesInAllowedPositionRule,
|
|
9705
9508
|
OverlappingFieldsCanBeMergedRule,
|
|
9706
|
-
UniqueInputFieldNamesRule
|
|
9707
|
-
...recommendedRules
|
|
9509
|
+
UniqueInputFieldNamesRule
|
|
9708
9510
|
]);
|
|
9709
9511
|
specifiedSDLRules = Object.freeze([
|
|
9710
9512
|
LoneSchemaDefinitionRule,
|
|
@@ -9726,10 +9528,10 @@ spurious results.`);
|
|
|
9726
9528
|
}
|
|
9727
9529
|
});
|
|
9728
9530
|
|
|
9729
|
-
// node_modules/.pnpm/graphql@16.
|
|
9531
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/ValidationContext.mjs
|
|
9730
9532
|
var ASTValidationContext, SDLValidationContext, ValidationContext;
|
|
9731
9533
|
var init_ValidationContext = __esm({
|
|
9732
|
-
"node_modules/.pnpm/graphql@16.
|
|
9534
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/ValidationContext.mjs"() {
|
|
9733
9535
|
"use strict";
|
|
9734
9536
|
init_kinds();
|
|
9735
9537
|
init_visitor();
|
|
@@ -9898,7 +9700,7 @@ spurious results.`);
|
|
|
9898
9700
|
}
|
|
9899
9701
|
});
|
|
9900
9702
|
|
|
9901
|
-
// node_modules/.pnpm/graphql@16.
|
|
9703
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/validate.mjs
|
|
9902
9704
|
function validate(schema, documentAST, rules = specifiedRules, options, typeInfo = new TypeInfo(schema)) {
|
|
9903
9705
|
var _options$maxErrors;
|
|
9904
9706
|
const maxErrors = (_options$maxErrors = options === null || options === void 0 ? void 0 : options.maxErrors) !== null && _options$maxErrors !== void 0 ? _options$maxErrors : 100;
|
|
@@ -9958,7 +9760,7 @@ spurious results.`);
|
|
|
9958
9760
|
}
|
|
9959
9761
|
}
|
|
9960
9762
|
var init_validate2 = __esm({
|
|
9961
|
-
"node_modules/.pnpm/graphql@16.
|
|
9763
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/validate.mjs"() {
|
|
9962
9764
|
"use strict";
|
|
9963
9765
|
init_devAssert();
|
|
9964
9766
|
init_GraphQLError();
|
|
@@ -9970,7 +9772,7 @@ spurious results.`);
|
|
|
9970
9772
|
}
|
|
9971
9773
|
});
|
|
9972
9774
|
|
|
9973
|
-
// node_modules/.pnpm/graphql@16.
|
|
9775
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/memoize3.mjs
|
|
9974
9776
|
function memoize3(fn) {
|
|
9975
9777
|
let cache0;
|
|
9976
9778
|
return function memoized(a1, a2, a3) {
|
|
@@ -9996,12 +9798,12 @@ spurious results.`);
|
|
|
9996
9798
|
};
|
|
9997
9799
|
}
|
|
9998
9800
|
var init_memoize3 = __esm({
|
|
9999
|
-
"node_modules/.pnpm/graphql@16.
|
|
9801
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/memoize3.mjs"() {
|
|
10000
9802
|
"use strict";
|
|
10001
9803
|
}
|
|
10002
9804
|
});
|
|
10003
9805
|
|
|
10004
|
-
// node_modules/.pnpm/graphql@16.
|
|
9806
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/promiseForObject.mjs
|
|
10005
9807
|
function promiseForObject(object) {
|
|
10006
9808
|
return Promise.all(Object.values(object)).then((resolvedValues) => {
|
|
10007
9809
|
const resolvedObject = /* @__PURE__ */ Object.create(null);
|
|
@@ -10012,12 +9814,12 @@ spurious results.`);
|
|
|
10012
9814
|
});
|
|
10013
9815
|
}
|
|
10014
9816
|
var init_promiseForObject = __esm({
|
|
10015
|
-
"node_modules/.pnpm/graphql@16.
|
|
9817
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/promiseForObject.mjs"() {
|
|
10016
9818
|
"use strict";
|
|
10017
9819
|
}
|
|
10018
9820
|
});
|
|
10019
9821
|
|
|
10020
|
-
// node_modules/.pnpm/graphql@16.
|
|
9822
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/promiseReduce.mjs
|
|
10021
9823
|
function promiseReduce(values, callbackFn, initialValue) {
|
|
10022
9824
|
let accumulator = initialValue;
|
|
10023
9825
|
for (const value of values) {
|
|
@@ -10026,19 +9828,19 @@ spurious results.`);
|
|
|
10026
9828
|
return accumulator;
|
|
10027
9829
|
}
|
|
10028
9830
|
var init_promiseReduce = __esm({
|
|
10029
|
-
"node_modules/.pnpm/graphql@16.
|
|
9831
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/promiseReduce.mjs"() {
|
|
10030
9832
|
"use strict";
|
|
10031
9833
|
init_isPromise();
|
|
10032
9834
|
}
|
|
10033
9835
|
});
|
|
10034
9836
|
|
|
10035
|
-
// node_modules/.pnpm/graphql@16.
|
|
9837
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/toError.mjs
|
|
10036
9838
|
function toError(thrownValue) {
|
|
10037
9839
|
return thrownValue instanceof Error ? thrownValue : new NonErrorThrown(thrownValue);
|
|
10038
9840
|
}
|
|
10039
9841
|
var NonErrorThrown;
|
|
10040
9842
|
var init_toError = __esm({
|
|
10041
|
-
"node_modules/.pnpm/graphql@16.
|
|
9843
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/toError.mjs"() {
|
|
10042
9844
|
"use strict";
|
|
10043
9845
|
init_inspect();
|
|
10044
9846
|
NonErrorThrown = class extends Error {
|
|
@@ -10051,7 +9853,7 @@ spurious results.`);
|
|
|
10051
9853
|
}
|
|
10052
9854
|
});
|
|
10053
9855
|
|
|
10054
|
-
// node_modules/.pnpm/graphql@16.
|
|
9856
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/locatedError.mjs
|
|
10055
9857
|
function locatedError(rawOriginalError, nodes, path) {
|
|
10056
9858
|
var _nodes;
|
|
10057
9859
|
const originalError = toError(rawOriginalError);
|
|
@@ -10070,14 +9872,14 @@ spurious results.`);
|
|
|
10070
9872
|
return Array.isArray(error3.path);
|
|
10071
9873
|
}
|
|
10072
9874
|
var init_locatedError = __esm({
|
|
10073
|
-
"node_modules/.pnpm/graphql@16.
|
|
9875
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/locatedError.mjs"() {
|
|
10074
9876
|
"use strict";
|
|
10075
9877
|
init_toError();
|
|
10076
9878
|
init_GraphQLError();
|
|
10077
9879
|
}
|
|
10078
9880
|
});
|
|
10079
9881
|
|
|
10080
|
-
// node_modules/.pnpm/graphql@16.
|
|
9882
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/execute.mjs
|
|
10081
9883
|
function execute(args) {
|
|
10082
9884
|
arguments.length < 2 || devAssert(
|
|
10083
9885
|
false,
|
|
@@ -10615,7 +10417,7 @@ spurious results.`);
|
|
|
10615
10417
|
}
|
|
10616
10418
|
var collectSubfields2, defaultTypeResolver, defaultFieldResolver;
|
|
10617
10419
|
var init_execute = __esm({
|
|
10618
|
-
"node_modules/.pnpm/graphql@16.
|
|
10420
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/execute.mjs"() {
|
|
10619
10421
|
"use strict";
|
|
10620
10422
|
init_devAssert();
|
|
10621
10423
|
init_inspect();
|
|
@@ -10684,7 +10486,7 @@ spurious results.`);
|
|
|
10684
10486
|
}
|
|
10685
10487
|
});
|
|
10686
10488
|
|
|
10687
|
-
// node_modules/.pnpm/graphql@16.
|
|
10489
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/graphql.mjs
|
|
10688
10490
|
function graphql(args) {
|
|
10689
10491
|
return new Promise((resolve) => resolve(graphqlImpl(args)));
|
|
10690
10492
|
}
|
|
@@ -10742,7 +10544,7 @@ spurious results.`);
|
|
|
10742
10544
|
});
|
|
10743
10545
|
}
|
|
10744
10546
|
var init_graphql = __esm({
|
|
10745
|
-
"node_modules/.pnpm/graphql@16.
|
|
10547
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/graphql.mjs"() {
|
|
10746
10548
|
"use strict";
|
|
10747
10549
|
init_devAssert();
|
|
10748
10550
|
init_isPromise();
|
|
@@ -10753,9 +10555,9 @@ spurious results.`);
|
|
|
10753
10555
|
}
|
|
10754
10556
|
});
|
|
10755
10557
|
|
|
10756
|
-
// node_modules/.pnpm/graphql@16.
|
|
10558
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/index.mjs
|
|
10757
10559
|
var init_type = __esm({
|
|
10758
|
-
"node_modules/.pnpm/graphql@16.
|
|
10560
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/index.mjs"() {
|
|
10759
10561
|
"use strict";
|
|
10760
10562
|
init_schema();
|
|
10761
10563
|
init_definition();
|
|
@@ -10767,9 +10569,9 @@ spurious results.`);
|
|
|
10767
10569
|
}
|
|
10768
10570
|
});
|
|
10769
10571
|
|
|
10770
|
-
// node_modules/.pnpm/graphql@16.
|
|
10572
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/index.mjs
|
|
10771
10573
|
var init_language = __esm({
|
|
10772
|
-
"node_modules/.pnpm/graphql@16.
|
|
10574
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/index.mjs"() {
|
|
10773
10575
|
"use strict";
|
|
10774
10576
|
init_source();
|
|
10775
10577
|
init_location();
|
|
@@ -10786,17 +10588,17 @@ spurious results.`);
|
|
|
10786
10588
|
}
|
|
10787
10589
|
});
|
|
10788
10590
|
|
|
10789
|
-
// node_modules/.pnpm/graphql@16.
|
|
10591
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isAsyncIterable.mjs
|
|
10790
10592
|
function isAsyncIterable(maybeAsyncIterable) {
|
|
10791
10593
|
return typeof (maybeAsyncIterable === null || maybeAsyncIterable === void 0 ? void 0 : maybeAsyncIterable[Symbol.asyncIterator]) === "function";
|
|
10792
10594
|
}
|
|
10793
10595
|
var init_isAsyncIterable = __esm({
|
|
10794
|
-
"node_modules/.pnpm/graphql@16.
|
|
10596
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isAsyncIterable.mjs"() {
|
|
10795
10597
|
"use strict";
|
|
10796
10598
|
}
|
|
10797
10599
|
});
|
|
10798
10600
|
|
|
10799
|
-
// node_modules/.pnpm/graphql@16.
|
|
10601
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/mapAsyncIterator.mjs
|
|
10800
10602
|
function mapAsyncIterator(iterable, callback) {
|
|
10801
10603
|
const iterator = iterable[Symbol.asyncIterator]();
|
|
10802
10604
|
async function mapResult(result) {
|
|
@@ -10840,12 +10642,12 @@ spurious results.`);
|
|
|
10840
10642
|
};
|
|
10841
10643
|
}
|
|
10842
10644
|
var init_mapAsyncIterator = __esm({
|
|
10843
|
-
"node_modules/.pnpm/graphql@16.
|
|
10645
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/mapAsyncIterator.mjs"() {
|
|
10844
10646
|
"use strict";
|
|
10845
10647
|
}
|
|
10846
10648
|
});
|
|
10847
10649
|
|
|
10848
|
-
// node_modules/.pnpm/graphql@16.
|
|
10650
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/subscribe.mjs
|
|
10849
10651
|
async function subscribe(args) {
|
|
10850
10652
|
arguments.length < 2 || devAssert(
|
|
10851
10653
|
false,
|
|
@@ -10953,7 +10755,7 @@ spurious results.`);
|
|
|
10953
10755
|
}
|
|
10954
10756
|
}
|
|
10955
10757
|
var init_subscribe = __esm({
|
|
10956
|
-
"node_modules/.pnpm/graphql@16.
|
|
10758
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/subscribe.mjs"() {
|
|
10957
10759
|
"use strict";
|
|
10958
10760
|
init_devAssert();
|
|
10959
10761
|
init_inspect();
|
|
@@ -10968,9 +10770,9 @@ spurious results.`);
|
|
|
10968
10770
|
}
|
|
10969
10771
|
});
|
|
10970
10772
|
|
|
10971
|
-
// node_modules/.pnpm/graphql@16.
|
|
10773
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/index.mjs
|
|
10972
10774
|
var init_execution = __esm({
|
|
10973
|
-
"node_modules/.pnpm/graphql@16.
|
|
10775
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/index.mjs"() {
|
|
10974
10776
|
"use strict";
|
|
10975
10777
|
init_Path();
|
|
10976
10778
|
init_execute();
|
|
@@ -10979,7 +10781,7 @@ spurious results.`);
|
|
|
10979
10781
|
}
|
|
10980
10782
|
});
|
|
10981
10783
|
|
|
10982
|
-
// node_modules/.pnpm/graphql@16.
|
|
10784
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.mjs
|
|
10983
10785
|
function NoDeprecatedCustomRule(context) {
|
|
10984
10786
|
return {
|
|
10985
10787
|
Field(node) {
|
|
@@ -11063,7 +10865,7 @@ spurious results.`);
|
|
|
11063
10865
|
};
|
|
11064
10866
|
}
|
|
11065
10867
|
var init_NoDeprecatedCustomRule = __esm({
|
|
11066
|
-
"node_modules/.pnpm/graphql@16.
|
|
10868
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.mjs"() {
|
|
11067
10869
|
"use strict";
|
|
11068
10870
|
init_invariant();
|
|
11069
10871
|
init_GraphQLError();
|
|
@@ -11071,7 +10873,7 @@ spurious results.`);
|
|
|
11071
10873
|
}
|
|
11072
10874
|
});
|
|
11073
10875
|
|
|
11074
|
-
// node_modules/.pnpm/graphql@16.
|
|
10876
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs
|
|
11075
10877
|
function NoSchemaIntrospectionCustomRule(context) {
|
|
11076
10878
|
return {
|
|
11077
10879
|
Field(node) {
|
|
@@ -11090,7 +10892,7 @@ spurious results.`);
|
|
|
11090
10892
|
};
|
|
11091
10893
|
}
|
|
11092
10894
|
var init_NoSchemaIntrospectionCustomRule = __esm({
|
|
11093
|
-
"node_modules/.pnpm/graphql@16.
|
|
10895
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs"() {
|
|
11094
10896
|
"use strict";
|
|
11095
10897
|
init_GraphQLError();
|
|
11096
10898
|
init_definition();
|
|
@@ -11098,9 +10900,9 @@ spurious results.`);
|
|
|
11098
10900
|
}
|
|
11099
10901
|
});
|
|
11100
10902
|
|
|
11101
|
-
// node_modules/.pnpm/graphql@16.
|
|
10903
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/index.mjs
|
|
11102
10904
|
var init_validation = __esm({
|
|
11103
|
-
"node_modules/.pnpm/graphql@16.
|
|
10905
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/index.mjs"() {
|
|
11104
10906
|
"use strict";
|
|
11105
10907
|
init_validate2();
|
|
11106
10908
|
init_ValidationContext();
|
|
@@ -11131,7 +10933,6 @@ spurious results.`);
|
|
|
11131
10933
|
init_ValuesOfCorrectTypeRule();
|
|
11132
10934
|
init_VariablesAreInputTypesRule();
|
|
11133
10935
|
init_VariablesInAllowedPositionRule();
|
|
11134
|
-
init_MaxIntrospectionDepthRule();
|
|
11135
10936
|
init_LoneSchemaDefinitionRule();
|
|
11136
10937
|
init_UniqueOperationTypesRule();
|
|
11137
10938
|
init_UniqueTypeNamesRule();
|
|
@@ -11145,9 +10946,9 @@ spurious results.`);
|
|
|
11145
10946
|
}
|
|
11146
10947
|
});
|
|
11147
10948
|
|
|
11148
|
-
// node_modules/.pnpm/graphql@16.
|
|
10949
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/index.mjs
|
|
11149
10950
|
var init_error = __esm({
|
|
11150
|
-
"node_modules/.pnpm/graphql@16.
|
|
10951
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/index.mjs"() {
|
|
11151
10952
|
"use strict";
|
|
11152
10953
|
init_GraphQLError();
|
|
11153
10954
|
init_syntaxError();
|
|
@@ -11155,7 +10956,7 @@ spurious results.`);
|
|
|
11155
10956
|
}
|
|
11156
10957
|
});
|
|
11157
10958
|
|
|
11158
|
-
// node_modules/.pnpm/graphql@16.
|
|
10959
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getIntrospectionQuery.mjs
|
|
11159
10960
|
function getIntrospectionQuery(options) {
|
|
11160
10961
|
const optionsWithDefault = {
|
|
11161
10962
|
descriptions: true,
|
|
@@ -11163,7 +10964,6 @@ spurious results.`);
|
|
|
11163
10964
|
directiveIsRepeatable: false,
|
|
11164
10965
|
schemaDescription: false,
|
|
11165
10966
|
inputValueDeprecation: false,
|
|
11166
|
-
oneOf: false,
|
|
11167
10967
|
...options
|
|
11168
10968
|
};
|
|
11169
10969
|
const descriptions = optionsWithDefault.descriptions ? "description" : "";
|
|
@@ -11173,7 +10973,6 @@ spurious results.`);
|
|
|
11173
10973
|
function inputDeprecation(str) {
|
|
11174
10974
|
return optionsWithDefault.inputValueDeprecation ? str : "";
|
|
11175
10975
|
}
|
|
11176
|
-
const oneOf = optionsWithDefault.oneOf ? "isOneOf" : "";
|
|
11177
10976
|
return `
|
|
11178
10977
|
query IntrospectionQuery {
|
|
11179
10978
|
__schema {
|
|
@@ -11201,7 +11000,6 @@ spurious results.`);
|
|
|
11201
11000
|
name
|
|
11202
11001
|
${descriptions}
|
|
11203
11002
|
${specifiedByUrl}
|
|
11204
|
-
${oneOf}
|
|
11205
11003
|
fields(includeDeprecated: true) {
|
|
11206
11004
|
name
|
|
11207
11005
|
${descriptions}
|
|
@@ -11283,12 +11081,12 @@ spurious results.`);
|
|
|
11283
11081
|
`;
|
|
11284
11082
|
}
|
|
11285
11083
|
var init_getIntrospectionQuery = __esm({
|
|
11286
|
-
"node_modules/.pnpm/graphql@16.
|
|
11084
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getIntrospectionQuery.mjs"() {
|
|
11287
11085
|
"use strict";
|
|
11288
11086
|
}
|
|
11289
11087
|
});
|
|
11290
11088
|
|
|
11291
|
-
// node_modules/.pnpm/graphql@16.
|
|
11089
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getOperationAST.mjs
|
|
11292
11090
|
function getOperationAST(documentAST, operationName) {
|
|
11293
11091
|
let operation = null;
|
|
11294
11092
|
for (const definition of documentAST.definitions) {
|
|
@@ -11307,13 +11105,13 @@ spurious results.`);
|
|
|
11307
11105
|
return operation;
|
|
11308
11106
|
}
|
|
11309
11107
|
var init_getOperationAST = __esm({
|
|
11310
|
-
"node_modules/.pnpm/graphql@16.
|
|
11108
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getOperationAST.mjs"() {
|
|
11311
11109
|
"use strict";
|
|
11312
11110
|
init_kinds();
|
|
11313
11111
|
}
|
|
11314
11112
|
});
|
|
11315
11113
|
|
|
11316
|
-
// node_modules/.pnpm/graphql@16.
|
|
11114
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getOperationRootType.mjs
|
|
11317
11115
|
function getOperationRootType(schema, operation) {
|
|
11318
11116
|
if (operation.operation === "query") {
|
|
11319
11117
|
const queryType = schema.getQueryType();
|
|
@@ -11353,20 +11151,19 @@ spurious results.`);
|
|
|
11353
11151
|
);
|
|
11354
11152
|
}
|
|
11355
11153
|
var init_getOperationRootType = __esm({
|
|
11356
|
-
"node_modules/.pnpm/graphql@16.
|
|
11154
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getOperationRootType.mjs"() {
|
|
11357
11155
|
"use strict";
|
|
11358
11156
|
init_GraphQLError();
|
|
11359
11157
|
}
|
|
11360
11158
|
});
|
|
11361
11159
|
|
|
11362
|
-
// node_modules/.pnpm/graphql@16.
|
|
11160
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/introspectionFromSchema.mjs
|
|
11363
11161
|
function introspectionFromSchema(schema, options) {
|
|
11364
11162
|
const optionsWithDefaults = {
|
|
11365
11163
|
specifiedByUrl: true,
|
|
11366
11164
|
directiveIsRepeatable: true,
|
|
11367
11165
|
schemaDescription: true,
|
|
11368
11166
|
inputValueDeprecation: true,
|
|
11369
|
-
oneOf: true,
|
|
11370
11167
|
...options
|
|
11371
11168
|
};
|
|
11372
11169
|
const document2 = parse2(getIntrospectionQuery(optionsWithDefaults));
|
|
@@ -11378,7 +11175,7 @@ spurious results.`);
|
|
|
11378
11175
|
return result.data;
|
|
11379
11176
|
}
|
|
11380
11177
|
var init_introspectionFromSchema = __esm({
|
|
11381
|
-
"node_modules/.pnpm/graphql@16.
|
|
11178
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/introspectionFromSchema.mjs"() {
|
|
11382
11179
|
"use strict";
|
|
11383
11180
|
init_invariant();
|
|
11384
11181
|
init_parser();
|
|
@@ -11387,7 +11184,7 @@ spurious results.`);
|
|
|
11387
11184
|
}
|
|
11388
11185
|
});
|
|
11389
11186
|
|
|
11390
|
-
// node_modules/.pnpm/graphql@16.
|
|
11187
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/buildClientSchema.mjs
|
|
11391
11188
|
function buildClientSchema(introspection, options) {
|
|
11392
11189
|
isObjectLike(introspection) && isObjectLike(introspection.__schema) || devAssert(
|
|
11393
11190
|
false,
|
|
@@ -11556,8 +11353,7 @@ spurious results.`);
|
|
|
11556
11353
|
return new GraphQLInputObjectType({
|
|
11557
11354
|
name: inputObjectIntrospection.name,
|
|
11558
11355
|
description: inputObjectIntrospection.description,
|
|
11559
|
-
fields: () => buildInputValueDefMap(inputObjectIntrospection.inputFields)
|
|
11560
|
-
isOneOf: inputObjectIntrospection.isOneOf
|
|
11356
|
+
fields: () => buildInputValueDefMap(inputObjectIntrospection.inputFields)
|
|
11561
11357
|
});
|
|
11562
11358
|
}
|
|
11563
11359
|
function buildFieldDefMap(typeIntrospection) {
|
|
@@ -11639,7 +11435,7 @@ spurious results.`);
|
|
|
11639
11435
|
}
|
|
11640
11436
|
}
|
|
11641
11437
|
var init_buildClientSchema = __esm({
|
|
11642
|
-
"node_modules/.pnpm/graphql@16.
|
|
11438
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/buildClientSchema.mjs"() {
|
|
11643
11439
|
"use strict";
|
|
11644
11440
|
init_devAssert();
|
|
11645
11441
|
init_inspect();
|
|
@@ -11655,7 +11451,7 @@ spurious results.`);
|
|
|
11655
11451
|
}
|
|
11656
11452
|
});
|
|
11657
11453
|
|
|
11658
|
-
// node_modules/.pnpm/graphql@16.
|
|
11454
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/extendSchema.mjs
|
|
11659
11455
|
function extendSchema(schema, documentAST, options) {
|
|
11660
11456
|
assertSchema(schema);
|
|
11661
11457
|
documentAST != null && documentAST.kind === Kind.DOCUMENT || devAssert(false, "Must provide valid Document AST.");
|
|
@@ -12084,8 +11880,7 @@ spurious results.`);
|
|
|
12084
11880
|
description: (_astNode$description6 = astNode.description) === null || _astNode$description6 === void 0 ? void 0 : _astNode$description6.value,
|
|
12085
11881
|
fields: () => buildInputFieldMap(allNodes),
|
|
12086
11882
|
astNode,
|
|
12087
|
-
extensionASTNodes
|
|
12088
|
-
isOneOf: isOneOf(astNode)
|
|
11883
|
+
extensionASTNodes
|
|
12089
11884
|
});
|
|
12090
11885
|
}
|
|
12091
11886
|
}
|
|
@@ -12099,12 +11894,9 @@ spurious results.`);
|
|
|
12099
11894
|
const specifiedBy = getDirectiveValues(GraphQLSpecifiedByDirective, node);
|
|
12100
11895
|
return specifiedBy === null || specifiedBy === void 0 ? void 0 : specifiedBy.url;
|
|
12101
11896
|
}
|
|
12102
|
-
function isOneOf(node) {
|
|
12103
|
-
return Boolean(getDirectiveValues(GraphQLOneOfDirective, node));
|
|
12104
|
-
}
|
|
12105
11897
|
var stdTypeMap;
|
|
12106
11898
|
var init_extendSchema = __esm({
|
|
12107
|
-
"node_modules/.pnpm/graphql@16.
|
|
11899
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/extendSchema.mjs"() {
|
|
12108
11900
|
"use strict";
|
|
12109
11901
|
init_devAssert();
|
|
12110
11902
|
init_inspect();
|
|
@@ -12128,7 +11920,7 @@ spurious results.`);
|
|
|
12128
11920
|
}
|
|
12129
11921
|
});
|
|
12130
11922
|
|
|
12131
|
-
// node_modules/.pnpm/graphql@16.
|
|
11923
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/buildASTSchema.mjs
|
|
12132
11924
|
function buildASTSchema(documentAST, options) {
|
|
12133
11925
|
documentAST != null && documentAST.kind === Kind.DOCUMENT || devAssert(false, "Must provide valid Document AST.");
|
|
12134
11926
|
if ((options === null || options === void 0 ? void 0 : options.assumeValid) !== true && (options === null || options === void 0 ? void 0 : options.assumeValidSDL) !== true) {
|
|
@@ -12183,7 +11975,7 @@ spurious results.`);
|
|
|
12183
11975
|
});
|
|
12184
11976
|
}
|
|
12185
11977
|
var init_buildASTSchema = __esm({
|
|
12186
|
-
"node_modules/.pnpm/graphql@16.
|
|
11978
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/buildASTSchema.mjs"() {
|
|
12187
11979
|
"use strict";
|
|
12188
11980
|
init_devAssert();
|
|
12189
11981
|
init_kinds();
|
|
@@ -12195,7 +11987,7 @@ spurious results.`);
|
|
|
12195
11987
|
}
|
|
12196
11988
|
});
|
|
12197
11989
|
|
|
12198
|
-
// node_modules/.pnpm/graphql@16.
|
|
11990
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/lexicographicSortSchema.mjs
|
|
12199
11991
|
function lexicographicSortSchema(schema) {
|
|
12200
11992
|
const schemaConfig = schema.toConfig();
|
|
12201
11993
|
const typeMap = keyValMap(
|
|
@@ -12314,7 +12106,7 @@ spurious results.`);
|
|
|
12314
12106
|
});
|
|
12315
12107
|
}
|
|
12316
12108
|
var init_lexicographicSortSchema = __esm({
|
|
12317
|
-
"node_modules/.pnpm/graphql@16.
|
|
12109
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/lexicographicSortSchema.mjs"() {
|
|
12318
12110
|
"use strict";
|
|
12319
12111
|
init_inspect();
|
|
12320
12112
|
init_invariant();
|
|
@@ -12327,7 +12119,7 @@ spurious results.`);
|
|
|
12327
12119
|
}
|
|
12328
12120
|
});
|
|
12329
12121
|
|
|
12330
|
-
// node_modules/.pnpm/graphql@16.
|
|
12122
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/printSchema.mjs
|
|
12331
12123
|
function printSchema(schema) {
|
|
12332
12124
|
return printFilteredSchema(
|
|
12333
12125
|
schema,
|
|
@@ -12435,7 +12227,7 @@ ${operationTypes.join("\n")}
|
|
|
12435
12227
|
const fields = Object.values(type.getFields()).map(
|
|
12436
12228
|
(f, i) => printDescription(f, " ", !i) + " " + printInputValue(f)
|
|
12437
12229
|
);
|
|
12438
|
-
return printDescription(type) + `input ${type.name}` +
|
|
12230
|
+
return printDescription(type) + `input ${type.name}` + printBlock(fields);
|
|
12439
12231
|
}
|
|
12440
12232
|
function printFields(type) {
|
|
12441
12233
|
const fields = Object.values(type.getFields()).map(
|
|
@@ -12505,7 +12297,7 @@ ${operationTypes.join("\n")}
|
|
|
12505
12297
|
return prefix + blockString.replace(/\n/g, "\n" + indentation) + "\n";
|
|
12506
12298
|
}
|
|
12507
12299
|
var init_printSchema = __esm({
|
|
12508
|
-
"node_modules/.pnpm/graphql@16.
|
|
12300
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/printSchema.mjs"() {
|
|
12509
12301
|
"use strict";
|
|
12510
12302
|
init_inspect();
|
|
12511
12303
|
init_invariant();
|
|
@@ -12520,7 +12312,7 @@ ${operationTypes.join("\n")}
|
|
|
12520
12312
|
}
|
|
12521
12313
|
});
|
|
12522
12314
|
|
|
12523
|
-
// node_modules/.pnpm/graphql@16.
|
|
12315
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/concatAST.mjs
|
|
12524
12316
|
function concatAST(documents) {
|
|
12525
12317
|
const definitions = [];
|
|
12526
12318
|
for (const doc of documents) {
|
|
@@ -12532,13 +12324,13 @@ ${operationTypes.join("\n")}
|
|
|
12532
12324
|
};
|
|
12533
12325
|
}
|
|
12534
12326
|
var init_concatAST = __esm({
|
|
12535
|
-
"node_modules/.pnpm/graphql@16.
|
|
12327
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/concatAST.mjs"() {
|
|
12536
12328
|
"use strict";
|
|
12537
12329
|
init_kinds();
|
|
12538
12330
|
}
|
|
12539
12331
|
});
|
|
12540
12332
|
|
|
12541
|
-
// node_modules/.pnpm/graphql@16.
|
|
12333
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/separateOperations.mjs
|
|
12542
12334
|
function separateOperations(documentAST) {
|
|
12543
12335
|
const operations = [];
|
|
12544
12336
|
const depGraph = /* @__PURE__ */ Object.create(null);
|
|
@@ -12592,14 +12384,14 @@ ${operationTypes.join("\n")}
|
|
|
12592
12384
|
return dependencies;
|
|
12593
12385
|
}
|
|
12594
12386
|
var init_separateOperations = __esm({
|
|
12595
|
-
"node_modules/.pnpm/graphql@16.
|
|
12387
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/separateOperations.mjs"() {
|
|
12596
12388
|
"use strict";
|
|
12597
12389
|
init_kinds();
|
|
12598
12390
|
init_visitor();
|
|
12599
12391
|
}
|
|
12600
12392
|
});
|
|
12601
12393
|
|
|
12602
|
-
// node_modules/.pnpm/graphql@16.
|
|
12394
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/stripIgnoredCharacters.mjs
|
|
12603
12395
|
function stripIgnoredCharacters(source) {
|
|
12604
12396
|
const sourceObj = isSource(source) ? source : new Source(source);
|
|
12605
12397
|
const body = sourceObj.body;
|
|
@@ -12628,7 +12420,7 @@ ${operationTypes.join("\n")}
|
|
|
12628
12420
|
return strippedBody;
|
|
12629
12421
|
}
|
|
12630
12422
|
var init_stripIgnoredCharacters = __esm({
|
|
12631
|
-
"node_modules/.pnpm/graphql@16.
|
|
12423
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/stripIgnoredCharacters.mjs"() {
|
|
12632
12424
|
"use strict";
|
|
12633
12425
|
init_blockString();
|
|
12634
12426
|
init_lexer();
|
|
@@ -12637,7 +12429,7 @@ ${operationTypes.join("\n")}
|
|
|
12637
12429
|
}
|
|
12638
12430
|
});
|
|
12639
12431
|
|
|
12640
|
-
// node_modules/.pnpm/graphql@16.
|
|
12432
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/assertValidName.mjs
|
|
12641
12433
|
function assertValidName(name) {
|
|
12642
12434
|
const error3 = isValidNameError(name);
|
|
12643
12435
|
if (error3) {
|
|
@@ -12659,7 +12451,7 @@ ${operationTypes.join("\n")}
|
|
|
12659
12451
|
}
|
|
12660
12452
|
}
|
|
12661
12453
|
var init_assertValidName = __esm({
|
|
12662
|
-
"node_modules/.pnpm/graphql@16.
|
|
12454
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/assertValidName.mjs"() {
|
|
12663
12455
|
"use strict";
|
|
12664
12456
|
init_devAssert();
|
|
12665
12457
|
init_GraphQLError();
|
|
@@ -12667,7 +12459,7 @@ ${operationTypes.join("\n")}
|
|
|
12667
12459
|
}
|
|
12668
12460
|
});
|
|
12669
12461
|
|
|
12670
|
-
// node_modules/.pnpm/graphql@16.
|
|
12462
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/findBreakingChanges.mjs
|
|
12671
12463
|
function findBreakingChanges(oldSchema, newSchema) {
|
|
12672
12464
|
return findSchemaChanges(oldSchema, newSchema).filter(
|
|
12673
12465
|
(change) => change.type in BreakingChangeType
|
|
@@ -13026,7 +12818,7 @@ ${operationTypes.join("\n")}
|
|
|
13026
12818
|
}
|
|
13027
12819
|
var BreakingChangeType, DangerousChangeType;
|
|
13028
12820
|
var init_findBreakingChanges = __esm({
|
|
13029
|
-
"node_modules/.pnpm/graphql@16.
|
|
12821
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/findBreakingChanges.mjs"() {
|
|
13030
12822
|
"use strict";
|
|
13031
12823
|
init_inspect();
|
|
13032
12824
|
init_invariant();
|
|
@@ -13065,9 +12857,9 @@ ${operationTypes.join("\n")}
|
|
|
13065
12857
|
}
|
|
13066
12858
|
});
|
|
13067
12859
|
|
|
13068
|
-
// node_modules/.pnpm/graphql@16.
|
|
12860
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/index.mjs
|
|
13069
12861
|
var init_utilities = __esm({
|
|
13070
|
-
"node_modules/.pnpm/graphql@16.
|
|
12862
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/index.mjs"() {
|
|
13071
12863
|
"use strict";
|
|
13072
12864
|
init_getIntrospectionQuery();
|
|
13073
12865
|
init_getOperationAST();
|
|
@@ -13093,7 +12885,7 @@ ${operationTypes.join("\n")}
|
|
|
13093
12885
|
}
|
|
13094
12886
|
});
|
|
13095
12887
|
|
|
13096
|
-
// node_modules/.pnpm/graphql@16.
|
|
12888
|
+
// node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/index.mjs
|
|
13097
12889
|
var graphql_exports = {};
|
|
13098
12890
|
__export(graphql_exports, {
|
|
13099
12891
|
BREAK: () => BREAK,
|
|
@@ -13120,7 +12912,6 @@ ${operationTypes.join("\n")}
|
|
|
13120
12912
|
GraphQLList: () => GraphQLList,
|
|
13121
12913
|
GraphQLNonNull: () => GraphQLNonNull,
|
|
13122
12914
|
GraphQLObjectType: () => GraphQLObjectType,
|
|
13123
|
-
GraphQLOneOfDirective: () => GraphQLOneOfDirective,
|
|
13124
12915
|
GraphQLScalarType: () => GraphQLScalarType,
|
|
13125
12916
|
GraphQLSchema: () => GraphQLSchema,
|
|
13126
12917
|
GraphQLSkipDirective: () => GraphQLSkipDirective,
|
|
@@ -13136,7 +12927,6 @@ ${operationTypes.join("\n")}
|
|
|
13136
12927
|
Location: () => Location,
|
|
13137
12928
|
LoneAnonymousOperationRule: () => LoneAnonymousOperationRule,
|
|
13138
12929
|
LoneSchemaDefinitionRule: () => LoneSchemaDefinitionRule,
|
|
13139
|
-
MaxIntrospectionDepthRule: () => MaxIntrospectionDepthRule,
|
|
13140
12930
|
NoDeprecatedCustomRule: () => NoDeprecatedCustomRule,
|
|
13141
12931
|
NoFragmentCyclesRule: () => NoFragmentCyclesRule,
|
|
13142
12932
|
NoSchemaIntrospectionCustomRule: () => NoSchemaIntrospectionCustomRule,
|
|
@@ -13286,7 +13076,6 @@ ${operationTypes.join("\n")}
|
|
|
13286
13076
|
printSchema: () => printSchema,
|
|
13287
13077
|
printSourceLocation: () => printSourceLocation,
|
|
13288
13078
|
printType: () => printType,
|
|
13289
|
-
recommendedRules: () => recommendedRules,
|
|
13290
13079
|
resolveObjMapThunk: () => resolveObjMapThunk,
|
|
13291
13080
|
resolveReadonlyArrayThunk: () => resolveReadonlyArrayThunk,
|
|
13292
13081
|
responsePathAsArray: () => pathToArray,
|
|
@@ -13309,7 +13098,7 @@ ${operationTypes.join("\n")}
|
|
|
13309
13098
|
visitWithTypeInfo: () => visitWithTypeInfo
|
|
13310
13099
|
});
|
|
13311
13100
|
var init_graphql2 = __esm({
|
|
13312
|
-
"node_modules/.pnpm/graphql@16.
|
|
13101
|
+
"node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/index.mjs"() {
|
|
13313
13102
|
"use strict";
|
|
13314
13103
|
init_version();
|
|
13315
13104
|
init_graphql();
|
|
@@ -14456,7 +14245,7 @@ ${operationTypes.join("\n")}
|
|
|
14456
14245
|
return stringToRegexp(path, keys, options);
|
|
14457
14246
|
}
|
|
14458
14247
|
|
|
14459
|
-
// node_modules/.pnpm/@mswjs+interceptors@0.37.
|
|
14248
|
+
// node_modules/.pnpm/@mswjs+interceptors@0.37.1/node_modules/@mswjs/interceptors/lib/browser/chunk-6HYIRFX2.mjs
|
|
14460
14249
|
var encoder = new TextEncoder();
|
|
14461
14250
|
function encodeBuffer(text) {
|
|
14462
14251
|
return encoder.encode(text);
|
|
@@ -14472,7 +14261,7 @@ ${operationTypes.join("\n")}
|
|
|
14472
14261
|
);
|
|
14473
14262
|
}
|
|
14474
14263
|
|
|
14475
|
-
// node_modules/.pnpm/@mswjs+interceptors@0.37.
|
|
14264
|
+
// node_modules/.pnpm/@mswjs+interceptors@0.37.1/node_modules/@mswjs/interceptors/lib/browser/chunk-F4BN745U.mjs
|
|
14476
14265
|
var IS_PATCHED_MODULE = Symbol("isPatchedModule");
|
|
14477
14266
|
var _FetchResponse = class extends Response {
|
|
14478
14267
|
static isConfigurableStatusCode(status) {
|
|
@@ -14821,7 +14610,7 @@ ${operationTypes.join("\n")}
|
|
|
14821
14610
|
return message3.toString();
|
|
14822
14611
|
}
|
|
14823
14612
|
|
|
14824
|
-
// node_modules/.pnpm/@mswjs+interceptors@0.37.
|
|
14613
|
+
// node_modules/.pnpm/@mswjs+interceptors@0.37.1/node_modules/@mswjs/interceptors/lib/browser/chunk-QED3Q6Z2.mjs
|
|
14825
14614
|
var INTERNAL_REQUEST_ID_HEADER_NAME = "x-interceptors-internal-request-id";
|
|
14826
14615
|
function getGlobalSymbol(symbol) {
|
|
14827
14616
|
return (
|
|
@@ -14969,7 +14758,7 @@ ${operationTypes.join("\n")}
|
|
|
14969
14758
|
return Math.random().toString(16).slice(2);
|
|
14970
14759
|
}
|
|
14971
14760
|
|
|
14972
|
-
// node_modules/.pnpm/@mswjs+interceptors@0.37.
|
|
14761
|
+
// node_modules/.pnpm/@mswjs+interceptors@0.37.1/node_modules/@mswjs/interceptors/lib/browser/index.mjs
|
|
14973
14762
|
var BatchInterceptor = class extends Interceptor {
|
|
14974
14763
|
constructor(options) {
|
|
14975
14764
|
BatchInterceptor.symbol = Symbol(options.name);
|
|
@@ -29304,7 +29093,7 @@ This exception has been gracefully handled as a 500 response, however, it's stro
|
|
|
29304
29093
|
async function checkWorkerIntegrity(context) {
|
|
29305
29094
|
context.workerChannel.send("INTEGRITY_CHECK_REQUEST");
|
|
29306
29095
|
const { payload } = await context.events.once("INTEGRITY_CHECK_RESPONSE");
|
|
29307
|
-
if (payload.checksum !== "
|
|
29096
|
+
if (payload.checksum !== "00729d72e3b82faf54ca8b9621dbb96f") {
|
|
29308
29097
|
devUtils.warn(
|
|
29309
29098
|
`The currently registered Service Worker has been generated by a different version of MSW (${payload.packageVersion}) and may not be fully compatible with the installed version.
|
|
29310
29099
|
|
|
@@ -29514,7 +29303,7 @@ Please consider using a custom "serviceWorker.url" option to point to the actual
|
|
|
29514
29303
|
}
|
|
29515
29304
|
};
|
|
29516
29305
|
|
|
29517
|
-
// node_modules/.pnpm/@mswjs+interceptors@0.37.
|
|
29306
|
+
// node_modules/.pnpm/@mswjs+interceptors@0.37.1/node_modules/@mswjs/interceptors/lib/browser/chunk-H5O73WD2.mjs
|
|
29518
29307
|
var InterceptorError = class extends Error {
|
|
29519
29308
|
constructor(message3) {
|
|
29520
29309
|
super(message3);
|
|
@@ -29715,7 +29504,7 @@ Please consider using a custom "serviceWorker.url" option to point to the actual
|
|
|
29715
29504
|
return false;
|
|
29716
29505
|
}
|
|
29717
29506
|
|
|
29718
|
-
// node_modules/.pnpm/@mswjs+interceptors@0.37.
|
|
29507
|
+
// node_modules/.pnpm/@mswjs+interceptors@0.37.1/node_modules/@mswjs/interceptors/lib/browser/chunk-TX5GBTFY.mjs
|
|
29719
29508
|
function hasConfigurableGlobal(propertyName) {
|
|
29720
29509
|
const descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName);
|
|
29721
29510
|
if (typeof descriptor === "undefined") {
|
|
@@ -29736,7 +29525,7 @@ Please consider using a custom "serviceWorker.url" option to point to the actual
|
|
|
29736
29525
|
return true;
|
|
29737
29526
|
}
|
|
29738
29527
|
|
|
29739
|
-
// node_modules/.pnpm/@mswjs+interceptors@0.37.
|
|
29528
|
+
// node_modules/.pnpm/@mswjs+interceptors@0.37.1/node_modules/@mswjs/interceptors/lib/browser/chunk-HER3NHBG.mjs
|
|
29740
29529
|
function canParseUrl(url) {
|
|
29741
29530
|
try {
|
|
29742
29531
|
new URL(url);
|
|
@@ -29996,7 +29785,7 @@ Please consider using a custom "serviceWorker.url" option to point to the actual
|
|
|
29996
29785
|
var FetchInterceptor = _FetchInterceptor;
|
|
29997
29786
|
FetchInterceptor.symbol = Symbol("fetch");
|
|
29998
29787
|
|
|
29999
|
-
// node_modules/.pnpm/@mswjs+interceptors@0.37.
|
|
29788
|
+
// node_modules/.pnpm/@mswjs+interceptors@0.37.1/node_modules/@mswjs/interceptors/lib/browser/chunk-4SRQFK76.mjs
|
|
30000
29789
|
function concatArrayBuffer(left, right) {
|
|
30001
29790
|
const result = new Uint8Array(left.byteLength + right.byteLength);
|
|
30002
29791
|
result.set(left, 0);
|
|
@@ -30868,7 +30657,7 @@ Please consider using a custom "serviceWorker.url" option to point to the actual
|
|
|
30868
30657
|
}
|
|
30869
30658
|
}
|
|
30870
30659
|
|
|
30871
|
-
// node_modules/.pnpm/@mswjs+interceptors@0.37.
|
|
30660
|
+
// node_modules/.pnpm/@mswjs+interceptors@0.37.1/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.mjs
|
|
30872
30661
|
function bindEvent(target, event) {
|
|
30873
30662
|
Object.defineProperties(event, {
|
|
30874
30663
|
target: {
|
|
@@ -31431,23 +31220,39 @@ Please consider using a custom "serviceWorker.url" option to point to the actual
|
|
|
31431
31220
|
}
|
|
31432
31221
|
send(data) {
|
|
31433
31222
|
queueMicrotask(() => {
|
|
31434
|
-
this.socket.
|
|
31435
|
-
|
|
31436
|
-
|
|
31437
|
-
|
|
31438
|
-
|
|
31439
|
-
|
|
31440
|
-
|
|
31441
|
-
|
|
31442
|
-
|
|
31443
|
-
|
|
31444
|
-
|
|
31445
|
-
|
|
31446
|
-
|
|
31447
|
-
|
|
31448
|
-
|
|
31449
|
-
|
|
31450
|
-
|
|
31223
|
+
if (this.socket.readyState === this.socket.CLOSING || this.socket.readyState === this.socket.CLOSED) {
|
|
31224
|
+
return;
|
|
31225
|
+
}
|
|
31226
|
+
const dispatchEvent = () => {
|
|
31227
|
+
this.socket.dispatchEvent(
|
|
31228
|
+
bindEvent(
|
|
31229
|
+
/**
|
|
31230
|
+
* @note Setting this event's "target" to the
|
|
31231
|
+
* WebSocket override instance is important.
|
|
31232
|
+
* This way it can tell apart original incoming events
|
|
31233
|
+
* (must be forwarded to the transport) from the
|
|
31234
|
+
* mocked message events like the one below
|
|
31235
|
+
* (must be dispatched on the client instance).
|
|
31236
|
+
*/
|
|
31237
|
+
this.socket,
|
|
31238
|
+
new MessageEvent("message", {
|
|
31239
|
+
data,
|
|
31240
|
+
origin: this.socket.url
|
|
31241
|
+
})
|
|
31242
|
+
)
|
|
31243
|
+
);
|
|
31244
|
+
};
|
|
31245
|
+
if (this.socket.readyState === this.socket.CONNECTING) {
|
|
31246
|
+
this.socket.addEventListener(
|
|
31247
|
+
"open",
|
|
31248
|
+
() => {
|
|
31249
|
+
dispatchEvent();
|
|
31250
|
+
},
|
|
31251
|
+
{ once: true }
|
|
31252
|
+
);
|
|
31253
|
+
} else {
|
|
31254
|
+
dispatchEvent();
|
|
31255
|
+
}
|
|
31451
31256
|
});
|
|
31452
31257
|
}
|
|
31453
31258
|
close(code, reason) {
|