msw 2.4.2 → 2.4.3

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/iife/index.js CHANGED
@@ -28,22 +28,22 @@ var MockServiceWorker = (() => {
28
28
  };
29
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
30
 
31
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/version.mjs
31
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/version.mjs
32
32
  var version, versionInfo;
33
33
  var init_version = __esm({
34
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/version.mjs"() {
34
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/version.mjs"() {
35
35
  "use strict";
36
- version = "16.8.2";
36
+ version = "16.9.0";
37
37
  versionInfo = Object.freeze({
38
38
  major: 16,
39
- minor: 8,
40
- patch: 2,
39
+ minor: 9,
40
+ patch: 0,
41
41
  preReleaseTag: null
42
42
  });
43
43
  }
44
44
  });
45
45
 
46
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/devAssert.mjs
46
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/devAssert.mjs
47
47
  function devAssert(condition, message3) {
48
48
  const booleanCondition = Boolean(condition);
49
49
  if (!booleanCondition) {
@@ -51,32 +51,32 @@ var MockServiceWorker = (() => {
51
51
  }
52
52
  }
53
53
  var init_devAssert = __esm({
54
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/devAssert.mjs"() {
54
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/devAssert.mjs"() {
55
55
  "use strict";
56
56
  }
57
57
  });
58
58
 
59
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isPromise.mjs
59
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/isPromise.mjs
60
60
  function isPromise(value) {
61
61
  return typeof (value === null || value === void 0 ? void 0 : value.then) === "function";
62
62
  }
63
63
  var init_isPromise = __esm({
64
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isPromise.mjs"() {
64
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/isPromise.mjs"() {
65
65
  "use strict";
66
66
  }
67
67
  });
68
68
 
69
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isObjectLike.mjs
69
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/isObjectLike.mjs
70
70
  function isObjectLike(value) {
71
71
  return typeof value == "object" && value !== null;
72
72
  }
73
73
  var init_isObjectLike = __esm({
74
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isObjectLike.mjs"() {
74
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/isObjectLike.mjs"() {
75
75
  "use strict";
76
76
  }
77
77
  });
78
78
 
79
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/invariant.mjs
79
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/invariant.mjs
80
80
  function invariant2(condition, message3) {
81
81
  const booleanCondition = Boolean(condition);
82
82
  if (!booleanCondition) {
@@ -86,12 +86,12 @@ var MockServiceWorker = (() => {
86
86
  }
87
87
  }
88
88
  var init_invariant = __esm({
89
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/invariant.mjs"() {
89
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/invariant.mjs"() {
90
90
  "use strict";
91
91
  }
92
92
  });
93
93
 
94
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/location.mjs
94
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/location.mjs
95
95
  function getLocation(source, position) {
96
96
  let lastLineStart = 0;
97
97
  let line = 1;
@@ -110,14 +110,14 @@ var MockServiceWorker = (() => {
110
110
  }
111
111
  var LineRegExp;
112
112
  var init_location = __esm({
113
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/location.mjs"() {
113
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/location.mjs"() {
114
114
  "use strict";
115
115
  init_invariant();
116
116
  LineRegExp = /\r\n|[\n\r]/g;
117
117
  }
118
118
  });
119
119
 
120
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printLocation.mjs
120
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/printLocation.mjs
121
121
  function printLocation(location2) {
122
122
  return printSourceLocation(
123
123
  location2.source,
@@ -164,13 +164,13 @@ var MockServiceWorker = (() => {
164
164
  return existingLines.map(([prefix, line]) => prefix.padStart(padLen) + (line ? " " + line : "")).join("\n");
165
165
  }
166
166
  var init_printLocation = __esm({
167
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printLocation.mjs"() {
167
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/printLocation.mjs"() {
168
168
  "use strict";
169
169
  init_location();
170
170
  }
171
171
  });
172
172
 
173
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/GraphQLError.mjs
173
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/error/GraphQLError.mjs
174
174
  function toNormalizedOptions(args) {
175
175
  const firstArg = args[0];
176
176
  if (firstArg == null || "kind" in firstArg || "length" in firstArg) {
@@ -196,7 +196,7 @@ var MockServiceWorker = (() => {
196
196
  }
197
197
  var GraphQLError;
198
198
  var init_GraphQLError = __esm({
199
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/GraphQLError.mjs"() {
199
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/error/GraphQLError.mjs"() {
200
200
  "use strict";
201
201
  init_isObjectLike();
202
202
  init_location();
@@ -334,7 +334,7 @@ var MockServiceWorker = (() => {
334
334
  }
335
335
  });
336
336
 
337
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/syntaxError.mjs
337
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/error/syntaxError.mjs
338
338
  function syntaxError(source, position, description) {
339
339
  return new GraphQLError(`Syntax Error: ${description}`, {
340
340
  source,
@@ -342,20 +342,20 @@ var MockServiceWorker = (() => {
342
342
  });
343
343
  }
344
344
  var init_syntaxError = __esm({
345
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/syntaxError.mjs"() {
345
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/error/syntaxError.mjs"() {
346
346
  "use strict";
347
347
  init_GraphQLError();
348
348
  }
349
349
  });
350
350
 
351
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/ast.mjs
351
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/ast.mjs
352
352
  function isNode(maybeNode) {
353
353
  const maybeKind = maybeNode === null || maybeNode === void 0 ? void 0 : maybeNode.kind;
354
354
  return typeof maybeKind === "string" && kindValues.has(maybeKind);
355
355
  }
356
356
  var Location, Token, QueryDocumentKeys, kindValues, OperationTypeNode;
357
357
  var init_ast = __esm({
358
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/ast.mjs"() {
358
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/ast.mjs"() {
359
359
  "use strict";
360
360
  Location = class {
361
361
  /**
@@ -523,10 +523,10 @@ var MockServiceWorker = (() => {
523
523
  }
524
524
  });
525
525
 
526
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/directiveLocation.mjs
526
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/directiveLocation.mjs
527
527
  var DirectiveLocation;
528
528
  var init_directiveLocation = __esm({
529
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/directiveLocation.mjs"() {
529
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/directiveLocation.mjs"() {
530
530
  "use strict";
531
531
  (function(DirectiveLocation2) {
532
532
  DirectiveLocation2["QUERY"] = "QUERY";
@@ -552,10 +552,10 @@ var MockServiceWorker = (() => {
552
552
  }
553
553
  });
554
554
 
555
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/kinds.mjs
555
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/kinds.mjs
556
556
  var Kind;
557
557
  var init_kinds = __esm({
558
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/kinds.mjs"() {
558
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/kinds.mjs"() {
559
559
  "use strict";
560
560
  (function(Kind2) {
561
561
  Kind2["NAME"] = "Name";
@@ -605,7 +605,7 @@ var MockServiceWorker = (() => {
605
605
  }
606
606
  });
607
607
 
608
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/characterClasses.mjs
608
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/characterClasses.mjs
609
609
  function isWhiteSpace(code) {
610
610
  return code === 9 || code === 32;
611
611
  }
@@ -623,12 +623,12 @@ var MockServiceWorker = (() => {
623
623
  return isLetter(code) || isDigit(code) || code === 95;
624
624
  }
625
625
  var init_characterClasses = __esm({
626
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/characterClasses.mjs"() {
626
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/characterClasses.mjs"() {
627
627
  "use strict";
628
628
  }
629
629
  });
630
630
 
631
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/blockString.mjs
631
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/blockString.mjs
632
632
  function dedentBlockStringLines(lines) {
633
633
  var _firstNonEmptyLine2;
634
634
  let commonIndent = Number.MAX_SAFE_INTEGER;
@@ -733,16 +733,16 @@ var MockServiceWorker = (() => {
733
733
  return '"""' + result + '"""';
734
734
  }
735
735
  var init_blockString = __esm({
736
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/blockString.mjs"() {
736
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/blockString.mjs"() {
737
737
  "use strict";
738
738
  init_characterClasses();
739
739
  }
740
740
  });
741
741
 
742
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/tokenKind.mjs
742
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/tokenKind.mjs
743
743
  var TokenKind;
744
744
  var init_tokenKind = __esm({
745
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/tokenKind.mjs"() {
745
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/tokenKind.mjs"() {
746
746
  "use strict";
747
747
  (function(TokenKind2) {
748
748
  TokenKind2["SOF"] = "<SOF>";
@@ -771,7 +771,7 @@ var MockServiceWorker = (() => {
771
771
  }
772
772
  });
773
773
 
774
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/lexer.mjs
774
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/lexer.mjs
775
775
  function isPunctuatorTokenKind(kind) {
776
776
  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;
777
777
  }
@@ -1220,7 +1220,7 @@ var MockServiceWorker = (() => {
1220
1220
  }
1221
1221
  var Lexer;
1222
1222
  var init_lexer = __esm({
1223
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/lexer.mjs"() {
1223
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/lexer.mjs"() {
1224
1224
  "use strict";
1225
1225
  init_syntaxError();
1226
1226
  init_ast();
@@ -1283,7 +1283,7 @@ var MockServiceWorker = (() => {
1283
1283
  }
1284
1284
  });
1285
1285
 
1286
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/inspect.mjs
1286
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/inspect.mjs
1287
1287
  function inspect(value) {
1288
1288
  return formatValue(value, []);
1289
1289
  }
@@ -1365,17 +1365,17 @@ var MockServiceWorker = (() => {
1365
1365
  }
1366
1366
  var MAX_ARRAY_LENGTH, MAX_RECURSIVE_DEPTH;
1367
1367
  var init_inspect = __esm({
1368
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/inspect.mjs"() {
1368
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/inspect.mjs"() {
1369
1369
  "use strict";
1370
1370
  MAX_ARRAY_LENGTH = 10;
1371
1371
  MAX_RECURSIVE_DEPTH = 2;
1372
1372
  }
1373
1373
  });
1374
1374
 
1375
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/instanceOf.mjs
1375
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/instanceOf.mjs
1376
1376
  var isProduction, instanceOf;
1377
1377
  var init_instanceOf = __esm({
1378
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/instanceOf.mjs"() {
1378
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/instanceOf.mjs"() {
1379
1379
  "use strict";
1380
1380
  init_inspect();
1381
1381
  isProduction = globalThis.process && // eslint-disable-next-line no-undef
@@ -1416,13 +1416,13 @@ spurious results.`);
1416
1416
  }
1417
1417
  });
1418
1418
 
1419
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/source.mjs
1419
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/source.mjs
1420
1420
  function isSource(source) {
1421
1421
  return instanceOf(source, Source);
1422
1422
  }
1423
1423
  var Source;
1424
1424
  var init_source = __esm({
1425
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/source.mjs"() {
1425
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/source.mjs"() {
1426
1426
  "use strict";
1427
1427
  init_devAssert();
1428
1428
  init_inspect();
@@ -1452,7 +1452,7 @@ spurious results.`);
1452
1452
  }
1453
1453
  });
1454
1454
 
1455
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/parser.mjs
1455
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/parser.mjs
1456
1456
  function parse2(source, options) {
1457
1457
  const parser = new Parser(source, options);
1458
1458
  return parser.parseDocument();
@@ -1487,7 +1487,7 @@ spurious results.`);
1487
1487
  }
1488
1488
  var Parser;
1489
1489
  var init_parser = __esm({
1490
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/parser.mjs"() {
1490
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/parser.mjs"() {
1491
1491
  "use strict";
1492
1492
  init_syntaxError();
1493
1493
  init_ast();
@@ -2735,7 +2735,7 @@ spurious results.`);
2735
2735
  }
2736
2736
  });
2737
2737
 
2738
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/didYouMean.mjs
2738
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/didYouMean.mjs
2739
2739
  function didYouMean(firstArg, secondArg) {
2740
2740
  const [subMessage, suggestionsArg] = secondArg ? [firstArg, secondArg] : [void 0, firstArg];
2741
2741
  let message3 = " Did you mean ";
@@ -2757,23 +2757,23 @@ spurious results.`);
2757
2757
  }
2758
2758
  var MAX_SUGGESTIONS;
2759
2759
  var init_didYouMean = __esm({
2760
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/didYouMean.mjs"() {
2760
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/didYouMean.mjs"() {
2761
2761
  "use strict";
2762
2762
  MAX_SUGGESTIONS = 5;
2763
2763
  }
2764
2764
  });
2765
2765
 
2766
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/identityFunc.mjs
2766
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/identityFunc.mjs
2767
2767
  function identityFunc(x) {
2768
2768
  return x;
2769
2769
  }
2770
2770
  var init_identityFunc = __esm({
2771
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/identityFunc.mjs"() {
2771
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/identityFunc.mjs"() {
2772
2772
  "use strict";
2773
2773
  }
2774
2774
  });
2775
2775
 
2776
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/keyMap.mjs
2776
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/keyMap.mjs
2777
2777
  function keyMap(list, keyFn) {
2778
2778
  const result = /* @__PURE__ */ Object.create(null);
2779
2779
  for (const item of list) {
@@ -2782,12 +2782,12 @@ spurious results.`);
2782
2782
  return result;
2783
2783
  }
2784
2784
  var init_keyMap = __esm({
2785
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/keyMap.mjs"() {
2785
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/keyMap.mjs"() {
2786
2786
  "use strict";
2787
2787
  }
2788
2788
  });
2789
2789
 
2790
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/keyValMap.mjs
2790
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/keyValMap.mjs
2791
2791
  function keyValMap(list, keyFn, valFn) {
2792
2792
  const result = /* @__PURE__ */ Object.create(null);
2793
2793
  for (const item of list) {
@@ -2796,12 +2796,12 @@ spurious results.`);
2796
2796
  return result;
2797
2797
  }
2798
2798
  var init_keyValMap = __esm({
2799
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/keyValMap.mjs"() {
2799
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/keyValMap.mjs"() {
2800
2800
  "use strict";
2801
2801
  }
2802
2802
  });
2803
2803
 
2804
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/mapValue.mjs
2804
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/mapValue.mjs
2805
2805
  function mapValue(map, fn) {
2806
2806
  const result = /* @__PURE__ */ Object.create(null);
2807
2807
  for (const key of Object.keys(map)) {
@@ -2810,12 +2810,12 @@ spurious results.`);
2810
2810
  return result;
2811
2811
  }
2812
2812
  var init_mapValue = __esm({
2813
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/mapValue.mjs"() {
2813
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/mapValue.mjs"() {
2814
2814
  "use strict";
2815
2815
  }
2816
2816
  });
2817
2817
 
2818
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/naturalCompare.mjs
2818
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/naturalCompare.mjs
2819
2819
  function naturalCompare(aStr, bStr) {
2820
2820
  let aIndex = 0;
2821
2821
  let bIndex = 0;
@@ -2859,14 +2859,14 @@ spurious results.`);
2859
2859
  }
2860
2860
  var DIGIT_0, DIGIT_9;
2861
2861
  var init_naturalCompare = __esm({
2862
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/naturalCompare.mjs"() {
2862
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/naturalCompare.mjs"() {
2863
2863
  "use strict";
2864
2864
  DIGIT_0 = 48;
2865
2865
  DIGIT_9 = 57;
2866
2866
  }
2867
2867
  });
2868
2868
 
2869
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/suggestionList.mjs
2869
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/suggestionList.mjs
2870
2870
  function suggestionList(input, options) {
2871
2871
  const optionsByDistance = /* @__PURE__ */ Object.create(null);
2872
2872
  const lexicalDistance = new LexicalDistance(input);
@@ -2892,7 +2892,7 @@ spurious results.`);
2892
2892
  }
2893
2893
  var LexicalDistance;
2894
2894
  var init_suggestionList = __esm({
2895
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/suggestionList.mjs"() {
2895
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/suggestionList.mjs"() {
2896
2896
  "use strict";
2897
2897
  init_naturalCompare();
2898
2898
  LexicalDistance = class {
@@ -2964,7 +2964,7 @@ spurious results.`);
2964
2964
  }
2965
2965
  });
2966
2966
 
2967
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/toObjMap.mjs
2967
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/toObjMap.mjs
2968
2968
  function toObjMap(obj) {
2969
2969
  if (obj == null) {
2970
2970
  return /* @__PURE__ */ Object.create(null);
@@ -2979,12 +2979,12 @@ spurious results.`);
2979
2979
  return map;
2980
2980
  }
2981
2981
  var init_toObjMap = __esm({
2982
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/toObjMap.mjs"() {
2982
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/toObjMap.mjs"() {
2983
2983
  "use strict";
2984
2984
  }
2985
2985
  });
2986
2986
 
2987
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printString.mjs
2987
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/printString.mjs
2988
2988
  function printString(str) {
2989
2989
  return `"${str.replace(escapedRegExp, escapedReplacer)}"`;
2990
2990
  }
@@ -2993,7 +2993,7 @@ spurious results.`);
2993
2993
  }
2994
2994
  var escapedRegExp, escapeSequences;
2995
2995
  var init_printString = __esm({
2996
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printString.mjs"() {
2996
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/printString.mjs"() {
2997
2997
  "use strict";
2998
2998
  escapedRegExp = /[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
2999
2999
  escapeSequences = [
@@ -3166,7 +3166,7 @@ spurious results.`);
3166
3166
  }
3167
3167
  });
3168
3168
 
3169
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/visitor.mjs
3169
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/visitor.mjs
3170
3170
  function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
3171
3171
  const enterLeaveMap = /* @__PURE__ */ new Map();
3172
3172
  for (const kind of Object.values(Kind)) {
@@ -3356,7 +3356,7 @@ spurious results.`);
3356
3356
  }
3357
3357
  var BREAK;
3358
3358
  var init_visitor = __esm({
3359
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/visitor.mjs"() {
3359
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/visitor.mjs"() {
3360
3360
  "use strict";
3361
3361
  init_devAssert();
3362
3362
  init_inspect();
@@ -3366,7 +3366,7 @@ spurious results.`);
3366
3366
  }
3367
3367
  });
3368
3368
 
3369
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printer.mjs
3369
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/printer.mjs
3370
3370
  function print(ast) {
3371
3371
  return visit(ast, printDocASTReducer);
3372
3372
  }
@@ -3389,7 +3389,7 @@ spurious results.`);
3389
3389
  }
3390
3390
  var MAX_LINE_LENGTH, printDocASTReducer;
3391
3391
  var init_printer = __esm({
3392
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/printer.mjs"() {
3392
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/printer.mjs"() {
3393
3393
  "use strict";
3394
3394
  init_blockString();
3395
3395
  init_printString();
@@ -3617,7 +3617,7 @@ spurious results.`);
3617
3617
  }
3618
3618
  });
3619
3619
 
3620
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/valueFromASTUntyped.mjs
3620
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/valueFromASTUntyped.mjs
3621
3621
  function valueFromASTUntyped(valueNode, variables) {
3622
3622
  switch (valueNode.kind) {
3623
3623
  case Kind.NULL:
@@ -3645,14 +3645,14 @@ spurious results.`);
3645
3645
  }
3646
3646
  }
3647
3647
  var init_valueFromASTUntyped = __esm({
3648
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/valueFromASTUntyped.mjs"() {
3648
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/valueFromASTUntyped.mjs"() {
3649
3649
  "use strict";
3650
3650
  init_keyValMap();
3651
3651
  init_kinds();
3652
3652
  }
3653
3653
  });
3654
3654
 
3655
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/assertName.mjs
3655
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/assertName.mjs
3656
3656
  function assertName(name) {
3657
3657
  name != null || devAssert(false, "Must provide name.");
3658
3658
  typeof name === "string" || devAssert(false, "Expected name to be a string.");
@@ -3680,7 +3680,7 @@ spurious results.`);
3680
3680
  return assertName(name);
3681
3681
  }
3682
3682
  var init_assertName = __esm({
3683
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/assertName.mjs"() {
3683
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/assertName.mjs"() {
3684
3684
  "use strict";
3685
3685
  init_devAssert();
3686
3686
  init_GraphQLError();
@@ -3688,7 +3688,7 @@ spurious results.`);
3688
3688
  }
3689
3689
  });
3690
3690
 
3691
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/definition.mjs
3691
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/definition.mjs
3692
3692
  function isType(type) {
3693
3693
  return isScalarType(type) || isObjectType(type) || isInterfaceType(type) || isUnionType(type) || isEnumType(type) || isInputObjectType(type) || isListType(type) || isNonNullType(type);
3694
3694
  }
@@ -4016,7 +4016,7 @@ spurious results.`);
4016
4016
  }
4017
4017
  var GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType, GraphQLEnumType, GraphQLInputObjectType;
4018
4018
  var init_definition = __esm({
4019
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/definition.mjs"() {
4019
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/definition.mjs"() {
4020
4020
  "use strict";
4021
4021
  init_devAssert();
4022
4022
  init_didYouMean();
@@ -4269,22 +4269,31 @@ spurious results.`);
4269
4269
  this.extensions = toObjMap(config.extensions);
4270
4270
  this.astNode = config.astNode;
4271
4271
  this.extensionASTNodes = (_config$extensionASTN5 = config.extensionASTNodes) !== null && _config$extensionASTN5 !== void 0 ? _config$extensionASTN5 : [];
4272
- this._values = defineEnumValues(this.name, config.values);
4273
- this._valueLookup = new Map(
4274
- this._values.map((enumValue) => [enumValue.value, enumValue])
4275
- );
4276
- this._nameLookup = keyMap(this._values, (value) => value.name);
4272
+ this._values = typeof config.values === "function" ? config.values : defineEnumValues(this.name, config.values);
4273
+ this._valueLookup = null;
4274
+ this._nameLookup = null;
4277
4275
  }
4278
4276
  get [Symbol.toStringTag]() {
4279
4277
  return "GraphQLEnumType";
4280
4278
  }
4281
4279
  getValues() {
4280
+ if (typeof this._values === "function") {
4281
+ this._values = defineEnumValues(this.name, this._values());
4282
+ }
4282
4283
  return this._values;
4283
4284
  }
4284
4285
  getValue(name) {
4286
+ if (this._nameLookup === null) {
4287
+ this._nameLookup = keyMap(this.getValues(), (value) => value.name);
4288
+ }
4285
4289
  return this._nameLookup[name];
4286
4290
  }
4287
4291
  serialize(outputValue) {
4292
+ if (this._valueLookup === null) {
4293
+ this._valueLookup = new Map(
4294
+ this.getValues().map((enumValue2) => [enumValue2.value, enumValue2])
4295
+ );
4296
+ }
4288
4297
  const enumValue = this._valueLookup.get(outputValue);
4289
4298
  if (enumValue === void 0) {
4290
4299
  throw new GraphQLError(
@@ -4360,12 +4369,13 @@ spurious results.`);
4360
4369
  };
4361
4370
  GraphQLInputObjectType = class {
4362
4371
  constructor(config) {
4363
- var _config$extensionASTN6;
4372
+ var _config$extensionASTN6, _config$isOneOf;
4364
4373
  this.name = assertName(config.name);
4365
4374
  this.description = config.description;
4366
4375
  this.extensions = toObjMap(config.extensions);
4367
4376
  this.astNode = config.astNode;
4368
4377
  this.extensionASTNodes = (_config$extensionASTN6 = config.extensionASTNodes) !== null && _config$extensionASTN6 !== void 0 ? _config$extensionASTN6 : [];
4378
+ this.isOneOf = (_config$isOneOf = config.isOneOf) !== null && _config$isOneOf !== void 0 ? _config$isOneOf : false;
4369
4379
  this._fields = defineInputFieldMap.bind(void 0, config);
4370
4380
  }
4371
4381
  get [Symbol.toStringTag]() {
@@ -4392,7 +4402,8 @@ spurious results.`);
4392
4402
  fields,
4393
4403
  extensions: this.extensions,
4394
4404
  astNode: this.astNode,
4395
- extensionASTNodes: this.extensionASTNodes
4405
+ extensionASTNodes: this.extensionASTNodes,
4406
+ isOneOf: this.isOneOf
4396
4407
  };
4397
4408
  }
4398
4409
  toString() {
@@ -4405,7 +4416,7 @@ spurious results.`);
4405
4416
  }
4406
4417
  });
4407
4418
 
4408
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/typeComparators.mjs
4419
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/typeComparators.mjs
4409
4420
  function isEqualType(typeA, typeB) {
4410
4421
  if (typeA === typeB) {
4411
4422
  return true;
@@ -4458,13 +4469,13 @@ spurious results.`);
4458
4469
  return false;
4459
4470
  }
4460
4471
  var init_typeComparators = __esm({
4461
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/typeComparators.mjs"() {
4472
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/typeComparators.mjs"() {
4462
4473
  "use strict";
4463
4474
  init_definition();
4464
4475
  }
4465
4476
  });
4466
4477
 
4467
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/scalars.mjs
4478
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/scalars.mjs
4468
4479
  function isSpecifiedScalarType(type) {
4469
4480
  return specifiedScalarTypes.some(({ name }) => type.name === name);
4470
4481
  }
@@ -4484,7 +4495,7 @@ spurious results.`);
4484
4495
  }
4485
4496
  var GRAPHQL_MAX_INT, GRAPHQL_MIN_INT, GraphQLInt, GraphQLFloat, GraphQLString, GraphQLBoolean, GraphQLID, specifiedScalarTypes;
4486
4497
  var init_scalars = __esm({
4487
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/scalars.mjs"() {
4498
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/scalars.mjs"() {
4488
4499
  "use strict";
4489
4500
  init_inspect();
4490
4501
  init_isObjectLike();
@@ -4708,7 +4719,7 @@ spurious results.`);
4708
4719
  }
4709
4720
  });
4710
4721
 
4711
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/directives.mjs
4722
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/directives.mjs
4712
4723
  function isDirective(directive) {
4713
4724
  return instanceOf(directive, GraphQLDirective);
4714
4725
  }
@@ -4723,9 +4734,9 @@ spurious results.`);
4723
4734
  function isSpecifiedDirective(directive) {
4724
4735
  return specifiedDirectives.some(({ name }) => name === directive.name);
4725
4736
  }
4726
- var GraphQLDirective, GraphQLIncludeDirective, GraphQLSkipDirective, DEFAULT_DEPRECATION_REASON, GraphQLDeprecatedDirective, GraphQLSpecifiedByDirective, specifiedDirectives;
4737
+ var GraphQLDirective, GraphQLIncludeDirective, GraphQLSkipDirective, DEFAULT_DEPRECATION_REASON, GraphQLDeprecatedDirective, GraphQLSpecifiedByDirective, GraphQLOneOfDirective, specifiedDirectives;
4727
4738
  var init_directives = __esm({
4728
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/directives.mjs"() {
4739
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/directives.mjs"() {
4729
4740
  "use strict";
4730
4741
  init_devAssert();
4731
4742
  init_inspect();
@@ -4833,26 +4844,33 @@ spurious results.`);
4833
4844
  }
4834
4845
  }
4835
4846
  });
4847
+ GraphQLOneOfDirective = new GraphQLDirective({
4848
+ name: "oneOf",
4849
+ description: "Indicates exactly one field must be supplied and this field must not be `null`.",
4850
+ locations: [DirectiveLocation.INPUT_OBJECT],
4851
+ args: {}
4852
+ });
4836
4853
  specifiedDirectives = Object.freeze([
4837
4854
  GraphQLIncludeDirective,
4838
4855
  GraphQLSkipDirective,
4839
4856
  GraphQLDeprecatedDirective,
4840
- GraphQLSpecifiedByDirective
4857
+ GraphQLSpecifiedByDirective,
4858
+ GraphQLOneOfDirective
4841
4859
  ]);
4842
4860
  }
4843
4861
  });
4844
4862
 
4845
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isIterableObject.mjs
4863
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/isIterableObject.mjs
4846
4864
  function isIterableObject(maybeIterable) {
4847
4865
  return typeof maybeIterable === "object" && typeof (maybeIterable === null || maybeIterable === void 0 ? void 0 : maybeIterable[Symbol.iterator]) === "function";
4848
4866
  }
4849
4867
  var init_isIterableObject = __esm({
4850
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isIterableObject.mjs"() {
4868
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/isIterableObject.mjs"() {
4851
4869
  "use strict";
4852
4870
  }
4853
4871
  });
4854
4872
 
4855
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/astFromValue.mjs
4873
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/astFromValue.mjs
4856
4874
  function astFromValue(value, type) {
4857
4875
  if (isNonNullType(type)) {
4858
4876
  const astValue = astFromValue(value, type.ofType);
@@ -4954,7 +4972,7 @@ spurious results.`);
4954
4972
  }
4955
4973
  var integerStringRegExp;
4956
4974
  var init_astFromValue = __esm({
4957
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/astFromValue.mjs"() {
4975
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/astFromValue.mjs"() {
4958
4976
  "use strict";
4959
4977
  init_inspect();
4960
4978
  init_invariant();
@@ -4967,13 +4985,13 @@ spurious results.`);
4967
4985
  }
4968
4986
  });
4969
4987
 
4970
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/introspection.mjs
4988
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/introspection.mjs
4971
4989
  function isIntrospectionType(type) {
4972
4990
  return introspectionTypes.some(({ name }) => type.name === name);
4973
4991
  }
4974
4992
  var __Schema, __Directive, __DirectiveLocation, __Type, __Field, __InputValue, __EnumValue, TypeKind, __TypeKind, SchemaMetaFieldDef, TypeMetaFieldDef, TypeNameMetaFieldDef, introspectionTypes;
4975
4993
  var init_introspection = __esm({
4976
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/introspection.mjs"() {
4994
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/introspection.mjs"() {
4977
4995
  "use strict";
4978
4996
  init_inspect();
4979
4997
  init_invariant();
@@ -5254,6 +5272,14 @@ spurious results.`);
5254
5272
  ofType: {
5255
5273
  type: __Type,
5256
5274
  resolve: (type) => "ofType" in type ? type.ofType : void 0
5275
+ },
5276
+ isOneOf: {
5277
+ type: GraphQLBoolean,
5278
+ resolve: (type) => {
5279
+ if (isInputObjectType(type)) {
5280
+ return type.isOneOf;
5281
+ }
5282
+ }
5257
5283
  }
5258
5284
  })
5259
5285
  });
@@ -5455,7 +5481,7 @@ spurious results.`);
5455
5481
  }
5456
5482
  });
5457
5483
 
5458
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/schema.mjs
5484
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/schema.mjs
5459
5485
  function isSchema(schema) {
5460
5486
  return instanceOf(schema, GraphQLSchema);
5461
5487
  }
@@ -5493,7 +5519,7 @@ spurious results.`);
5493
5519
  }
5494
5520
  var GraphQLSchema;
5495
5521
  var init_schema = __esm({
5496
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/schema.mjs"() {
5522
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/schema.mjs"() {
5497
5523
  "use strict";
5498
5524
  init_devAssert();
5499
5525
  init_inspect();
@@ -5680,7 +5706,7 @@ spurious results.`);
5680
5706
  }
5681
5707
  });
5682
5708
 
5683
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/validate.mjs
5709
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/validate.mjs
5684
5710
  function validateSchema(schema) {
5685
5711
  assertSchema(schema);
5686
5712
  if (schema.__validationErrors) {
@@ -6025,6 +6051,24 @@ spurious results.`);
6025
6051
  ]
6026
6052
  );
6027
6053
  }
6054
+ if (inputObj.isOneOf) {
6055
+ validateOneOfInputObjectField(inputObj, field, context);
6056
+ }
6057
+ }
6058
+ }
6059
+ function validateOneOfInputObjectField(type, field, context) {
6060
+ if (isNonNullType(field.type)) {
6061
+ var _field$astNode4;
6062
+ context.reportError(
6063
+ `OneOf input field ${type.name}.${field.name} must be nullable.`,
6064
+ (_field$astNode4 = field.astNode) === null || _field$astNode4 === void 0 ? void 0 : _field$astNode4.type
6065
+ );
6066
+ }
6067
+ if (field.defaultValue !== void 0) {
6068
+ context.reportError(
6069
+ `OneOf input field ${type.name}.${field.name} cannot have a default value.`,
6070
+ field.astNode
6071
+ );
6028
6072
  }
6029
6073
  }
6030
6074
  function createInputObjectCircularRefsValidator(context) {
@@ -6090,7 +6134,7 @@ spurious results.`);
6090
6134
  }
6091
6135
  var SchemaValidationContext;
6092
6136
  var init_validate = __esm({
6093
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/validate.mjs"() {
6137
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/validate.mjs"() {
6094
6138
  "use strict";
6095
6139
  init_inspect();
6096
6140
  init_GraphQLError();
@@ -6120,7 +6164,7 @@ spurious results.`);
6120
6164
  }
6121
6165
  });
6122
6166
 
6123
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/typeFromAST.mjs
6167
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/typeFromAST.mjs
6124
6168
  function typeFromAST(schema, typeNode) {
6125
6169
  switch (typeNode.kind) {
6126
6170
  case Kind.LIST_TYPE: {
@@ -6136,14 +6180,14 @@ spurious results.`);
6136
6180
  }
6137
6181
  }
6138
6182
  var init_typeFromAST = __esm({
6139
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/typeFromAST.mjs"() {
6183
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/typeFromAST.mjs"() {
6140
6184
  "use strict";
6141
6185
  init_kinds();
6142
6186
  init_definition();
6143
6187
  }
6144
6188
  });
6145
6189
 
6146
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/TypeInfo.mjs
6190
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/TypeInfo.mjs
6147
6191
  function getFieldDef(schema, parentType, fieldNode) {
6148
6192
  const name = fieldNode.name.value;
6149
6193
  if (name === SchemaMetaFieldDef.name && schema.getQueryType() === parentType) {
@@ -6190,7 +6234,7 @@ spurious results.`);
6190
6234
  }
6191
6235
  var TypeInfo;
6192
6236
  var init_TypeInfo = __esm({
6193
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/TypeInfo.mjs"() {
6237
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/TypeInfo.mjs"() {
6194
6238
  "use strict";
6195
6239
  init_ast();
6196
6240
  init_kinds();
@@ -6405,7 +6449,7 @@ spurious results.`);
6405
6449
  }
6406
6450
  });
6407
6451
 
6408
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/predicates.mjs
6452
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/predicates.mjs
6409
6453
  function isDefinitionNode(node) {
6410
6454
  return isExecutableDefinitionNode(node) || isTypeSystemDefinitionNode(node) || isTypeSystemExtensionNode(node);
6411
6455
  }
@@ -6437,13 +6481,13 @@ spurious results.`);
6437
6481
  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;
6438
6482
  }
6439
6483
  var init_predicates = __esm({
6440
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/predicates.mjs"() {
6484
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/predicates.mjs"() {
6441
6485
  "use strict";
6442
6486
  init_kinds();
6443
6487
  }
6444
6488
  });
6445
6489
 
6446
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.mjs
6490
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.mjs
6447
6491
  function ExecutableDefinitionsRule(context) {
6448
6492
  return {
6449
6493
  Document(node) {
@@ -6462,7 +6506,7 @@ spurious results.`);
6462
6506
  };
6463
6507
  }
6464
6508
  var init_ExecutableDefinitionsRule = __esm({
6465
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.mjs"() {
6509
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.mjs"() {
6466
6510
  "use strict";
6467
6511
  init_GraphQLError();
6468
6512
  init_kinds();
@@ -6470,7 +6514,7 @@ spurious results.`);
6470
6514
  }
6471
6515
  });
6472
6516
 
6473
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.mjs
6517
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.mjs
6474
6518
  function FieldsOnCorrectTypeRule(context) {
6475
6519
  return {
6476
6520
  Field(node) {
@@ -6543,7 +6587,7 @@ spurious results.`);
6543
6587
  return [];
6544
6588
  }
6545
6589
  var init_FieldsOnCorrectTypeRule = __esm({
6546
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.mjs"() {
6590
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.mjs"() {
6547
6591
  "use strict";
6548
6592
  init_didYouMean();
6549
6593
  init_naturalCompare();
@@ -6553,7 +6597,7 @@ spurious results.`);
6553
6597
  }
6554
6598
  });
6555
6599
 
6556
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.mjs
6600
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.mjs
6557
6601
  function FragmentsOnCompositeTypesRule(context) {
6558
6602
  return {
6559
6603
  InlineFragment(node) {
@@ -6590,7 +6634,7 @@ spurious results.`);
6590
6634
  };
6591
6635
  }
6592
6636
  var init_FragmentsOnCompositeTypesRule = __esm({
6593
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.mjs"() {
6637
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.mjs"() {
6594
6638
  "use strict";
6595
6639
  init_GraphQLError();
6596
6640
  init_printer();
@@ -6599,7 +6643,7 @@ spurious results.`);
6599
6643
  }
6600
6644
  });
6601
6645
 
6602
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownArgumentNamesRule.mjs
6646
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/KnownArgumentNamesRule.mjs
6603
6647
  function KnownArgumentNamesRule(context) {
6604
6648
  return {
6605
6649
  // eslint-disable-next-line new-cap
@@ -6664,7 +6708,7 @@ spurious results.`);
6664
6708
  };
6665
6709
  }
6666
6710
  var init_KnownArgumentNamesRule = __esm({
6667
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownArgumentNamesRule.mjs"() {
6711
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/KnownArgumentNamesRule.mjs"() {
6668
6712
  "use strict";
6669
6713
  init_didYouMean();
6670
6714
  init_suggestionList();
@@ -6674,7 +6718,7 @@ spurious results.`);
6674
6718
  }
6675
6719
  });
6676
6720
 
6677
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownDirectivesRule.mjs
6721
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/KnownDirectivesRule.mjs
6678
6722
  function KnownDirectivesRule(context) {
6679
6723
  const locationsMap = /* @__PURE__ */ Object.create(null);
6680
6724
  const schema = context.getSchema();
@@ -6775,7 +6819,7 @@ spurious results.`);
6775
6819
  }
6776
6820
  }
6777
6821
  var init_KnownDirectivesRule = __esm({
6778
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownDirectivesRule.mjs"() {
6822
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/KnownDirectivesRule.mjs"() {
6779
6823
  "use strict";
6780
6824
  init_inspect();
6781
6825
  init_invariant();
@@ -6787,7 +6831,7 @@ spurious results.`);
6787
6831
  }
6788
6832
  });
6789
6833
 
6790
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownFragmentNamesRule.mjs
6834
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/KnownFragmentNamesRule.mjs
6791
6835
  function KnownFragmentNamesRule(context) {
6792
6836
  return {
6793
6837
  FragmentSpread(node) {
@@ -6804,13 +6848,13 @@ spurious results.`);
6804
6848
  };
6805
6849
  }
6806
6850
  var init_KnownFragmentNamesRule = __esm({
6807
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownFragmentNamesRule.mjs"() {
6851
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/KnownFragmentNamesRule.mjs"() {
6808
6852
  "use strict";
6809
6853
  init_GraphQLError();
6810
6854
  }
6811
6855
  });
6812
6856
 
6813
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs
6857
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs
6814
6858
  function KnownTypeNamesRule(context) {
6815
6859
  const schema = context.getSchema();
6816
6860
  const existingTypesMap = schema ? schema.getTypeMap() : /* @__PURE__ */ Object.create(null);
@@ -6855,7 +6899,7 @@ spurious results.`);
6855
6899
  }
6856
6900
  var standardTypeNames;
6857
6901
  var init_KnownTypeNamesRule = __esm({
6858
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs"() {
6902
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs"() {
6859
6903
  "use strict";
6860
6904
  init_didYouMean();
6861
6905
  init_suggestionList();
@@ -6869,7 +6913,7 @@ spurious results.`);
6869
6913
  }
6870
6914
  });
6871
6915
 
6872
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs
6916
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs
6873
6917
  function LoneAnonymousOperationRule(context) {
6874
6918
  let operationCount = 0;
6875
6919
  return {
@@ -6893,14 +6937,14 @@ spurious results.`);
6893
6937
  };
6894
6938
  }
6895
6939
  var init_LoneAnonymousOperationRule = __esm({
6896
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs"() {
6940
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs"() {
6897
6941
  "use strict";
6898
6942
  init_GraphQLError();
6899
6943
  init_kinds();
6900
6944
  }
6901
6945
  });
6902
6946
 
6903
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs
6947
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs
6904
6948
  function LoneSchemaDefinitionRule(context) {
6905
6949
  var _ref, _ref2, _oldSchema$astNode;
6906
6950
  const oldSchema = context.getSchema();
@@ -6931,13 +6975,73 @@ spurious results.`);
6931
6975
  };
6932
6976
  }
6933
6977
  var init_LoneSchemaDefinitionRule = __esm({
6934
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs"() {
6978
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs"() {
6935
6979
  "use strict";
6936
6980
  init_GraphQLError();
6937
6981
  }
6938
6982
  });
6939
6983
 
6940
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs
6984
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.mjs
6985
+ function MaxIntrospectionDepthRule(context) {
6986
+ function checkDepth(node, visitedFragments = /* @__PURE__ */ Object.create(null), depth = 0) {
6987
+ if (node.kind === Kind.FRAGMENT_SPREAD) {
6988
+ const fragmentName = node.name.value;
6989
+ if (visitedFragments[fragmentName] === true) {
6990
+ return false;
6991
+ }
6992
+ const fragment = context.getFragment(fragmentName);
6993
+ if (!fragment) {
6994
+ return false;
6995
+ }
6996
+ try {
6997
+ visitedFragments[fragmentName] = true;
6998
+ return checkDepth(fragment, visitedFragments, depth);
6999
+ } finally {
7000
+ visitedFragments[fragmentName] = void 0;
7001
+ }
7002
+ }
7003
+ if (node.kind === Kind.FIELD && // check all introspection lists
7004
+ (node.name.value === "fields" || node.name.value === "interfaces" || node.name.value === "possibleTypes" || node.name.value === "inputFields")) {
7005
+ depth++;
7006
+ if (depth >= MAX_LISTS_DEPTH) {
7007
+ return true;
7008
+ }
7009
+ }
7010
+ if ("selectionSet" in node && node.selectionSet) {
7011
+ for (const child of node.selectionSet.selections) {
7012
+ if (checkDepth(child, visitedFragments, depth)) {
7013
+ return true;
7014
+ }
7015
+ }
7016
+ }
7017
+ return false;
7018
+ }
7019
+ return {
7020
+ Field(node) {
7021
+ if (node.name.value === "__schema" || node.name.value === "__type") {
7022
+ if (checkDepth(node)) {
7023
+ context.reportError(
7024
+ new GraphQLError("Maximum introspection depth exceeded", {
7025
+ nodes: [node]
7026
+ })
7027
+ );
7028
+ return false;
7029
+ }
7030
+ }
7031
+ }
7032
+ };
7033
+ }
7034
+ var MAX_LISTS_DEPTH;
7035
+ var init_MaxIntrospectionDepthRule = __esm({
7036
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.mjs"() {
7037
+ "use strict";
7038
+ init_GraphQLError();
7039
+ init_kinds();
7040
+ MAX_LISTS_DEPTH = 3;
7041
+ }
7042
+ });
7043
+
7044
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs
6941
7045
  function NoFragmentCyclesRule(context) {
6942
7046
  const visitedFrags = /* @__PURE__ */ Object.create(null);
6943
7047
  const spreadPath = [];
@@ -6987,13 +7091,13 @@ spurious results.`);
6987
7091
  }
6988
7092
  }
6989
7093
  var init_NoFragmentCyclesRule = __esm({
6990
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs"() {
7094
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs"() {
6991
7095
  "use strict";
6992
7096
  init_GraphQLError();
6993
7097
  }
6994
7098
  });
6995
7099
 
6996
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs
7100
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs
6997
7101
  function NoUndefinedVariablesRule(context) {
6998
7102
  let variableNameDefined = /* @__PURE__ */ Object.create(null);
6999
7103
  return {
@@ -7024,13 +7128,13 @@ spurious results.`);
7024
7128
  };
7025
7129
  }
7026
7130
  var init_NoUndefinedVariablesRule = __esm({
7027
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs"() {
7131
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs"() {
7028
7132
  "use strict";
7029
7133
  init_GraphQLError();
7030
7134
  }
7031
7135
  });
7032
7136
 
7033
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs
7137
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs
7034
7138
  function NoUnusedFragmentsRule(context) {
7035
7139
  const operationDefs = [];
7036
7140
  const fragmentDefs = [];
@@ -7068,13 +7172,13 @@ spurious results.`);
7068
7172
  };
7069
7173
  }
7070
7174
  var init_NoUnusedFragmentsRule = __esm({
7071
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs"() {
7175
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs"() {
7072
7176
  "use strict";
7073
7177
  init_GraphQLError();
7074
7178
  }
7075
7179
  });
7076
7180
 
7077
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUnusedVariablesRule.mjs
7181
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/NoUnusedVariablesRule.mjs
7078
7182
  function NoUnusedVariablesRule(context) {
7079
7183
  let variableDefs = [];
7080
7184
  return {
@@ -7109,13 +7213,13 @@ spurious results.`);
7109
7213
  };
7110
7214
  }
7111
7215
  var init_NoUnusedVariablesRule = __esm({
7112
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/NoUnusedVariablesRule.mjs"() {
7216
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/NoUnusedVariablesRule.mjs"() {
7113
7217
  "use strict";
7114
7218
  init_GraphQLError();
7115
7219
  }
7116
7220
  });
7117
7221
 
7118
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/sortValueNode.mjs
7222
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/sortValueNode.mjs
7119
7223
  function sortValueNode(valueNode) {
7120
7224
  switch (valueNode.kind) {
7121
7225
  case Kind.OBJECT:
@@ -7141,14 +7245,14 @@ spurious results.`);
7141
7245
  );
7142
7246
  }
7143
7247
  var init_sortValueNode = __esm({
7144
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/sortValueNode.mjs"() {
7248
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/sortValueNode.mjs"() {
7145
7249
  "use strict";
7146
7250
  init_naturalCompare();
7147
7251
  init_kinds();
7148
7252
  }
7149
7253
  });
7150
7254
 
7151
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.mjs
7255
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.mjs
7152
7256
  function reasonMessage(reason) {
7153
7257
  if (Array.isArray(reason)) {
7154
7258
  return reason.map(
@@ -7606,7 +7710,7 @@ spurious results.`);
7606
7710
  }
7607
7711
  var PairSet;
7608
7712
  var init_OverlappingFieldsCanBeMergedRule = __esm({
7609
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.mjs"() {
7713
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.mjs"() {
7610
7714
  "use strict";
7611
7715
  init_inspect();
7612
7716
  init_GraphQLError();
@@ -7641,7 +7745,7 @@ spurious results.`);
7641
7745
  }
7642
7746
  });
7643
7747
 
7644
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.mjs
7748
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.mjs
7645
7749
  function PossibleFragmentSpreadsRule(context) {
7646
7750
  return {
7647
7751
  InlineFragment(node) {
@@ -7689,7 +7793,7 @@ spurious results.`);
7689
7793
  }
7690
7794
  }
7691
7795
  var init_PossibleFragmentSpreadsRule = __esm({
7692
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.mjs"() {
7796
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.mjs"() {
7693
7797
  "use strict";
7694
7798
  init_inspect();
7695
7799
  init_GraphQLError();
@@ -7699,7 +7803,7 @@ spurious results.`);
7699
7803
  }
7700
7804
  });
7701
7805
 
7702
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.mjs
7806
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.mjs
7703
7807
  function PossibleTypeExtensionsRule(context) {
7704
7808
  const schema = context.getSchema();
7705
7809
  const definedTypes = /* @__PURE__ */ Object.create(null);
@@ -7793,7 +7897,7 @@ spurious results.`);
7793
7897
  }
7794
7898
  var defKindToExtKind;
7795
7899
  var init_PossibleTypeExtensionsRule = __esm({
7796
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.mjs"() {
7900
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.mjs"() {
7797
7901
  "use strict";
7798
7902
  init_didYouMean();
7799
7903
  init_inspect();
@@ -7814,7 +7918,7 @@ spurious results.`);
7814
7918
  }
7815
7919
  });
7816
7920
 
7817
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.mjs
7921
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.mjs
7818
7922
  function ProvidedRequiredArgumentsRule(context) {
7819
7923
  return {
7820
7924
  // eslint-disable-next-line new-cap
@@ -7903,7 +8007,7 @@ spurious results.`);
7903
8007
  return arg.type.kind === Kind.NON_NULL_TYPE && arg.defaultValue == null;
7904
8008
  }
7905
8009
  var init_ProvidedRequiredArgumentsRule = __esm({
7906
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.mjs"() {
8010
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.mjs"() {
7907
8011
  "use strict";
7908
8012
  init_inspect();
7909
8013
  init_keyMap();
@@ -7915,7 +8019,7 @@ spurious results.`);
7915
8019
  }
7916
8020
  });
7917
8021
 
7918
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ScalarLeafsRule.mjs
8022
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/ScalarLeafsRule.mjs
7919
8023
  function ScalarLeafsRule(context) {
7920
8024
  return {
7921
8025
  Field(node) {
@@ -7952,7 +8056,7 @@ spurious results.`);
7952
8056
  };
7953
8057
  }
7954
8058
  var init_ScalarLeafsRule = __esm({
7955
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ScalarLeafsRule.mjs"() {
8059
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/ScalarLeafsRule.mjs"() {
7956
8060
  "use strict";
7957
8061
  init_inspect();
7958
8062
  init_GraphQLError();
@@ -7960,19 +8064,19 @@ spurious results.`);
7960
8064
  }
7961
8065
  });
7962
8066
 
7963
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/printPathArray.mjs
8067
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/printPathArray.mjs
7964
8068
  function printPathArray(path) {
7965
8069
  return path.map(
7966
8070
  (key) => typeof key === "number" ? "[" + key.toString() + "]" : "." + key
7967
8071
  ).join("");
7968
8072
  }
7969
8073
  var init_printPathArray = __esm({
7970
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/printPathArray.mjs"() {
8074
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/printPathArray.mjs"() {
7971
8075
  "use strict";
7972
8076
  }
7973
8077
  });
7974
8078
 
7975
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/Path.mjs
8079
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/Path.mjs
7976
8080
  function addPath(prev, key, typename) {
7977
8081
  return {
7978
8082
  prev,
@@ -7990,12 +8094,12 @@ spurious results.`);
7990
8094
  return flattened.reverse();
7991
8095
  }
7992
8096
  var init_Path = __esm({
7993
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/Path.mjs"() {
8097
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/Path.mjs"() {
7994
8098
  "use strict";
7995
8099
  }
7996
8100
  });
7997
8101
 
7998
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/coerceInputValue.mjs
8102
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/coerceInputValue.mjs
7999
8103
  function coerceInputValue(inputValue, type, onError = defaultOnError) {
8000
8104
  return coerceInputValueImpl(inputValue, type, onError, void 0);
8001
8105
  }
@@ -8084,6 +8188,27 @@ spurious results.`);
8084
8188
  );
8085
8189
  }
8086
8190
  }
8191
+ if (type.isOneOf) {
8192
+ const keys = Object.keys(coercedValue);
8193
+ if (keys.length !== 1) {
8194
+ onError(
8195
+ pathToArray(path),
8196
+ inputValue,
8197
+ new GraphQLError(
8198
+ `Exactly one key must be specified for OneOf type "${type.name}".`
8199
+ )
8200
+ );
8201
+ }
8202
+ const key = keys[0];
8203
+ const value = coercedValue[key];
8204
+ if (value === null) {
8205
+ onError(
8206
+ pathToArray(path).concat(key),
8207
+ value,
8208
+ new GraphQLError(`Field "${key}" must be non-null.`)
8209
+ );
8210
+ }
8211
+ }
8087
8212
  return coercedValue;
8088
8213
  }
8089
8214
  if (isLeafType(type)) {
@@ -8116,7 +8241,7 @@ spurious results.`);
8116
8241
  invariant2(false, "Unexpected input type: " + inspect(type));
8117
8242
  }
8118
8243
  var init_coerceInputValue = __esm({
8119
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/coerceInputValue.mjs"() {
8244
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/coerceInputValue.mjs"() {
8120
8245
  "use strict";
8121
8246
  init_didYouMean();
8122
8247
  init_inspect();
@@ -8131,7 +8256,7 @@ spurious results.`);
8131
8256
  }
8132
8257
  });
8133
8258
 
8134
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/valueFromAST.mjs
8259
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/valueFromAST.mjs
8135
8260
  function valueFromAST(valueNode, type, variables) {
8136
8261
  if (!valueNode) {
8137
8262
  return;
@@ -8204,6 +8329,15 @@ spurious results.`);
8204
8329
  }
8205
8330
  coercedObj[field.name] = fieldValue;
8206
8331
  }
8332
+ if (type.isOneOf) {
8333
+ const keys = Object.keys(coercedObj);
8334
+ if (keys.length !== 1) {
8335
+ return;
8336
+ }
8337
+ if (coercedObj[keys[0]] === null) {
8338
+ return;
8339
+ }
8340
+ }
8207
8341
  return coercedObj;
8208
8342
  }
8209
8343
  if (isLeafType(type)) {
@@ -8224,7 +8358,7 @@ spurious results.`);
8224
8358
  return valueNode.kind === Kind.VARIABLE && (variables == null || variables[valueNode.name.value] === void 0);
8225
8359
  }
8226
8360
  var init_valueFromAST = __esm({
8227
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/valueFromAST.mjs"() {
8361
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/valueFromAST.mjs"() {
8228
8362
  "use strict";
8229
8363
  init_inspect();
8230
8364
  init_invariant();
@@ -8234,7 +8368,7 @@ spurious results.`);
8234
8368
  }
8235
8369
  });
8236
8370
 
8237
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/values.mjs
8371
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/values.mjs
8238
8372
  function getVariableValues(schema, varDefNodes, inputs, options) {
8239
8373
  const errors = [];
8240
8374
  const maxErrors = options === null || options === void 0 ? void 0 : options.maxErrors;
@@ -8404,7 +8538,7 @@ spurious results.`);
8404
8538
  return Object.prototype.hasOwnProperty.call(obj, prop);
8405
8539
  }
8406
8540
  var init_values = __esm({
8407
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/values.mjs"() {
8541
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/values.mjs"() {
8408
8542
  "use strict";
8409
8543
  init_inspect();
8410
8544
  init_keyMap();
@@ -8419,7 +8553,7 @@ spurious results.`);
8419
8553
  }
8420
8554
  });
8421
8555
 
8422
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/collectFields.mjs
8556
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/collectFields.mjs
8423
8557
  function collectFields(schema, fragments, variableValues, runtimeType, selectionSet) {
8424
8558
  const fields = /* @__PURE__ */ new Map();
8425
8559
  collectFieldsImpl(
@@ -8539,7 +8673,7 @@ spurious results.`);
8539
8673
  return node.alias ? node.alias.value : node.name.value;
8540
8674
  }
8541
8675
  var init_collectFields = __esm({
8542
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/collectFields.mjs"() {
8676
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/collectFields.mjs"() {
8543
8677
  "use strict";
8544
8678
  init_kinds();
8545
8679
  init_definition();
@@ -8549,7 +8683,7 @@ spurious results.`);
8549
8683
  }
8550
8684
  });
8551
8685
 
8552
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.mjs
8686
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.mjs
8553
8687
  function SingleFieldSubscriptionsRule(context) {
8554
8688
  return {
8555
8689
  OperationDefinition(node) {
@@ -8606,7 +8740,7 @@ spurious results.`);
8606
8740
  };
8607
8741
  }
8608
8742
  var init_SingleFieldSubscriptionsRule = __esm({
8609
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.mjs"() {
8743
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.mjs"() {
8610
8744
  "use strict";
8611
8745
  init_GraphQLError();
8612
8746
  init_kinds();
@@ -8614,7 +8748,7 @@ spurious results.`);
8614
8748
  }
8615
8749
  });
8616
8750
 
8617
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/groupBy.mjs
8751
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/groupBy.mjs
8618
8752
  function groupBy(list, keyFn) {
8619
8753
  const result = /* @__PURE__ */ new Map();
8620
8754
  for (const item of list) {
@@ -8629,12 +8763,12 @@ spurious results.`);
8629
8763
  return result;
8630
8764
  }
8631
8765
  var init_groupBy = __esm({
8632
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/groupBy.mjs"() {
8766
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/groupBy.mjs"() {
8633
8767
  "use strict";
8634
8768
  }
8635
8769
  });
8636
8770
 
8637
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.mjs
8771
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.mjs
8638
8772
  function UniqueArgumentDefinitionNamesRule(context) {
8639
8773
  return {
8640
8774
  DirectiveDefinition(directiveNode) {
@@ -8677,14 +8811,14 @@ spurious results.`);
8677
8811
  }
8678
8812
  }
8679
8813
  var init_UniqueArgumentDefinitionNamesRule = __esm({
8680
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.mjs"() {
8814
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.mjs"() {
8681
8815
  "use strict";
8682
8816
  init_groupBy();
8683
8817
  init_GraphQLError();
8684
8818
  }
8685
8819
  });
8686
8820
 
8687
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.mjs
8821
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.mjs
8688
8822
  function UniqueArgumentNamesRule(context) {
8689
8823
  return {
8690
8824
  Field: checkArgUniqueness,
@@ -8709,14 +8843,14 @@ spurious results.`);
8709
8843
  }
8710
8844
  }
8711
8845
  var init_UniqueArgumentNamesRule = __esm({
8712
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.mjs"() {
8846
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.mjs"() {
8713
8847
  "use strict";
8714
8848
  init_groupBy();
8715
8849
  init_GraphQLError();
8716
8850
  }
8717
8851
  });
8718
8852
 
8719
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.mjs
8853
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.mjs
8720
8854
  function UniqueDirectiveNamesRule(context) {
8721
8855
  const knownDirectiveNames = /* @__PURE__ */ Object.create(null);
8722
8856
  const schema = context.getSchema();
@@ -8751,13 +8885,13 @@ spurious results.`);
8751
8885
  };
8752
8886
  }
8753
8887
  var init_UniqueDirectiveNamesRule = __esm({
8754
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.mjs"() {
8888
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.mjs"() {
8755
8889
  "use strict";
8756
8890
  init_GraphQLError();
8757
8891
  }
8758
8892
  });
8759
8893
 
8760
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs
8894
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs
8761
8895
  function UniqueDirectivesPerLocationRule(context) {
8762
8896
  const uniqueDirectiveMap = /* @__PURE__ */ Object.create(null);
8763
8897
  const schema = context.getSchema();
@@ -8814,7 +8948,7 @@ spurious results.`);
8814
8948
  };
8815
8949
  }
8816
8950
  var init_UniqueDirectivesPerLocationRule = __esm({
8817
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs"() {
8951
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs"() {
8818
8952
  "use strict";
8819
8953
  init_GraphQLError();
8820
8954
  init_kinds();
@@ -8823,7 +8957,7 @@ spurious results.`);
8823
8957
  }
8824
8958
  });
8825
8959
 
8826
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.mjs
8960
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.mjs
8827
8961
  function UniqueEnumValueNamesRule(context) {
8828
8962
  const schema = context.getSchema();
8829
8963
  const existingTypeMap = schema ? schema.getTypeMap() : /* @__PURE__ */ Object.create(null);
@@ -8869,14 +9003,14 @@ spurious results.`);
8869
9003
  }
8870
9004
  }
8871
9005
  var init_UniqueEnumValueNamesRule = __esm({
8872
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.mjs"() {
9006
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.mjs"() {
8873
9007
  "use strict";
8874
9008
  init_GraphQLError();
8875
9009
  init_definition();
8876
9010
  }
8877
9011
  });
8878
9012
 
8879
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.mjs
9013
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.mjs
8880
9014
  function UniqueFieldDefinitionNamesRule(context) {
8881
9015
  const schema = context.getSchema();
8882
9016
  const existingTypeMap = schema ? schema.getTypeMap() : /* @__PURE__ */ Object.create(null);
@@ -8931,14 +9065,14 @@ spurious results.`);
8931
9065
  return false;
8932
9066
  }
8933
9067
  var init_UniqueFieldDefinitionNamesRule = __esm({
8934
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.mjs"() {
9068
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.mjs"() {
8935
9069
  "use strict";
8936
9070
  init_GraphQLError();
8937
9071
  init_definition();
8938
9072
  }
8939
9073
  });
8940
9074
 
8941
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.mjs
9075
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.mjs
8942
9076
  function UniqueFragmentNamesRule(context) {
8943
9077
  const knownFragmentNames = /* @__PURE__ */ Object.create(null);
8944
9078
  return {
@@ -8962,13 +9096,13 @@ spurious results.`);
8962
9096
  };
8963
9097
  }
8964
9098
  var init_UniqueFragmentNamesRule = __esm({
8965
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.mjs"() {
9099
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.mjs"() {
8966
9100
  "use strict";
8967
9101
  init_GraphQLError();
8968
9102
  }
8969
9103
  });
8970
9104
 
8971
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.mjs
9105
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.mjs
8972
9106
  function UniqueInputFieldNamesRule(context) {
8973
9107
  const knownNameStack = [];
8974
9108
  let knownNames = /* @__PURE__ */ Object.create(null);
@@ -9002,14 +9136,14 @@ spurious results.`);
9002
9136
  };
9003
9137
  }
9004
9138
  var init_UniqueInputFieldNamesRule = __esm({
9005
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.mjs"() {
9139
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.mjs"() {
9006
9140
  "use strict";
9007
9141
  init_invariant();
9008
9142
  init_GraphQLError();
9009
9143
  }
9010
9144
  });
9011
9145
 
9012
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueOperationNamesRule.mjs
9146
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueOperationNamesRule.mjs
9013
9147
  function UniqueOperationNamesRule(context) {
9014
9148
  const knownOperationNames = /* @__PURE__ */ Object.create(null);
9015
9149
  return {
@@ -9038,13 +9172,13 @@ spurious results.`);
9038
9172
  };
9039
9173
  }
9040
9174
  var init_UniqueOperationNamesRule = __esm({
9041
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueOperationNamesRule.mjs"() {
9175
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueOperationNamesRule.mjs"() {
9042
9176
  "use strict";
9043
9177
  init_GraphQLError();
9044
9178
  }
9045
9179
  });
9046
9180
 
9047
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueOperationTypesRule.mjs
9181
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueOperationTypesRule.mjs
9048
9182
  function UniqueOperationTypesRule(context) {
9049
9183
  const schema = context.getSchema();
9050
9184
  const definedOperationTypes = /* @__PURE__ */ Object.create(null);
@@ -9089,13 +9223,13 @@ spurious results.`);
9089
9223
  }
9090
9224
  }
9091
9225
  var init_UniqueOperationTypesRule = __esm({
9092
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueOperationTypesRule.mjs"() {
9226
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueOperationTypesRule.mjs"() {
9093
9227
  "use strict";
9094
9228
  init_GraphQLError();
9095
9229
  }
9096
9230
  });
9097
9231
 
9098
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueTypeNamesRule.mjs
9232
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueTypeNamesRule.mjs
9099
9233
  function UniqueTypeNamesRule(context) {
9100
9234
  const knownTypeNames = /* @__PURE__ */ Object.create(null);
9101
9235
  const schema = context.getSchema();
@@ -9133,13 +9267,13 @@ spurious results.`);
9133
9267
  }
9134
9268
  }
9135
9269
  var init_UniqueTypeNamesRule = __esm({
9136
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueTypeNamesRule.mjs"() {
9270
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueTypeNamesRule.mjs"() {
9137
9271
  "use strict";
9138
9272
  init_GraphQLError();
9139
9273
  }
9140
9274
  });
9141
9275
 
9142
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueVariableNamesRule.mjs
9276
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueVariableNamesRule.mjs
9143
9277
  function UniqueVariableNamesRule(context) {
9144
9278
  return {
9145
9279
  OperationDefinition(operationNode) {
@@ -9165,16 +9299,25 @@ spurious results.`);
9165
9299
  };
9166
9300
  }
9167
9301
  var init_UniqueVariableNamesRule = __esm({
9168
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/UniqueVariableNamesRule.mjs"() {
9302
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/UniqueVariableNamesRule.mjs"() {
9169
9303
  "use strict";
9170
9304
  init_groupBy();
9171
9305
  init_GraphQLError();
9172
9306
  }
9173
9307
  });
9174
9308
 
9175
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs
9309
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs
9176
9310
  function ValuesOfCorrectTypeRule(context) {
9311
+ let variableDefinitions = {};
9177
9312
  return {
9313
+ OperationDefinition: {
9314
+ enter() {
9315
+ variableDefinitions = {};
9316
+ }
9317
+ },
9318
+ VariableDefinition(definition) {
9319
+ variableDefinitions[definition.variable.name.value] = definition;
9320
+ },
9178
9321
  ListValue(node) {
9179
9322
  const type = getNullableType(context.getParentInputType());
9180
9323
  if (!isListType(type)) {
@@ -9203,6 +9346,15 @@ spurious results.`);
9203
9346
  );
9204
9347
  }
9205
9348
  }
9349
+ if (type.isOneOf) {
9350
+ validateOneOfInputObject(
9351
+ context,
9352
+ node,
9353
+ type,
9354
+ fieldNodeMap,
9355
+ variableDefinitions
9356
+ );
9357
+ }
9206
9358
  },
9207
9359
  ObjectField(node) {
9208
9360
  const parentType = getNamedType(context.getParentInputType());
@@ -9294,20 +9446,63 @@ spurious results.`);
9294
9446
  }
9295
9447
  }
9296
9448
  }
9449
+ function validateOneOfInputObject(context, node, type, fieldNodeMap, variableDefinitions) {
9450
+ var _fieldNodeMap$keys$;
9451
+ const keys = Object.keys(fieldNodeMap);
9452
+ const isNotExactlyOneField = keys.length !== 1;
9453
+ if (isNotExactlyOneField) {
9454
+ context.reportError(
9455
+ new GraphQLError(
9456
+ `OneOf Input Object "${type.name}" must specify exactly one key.`,
9457
+ {
9458
+ nodes: [node]
9459
+ }
9460
+ )
9461
+ );
9462
+ return;
9463
+ }
9464
+ const value = (_fieldNodeMap$keys$ = fieldNodeMap[keys[0]]) === null || _fieldNodeMap$keys$ === void 0 ? void 0 : _fieldNodeMap$keys$.value;
9465
+ const isNullLiteral = !value || value.kind === Kind.NULL;
9466
+ const isVariable = (value === null || value === void 0 ? void 0 : value.kind) === Kind.VARIABLE;
9467
+ if (isNullLiteral) {
9468
+ context.reportError(
9469
+ new GraphQLError(`Field "${type.name}.${keys[0]}" must be non-null.`, {
9470
+ nodes: [node]
9471
+ })
9472
+ );
9473
+ return;
9474
+ }
9475
+ if (isVariable) {
9476
+ const variableName = value.name.value;
9477
+ const definition = variableDefinitions[variableName];
9478
+ const isNullableVariable = definition.type.kind !== Kind.NON_NULL_TYPE;
9479
+ if (isNullableVariable) {
9480
+ context.reportError(
9481
+ new GraphQLError(
9482
+ `Variable "${variableName}" must be non-nullable to be used for OneOf Input Object "${type.name}".`,
9483
+ {
9484
+ nodes: [node]
9485
+ }
9486
+ )
9487
+ );
9488
+ }
9489
+ }
9490
+ }
9297
9491
  var init_ValuesOfCorrectTypeRule = __esm({
9298
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs"() {
9492
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs"() {
9299
9493
  "use strict";
9300
9494
  init_didYouMean();
9301
9495
  init_inspect();
9302
9496
  init_keyMap();
9303
9497
  init_suggestionList();
9304
9498
  init_GraphQLError();
9499
+ init_kinds();
9305
9500
  init_printer();
9306
9501
  init_definition();
9307
9502
  }
9308
9503
  });
9309
9504
 
9310
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.mjs
9505
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.mjs
9311
9506
  function VariablesAreInputTypesRule(context) {
9312
9507
  return {
9313
9508
  VariableDefinition(node) {
@@ -9328,7 +9523,7 @@ spurious results.`);
9328
9523
  };
9329
9524
  }
9330
9525
  var init_VariablesAreInputTypesRule = __esm({
9331
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.mjs"() {
9526
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.mjs"() {
9332
9527
  "use strict";
9333
9528
  init_GraphQLError();
9334
9529
  init_printer();
@@ -9337,7 +9532,7 @@ spurious results.`);
9337
9532
  }
9338
9533
  });
9339
9534
 
9340
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.mjs
9535
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.mjs
9341
9536
  function VariablesInAllowedPositionRule(context) {
9342
9537
  let varDefMap = /* @__PURE__ */ Object.create(null);
9343
9538
  return {
@@ -9393,7 +9588,7 @@ spurious results.`);
9393
9588
  return isTypeSubTypeOf(schema, varType, locationType);
9394
9589
  }
9395
9590
  var init_VariablesInAllowedPositionRule = __esm({
9396
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.mjs"() {
9591
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.mjs"() {
9397
9592
  "use strict";
9398
9593
  init_inspect();
9399
9594
  init_GraphQLError();
@@ -9404,10 +9599,10 @@ spurious results.`);
9404
9599
  }
9405
9600
  });
9406
9601
 
9407
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/specifiedRules.mjs
9408
- var specifiedRules, specifiedSDLRules;
9602
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/specifiedRules.mjs
9603
+ var recommendedRules, specifiedRules, specifiedSDLRules;
9409
9604
  var init_specifiedRules = __esm({
9410
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/specifiedRules.mjs"() {
9605
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/specifiedRules.mjs"() {
9411
9606
  "use strict";
9412
9607
  init_ExecutableDefinitionsRule();
9413
9608
  init_FieldsOnCorrectTypeRule();
@@ -9418,6 +9613,7 @@ spurious results.`);
9418
9613
  init_KnownTypeNamesRule();
9419
9614
  init_LoneAnonymousOperationRule();
9420
9615
  init_LoneSchemaDefinitionRule();
9616
+ init_MaxIntrospectionDepthRule();
9421
9617
  init_NoFragmentCyclesRule();
9422
9618
  init_NoUndefinedVariablesRule();
9423
9619
  init_NoUnusedFragmentsRule();
@@ -9443,6 +9639,7 @@ spurious results.`);
9443
9639
  init_ValuesOfCorrectTypeRule();
9444
9640
  init_VariablesAreInputTypesRule();
9445
9641
  init_VariablesInAllowedPositionRule();
9642
+ recommendedRules = Object.freeze([MaxIntrospectionDepthRule]);
9446
9643
  specifiedRules = Object.freeze([
9447
9644
  ExecutableDefinitionsRule,
9448
9645
  UniqueOperationNamesRule,
@@ -9469,7 +9666,8 @@ spurious results.`);
9469
9666
  ProvidedRequiredArgumentsRule,
9470
9667
  VariablesInAllowedPositionRule,
9471
9668
  OverlappingFieldsCanBeMergedRule,
9472
- UniqueInputFieldNamesRule
9669
+ UniqueInputFieldNamesRule,
9670
+ ...recommendedRules
9473
9671
  ]);
9474
9672
  specifiedSDLRules = Object.freeze([
9475
9673
  LoneSchemaDefinitionRule,
@@ -9491,10 +9689,10 @@ spurious results.`);
9491
9689
  }
9492
9690
  });
9493
9691
 
9494
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/ValidationContext.mjs
9692
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/ValidationContext.mjs
9495
9693
  var ASTValidationContext, SDLValidationContext, ValidationContext;
9496
9694
  var init_ValidationContext = __esm({
9497
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/ValidationContext.mjs"() {
9695
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/ValidationContext.mjs"() {
9498
9696
  "use strict";
9499
9697
  init_kinds();
9500
9698
  init_visitor();
@@ -9663,7 +9861,7 @@ spurious results.`);
9663
9861
  }
9664
9862
  });
9665
9863
 
9666
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/validate.mjs
9864
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/validate.mjs
9667
9865
  function validate(schema, documentAST, rules = specifiedRules, options, typeInfo = new TypeInfo(schema)) {
9668
9866
  var _options$maxErrors;
9669
9867
  const maxErrors = (_options$maxErrors = options === null || options === void 0 ? void 0 : options.maxErrors) !== null && _options$maxErrors !== void 0 ? _options$maxErrors : 100;
@@ -9723,7 +9921,7 @@ spurious results.`);
9723
9921
  }
9724
9922
  }
9725
9923
  var init_validate2 = __esm({
9726
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/validate.mjs"() {
9924
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/validate.mjs"() {
9727
9925
  "use strict";
9728
9926
  init_devAssert();
9729
9927
  init_GraphQLError();
@@ -9735,7 +9933,7 @@ spurious results.`);
9735
9933
  }
9736
9934
  });
9737
9935
 
9738
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/memoize3.mjs
9936
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/memoize3.mjs
9739
9937
  function memoize3(fn) {
9740
9938
  let cache0;
9741
9939
  return function memoized(a1, a2, a3) {
@@ -9761,12 +9959,12 @@ spurious results.`);
9761
9959
  };
9762
9960
  }
9763
9961
  var init_memoize3 = __esm({
9764
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/memoize3.mjs"() {
9962
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/memoize3.mjs"() {
9765
9963
  "use strict";
9766
9964
  }
9767
9965
  });
9768
9966
 
9769
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/promiseForObject.mjs
9967
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/promiseForObject.mjs
9770
9968
  function promiseForObject(object) {
9771
9969
  return Promise.all(Object.values(object)).then((resolvedValues) => {
9772
9970
  const resolvedObject = /* @__PURE__ */ Object.create(null);
@@ -9777,12 +9975,12 @@ spurious results.`);
9777
9975
  });
9778
9976
  }
9779
9977
  var init_promiseForObject = __esm({
9780
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/promiseForObject.mjs"() {
9978
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/promiseForObject.mjs"() {
9781
9979
  "use strict";
9782
9980
  }
9783
9981
  });
9784
9982
 
9785
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/promiseReduce.mjs
9983
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/promiseReduce.mjs
9786
9984
  function promiseReduce(values, callbackFn, initialValue) {
9787
9985
  let accumulator = initialValue;
9788
9986
  for (const value of values) {
@@ -9791,19 +9989,19 @@ spurious results.`);
9791
9989
  return accumulator;
9792
9990
  }
9793
9991
  var init_promiseReduce = __esm({
9794
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/promiseReduce.mjs"() {
9992
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/promiseReduce.mjs"() {
9795
9993
  "use strict";
9796
9994
  init_isPromise();
9797
9995
  }
9798
9996
  });
9799
9997
 
9800
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/toError.mjs
9998
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/toError.mjs
9801
9999
  function toError(thrownValue) {
9802
10000
  return thrownValue instanceof Error ? thrownValue : new NonErrorThrown(thrownValue);
9803
10001
  }
9804
10002
  var NonErrorThrown;
9805
10003
  var init_toError = __esm({
9806
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/toError.mjs"() {
10004
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/toError.mjs"() {
9807
10005
  "use strict";
9808
10006
  init_inspect();
9809
10007
  NonErrorThrown = class extends Error {
@@ -9816,7 +10014,7 @@ spurious results.`);
9816
10014
  }
9817
10015
  });
9818
10016
 
9819
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/locatedError.mjs
10017
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/error/locatedError.mjs
9820
10018
  function locatedError(rawOriginalError, nodes, path) {
9821
10019
  var _nodes;
9822
10020
  const originalError = toError(rawOriginalError);
@@ -9835,14 +10033,14 @@ spurious results.`);
9835
10033
  return Array.isArray(error3.path);
9836
10034
  }
9837
10035
  var init_locatedError = __esm({
9838
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/locatedError.mjs"() {
10036
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/error/locatedError.mjs"() {
9839
10037
  "use strict";
9840
10038
  init_toError();
9841
10039
  init_GraphQLError();
9842
10040
  }
9843
10041
  });
9844
10042
 
9845
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/execute.mjs
10043
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/execute.mjs
9846
10044
  function execute(args) {
9847
10045
  arguments.length < 2 || devAssert(
9848
10046
  false,
@@ -10380,7 +10578,7 @@ spurious results.`);
10380
10578
  }
10381
10579
  var collectSubfields2, defaultTypeResolver, defaultFieldResolver;
10382
10580
  var init_execute = __esm({
10383
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/execute.mjs"() {
10581
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/execute.mjs"() {
10384
10582
  "use strict";
10385
10583
  init_devAssert();
10386
10584
  init_inspect();
@@ -10449,7 +10647,7 @@ spurious results.`);
10449
10647
  }
10450
10648
  });
10451
10649
 
10452
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/graphql.mjs
10650
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/graphql.mjs
10453
10651
  function graphql(args) {
10454
10652
  return new Promise((resolve) => resolve(graphqlImpl(args)));
10455
10653
  }
@@ -10507,7 +10705,7 @@ spurious results.`);
10507
10705
  });
10508
10706
  }
10509
10707
  var init_graphql = __esm({
10510
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/graphql.mjs"() {
10708
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/graphql.mjs"() {
10511
10709
  "use strict";
10512
10710
  init_devAssert();
10513
10711
  init_isPromise();
@@ -10518,9 +10716,9 @@ spurious results.`);
10518
10716
  }
10519
10717
  });
10520
10718
 
10521
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/index.mjs
10719
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/index.mjs
10522
10720
  var init_type = __esm({
10523
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/type/index.mjs"() {
10721
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/type/index.mjs"() {
10524
10722
  "use strict";
10525
10723
  init_schema();
10526
10724
  init_definition();
@@ -10532,9 +10730,9 @@ spurious results.`);
10532
10730
  }
10533
10731
  });
10534
10732
 
10535
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/index.mjs
10733
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/index.mjs
10536
10734
  var init_language = __esm({
10537
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/language/index.mjs"() {
10735
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/index.mjs"() {
10538
10736
  "use strict";
10539
10737
  init_source();
10540
10738
  init_location();
@@ -10551,17 +10749,17 @@ spurious results.`);
10551
10749
  }
10552
10750
  });
10553
10751
 
10554
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isAsyncIterable.mjs
10752
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/isAsyncIterable.mjs
10555
10753
  function isAsyncIterable(maybeAsyncIterable) {
10556
10754
  return typeof (maybeAsyncIterable === null || maybeAsyncIterable === void 0 ? void 0 : maybeAsyncIterable[Symbol.asyncIterator]) === "function";
10557
10755
  }
10558
10756
  var init_isAsyncIterable = __esm({
10559
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/jsutils/isAsyncIterable.mjs"() {
10757
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/isAsyncIterable.mjs"() {
10560
10758
  "use strict";
10561
10759
  }
10562
10760
  });
10563
10761
 
10564
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/mapAsyncIterator.mjs
10762
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/mapAsyncIterator.mjs
10565
10763
  function mapAsyncIterator(iterable, callback) {
10566
10764
  const iterator = iterable[Symbol.asyncIterator]();
10567
10765
  async function mapResult(result) {
@@ -10605,12 +10803,12 @@ spurious results.`);
10605
10803
  };
10606
10804
  }
10607
10805
  var init_mapAsyncIterator = __esm({
10608
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/mapAsyncIterator.mjs"() {
10806
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/mapAsyncIterator.mjs"() {
10609
10807
  "use strict";
10610
10808
  }
10611
10809
  });
10612
10810
 
10613
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/subscribe.mjs
10811
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/subscribe.mjs
10614
10812
  async function subscribe(args) {
10615
10813
  arguments.length < 2 || devAssert(
10616
10814
  false,
@@ -10718,7 +10916,7 @@ spurious results.`);
10718
10916
  }
10719
10917
  }
10720
10918
  var init_subscribe = __esm({
10721
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/subscribe.mjs"() {
10919
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/subscribe.mjs"() {
10722
10920
  "use strict";
10723
10921
  init_devAssert();
10724
10922
  init_inspect();
@@ -10733,9 +10931,9 @@ spurious results.`);
10733
10931
  }
10734
10932
  });
10735
10933
 
10736
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/index.mjs
10934
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/index.mjs
10737
10935
  var init_execution = __esm({
10738
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/execution/index.mjs"() {
10936
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/execution/index.mjs"() {
10739
10937
  "use strict";
10740
10938
  init_Path();
10741
10939
  init_execute();
@@ -10744,7 +10942,7 @@ spurious results.`);
10744
10942
  }
10745
10943
  });
10746
10944
 
10747
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.mjs
10945
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.mjs
10748
10946
  function NoDeprecatedCustomRule(context) {
10749
10947
  return {
10750
10948
  Field(node) {
@@ -10828,7 +11026,7 @@ spurious results.`);
10828
11026
  };
10829
11027
  }
10830
11028
  var init_NoDeprecatedCustomRule = __esm({
10831
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.mjs"() {
11029
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.mjs"() {
10832
11030
  "use strict";
10833
11031
  init_invariant();
10834
11032
  init_GraphQLError();
@@ -10836,7 +11034,7 @@ spurious results.`);
10836
11034
  }
10837
11035
  });
10838
11036
 
10839
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs
11037
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs
10840
11038
  function NoSchemaIntrospectionCustomRule(context) {
10841
11039
  return {
10842
11040
  Field(node) {
@@ -10855,7 +11053,7 @@ spurious results.`);
10855
11053
  };
10856
11054
  }
10857
11055
  var init_NoSchemaIntrospectionCustomRule = __esm({
10858
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs"() {
11056
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs"() {
10859
11057
  "use strict";
10860
11058
  init_GraphQLError();
10861
11059
  init_definition();
@@ -10863,9 +11061,9 @@ spurious results.`);
10863
11061
  }
10864
11062
  });
10865
11063
 
10866
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/index.mjs
11064
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/index.mjs
10867
11065
  var init_validation = __esm({
10868
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/validation/index.mjs"() {
11066
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/validation/index.mjs"() {
10869
11067
  "use strict";
10870
11068
  init_validate2();
10871
11069
  init_ValidationContext();
@@ -10896,6 +11094,7 @@ spurious results.`);
10896
11094
  init_ValuesOfCorrectTypeRule();
10897
11095
  init_VariablesAreInputTypesRule();
10898
11096
  init_VariablesInAllowedPositionRule();
11097
+ init_MaxIntrospectionDepthRule();
10899
11098
  init_LoneSchemaDefinitionRule();
10900
11099
  init_UniqueOperationTypesRule();
10901
11100
  init_UniqueTypeNamesRule();
@@ -10909,9 +11108,9 @@ spurious results.`);
10909
11108
  }
10910
11109
  });
10911
11110
 
10912
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/index.mjs
11111
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/error/index.mjs
10913
11112
  var init_error = __esm({
10914
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/error/index.mjs"() {
11113
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/error/index.mjs"() {
10915
11114
  "use strict";
10916
11115
  init_GraphQLError();
10917
11116
  init_syntaxError();
@@ -10919,7 +11118,7 @@ spurious results.`);
10919
11118
  }
10920
11119
  });
10921
11120
 
10922
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getIntrospectionQuery.mjs
11121
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/getIntrospectionQuery.mjs
10923
11122
  function getIntrospectionQuery(options) {
10924
11123
  const optionsWithDefault = {
10925
11124
  descriptions: true,
@@ -10927,6 +11126,7 @@ spurious results.`);
10927
11126
  directiveIsRepeatable: false,
10928
11127
  schemaDescription: false,
10929
11128
  inputValueDeprecation: false,
11129
+ oneOf: false,
10930
11130
  ...options
10931
11131
  };
10932
11132
  const descriptions = optionsWithDefault.descriptions ? "description" : "";
@@ -10936,6 +11136,7 @@ spurious results.`);
10936
11136
  function inputDeprecation(str) {
10937
11137
  return optionsWithDefault.inputValueDeprecation ? str : "";
10938
11138
  }
11139
+ const oneOf = optionsWithDefault.oneOf ? "isOneOf" : "";
10939
11140
  return `
10940
11141
  query IntrospectionQuery {
10941
11142
  __schema {
@@ -10963,6 +11164,7 @@ spurious results.`);
10963
11164
  name
10964
11165
  ${descriptions}
10965
11166
  ${specifiedByUrl}
11167
+ ${oneOf}
10966
11168
  fields(includeDeprecated: true) {
10967
11169
  name
10968
11170
  ${descriptions}
@@ -11044,12 +11246,12 @@ spurious results.`);
11044
11246
  `;
11045
11247
  }
11046
11248
  var init_getIntrospectionQuery = __esm({
11047
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getIntrospectionQuery.mjs"() {
11249
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/getIntrospectionQuery.mjs"() {
11048
11250
  "use strict";
11049
11251
  }
11050
11252
  });
11051
11253
 
11052
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getOperationAST.mjs
11254
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/getOperationAST.mjs
11053
11255
  function getOperationAST(documentAST, operationName) {
11054
11256
  let operation = null;
11055
11257
  for (const definition of documentAST.definitions) {
@@ -11068,13 +11270,13 @@ spurious results.`);
11068
11270
  return operation;
11069
11271
  }
11070
11272
  var init_getOperationAST = __esm({
11071
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getOperationAST.mjs"() {
11273
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/getOperationAST.mjs"() {
11072
11274
  "use strict";
11073
11275
  init_kinds();
11074
11276
  }
11075
11277
  });
11076
11278
 
11077
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getOperationRootType.mjs
11279
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/getOperationRootType.mjs
11078
11280
  function getOperationRootType(schema, operation) {
11079
11281
  if (operation.operation === "query") {
11080
11282
  const queryType = schema.getQueryType();
@@ -11114,19 +11316,20 @@ spurious results.`);
11114
11316
  );
11115
11317
  }
11116
11318
  var init_getOperationRootType = __esm({
11117
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/getOperationRootType.mjs"() {
11319
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/getOperationRootType.mjs"() {
11118
11320
  "use strict";
11119
11321
  init_GraphQLError();
11120
11322
  }
11121
11323
  });
11122
11324
 
11123
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/introspectionFromSchema.mjs
11325
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/introspectionFromSchema.mjs
11124
11326
  function introspectionFromSchema(schema, options) {
11125
11327
  const optionsWithDefaults = {
11126
11328
  specifiedByUrl: true,
11127
11329
  directiveIsRepeatable: true,
11128
11330
  schemaDescription: true,
11129
11331
  inputValueDeprecation: true,
11332
+ oneOf: true,
11130
11333
  ...options
11131
11334
  };
11132
11335
  const document2 = parse2(getIntrospectionQuery(optionsWithDefaults));
@@ -11138,7 +11341,7 @@ spurious results.`);
11138
11341
  return result.data;
11139
11342
  }
11140
11343
  var init_introspectionFromSchema = __esm({
11141
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/introspectionFromSchema.mjs"() {
11344
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/introspectionFromSchema.mjs"() {
11142
11345
  "use strict";
11143
11346
  init_invariant();
11144
11347
  init_parser();
@@ -11147,7 +11350,7 @@ spurious results.`);
11147
11350
  }
11148
11351
  });
11149
11352
 
11150
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/buildClientSchema.mjs
11353
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/buildClientSchema.mjs
11151
11354
  function buildClientSchema(introspection, options) {
11152
11355
  isObjectLike(introspection) && isObjectLike(introspection.__schema) || devAssert(
11153
11356
  false,
@@ -11316,7 +11519,8 @@ spurious results.`);
11316
11519
  return new GraphQLInputObjectType({
11317
11520
  name: inputObjectIntrospection.name,
11318
11521
  description: inputObjectIntrospection.description,
11319
- fields: () => buildInputValueDefMap(inputObjectIntrospection.inputFields)
11522
+ fields: () => buildInputValueDefMap(inputObjectIntrospection.inputFields),
11523
+ isOneOf: inputObjectIntrospection.isOneOf
11320
11524
  });
11321
11525
  }
11322
11526
  function buildFieldDefMap(typeIntrospection) {
@@ -11398,7 +11602,7 @@ spurious results.`);
11398
11602
  }
11399
11603
  }
11400
11604
  var init_buildClientSchema = __esm({
11401
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/buildClientSchema.mjs"() {
11605
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/buildClientSchema.mjs"() {
11402
11606
  "use strict";
11403
11607
  init_devAssert();
11404
11608
  init_inspect();
@@ -11414,7 +11618,7 @@ spurious results.`);
11414
11618
  }
11415
11619
  });
11416
11620
 
11417
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/extendSchema.mjs
11621
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/extendSchema.mjs
11418
11622
  function extendSchema(schema, documentAST, options) {
11419
11623
  assertSchema(schema);
11420
11624
  documentAST != null && documentAST.kind === Kind.DOCUMENT || devAssert(false, "Must provide valid Document AST.");
@@ -11843,7 +12047,8 @@ spurious results.`);
11843
12047
  description: (_astNode$description6 = astNode.description) === null || _astNode$description6 === void 0 ? void 0 : _astNode$description6.value,
11844
12048
  fields: () => buildInputFieldMap(allNodes),
11845
12049
  astNode,
11846
- extensionASTNodes
12050
+ extensionASTNodes,
12051
+ isOneOf: isOneOf(astNode)
11847
12052
  });
11848
12053
  }
11849
12054
  }
@@ -11857,9 +12062,12 @@ spurious results.`);
11857
12062
  const specifiedBy = getDirectiveValues(GraphQLSpecifiedByDirective, node);
11858
12063
  return specifiedBy === null || specifiedBy === void 0 ? void 0 : specifiedBy.url;
11859
12064
  }
12065
+ function isOneOf(node) {
12066
+ return Boolean(getDirectiveValues(GraphQLOneOfDirective, node));
12067
+ }
11860
12068
  var stdTypeMap;
11861
12069
  var init_extendSchema = __esm({
11862
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/extendSchema.mjs"() {
12070
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/extendSchema.mjs"() {
11863
12071
  "use strict";
11864
12072
  init_devAssert();
11865
12073
  init_inspect();
@@ -11883,7 +12091,7 @@ spurious results.`);
11883
12091
  }
11884
12092
  });
11885
12093
 
11886
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/buildASTSchema.mjs
12094
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/buildASTSchema.mjs
11887
12095
  function buildASTSchema(documentAST, options) {
11888
12096
  documentAST != null && documentAST.kind === Kind.DOCUMENT || devAssert(false, "Must provide valid Document AST.");
11889
12097
  if ((options === null || options === void 0 ? void 0 : options.assumeValid) !== true && (options === null || options === void 0 ? void 0 : options.assumeValidSDL) !== true) {
@@ -11935,7 +12143,7 @@ spurious results.`);
11935
12143
  });
11936
12144
  }
11937
12145
  var init_buildASTSchema = __esm({
11938
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/buildASTSchema.mjs"() {
12146
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/buildASTSchema.mjs"() {
11939
12147
  "use strict";
11940
12148
  init_devAssert();
11941
12149
  init_kinds();
@@ -11947,7 +12155,7 @@ spurious results.`);
11947
12155
  }
11948
12156
  });
11949
12157
 
11950
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/lexicographicSortSchema.mjs
12158
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/lexicographicSortSchema.mjs
11951
12159
  function lexicographicSortSchema(schema) {
11952
12160
  const schemaConfig = schema.toConfig();
11953
12161
  const typeMap = keyValMap(
@@ -12066,7 +12274,7 @@ spurious results.`);
12066
12274
  });
12067
12275
  }
12068
12276
  var init_lexicographicSortSchema = __esm({
12069
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/lexicographicSortSchema.mjs"() {
12277
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/lexicographicSortSchema.mjs"() {
12070
12278
  "use strict";
12071
12279
  init_inspect();
12072
12280
  init_invariant();
@@ -12079,7 +12287,7 @@ spurious results.`);
12079
12287
  }
12080
12288
  });
12081
12289
 
12082
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/printSchema.mjs
12290
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/printSchema.mjs
12083
12291
  function printSchema(schema) {
12084
12292
  return printFilteredSchema(
12085
12293
  schema,
@@ -12187,7 +12395,7 @@ ${operationTypes.join("\n")}
12187
12395
  const fields = Object.values(type.getFields()).map(
12188
12396
  (f, i) => printDescription(f, " ", !i) + " " + printInputValue(f)
12189
12397
  );
12190
- return printDescription(type) + `input ${type.name}` + printBlock(fields);
12398
+ return printDescription(type) + `input ${type.name}` + (type.isOneOf ? " @oneOf" : "") + printBlock(fields);
12191
12399
  }
12192
12400
  function printFields(type) {
12193
12401
  const fields = Object.values(type.getFields()).map(
@@ -12257,7 +12465,7 @@ ${operationTypes.join("\n")}
12257
12465
  return prefix + blockString.replace(/\n/g, "\n" + indentation) + "\n";
12258
12466
  }
12259
12467
  var init_printSchema = __esm({
12260
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/printSchema.mjs"() {
12468
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/printSchema.mjs"() {
12261
12469
  "use strict";
12262
12470
  init_inspect();
12263
12471
  init_invariant();
@@ -12272,7 +12480,7 @@ ${operationTypes.join("\n")}
12272
12480
  }
12273
12481
  });
12274
12482
 
12275
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/concatAST.mjs
12483
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/concatAST.mjs
12276
12484
  function concatAST(documents) {
12277
12485
  const definitions = [];
12278
12486
  for (const doc of documents) {
@@ -12284,13 +12492,13 @@ ${operationTypes.join("\n")}
12284
12492
  };
12285
12493
  }
12286
12494
  var init_concatAST = __esm({
12287
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/concatAST.mjs"() {
12495
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/concatAST.mjs"() {
12288
12496
  "use strict";
12289
12497
  init_kinds();
12290
12498
  }
12291
12499
  });
12292
12500
 
12293
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/separateOperations.mjs
12501
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/separateOperations.mjs
12294
12502
  function separateOperations(documentAST) {
12295
12503
  const operations = [];
12296
12504
  const depGraph = /* @__PURE__ */ Object.create(null);
@@ -12344,14 +12552,14 @@ ${operationTypes.join("\n")}
12344
12552
  return dependencies;
12345
12553
  }
12346
12554
  var init_separateOperations = __esm({
12347
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/separateOperations.mjs"() {
12555
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/separateOperations.mjs"() {
12348
12556
  "use strict";
12349
12557
  init_kinds();
12350
12558
  init_visitor();
12351
12559
  }
12352
12560
  });
12353
12561
 
12354
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/stripIgnoredCharacters.mjs
12562
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/stripIgnoredCharacters.mjs
12355
12563
  function stripIgnoredCharacters(source) {
12356
12564
  const sourceObj = isSource(source) ? source : new Source(source);
12357
12565
  const body = sourceObj.body;
@@ -12380,7 +12588,7 @@ ${operationTypes.join("\n")}
12380
12588
  return strippedBody;
12381
12589
  }
12382
12590
  var init_stripIgnoredCharacters = __esm({
12383
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/stripIgnoredCharacters.mjs"() {
12591
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/stripIgnoredCharacters.mjs"() {
12384
12592
  "use strict";
12385
12593
  init_blockString();
12386
12594
  init_lexer();
@@ -12389,7 +12597,7 @@ ${operationTypes.join("\n")}
12389
12597
  }
12390
12598
  });
12391
12599
 
12392
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/assertValidName.mjs
12600
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/assertValidName.mjs
12393
12601
  function assertValidName(name) {
12394
12602
  const error3 = isValidNameError(name);
12395
12603
  if (error3) {
@@ -12411,7 +12619,7 @@ ${operationTypes.join("\n")}
12411
12619
  }
12412
12620
  }
12413
12621
  var init_assertValidName = __esm({
12414
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/assertValidName.mjs"() {
12622
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/assertValidName.mjs"() {
12415
12623
  "use strict";
12416
12624
  init_devAssert();
12417
12625
  init_GraphQLError();
@@ -12419,7 +12627,7 @@ ${operationTypes.join("\n")}
12419
12627
  }
12420
12628
  });
12421
12629
 
12422
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/findBreakingChanges.mjs
12630
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/findBreakingChanges.mjs
12423
12631
  function findBreakingChanges(oldSchema, newSchema) {
12424
12632
  return findSchemaChanges(oldSchema, newSchema).filter(
12425
12633
  (change) => change.type in BreakingChangeType
@@ -12778,7 +12986,7 @@ ${operationTypes.join("\n")}
12778
12986
  }
12779
12987
  var BreakingChangeType, DangerousChangeType;
12780
12988
  var init_findBreakingChanges = __esm({
12781
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/findBreakingChanges.mjs"() {
12989
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/findBreakingChanges.mjs"() {
12782
12990
  "use strict";
12783
12991
  init_inspect();
12784
12992
  init_invariant();
@@ -12817,9 +13025,9 @@ ${operationTypes.join("\n")}
12817
13025
  }
12818
13026
  });
12819
13027
 
12820
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/index.mjs
13028
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/index.mjs
12821
13029
  var init_utilities = __esm({
12822
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/utilities/index.mjs"() {
13030
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/utilities/index.mjs"() {
12823
13031
  "use strict";
12824
13032
  init_getIntrospectionQuery();
12825
13033
  init_getOperationAST();
@@ -12845,7 +13053,7 @@ ${operationTypes.join("\n")}
12845
13053
  }
12846
13054
  });
12847
13055
 
12848
- // node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/index.mjs
13056
+ // node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/index.mjs
12849
13057
  var graphql_exports = {};
12850
13058
  __export(graphql_exports, {
12851
13059
  BREAK: () => BREAK,
@@ -12872,6 +13080,7 @@ ${operationTypes.join("\n")}
12872
13080
  GraphQLList: () => GraphQLList,
12873
13081
  GraphQLNonNull: () => GraphQLNonNull,
12874
13082
  GraphQLObjectType: () => GraphQLObjectType,
13083
+ GraphQLOneOfDirective: () => GraphQLOneOfDirective,
12875
13084
  GraphQLScalarType: () => GraphQLScalarType,
12876
13085
  GraphQLSchema: () => GraphQLSchema,
12877
13086
  GraphQLSkipDirective: () => GraphQLSkipDirective,
@@ -12887,6 +13096,7 @@ ${operationTypes.join("\n")}
12887
13096
  Location: () => Location,
12888
13097
  LoneAnonymousOperationRule: () => LoneAnonymousOperationRule,
12889
13098
  LoneSchemaDefinitionRule: () => LoneSchemaDefinitionRule,
13099
+ MaxIntrospectionDepthRule: () => MaxIntrospectionDepthRule,
12890
13100
  NoDeprecatedCustomRule: () => NoDeprecatedCustomRule,
12891
13101
  NoFragmentCyclesRule: () => NoFragmentCyclesRule,
12892
13102
  NoSchemaIntrospectionCustomRule: () => NoSchemaIntrospectionCustomRule,
@@ -13036,6 +13246,7 @@ ${operationTypes.join("\n")}
13036
13246
  printSchema: () => printSchema,
13037
13247
  printSourceLocation: () => printSourceLocation,
13038
13248
  printType: () => printType,
13249
+ recommendedRules: () => recommendedRules,
13039
13250
  resolveObjMapThunk: () => resolveObjMapThunk,
13040
13251
  resolveReadonlyArrayThunk: () => resolveReadonlyArrayThunk,
13041
13252
  responsePathAsArray: () => pathToArray,
@@ -13058,7 +13269,7 @@ ${operationTypes.join("\n")}
13058
13269
  visitWithTypeInfo: () => visitWithTypeInfo
13059
13270
  });
13060
13271
  var init_graphql2 = __esm({
13061
- "node_modules/.pnpm/graphql@16.8.2/node_modules/graphql/index.mjs"() {
13272
+ "node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/index.mjs"() {
13062
13273
  "use strict";
13063
13274
  init_version();
13064
13275
  init_graphql();