@osdk/client 2.2.0-beta.6 → 2.2.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/build/browser/Client.js.map +1 -1
  3. package/build/browser/actions/actions.test.js +52 -4
  4. package/build/browser/actions/actions.test.js.map +1 -1
  5. package/build/browser/actions/applyAction.js +21 -15
  6. package/build/browser/actions/applyAction.js.map +1 -1
  7. package/build/browser/createClient.js +11 -4
  8. package/build/browser/createClient.js.map +1 -1
  9. package/build/browser/index.js +1 -0
  10. package/build/browser/index.js.map +1 -1
  11. package/build/browser/internal/conversions/modernToLegacyWhereClause.js +1 -1
  12. package/build/browser/internal/conversions/modernToLegacyWhereClause.js.map +1 -1
  13. package/build/browser/object/convertWireToOsdkObjects/createOsdkInterface.js +25 -0
  14. package/build/browser/object/convertWireToOsdkObjects/createOsdkInterface.js.map +1 -1
  15. package/build/browser/object/convertWireToOsdkObjects.js +8 -1
  16. package/build/browser/object/convertWireToOsdkObjects.js.map +1 -1
  17. package/build/browser/object/convertWireToOsdkObjects.test.js +7 -3
  18. package/build/browser/object/convertWireToOsdkObjects.test.js.map +1 -1
  19. package/build/browser/object/createObjectSpecifierFromPrimaryKey.js +20 -0
  20. package/build/browser/object/createObjectSpecifierFromPrimaryKey.js.map +1 -0
  21. package/build/browser/object/object.test.js +109 -0
  22. package/build/browser/object/object.test.js.map +1 -1
  23. package/build/browser/objectSet/ObjectSet.test.js +15 -1
  24. package/build/browser/objectSet/ObjectSet.test.js.map +1 -1
  25. package/build/browser/objectSet/ObjectSetListenerWebsocket.test.js +2 -0
  26. package/build/browser/objectSet/ObjectSetListenerWebsocket.test.js.map +1 -1
  27. package/build/browser/observable/internal/Store.js +1 -1
  28. package/build/browser/observable/internal/Store.js.map +1 -1
  29. package/build/browser/observable/internal/testUtils.js +2 -0
  30. package/build/browser/observable/internal/testUtils.js.map +1 -1
  31. package/build/browser/queries/applyQuery.js +33 -1
  32. package/build/browser/queries/applyQuery.js.map +1 -1
  33. package/build/browser/queries/queries.test.js +26 -5
  34. package/build/browser/queries/queries.test.js.map +1 -1
  35. package/build/browser/util/UserAgent.js +1 -1
  36. package/build/browser/util/toDataValueQueries.js +17 -0
  37. package/build/browser/util/toDataValueQueries.js.map +1 -1
  38. package/build/cjs/{Client-C8K3E1vH.d.cts → Client-DBTcM9gB.d.cts} +1 -1
  39. package/build/cjs/{chunk-2FVV5A63.cjs → chunk-IU47QMYO.cjs} +48 -48
  40. package/build/cjs/chunk-IU47QMYO.cjs.map +1 -0
  41. package/build/cjs/{chunk-X7WGNFZ4.cjs → chunk-JPENHIJB.cjs} +19 -19
  42. package/build/cjs/chunk-JPENHIJB.cjs.map +1 -0
  43. package/build/cjs/{graphql-JJX5MZPQ.cjs → graphql-RGM5SRWV.cjs} +306 -265
  44. package/build/cjs/graphql-RGM5SRWV.cjs.map +1 -0
  45. package/build/cjs/index.cjs +192 -102
  46. package/build/cjs/index.cjs.map +1 -1
  47. package/build/cjs/index.d.cts +6 -4
  48. package/build/cjs/public/internal.cjs +6 -6
  49. package/build/cjs/public/internal.cjs.map +1 -1
  50. package/build/cjs/public/internal.d.cts +1 -1
  51. package/build/cjs/public/unstable-do-not-use.cjs +41 -70
  52. package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
  53. package/build/cjs/public/unstable-do-not-use.d.cts +1 -1
  54. package/build/esm/Client.js.map +1 -1
  55. package/build/esm/actions/actions.test.js +52 -4
  56. package/build/esm/actions/actions.test.js.map +1 -1
  57. package/build/esm/actions/applyAction.js +21 -15
  58. package/build/esm/actions/applyAction.js.map +1 -1
  59. package/build/esm/createClient.js +11 -4
  60. package/build/esm/createClient.js.map +1 -1
  61. package/build/esm/index.js +1 -0
  62. package/build/esm/index.js.map +1 -1
  63. package/build/esm/internal/conversions/modernToLegacyWhereClause.js +1 -1
  64. package/build/esm/internal/conversions/modernToLegacyWhereClause.js.map +1 -1
  65. package/build/esm/object/convertWireToOsdkObjects/createOsdkInterface.js +25 -0
  66. package/build/esm/object/convertWireToOsdkObjects/createOsdkInterface.js.map +1 -1
  67. package/build/esm/object/convertWireToOsdkObjects.js +8 -1
  68. package/build/esm/object/convertWireToOsdkObjects.js.map +1 -1
  69. package/build/esm/object/convertWireToOsdkObjects.test.js +7 -3
  70. package/build/esm/object/convertWireToOsdkObjects.test.js.map +1 -1
  71. package/build/esm/object/createObjectSpecifierFromPrimaryKey.js +20 -0
  72. package/build/esm/object/createObjectSpecifierFromPrimaryKey.js.map +1 -0
  73. package/build/esm/object/object.test.js +109 -0
  74. package/build/esm/object/object.test.js.map +1 -1
  75. package/build/esm/objectSet/ObjectSet.test.js +15 -1
  76. package/build/esm/objectSet/ObjectSet.test.js.map +1 -1
  77. package/build/esm/objectSet/ObjectSetListenerWebsocket.test.js +2 -0
  78. package/build/esm/objectSet/ObjectSetListenerWebsocket.test.js.map +1 -1
  79. package/build/esm/observable/internal/Store.js +1 -1
  80. package/build/esm/observable/internal/Store.js.map +1 -1
  81. package/build/esm/observable/internal/testUtils.js +2 -0
  82. package/build/esm/observable/internal/testUtils.js.map +1 -1
  83. package/build/esm/queries/applyQuery.js +33 -1
  84. package/build/esm/queries/applyQuery.js.map +1 -1
  85. package/build/esm/queries/queries.test.js +26 -5
  86. package/build/esm/queries/queries.test.js.map +1 -1
  87. package/build/esm/util/UserAgent.js +1 -1
  88. package/build/esm/util/toDataValueQueries.js +17 -0
  89. package/build/esm/util/toDataValueQueries.js.map +1 -1
  90. package/build/types/Client.d.ts +1 -1
  91. package/build/types/Client.d.ts.map +1 -1
  92. package/build/types/actions/applyAction.d.ts.map +1 -1
  93. package/build/types/createClient.d.ts.map +1 -1
  94. package/build/types/index.d.ts +2 -1
  95. package/build/types/index.d.ts.map +1 -1
  96. package/build/types/object/createObjectSpecifierFromPrimaryKey.d.ts +2 -0
  97. package/build/types/object/createObjectSpecifierFromPrimaryKey.d.ts.map +1 -0
  98. package/build/types/object/object.test.d.ts.map +1 -1
  99. package/build/types/objectSet/ObjectSet.test.d.ts.map +1 -1
  100. package/build/types/observable/internal/testUtils.d.ts.map +1 -1
  101. package/build/types/queries/applyQuery.d.ts.map +1 -1
  102. package/package.json +12 -12
  103. package/build/cjs/chunk-2FVV5A63.cjs.map +0 -1
  104. package/build/cjs/chunk-X7WGNFZ4.cjs.map +0 -1
  105. package/build/cjs/graphql-JJX5MZPQ.cjs.map +0 -1
@@ -21,7 +21,7 @@ function devAssert(condition, message) {
21
21
 
22
22
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/isPromise.mjs
23
23
  function isPromise(value) {
24
- return typeof (value === null || value === void 0 ? void 0 : value.then) === "function";
24
+ return typeof (value === null || value === undefined ? undefined : value.then) === "function";
25
25
  }
26
26
 
27
27
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/isObjectLike.mjs
@@ -90,7 +90,7 @@ function printSourceLocation(source, sourceLocation) {
90
90
  ]);
91
91
  }
92
92
  function printPrefixedLines(lines) {
93
- const existingLines = lines.filter(([_, line]) => line !== void 0);
93
+ const existingLines = lines.filter(([_, line]) => line !== undefined);
94
94
  const padLen = Math.max(...existingLines.map(([prefix]) => prefix.length));
95
95
  return existingLines.map(([prefix, line]) => prefix.padStart(padLen) + (line ? " " + line : "")).join("\n");
96
96
  }
@@ -161,15 +161,15 @@ var GraphQLError = class _GraphQLError extends Error {
161
161
  } = toNormalizedOptions(rawArgs);
162
162
  super(message);
163
163
  this.name = "GraphQLError";
164
- this.path = path !== null && path !== void 0 ? path : void 0;
165
- this.originalError = originalError !== null && originalError !== void 0 ? originalError : void 0;
166
- this.nodes = undefinedIfEmpty(Array.isArray(nodes) ? nodes : nodes ? [nodes] : void 0);
167
- const nodeLocations = undefinedIfEmpty((_this$nodes = this.nodes) === null || _this$nodes === void 0 ? void 0 : _this$nodes.map((node) => node.loc).filter((loc) => loc != null));
168
- this.source = source !== null && source !== void 0 ? source : nodeLocations === null || nodeLocations === void 0 ? void 0 : (_nodeLocations$ = nodeLocations[0]) === null || _nodeLocations$ === void 0 ? void 0 : _nodeLocations$.source;
169
- this.positions = positions !== null && positions !== void 0 ? positions : nodeLocations === null || nodeLocations === void 0 ? void 0 : nodeLocations.map((loc) => loc.start);
170
- this.locations = positions && source ? positions.map((pos) => getLocation(source, pos)) : nodeLocations === null || nodeLocations === void 0 ? void 0 : nodeLocations.map((loc) => getLocation(loc.source, loc.start));
171
- const originalExtensions = isObjectLike(originalError === null || originalError === void 0 ? void 0 : originalError.extensions) ? originalError === null || originalError === void 0 ? void 0 : originalError.extensions : void 0;
172
- this.extensions = (_ref = extensions !== null && extensions !== void 0 ? extensions : originalExtensions) !== null && _ref !== void 0 ? _ref : /* @__PURE__ */ Object.create(null);
164
+ this.path = path !== null && path !== undefined ? path : undefined;
165
+ this.originalError = originalError !== null && originalError !== undefined ? originalError : undefined;
166
+ this.nodes = undefinedIfEmpty(Array.isArray(nodes) ? nodes : nodes ? [nodes] : undefined);
167
+ const nodeLocations = undefinedIfEmpty((_this$nodes = this.nodes) === null || _this$nodes === undefined ? undefined : _this$nodes.map((node) => node.loc).filter((loc) => loc != null));
168
+ this.source = source !== null && source !== undefined ? source : nodeLocations === null || nodeLocations === undefined ? undefined : (_nodeLocations$ = nodeLocations[0]) === null || _nodeLocations$ === undefined ? undefined : _nodeLocations$.source;
169
+ this.positions = positions !== null && positions !== undefined ? positions : nodeLocations === null || nodeLocations === undefined ? undefined : nodeLocations.map((loc) => loc.start);
170
+ this.locations = positions && source ? positions.map((pos) => getLocation(source, pos)) : nodeLocations === null || nodeLocations === undefined ? undefined : nodeLocations.map((loc) => getLocation(loc.source, loc.start));
171
+ const originalExtensions = isObjectLike(originalError === null || originalError === undefined ? undefined : originalError.extensions) ? originalError === null || originalError === undefined ? undefined : originalError.extensions : undefined;
172
+ this.extensions = (_ref = extensions !== null && extensions !== undefined ? extensions : originalExtensions) !== null && _ref !== undefined ? _ref : /* @__PURE__ */ Object.create(null);
173
173
  Object.defineProperties(this, {
174
174
  message: {
175
175
  writable: true,
@@ -191,7 +191,7 @@ var GraphQLError = class _GraphQLError extends Error {
191
191
  enumerable: false
192
192
  }
193
193
  });
194
- if (originalError !== null && originalError !== void 0 && originalError.stack) {
194
+ if (originalError !== null && originalError !== undefined && originalError.stack) {
195
195
  Object.defineProperty(this, "stack", {
196
196
  value: originalError.stack,
197
197
  writable: true,
@@ -242,7 +242,7 @@ var GraphQLError = class _GraphQLError extends Error {
242
242
  }
243
243
  };
244
244
  function undefinedIfEmpty(array) {
245
- return array === void 0 || array.length === 0 ? void 0 : array;
245
+ return array === undefined || array.length === 0 ? undefined : array;
246
246
  }
247
247
  function printError(error) {
248
248
  return error.toString();
@@ -396,7 +396,7 @@ var QueryDocumentKeys = {
396
396
  };
397
397
  var kindValues = new Set(Object.keys(QueryDocumentKeys));
398
398
  function isNode(maybeNode) {
399
- const maybeKind = maybeNode === null || maybeNode === void 0 ? void 0 : maybeNode.kind;
399
+ const maybeKind = maybeNode === null || maybeNode === undefined ? undefined : maybeNode.kind;
400
400
  return typeof maybeKind === "string" && kindValues.has(maybeKind);
401
401
  }
402
402
  exports.OperationTypeNode = void 0;
@@ -509,13 +509,13 @@ function dedentBlockStringLines(lines) {
509
509
  if (indent2 === line.length) {
510
510
  continue;
511
511
  }
512
- firstNonEmptyLine = (_firstNonEmptyLine = firstNonEmptyLine) !== null && _firstNonEmptyLine !== void 0 ? _firstNonEmptyLine : i;
512
+ firstNonEmptyLine = (_firstNonEmptyLine = firstNonEmptyLine) !== null && _firstNonEmptyLine !== undefined ? _firstNonEmptyLine : i;
513
513
  lastNonEmptyLine = i;
514
514
  if (i !== 0 && indent2 < commonIndent) {
515
515
  commonIndent = indent2;
516
516
  }
517
517
  }
518
- return lines.map((line, i) => i === 0 ? line : line.slice(commonIndent)).slice((_firstNonEmptyLine2 = firstNonEmptyLine) !== null && _firstNonEmptyLine2 !== void 0 ? _firstNonEmptyLine2 : 0, lastNonEmptyLine + 1);
518
+ return lines.map((line, i) => i === 0 ? line : line.slice(commonIndent)).slice((_firstNonEmptyLine2 = firstNonEmptyLine) !== null && _firstNonEmptyLine2 !== undefined ? _firstNonEmptyLine2 : 0, lastNonEmptyLine + 1);
519
519
  }
520
520
  function leadingWhitespace(str) {
521
521
  let i = 0;
@@ -548,8 +548,10 @@ function isPrintableAsBlockString(value) {
548
548
  case 14:
549
549
  case 15:
550
550
  return false;
551
+ // Has non-printable characters
551
552
  case 13:
552
553
  return false;
554
+ // Has \r or \r\n which will be replaced as \n
553
555
  case 10:
554
556
  if (isEmptyLine && !seenNonEmptyLine) {
555
557
  return false;
@@ -559,6 +561,7 @@ function isPrintableAsBlockString(value) {
559
561
  hasIndent = false;
560
562
  break;
561
563
  case 9:
564
+ // \t
562
565
  case 32:
563
566
  hasIndent || (hasIndent = isEmptyLine);
564
567
  break;
@@ -584,7 +587,7 @@ function printBlockString(value, options) {
584
587
  const hasTrailingQuote = value.endsWith('"') && !hasTrailingTripleQuotes;
585
588
  const hasTrailingSlash = value.endsWith("\\");
586
589
  const forceTrailingNewline = hasTrailingQuote || hasTrailingSlash;
587
- const printAsMultipleLines = !(options !== null && options !== void 0 && options.minimize) && // add leading and trailing new lines only if it improves readability
590
+ const printAsMultipleLines = !(options !== null && options !== undefined && options.minimize) && // add leading and trailing new lines only if it improves readability
588
591
  (!isSingleLine || value.length > 70 || forceTrailingNewline || forceLeadingNewLine || hasTrailingTripleQuotes);
589
592
  let result = "";
590
593
  const skipLeadingNewLine = isSingleLine && isWhiteSpace(value.charCodeAt(0));
@@ -696,7 +699,7 @@ function isTrailingSurrogate(code) {
696
699
  }
697
700
  function printCodePointAt(lexer, location) {
698
701
  const code = lexer.source.body.codePointAt(location);
699
- if (code === void 0) {
702
+ if (code === undefined) {
700
703
  return exports.TokenKind.EOF;
701
704
  } else if (code >= 32 && code <= 126) {
702
705
  const char = String.fromCodePoint(code);
@@ -716,12 +719,33 @@ function readNextToken(lexer, start) {
716
719
  while (position < bodyLength) {
717
720
  const code = body.charCodeAt(position);
718
721
  switch (code) {
722
+ // Ignored ::
723
+ // - UnicodeBOM
724
+ // - WhiteSpace
725
+ // - LineTerminator
726
+ // - Comment
727
+ // - Comma
728
+ //
729
+ // UnicodeBOM :: "Byte Order Mark (U+FEFF)"
730
+ //
731
+ // WhiteSpace ::
732
+ // - "Horizontal Tab (U+0009)"
733
+ // - "Space (U+0020)"
734
+ //
735
+ // Comma :: ,
719
736
  case 65279:
737
+ // <BOM>
720
738
  case 9:
739
+ // \t
721
740
  case 32:
741
+ // <space>
722
742
  case 44:
723
743
  ++position;
724
744
  continue;
745
+ // LineTerminator ::
746
+ // - "New Line (U+000A)"
747
+ // - "Carriage Return (U+000D)" [lookahead != "New Line (U+000A)"]
748
+ // - "Carriage Return (U+000D)" "New Line (U+000A)"
725
749
  case 10:
726
750
  ++position;
727
751
  ++lexer.line;
@@ -736,8 +760,17 @@ function readNextToken(lexer, start) {
736
760
  ++lexer.line;
737
761
  lexer.lineStart = position;
738
762
  continue;
763
+ // Comment
739
764
  case 35:
740
765
  return readComment(lexer, position);
766
+ // Token ::
767
+ // - Punctuator
768
+ // - Name
769
+ // - IntValue
770
+ // - FloatValue
771
+ // - StringValue
772
+ //
773
+ // Punctuator :: one of ! $ & ( ) ... : = @ [ ] { | }
741
774
  case 33:
742
775
  return createToken(lexer, exports.TokenKind.BANG, position, position + 1);
743
776
  case 36:
@@ -769,6 +802,7 @@ function readNextToken(lexer, start) {
769
802
  return createToken(lexer, exports.TokenKind.PIPE, position, position + 1);
770
803
  case 125:
771
804
  return createToken(lexer, exports.TokenKind.BRACE_R, position, position + 1);
805
+ // StringValue
772
806
  case 34:
773
807
  if (body.charCodeAt(position + 1) === 34 && body.charCodeAt(position + 2) === 34) {
774
808
  return readBlockString(lexer, position);
@@ -1147,7 +1181,7 @@ var instanceOf = (
1147
1181
  const className = constructor.prototype[Symbol.toStringTag];
1148
1182
  const valueClassName = (
1149
1183
  // We still need to support constructor's name to detect conflicts with older versions of this library.
1150
- Symbol.toStringTag in value ? value[Symbol.toStringTag] : (_value$constructor = value.constructor) === null || _value$constructor === void 0 ? void 0 : _value$constructor.name
1184
+ Symbol.toStringTag in value ? value[Symbol.toStringTag] : (_value$constructor = value.constructor) === null || _value$constructor === undefined ? undefined : _value$constructor.name
1151
1185
  );
1152
1186
  if (className === valueClassName) {
1153
1187
  const stringifiedValue = inspect(value);
@@ -1319,7 +1353,7 @@ var Parser = class {
1319
1353
  return this.node(start, {
1320
1354
  kind: exports.Kind.OPERATION_DEFINITION,
1321
1355
  operation: exports.OperationTypeNode.QUERY,
1322
- name: void 0,
1356
+ name: undefined,
1323
1357
  variableDefinitions: [],
1324
1358
  directives: [],
1325
1359
  selectionSet: this.parseSelectionSet()
@@ -1368,7 +1402,7 @@ var Parser = class {
1368
1402
  kind: exports.Kind.VARIABLE_DEFINITION,
1369
1403
  variable: this.parseVariable(),
1370
1404
  type: (this.expectToken(exports.TokenKind.COLON), this.parseTypeReference()),
1371
- defaultValue: this.expectOptionalToken(exports.TokenKind.EQUALS) ? this.parseConstValueLiteral() : void 0,
1405
+ defaultValue: this.expectOptionalToken(exports.TokenKind.EQUALS) ? this.parseConstValueLiteral() : undefined,
1372
1406
  directives: this.parseConstDirectives()
1373
1407
  });
1374
1408
  }
@@ -1425,7 +1459,7 @@ var Parser = class {
1425
1459
  name,
1426
1460
  arguments: this.parseArguments(false),
1427
1461
  directives: this.parseDirectives(false),
1428
- selectionSet: this.peek(exports.TokenKind.BRACE_L) ? this.parseSelectionSet() : void 0
1462
+ selectionSet: this.peek(exports.TokenKind.BRACE_L) ? this.parseSelectionSet() : undefined
1429
1463
  });
1430
1464
  }
1431
1465
  /**
@@ -1472,7 +1506,7 @@ var Parser = class {
1472
1506
  }
1473
1507
  return this.node(start, {
1474
1508
  kind: exports.Kind.INLINE_FRAGMENT,
1475
- typeCondition: hasTypeCondition ? this.parseNamedType() : void 0,
1509
+ typeCondition: hasTypeCondition ? this.parseNamedType() : undefined,
1476
1510
  directives: this.parseDirectives(false),
1477
1511
  selectionSet: this.parseSelectionSet()
1478
1512
  });
@@ -2313,7 +2347,7 @@ var Parser = class {
2313
2347
  * Helper function for creating an error when an unexpected lexed token is encountered.
2314
2348
  */
2315
2349
  unexpected(atToken) {
2316
- const token = atToken !== null && atToken !== void 0 ? atToken : this._lexer.token;
2350
+ const token = atToken !== null && atToken !== undefined ? atToken : this._lexer.token;
2317
2351
  return syntaxError(this._lexer.source, token.start, `Unexpected ${getTokenDesc(token)}.`);
2318
2352
  }
2319
2353
  /**
@@ -2376,7 +2410,7 @@ var Parser = class {
2376
2410
  maxTokens
2377
2411
  } = this._options;
2378
2412
  const token = this._lexer.advance();
2379
- if (maxTokens !== void 0 && token.kind !== exports.TokenKind.EOF) {
2413
+ if (maxTokens !== undefined && token.kind !== exports.TokenKind.EOF) {
2380
2414
  ++this._tokenCounter;
2381
2415
  if (this._tokenCounter > maxTokens) {
2382
2416
  throw syntaxError(this._lexer.source, token.start, `Document contains more that ${maxTokens} tokens. Parsing aborted.`);
@@ -2395,7 +2429,7 @@ function getTokenKindDesc(kind) {
2395
2429
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/didYouMean.mjs
2396
2430
  var MAX_SUGGESTIONS = 5;
2397
2431
  function didYouMean(firstArg, secondArg) {
2398
- const [subMessage, suggestionsArg] = secondArg ? [firstArg, secondArg] : [void 0, firstArg];
2432
+ const [subMessage, suggestionsArg] = secondArg ? [firstArg, secondArg] : [undefined, firstArg];
2399
2433
  let message = " Did you mean ";
2400
2434
  if (subMessage) {
2401
2435
  message += subMessage + " ";
@@ -2498,7 +2532,7 @@ function suggestionList(input, options) {
2498
2532
  const threshold = Math.floor(input.length * 0.4) + 1;
2499
2533
  for (const option of options) {
2500
2534
  const distance = lexicalDistance.measure(option, threshold);
2501
- if (distance !== void 0) {
2535
+ if (distance !== undefined) {
2502
2536
  optionsByDistance[option] = distance;
2503
2537
  }
2504
2538
  }
@@ -2532,7 +2566,7 @@ var LexicalDistance = class {
2532
2566
  const aLength = a.length;
2533
2567
  const bLength = b.length;
2534
2568
  if (aLength - bLength > threshold) {
2535
- return void 0;
2569
+ return undefined;
2536
2570
  }
2537
2571
  const rows = this._rows;
2538
2572
  for (let j = 0; j <= bLength; j++) {
@@ -2562,11 +2596,11 @@ var LexicalDistance = class {
2562
2596
  currentRow[j] = currentCell;
2563
2597
  }
2564
2598
  if (smallestCell > threshold) {
2565
- return void 0;
2599
+ return undefined;
2566
2600
  }
2567
2601
  }
2568
2602
  const distance = rows[aLength % 3][bLength];
2569
- return distance <= threshold ? distance : void 0;
2603
+ return distance <= threshold ? distance : undefined;
2570
2604
  }
2571
2605
  };
2572
2606
  function stringToArray(str) {
@@ -2776,14 +2810,14 @@ function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
2776
2810
  for (const kind of Object.values(exports.Kind)) {
2777
2811
  enterLeaveMap.set(kind, getEnterLeaveForKind(visitor, kind));
2778
2812
  }
2779
- let stack = void 0;
2813
+ let stack = undefined;
2780
2814
  let inArray = Array.isArray(root);
2781
2815
  let keys = [root];
2782
2816
  let index = -1;
2783
2817
  let edits = [];
2784
2818
  let node = root;
2785
- let key = void 0;
2786
- let parent = void 0;
2819
+ let key = undefined;
2820
+ let parent = undefined;
2787
2821
  const path = [];
2788
2822
  const ancestors = [];
2789
2823
  do {
@@ -2791,7 +2825,7 @@ function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
2791
2825
  const isLeaving = index === keys.length;
2792
2826
  const isEdited = isLeaving && edits.length !== 0;
2793
2827
  if (isLeaving) {
2794
- key = ancestors.length === 0 ? void 0 : path[path.length - 1];
2828
+ key = ancestors.length === 0 ? undefined : path[path.length - 1];
2795
2829
  node = parent;
2796
2830
  parent = ancestors.pop();
2797
2831
  if (isEdited) {
@@ -2822,7 +2856,7 @@ function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
2822
2856
  } else if (parent) {
2823
2857
  key = inArray ? index : keys[index];
2824
2858
  node = parent[key];
2825
- if (node === null || node === void 0) {
2859
+ if (node === null || node === undefined) {
2826
2860
  continue;
2827
2861
  }
2828
2862
  path.push(key);
@@ -2831,8 +2865,8 @@ function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
2831
2865
  if (!Array.isArray(node)) {
2832
2866
  var _enterLeaveMap$get, _enterLeaveMap$get2;
2833
2867
  isNode(node) || devAssert(false, `Invalid AST Node: ${inspect(node)}.`);
2834
- const visitFn = isLeaving ? (_enterLeaveMap$get = enterLeaveMap.get(node.kind)) === null || _enterLeaveMap$get === void 0 ? void 0 : _enterLeaveMap$get.leave : (_enterLeaveMap$get2 = enterLeaveMap.get(node.kind)) === null || _enterLeaveMap$get2 === void 0 ? void 0 : _enterLeaveMap$get2.enter;
2835
- result = visitFn === null || visitFn === void 0 ? void 0 : visitFn.call(visitor, node, key, parent, path, ancestors);
2868
+ const visitFn = isLeaving ? (_enterLeaveMap$get = enterLeaveMap.get(node.kind)) === null || _enterLeaveMap$get === undefined ? undefined : _enterLeaveMap$get.leave : (_enterLeaveMap$get2 = enterLeaveMap.get(node.kind)) === null || _enterLeaveMap$get2 === undefined ? undefined : _enterLeaveMap$get2.enter;
2869
+ result = visitFn === null || visitFn === undefined ? undefined : visitFn.call(visitor, node, key, parent, path, ancestors);
2836
2870
  if (result === BREAK) {
2837
2871
  break;
2838
2872
  }
@@ -2841,7 +2875,7 @@ function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
2841
2875
  path.pop();
2842
2876
  continue;
2843
2877
  }
2844
- } else if (result !== void 0) {
2878
+ } else if (result !== undefined) {
2845
2879
  edits.push([key, result]);
2846
2880
  if (!isLeaving) {
2847
2881
  if (isNode(result)) {
@@ -2853,7 +2887,7 @@ function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
2853
2887
  }
2854
2888
  }
2855
2889
  }
2856
- if (result === void 0 && isEdited) {
2890
+ if (result === undefined && isEdited) {
2857
2891
  edits.push([key, node]);
2858
2892
  }
2859
2893
  if (isLeaving) {
@@ -2868,7 +2902,7 @@ function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
2868
2902
  prev: stack
2869
2903
  };
2870
2904
  inArray = Array.isArray(node);
2871
- keys = inArray ? node : (_node$kind = visitorKeys[node.kind]) !== null && _node$kind !== void 0 ? _node$kind : [];
2905
+ keys = inArray ? node : (_node$kind = visitorKeys[node.kind]) !== null && _node$kind !== undefined ? _node$kind : [];
2872
2906
  index = -1;
2873
2907
  edits = [];
2874
2908
  if (parent) {
@@ -2876,7 +2910,7 @@ function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
2876
2910
  }
2877
2911
  parent = node;
2878
2912
  }
2879
- } while (stack !== void 0);
2913
+ } while (stack !== undefined);
2880
2914
  if (edits.length !== 0) {
2881
2915
  return edits[edits.length - 1][1];
2882
2916
  }
@@ -2887,8 +2921,8 @@ function visitInParallel(visitors) {
2887
2921
  const mergedVisitor = /* @__PURE__ */ Object.create(null);
2888
2922
  for (const kind of Object.values(exports.Kind)) {
2889
2923
  let hasVisitor = false;
2890
- const enterList = new Array(visitors.length).fill(void 0);
2891
- const leaveList = new Array(visitors.length).fill(void 0);
2924
+ const enterList = new Array(visitors.length).fill(undefined);
2925
+ const leaveList = new Array(visitors.length).fill(undefined);
2892
2926
  for (let i = 0; i < visitors.length; ++i) {
2893
2927
  const {
2894
2928
  enter,
@@ -2907,12 +2941,12 @@ function visitInParallel(visitors) {
2907
2941
  for (let i = 0; i < visitors.length; i++) {
2908
2942
  if (skipping[i] === null) {
2909
2943
  var _enterList$i;
2910
- const result = (_enterList$i = enterList[i]) === null || _enterList$i === void 0 ? void 0 : _enterList$i.apply(visitors[i], args);
2944
+ const result = (_enterList$i = enterList[i]) === null || _enterList$i === undefined ? undefined : _enterList$i.apply(visitors[i], args);
2911
2945
  if (result === false) {
2912
2946
  skipping[i] = node;
2913
2947
  } else if (result === BREAK) {
2914
2948
  skipping[i] = BREAK;
2915
- } else if (result !== void 0) {
2949
+ } else if (result !== undefined) {
2916
2950
  return result;
2917
2951
  }
2918
2952
  }
@@ -2923,10 +2957,10 @@ function visitInParallel(visitors) {
2923
2957
  for (let i = 0; i < visitors.length; i++) {
2924
2958
  if (skipping[i] === null) {
2925
2959
  var _leaveList$i;
2926
- const result = (_leaveList$i = leaveList[i]) === null || _leaveList$i === void 0 ? void 0 : _leaveList$i.apply(visitors[i], args);
2960
+ const result = (_leaveList$i = leaveList[i]) === null || _leaveList$i === undefined ? undefined : _leaveList$i.apply(visitors[i], args);
2927
2961
  if (result === BREAK) {
2928
2962
  skipping[i] = BREAK;
2929
- } else if (result !== void 0 && result !== false) {
2963
+ } else if (result !== undefined && result !== false) {
2930
2964
  return result;
2931
2965
  }
2932
2966
  } else if (skipping[i] === node) {
@@ -2946,7 +2980,7 @@ function getEnterLeaveForKind(visitor, kind) {
2946
2980
  } else if (typeof kindVisitor === "function") {
2947
2981
  return {
2948
2982
  enter: kindVisitor,
2949
- leave: void 0
2983
+ leave: undefined
2950
2984
  };
2951
2985
  }
2952
2986
  return {
@@ -3264,7 +3298,7 @@ var printDocASTReducer = {
3264
3298
  };
3265
3299
  function join(maybeArray, separator = "") {
3266
3300
  var _maybeArray$filter$jo;
3267
- return (_maybeArray$filter$jo = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.filter((x) => x).join(separator)) !== null && _maybeArray$filter$jo !== void 0 ? _maybeArray$filter$jo : "";
3301
+ return (_maybeArray$filter$jo = maybeArray === null || maybeArray === undefined ? undefined : maybeArray.filter((x) => x).join(separator)) !== null && _maybeArray$filter$jo !== undefined ? _maybeArray$filter$jo : "";
3268
3302
  }
3269
3303
  function block(array) {
3270
3304
  return wrap("{\n", indent(join(array, "\n")), "\n}");
@@ -3277,7 +3311,7 @@ function indent(str) {
3277
3311
  }
3278
3312
  function hasMultilineItems(maybeArray) {
3279
3313
  var _maybeArray$some;
3280
- return (_maybeArray$some = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.some((str) => str.includes("\n"))) !== null && _maybeArray$some !== void 0 ? _maybeArray$some : false;
3314
+ return (_maybeArray$some = maybeArray === null || maybeArray === undefined ? undefined : maybeArray.some((str) => str.includes("\n"))) !== null && _maybeArray$some !== undefined ? _maybeArray$some : false;
3281
3315
  }
3282
3316
 
3283
3317
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/utilities/valueFromASTUntyped.mjs
@@ -3298,7 +3332,7 @@ function valueFromASTUntyped(valueNode, variables) {
3298
3332
  case exports.Kind.OBJECT:
3299
3333
  return keyValMap(valueNode.fields, (field) => field.name.value, (field) => valueFromASTUntyped(field.value, variables));
3300
3334
  case exports.Kind.VARIABLE:
3301
- return variables === null || variables === void 0 ? void 0 : variables[valueNode.name.value];
3335
+ return variables === null || variables === undefined ? undefined : variables[valueNode.name.value];
3302
3336
  }
3303
3337
  }
3304
3338
 
@@ -3533,16 +3567,16 @@ function resolveObjMapThunk(thunk) {
3533
3567
  var GraphQLScalarType = class {
3534
3568
  constructor(config) {
3535
3569
  var _config$parseValue, _config$serialize, _config$parseLiteral, _config$extensionASTN;
3536
- const parseValue2 = (_config$parseValue = config.parseValue) !== null && _config$parseValue !== void 0 ? _config$parseValue : identityFunc;
3570
+ const parseValue2 = (_config$parseValue = config.parseValue) !== null && _config$parseValue !== undefined ? _config$parseValue : identityFunc;
3537
3571
  this.name = assertName(config.name);
3538
3572
  this.description = config.description;
3539
3573
  this.specifiedByURL = config.specifiedByURL;
3540
- this.serialize = (_config$serialize = config.serialize) !== null && _config$serialize !== void 0 ? _config$serialize : identityFunc;
3574
+ this.serialize = (_config$serialize = config.serialize) !== null && _config$serialize !== undefined ? _config$serialize : identityFunc;
3541
3575
  this.parseValue = parseValue2;
3542
- this.parseLiteral = (_config$parseLiteral = config.parseLiteral) !== null && _config$parseLiteral !== void 0 ? _config$parseLiteral : (node, variables) => parseValue2(valueFromASTUntyped(node, variables));
3576
+ this.parseLiteral = (_config$parseLiteral = config.parseLiteral) !== null && _config$parseLiteral !== undefined ? _config$parseLiteral : (node, variables) => parseValue2(valueFromASTUntyped(node, variables));
3543
3577
  this.extensions = toObjMap(config.extensions);
3544
3578
  this.astNode = config.astNode;
3545
- this.extensionASTNodes = (_config$extensionASTN = config.extensionASTNodes) !== null && _config$extensionASTN !== void 0 ? _config$extensionASTN : [];
3579
+ this.extensionASTNodes = (_config$extensionASTN = config.extensionASTNodes) !== null && _config$extensionASTN !== undefined ? _config$extensionASTN : [];
3546
3580
  config.specifiedByURL == null || typeof config.specifiedByURL === "string" || devAssert(false, `${this.name} must provide "specifiedByURL" as a string, but got: ${inspect(config.specifiedByURL)}.`);
3547
3581
  config.serialize == null || typeof config.serialize === "function" || devAssert(false, `${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`);
3548
3582
  if (config.parseLiteral) {
@@ -3580,7 +3614,7 @@ var GraphQLObjectType = class {
3580
3614
  this.isTypeOf = config.isTypeOf;
3581
3615
  this.extensions = toObjMap(config.extensions);
3582
3616
  this.astNode = config.astNode;
3583
- this.extensionASTNodes = (_config$extensionASTN2 = config.extensionASTNodes) !== null && _config$extensionASTN2 !== void 0 ? _config$extensionASTN2 : [];
3617
+ this.extensionASTNodes = (_config$extensionASTN2 = config.extensionASTNodes) !== null && _config$extensionASTN2 !== undefined ? _config$extensionASTN2 : [];
3584
3618
  this._fields = () => defineFieldMap(config);
3585
3619
  this._interfaces = () => defineInterfaces(config);
3586
3620
  config.isTypeOf == null || typeof config.isTypeOf === "function" || devAssert(false, `${this.name} must provide "isTypeOf" as a function, but got: ${inspect(config.isTypeOf)}.`);
@@ -3621,7 +3655,7 @@ var GraphQLObjectType = class {
3621
3655
  };
3622
3656
  function defineInterfaces(config) {
3623
3657
  var _config$interfaces;
3624
- const interfaces = resolveReadonlyArrayThunk((_config$interfaces = config.interfaces) !== null && _config$interfaces !== void 0 ? _config$interfaces : []);
3658
+ const interfaces = resolveReadonlyArrayThunk((_config$interfaces = config.interfaces) !== null && _config$interfaces !== undefined ? _config$interfaces : []);
3625
3659
  Array.isArray(interfaces) || devAssert(false, `${config.name} interfaces must be an Array or a function which returns an Array.`);
3626
3660
  return interfaces;
3627
3661
  }
@@ -3632,7 +3666,7 @@ function defineFieldMap(config) {
3632
3666
  var _fieldConfig$args;
3633
3667
  isPlainObj(fieldConfig) || devAssert(false, `${config.name}.${fieldName} field config must be an object.`);
3634
3668
  fieldConfig.resolve == null || typeof fieldConfig.resolve === "function" || devAssert(false, `${config.name}.${fieldName} field resolver must be a function if provided, but got: ${inspect(fieldConfig.resolve)}.`);
3635
- const argsConfig = (_fieldConfig$args = fieldConfig.args) !== null && _fieldConfig$args !== void 0 ? _fieldConfig$args : {};
3669
+ const argsConfig = (_fieldConfig$args = fieldConfig.args) !== null && _fieldConfig$args !== undefined ? _fieldConfig$args : {};
3636
3670
  isPlainObj(argsConfig) || devAssert(false, `${config.name}.${fieldName} args must be an object with argument names as keys.`);
3637
3671
  return {
3638
3672
  name: assertName(fieldName),
@@ -3684,7 +3718,7 @@ function argsToArgsConfig(args) {
3684
3718
  }));
3685
3719
  }
3686
3720
  function isRequiredArgument(arg) {
3687
- return isNonNullType(arg.type) && arg.defaultValue === void 0;
3721
+ return isNonNullType(arg.type) && arg.defaultValue === undefined;
3688
3722
  }
3689
3723
  var GraphQLInterfaceType = class {
3690
3724
  constructor(config) {
@@ -3694,9 +3728,9 @@ var GraphQLInterfaceType = class {
3694
3728
  this.resolveType = config.resolveType;
3695
3729
  this.extensions = toObjMap(config.extensions);
3696
3730
  this.astNode = config.astNode;
3697
- this.extensionASTNodes = (_config$extensionASTN3 = config.extensionASTNodes) !== null && _config$extensionASTN3 !== void 0 ? _config$extensionASTN3 : [];
3698
- this._fields = defineFieldMap.bind(void 0, config);
3699
- this._interfaces = defineInterfaces.bind(void 0, config);
3731
+ this.extensionASTNodes = (_config$extensionASTN3 = config.extensionASTNodes) !== null && _config$extensionASTN3 !== undefined ? _config$extensionASTN3 : [];
3732
+ this._fields = defineFieldMap.bind(undefined, config);
3733
+ this._interfaces = defineInterfaces.bind(undefined, config);
3700
3734
  config.resolveType == null || typeof config.resolveType === "function" || devAssert(false, `${this.name} must provide "resolveType" as a function, but got: ${inspect(config.resolveType)}.`);
3701
3735
  }
3702
3736
  get [Symbol.toStringTag]() {
@@ -3741,8 +3775,8 @@ var GraphQLUnionType = class {
3741
3775
  this.resolveType = config.resolveType;
3742
3776
  this.extensions = toObjMap(config.extensions);
3743
3777
  this.astNode = config.astNode;
3744
- this.extensionASTNodes = (_config$extensionASTN4 = config.extensionASTNodes) !== null && _config$extensionASTN4 !== void 0 ? _config$extensionASTN4 : [];
3745
- this._types = defineTypes.bind(void 0, config);
3778
+ this.extensionASTNodes = (_config$extensionASTN4 = config.extensionASTNodes) !== null && _config$extensionASTN4 !== undefined ? _config$extensionASTN4 : [];
3779
+ this._types = defineTypes.bind(undefined, config);
3746
3780
  config.resolveType == null || typeof config.resolveType === "function" || devAssert(false, `${this.name} must provide "resolveType" as a function, but got: ${inspect(config.resolveType)}.`);
3747
3781
  }
3748
3782
  get [Symbol.toStringTag]() {
@@ -3785,7 +3819,7 @@ var GraphQLEnumType = class {
3785
3819
  this.description = config.description;
3786
3820
  this.extensions = toObjMap(config.extensions);
3787
3821
  this.astNode = config.astNode;
3788
- this.extensionASTNodes = (_config$extensionASTN5 = config.extensionASTNodes) !== null && _config$extensionASTN5 !== void 0 ? _config$extensionASTN5 : [];
3822
+ this.extensionASTNodes = (_config$extensionASTN5 = config.extensionASTNodes) !== null && _config$extensionASTN5 !== undefined ? _config$extensionASTN5 : [];
3789
3823
  this._values = defineEnumValues(this.name, config.values);
3790
3824
  this._valueLookup = new Map(this._values.map((enumValue) => [enumValue.value, enumValue]));
3791
3825
  this._nameLookup = keyMap(this._values, (value) => value.name);
@@ -3801,7 +3835,7 @@ var GraphQLEnumType = class {
3801
3835
  }
3802
3836
  serialize(outputValue) {
3803
3837
  const enumValue = this._valueLookup.get(outputValue);
3804
- if (enumValue === void 0) {
3838
+ if (enumValue === undefined) {
3805
3839
  throw new GraphQLError(`Enum "${this.name}" cannot represent value: ${inspect(outputValue)}`);
3806
3840
  }
3807
3841
  return enumValue.name;
@@ -3869,7 +3903,7 @@ function defineEnumValues(typeName, valueMap) {
3869
3903
  return {
3870
3904
  name: assertEnumValueName(valueName),
3871
3905
  description: valueConfig.description,
3872
- value: valueConfig.value !== void 0 ? valueConfig.value : valueName,
3906
+ value: valueConfig.value !== undefined ? valueConfig.value : valueName,
3873
3907
  deprecationReason: valueConfig.deprecationReason,
3874
3908
  extensions: toObjMap(valueConfig.extensions),
3875
3909
  astNode: valueConfig.astNode
@@ -3883,8 +3917,8 @@ var GraphQLInputObjectType = class {
3883
3917
  this.description = config.description;
3884
3918
  this.extensions = toObjMap(config.extensions);
3885
3919
  this.astNode = config.astNode;
3886
- this.extensionASTNodes = (_config$extensionASTN6 = config.extensionASTNodes) !== null && _config$extensionASTN6 !== void 0 ? _config$extensionASTN6 : [];
3887
- this._fields = defineInputFieldMap.bind(void 0, config);
3920
+ this.extensionASTNodes = (_config$extensionASTN6 = config.extensionASTNodes) !== null && _config$extensionASTN6 !== undefined ? _config$extensionASTN6 : [];
3921
+ this._fields = defineInputFieldMap.bind(undefined, config);
3888
3922
  }
3889
3923
  get [Symbol.toStringTag]() {
3890
3924
  return "GraphQLInputObjectType";
@@ -3937,7 +3971,7 @@ function defineInputFieldMap(config) {
3937
3971
  });
3938
3972
  }
3939
3973
  function isRequiredInputField(field) {
3940
- return isNonNullType(field.type) && field.defaultValue === void 0;
3974
+ return isNonNullType(field.type) && field.defaultValue === undefined;
3941
3975
  }
3942
3976
 
3943
3977
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/utilities/typeComparators.mjs
@@ -4197,11 +4231,11 @@ var GraphQLDirective = class {
4197
4231
  this.name = assertName(config.name);
4198
4232
  this.description = config.description;
4199
4233
  this.locations = config.locations;
4200
- this.isRepeatable = (_config$isRepeatable = config.isRepeatable) !== null && _config$isRepeatable !== void 0 ? _config$isRepeatable : false;
4234
+ this.isRepeatable = (_config$isRepeatable = config.isRepeatable) !== null && _config$isRepeatable !== undefined ? _config$isRepeatable : false;
4201
4235
  this.extensions = toObjMap(config.extensions);
4202
4236
  this.astNode = config.astNode;
4203
4237
  Array.isArray(config.locations) || devAssert(false, `@${config.name} locations must be an Array.`);
4204
- const args = (_config$args = config.args) !== null && _config$args !== void 0 ? _config$args : {};
4238
+ const args = (_config$args = config.args) !== null && _config$args !== undefined ? _config$args : {};
4205
4239
  isObjectLike(args) && !Array.isArray(args) || devAssert(false, `@${config.name} args must be an object with argument names as keys.`);
4206
4240
  this.args = defineArguments(args);
4207
4241
  }
@@ -4281,14 +4315,14 @@ function isSpecifiedDirective(directive) {
4281
4315
 
4282
4316
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/isIterableObject.mjs
4283
4317
  function isIterableObject(maybeIterable) {
4284
- return typeof maybeIterable === "object" && typeof (maybeIterable === null || maybeIterable === void 0 ? void 0 : maybeIterable[Symbol.iterator]) === "function";
4318
+ return typeof maybeIterable === "object" && typeof (maybeIterable === null || maybeIterable === undefined ? undefined : maybeIterable[Symbol.iterator]) === "function";
4285
4319
  }
4286
4320
 
4287
4321
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/utilities/astFromValue.mjs
4288
4322
  function astFromValue(value, type) {
4289
4323
  if (isNonNullType(type)) {
4290
4324
  const astValue = astFromValue(value, type.ofType);
4291
- if ((astValue === null || astValue === void 0 ? void 0 : astValue.kind) === exports.Kind.NULL) {
4325
+ if ((astValue === null || astValue === undefined ? undefined : astValue.kind) === exports.Kind.NULL) {
4292
4326
  return null;
4293
4327
  }
4294
4328
  return astValue;
@@ -4298,7 +4332,7 @@ function astFromValue(value, type) {
4298
4332
  kind: exports.Kind.NULL
4299
4333
  };
4300
4334
  }
4301
- if (value === void 0) {
4335
+ if (value === undefined) {
4302
4336
  return null;
4303
4337
  }
4304
4338
  if (isListType(type)) {
@@ -4578,18 +4612,18 @@ var __Type = new GraphQLObjectType({
4578
4612
  },
4579
4613
  name: {
4580
4614
  type: GraphQLString,
4581
- resolve: (type) => "name" in type ? type.name : void 0
4615
+ resolve: (type) => "name" in type ? type.name : undefined
4582
4616
  },
4583
4617
  description: {
4584
4618
  type: GraphQLString,
4585
4619
  resolve: (type) => (
4586
4620
  /* c8 ignore next */
4587
- "description" in type ? type.description : void 0
4621
+ "description" in type ? type.description : undefined
4588
4622
  )
4589
4623
  },
4590
4624
  specifiedByURL: {
4591
4625
  type: GraphQLString,
4592
- resolve: (obj) => "specifiedByURL" in obj ? obj.specifiedByURL : void 0
4626
+ resolve: (obj) => "specifiedByURL" in obj ? obj.specifiedByURL : undefined
4593
4627
  },
4594
4628
  fields: {
4595
4629
  type: new GraphQLList(new GraphQLNonNull(__Field)),
@@ -4662,7 +4696,7 @@ var __Type = new GraphQLObjectType({
4662
4696
  },
4663
4697
  ofType: {
4664
4698
  type: __Type,
4665
- resolve: (type) => "ofType" in type ? type.ofType : void 0
4699
+ resolve: (type) => "ofType" in type ? type.ofType : undefined
4666
4700
  }
4667
4701
  })
4668
4702
  });
@@ -4823,9 +4857,9 @@ var SchemaMetaFieldDef = {
4823
4857
  resolve: (_source, _args, _context, {
4824
4858
  schema
4825
4859
  }) => schema,
4826
- deprecationReason: void 0,
4860
+ deprecationReason: undefined,
4827
4861
  extensions: /* @__PURE__ */ Object.create(null),
4828
- astNode: void 0
4862
+ astNode: undefined
4829
4863
  };
4830
4864
  var TypeMetaFieldDef = {
4831
4865
  name: "__type",
@@ -4833,21 +4867,21 @@ var TypeMetaFieldDef = {
4833
4867
  description: "Request the type information of a single type.",
4834
4868
  args: [{
4835
4869
  name: "name",
4836
- description: void 0,
4870
+ description: undefined,
4837
4871
  type: new GraphQLNonNull(GraphQLString),
4838
- defaultValue: void 0,
4839
- deprecationReason: void 0,
4872
+ defaultValue: undefined,
4873
+ deprecationReason: undefined,
4840
4874
  extensions: /* @__PURE__ */ Object.create(null),
4841
- astNode: void 0
4875
+ astNode: undefined
4842
4876
  }],
4843
4877
  resolve: (_source, {
4844
4878
  name
4845
4879
  }, _context, {
4846
4880
  schema
4847
4881
  }) => schema.getType(name),
4848
- deprecationReason: void 0,
4882
+ deprecationReason: undefined,
4849
4883
  extensions: /* @__PURE__ */ Object.create(null),
4850
- astNode: void 0
4884
+ astNode: undefined
4851
4885
  };
4852
4886
  var TypeNameMetaFieldDef = {
4853
4887
  name: "__typename",
@@ -4857,9 +4891,9 @@ var TypeNameMetaFieldDef = {
4857
4891
  resolve: (_source, _args, _context, {
4858
4892
  parentType
4859
4893
  }) => parentType.name,
4860
- deprecationReason: void 0,
4894
+ deprecationReason: undefined,
4861
4895
  extensions: /* @__PURE__ */ Object.create(null),
4862
- astNode: void 0
4896
+ astNode: undefined
4863
4897
  };
4864
4898
  var introspectionTypes = Object.freeze([__Schema, __Directive, __DirectiveLocation, __Type, __Field, __InputValue, __EnumValue, __TypeKind]);
4865
4899
  function isIntrospectionType(type) {
@@ -4882,18 +4916,18 @@ var GraphQLSchema = class {
4882
4916
  // Used as a cache for validateSchema().
4883
4917
  constructor(config) {
4884
4918
  var _config$extensionASTN, _config$directives;
4885
- this.__validationErrors = config.assumeValid === true ? [] : void 0;
4919
+ this.__validationErrors = config.assumeValid === true ? [] : undefined;
4886
4920
  isObjectLike(config) || devAssert(false, "Must provide configuration object.");
4887
4921
  !config.types || Array.isArray(config.types) || devAssert(false, `"types" must be Array if provided but got: ${inspect(config.types)}.`);
4888
4922
  !config.directives || Array.isArray(config.directives) || devAssert(false, `"directives" must be Array if provided but got: ${inspect(config.directives)}.`);
4889
4923
  this.description = config.description;
4890
4924
  this.extensions = toObjMap(config.extensions);
4891
4925
  this.astNode = config.astNode;
4892
- this.extensionASTNodes = (_config$extensionASTN = config.extensionASTNodes) !== null && _config$extensionASTN !== void 0 ? _config$extensionASTN : [];
4926
+ this.extensionASTNodes = (_config$extensionASTN = config.extensionASTNodes) !== null && _config$extensionASTN !== undefined ? _config$extensionASTN : [];
4893
4927
  this._queryType = config.query;
4894
4928
  this._mutationType = config.mutation;
4895
4929
  this._subscriptionType = config.subscription;
4896
- this._directives = (_config$directives = config.directives) !== null && _config$directives !== void 0 ? _config$directives : specifiedDirectives;
4930
+ this._directives = (_config$directives = config.directives) !== null && _config$directives !== undefined ? _config$directives : specifiedDirectives;
4897
4931
  const allReferencedTypes = new Set(config.types);
4898
4932
  if (config.types != null) {
4899
4933
  for (const type of config.types) {
@@ -4927,7 +4961,7 @@ var GraphQLSchema = class {
4927
4961
  }
4928
4962
  const typeName = namedType.name;
4929
4963
  typeName || devAssert(false, "One of the provided types for building the Schema is missing a name.");
4930
- if (this._typeMap[typeName] !== void 0) {
4964
+ if (this._typeMap[typeName] !== undefined) {
4931
4965
  throw new Error(`Schema must contain uniquely named types but contains multiple types named "${typeName}".`);
4932
4966
  }
4933
4967
  this._typeMap[typeName] = namedType;
@@ -4935,7 +4969,7 @@ var GraphQLSchema = class {
4935
4969
  for (const iface of namedType.getInterfaces()) {
4936
4970
  if (isInterfaceType(iface)) {
4937
4971
  let implementations = this._implementationsMap[iface.name];
4938
- if (implementations === void 0) {
4972
+ if (implementations === undefined) {
4939
4973
  implementations = this._implementationsMap[iface.name] = {
4940
4974
  objects: [],
4941
4975
  interfaces: []
@@ -4948,7 +4982,7 @@ var GraphQLSchema = class {
4948
4982
  for (const iface of namedType.getInterfaces()) {
4949
4983
  if (isInterfaceType(iface)) {
4950
4984
  let implementations = this._implementationsMap[iface.name];
4951
- if (implementations === void 0) {
4985
+ if (implementations === undefined) {
4952
4986
  implementations = this._implementationsMap[iface.name] = {
4953
4987
  objects: [],
4954
4988
  interfaces: []
@@ -4993,14 +5027,14 @@ var GraphQLSchema = class {
4993
5027
  }
4994
5028
  getImplementations(interfaceType) {
4995
5029
  const implementations = this._implementationsMap[interfaceType.name];
4996
- return implementations !== null && implementations !== void 0 ? implementations : {
5030
+ return implementations !== null && implementations !== undefined ? implementations : {
4997
5031
  objects: [],
4998
5032
  interfaces: []
4999
5033
  };
5000
5034
  }
5001
5035
  isSubType(abstractType, maybeSubType) {
5002
5036
  let map = this._subTypeMap[abstractType.name];
5003
- if (map === void 0) {
5037
+ if (map === undefined) {
5004
5038
  map = /* @__PURE__ */ Object.create(null);
5005
5039
  if (isUnionType(abstractType)) {
5006
5040
  for (const type of abstractType.getTypes()) {
@@ -5017,7 +5051,7 @@ var GraphQLSchema = class {
5017
5051
  }
5018
5052
  this._subTypeMap[abstractType.name] = map;
5019
5053
  }
5020
- return map[maybeSubType.name] !== void 0;
5054
+ return map[maybeSubType.name] !== undefined;
5021
5055
  }
5022
5056
  getDirectives() {
5023
5057
  return this._directives;
@@ -5036,7 +5070,7 @@ var GraphQLSchema = class {
5036
5070
  extensions: this.extensions,
5037
5071
  astNode: this.astNode,
5038
5072
  extensionASTNodes: this.extensionASTNodes,
5039
- assumeValid: this.__validationErrors !== void 0
5073
+ assumeValid: this.__validationErrors !== undefined
5040
5074
  };
5041
5075
  }
5042
5076
  };
@@ -5109,17 +5143,17 @@ function validateRootTypes(context) {
5109
5143
  context.reportError("Query root type must be provided.", schema.astNode);
5110
5144
  } else if (!isObjectType(queryType)) {
5111
5145
  var _getOperationTypeNode;
5112
- context.reportError(`Query root type must be Object type, it cannot be ${inspect(queryType)}.`, (_getOperationTypeNode = getOperationTypeNode(schema, exports.OperationTypeNode.QUERY)) !== null && _getOperationTypeNode !== void 0 ? _getOperationTypeNode : queryType.astNode);
5146
+ context.reportError(`Query root type must be Object type, it cannot be ${inspect(queryType)}.`, (_getOperationTypeNode = getOperationTypeNode(schema, exports.OperationTypeNode.QUERY)) !== null && _getOperationTypeNode !== undefined ? _getOperationTypeNode : queryType.astNode);
5113
5147
  }
5114
5148
  const mutationType = schema.getMutationType();
5115
5149
  if (mutationType && !isObjectType(mutationType)) {
5116
5150
  var _getOperationTypeNode2;
5117
- context.reportError(`Mutation root type must be Object type if provided, it cannot be ${inspect(mutationType)}.`, (_getOperationTypeNode2 = getOperationTypeNode(schema, exports.OperationTypeNode.MUTATION)) !== null && _getOperationTypeNode2 !== void 0 ? _getOperationTypeNode2 : mutationType.astNode);
5151
+ context.reportError(`Mutation root type must be Object type if provided, it cannot be ${inspect(mutationType)}.`, (_getOperationTypeNode2 = getOperationTypeNode(schema, exports.OperationTypeNode.MUTATION)) !== null && _getOperationTypeNode2 !== undefined ? _getOperationTypeNode2 : mutationType.astNode);
5118
5152
  }
5119
5153
  const subscriptionType = schema.getSubscriptionType();
5120
5154
  if (subscriptionType && !isObjectType(subscriptionType)) {
5121
5155
  var _getOperationTypeNode3;
5122
- context.reportError(`Subscription root type must be Object type if provided, it cannot be ${inspect(subscriptionType)}.`, (_getOperationTypeNode3 = getOperationTypeNode(schema, exports.OperationTypeNode.SUBSCRIPTION)) !== null && _getOperationTypeNode3 !== void 0 ? _getOperationTypeNode3 : subscriptionType.astNode);
5156
+ context.reportError(`Subscription root type must be Object type if provided, it cannot be ${inspect(subscriptionType)}.`, (_getOperationTypeNode3 = getOperationTypeNode(schema, exports.OperationTypeNode.SUBSCRIPTION)) !== null && _getOperationTypeNode3 !== undefined ? _getOperationTypeNode3 : subscriptionType.astNode);
5123
5157
  }
5124
5158
  }
5125
5159
  function getOperationTypeNode(schema, operation) {
@@ -5130,15 +5164,15 @@ function getOperationTypeNode(schema, operation) {
5130
5164
  var _schemaNode$operation;
5131
5165
  return (
5132
5166
  /* c8 ignore next */
5133
- (_schemaNode$operation = schemaNode === null || schemaNode === void 0 ? void 0 : schemaNode.operationTypes) !== null && _schemaNode$operation !== void 0 ? _schemaNode$operation : []
5167
+ (_schemaNode$operation = schemaNode === null || schemaNode === undefined ? undefined : schemaNode.operationTypes) !== null && _schemaNode$operation !== undefined ? _schemaNode$operation : []
5134
5168
  );
5135
5169
  }
5136
- ).find((operationNode) => operationNode.operation === operation)) === null || _flatMap$find === void 0 ? void 0 : _flatMap$find.type;
5170
+ ).find((operationNode) => operationNode.operation === operation)) === null || _flatMap$find === undefined ? undefined : _flatMap$find.type;
5137
5171
  }
5138
5172
  function validateDirectives(context) {
5139
5173
  for (const directive of context.schema.getDirectives()) {
5140
5174
  if (!isDirective(directive)) {
5141
- context.reportError(`Expected directive but got: ${inspect(directive)}.`, directive === null || directive === void 0 ? void 0 : directive.astNode);
5175
+ context.reportError(`Expected directive but got: ${inspect(directive)}.`, directive === null || directive === undefined ? undefined : directive.astNode);
5142
5176
  continue;
5143
5177
  }
5144
5178
  validateName(context, directive);
@@ -5149,7 +5183,7 @@ function validateDirectives(context) {
5149
5183
  }
5150
5184
  if (isRequiredArgument(arg) && arg.deprecationReason != null) {
5151
5185
  var _arg$astNode;
5152
- context.reportError(`Required argument @${directive.name}(${arg.name}:) cannot be deprecated.`, [getDeprecatedDirectiveNode(arg.astNode), (_arg$astNode = arg.astNode) === null || _arg$astNode === void 0 ? void 0 : _arg$astNode.type]);
5186
+ context.reportError(`Required argument @${directive.name}(${arg.name}:) cannot be deprecated.`, [getDeprecatedDirectiveNode(arg.astNode), (_arg$astNode = arg.astNode) === null || _arg$astNode === undefined ? undefined : _arg$astNode.type]);
5153
5187
  }
5154
5188
  }
5155
5189
  }
@@ -5195,18 +5229,18 @@ function validateFields(context, type) {
5195
5229
  validateName(context, field);
5196
5230
  if (!isOutputType(field.type)) {
5197
5231
  var _field$astNode;
5198
- context.reportError(`The type of ${type.name}.${field.name} must be Output Type but got: ${inspect(field.type)}.`, (_field$astNode = field.astNode) === null || _field$astNode === void 0 ? void 0 : _field$astNode.type);
5232
+ context.reportError(`The type of ${type.name}.${field.name} must be Output Type but got: ${inspect(field.type)}.`, (_field$astNode = field.astNode) === null || _field$astNode === undefined ? undefined : _field$astNode.type);
5199
5233
  }
5200
5234
  for (const arg of field.args) {
5201
5235
  const argName = arg.name;
5202
5236
  validateName(context, arg);
5203
5237
  if (!isInputType(arg.type)) {
5204
5238
  var _arg$astNode2;
5205
- context.reportError(`The type of ${type.name}.${field.name}(${argName}:) must be Input Type but got: ${inspect(arg.type)}.`, (_arg$astNode2 = arg.astNode) === null || _arg$astNode2 === void 0 ? void 0 : _arg$astNode2.type);
5239
+ context.reportError(`The type of ${type.name}.${field.name}(${argName}:) must be Input Type but got: ${inspect(arg.type)}.`, (_arg$astNode2 = arg.astNode) === null || _arg$astNode2 === undefined ? undefined : _arg$astNode2.type);
5206
5240
  }
5207
5241
  if (isRequiredArgument(arg) && arg.deprecationReason != null) {
5208
5242
  var _arg$astNode3;
5209
- context.reportError(`Required argument ${type.name}.${field.name}(${argName}:) cannot be deprecated.`, [getDeprecatedDirectiveNode(arg.astNode), (_arg$astNode3 = arg.astNode) === null || _arg$astNode3 === void 0 ? void 0 : _arg$astNode3.type]);
5243
+ context.reportError(`Required argument ${type.name}.${field.name}(${argName}:) cannot be deprecated.`, [getDeprecatedDirectiveNode(arg.astNode), (_arg$astNode3 = arg.astNode) === null || _arg$astNode3 === undefined ? undefined : _arg$astNode3.type]);
5210
5244
  }
5211
5245
  }
5212
5246
  }
@@ -5242,7 +5276,7 @@ function validateTypeImplementsInterface(context, type, iface) {
5242
5276
  }
5243
5277
  if (!isTypeSubTypeOf(context.schema, typeField.type, ifaceField.type)) {
5244
5278
  var _ifaceField$astNode, _typeField$astNode;
5245
- context.reportError(`Interface field ${iface.name}.${fieldName} expects type ${inspect(ifaceField.type)} but ${type.name}.${fieldName} is type ${inspect(typeField.type)}.`, [(_ifaceField$astNode = ifaceField.astNode) === null || _ifaceField$astNode === void 0 ? void 0 : _ifaceField$astNode.type, (_typeField$astNode = typeField.astNode) === null || _typeField$astNode === void 0 ? void 0 : _typeField$astNode.type]);
5279
+ context.reportError(`Interface field ${iface.name}.${fieldName} expects type ${inspect(ifaceField.type)} but ${type.name}.${fieldName} is type ${inspect(typeField.type)}.`, [(_ifaceField$astNode = ifaceField.astNode) === null || _ifaceField$astNode === undefined ? undefined : _ifaceField$astNode.type, (_typeField$astNode = typeField.astNode) === null || _typeField$astNode === undefined ? undefined : _typeField$astNode.type]);
5246
5280
  }
5247
5281
  for (const ifaceArg of ifaceField.args) {
5248
5282
  const argName = ifaceArg.name;
@@ -5253,7 +5287,7 @@ function validateTypeImplementsInterface(context, type, iface) {
5253
5287
  }
5254
5288
  if (!isEqualType(ifaceArg.type, typeArg.type)) {
5255
5289
  var _ifaceArg$astNode, _typeArg$astNode;
5256
- context.reportError(`Interface field argument ${iface.name}.${fieldName}(${argName}:) expects type ${inspect(ifaceArg.type)} but ${type.name}.${fieldName}(${argName}:) is type ${inspect(typeArg.type)}.`, [(_ifaceArg$astNode = ifaceArg.astNode) === null || _ifaceArg$astNode === void 0 ? void 0 : _ifaceArg$astNode.type, (_typeArg$astNode = typeArg.astNode) === null || _typeArg$astNode === void 0 ? void 0 : _typeArg$astNode.type]);
5290
+ context.reportError(`Interface field argument ${iface.name}.${fieldName}(${argName}:) expects type ${inspect(ifaceArg.type)} but ${type.name}.${fieldName}(${argName}:) is type ${inspect(typeArg.type)}.`, [(_ifaceArg$astNode = ifaceArg.astNode) === null || _ifaceArg$astNode === undefined ? undefined : _ifaceArg$astNode.type, (_typeArg$astNode = typeArg.astNode) === null || _typeArg$astNode === undefined ? undefined : _typeArg$astNode.type]);
5257
5291
  }
5258
5292
  }
5259
5293
  for (const typeArg of typeField.args) {
@@ -5308,11 +5342,11 @@ function validateInputFields(context, inputObj) {
5308
5342
  validateName(context, field);
5309
5343
  if (!isInputType(field.type)) {
5310
5344
  var _field$astNode2;
5311
- context.reportError(`The type of ${inputObj.name}.${field.name} must be Input Type but got: ${inspect(field.type)}.`, (_field$astNode2 = field.astNode) === null || _field$astNode2 === void 0 ? void 0 : _field$astNode2.type);
5345
+ context.reportError(`The type of ${inputObj.name}.${field.name} must be Input Type but got: ${inspect(field.type)}.`, (_field$astNode2 = field.astNode) === null || _field$astNode2 === undefined ? undefined : _field$astNode2.type);
5312
5346
  }
5313
5347
  if (isRequiredInputField(field) && field.deprecationReason != null) {
5314
5348
  var _field$astNode3;
5315
- context.reportError(`Required input field ${inputObj.name}.${field.name} cannot be deprecated.`, [getDeprecatedDirectiveNode(field.astNode), (_field$astNode3 = field.astNode) === null || _field$astNode3 === void 0 ? void 0 : _field$astNode3.type]);
5349
+ context.reportError(`Required input field ${inputObj.name}.${field.name} cannot be deprecated.`, [getDeprecatedDirectiveNode(field.astNode), (_field$astNode3 = field.astNode) === null || _field$astNode3 === undefined ? undefined : _field$astNode3.type]);
5316
5350
  }
5317
5351
  }
5318
5352
  }
@@ -5333,7 +5367,7 @@ function createInputObjectCircularRefsValidator(context) {
5333
5367
  const fieldType = field.type.ofType;
5334
5368
  const cycleIndex = fieldPathIndexByTypeName[fieldType.name];
5335
5369
  fieldPath.push(field);
5336
- if (cycleIndex === void 0) {
5370
+ if (cycleIndex === undefined) {
5337
5371
  detectCycleRecursive(fieldType);
5338
5372
  } else {
5339
5373
  const cyclePath = fieldPath.slice(cycleIndex);
@@ -5343,7 +5377,7 @@ function createInputObjectCircularRefsValidator(context) {
5343
5377
  fieldPath.pop();
5344
5378
  }
5345
5379
  }
5346
- fieldPathIndexByTypeName[inputObj.name] = void 0;
5380
+ fieldPathIndexByTypeName[inputObj.name] = undefined;
5347
5381
  }
5348
5382
  }
5349
5383
  function getAllImplementsInterfaceNodes(type, iface) {
@@ -5356,7 +5390,7 @@ function getAllImplementsInterfaceNodes(type, iface) {
5356
5390
  var _typeNode$interfaces;
5357
5391
  return (
5358
5392
  /* c8 ignore next */
5359
- (_typeNode$interfaces = typeNode.interfaces) !== null && _typeNode$interfaces !== void 0 ? _typeNode$interfaces : []
5393
+ (_typeNode$interfaces = typeNode.interfaces) !== null && _typeNode$interfaces !== undefined ? _typeNode$interfaces : []
5360
5394
  );
5361
5395
  }).filter((ifaceNode) => ifaceNode.name.value === iface.name);
5362
5396
  }
@@ -5370,13 +5404,13 @@ function getUnionMemberTypeNodes(union, typeName) {
5370
5404
  var _unionNode$types;
5371
5405
  return (
5372
5406
  /* c8 ignore next */
5373
- (_unionNode$types = unionNode.types) !== null && _unionNode$types !== void 0 ? _unionNode$types : []
5407
+ (_unionNode$types = unionNode.types) !== null && _unionNode$types !== undefined ? _unionNode$types : []
5374
5408
  );
5375
5409
  }).filter((typeNode) => typeNode.name.value === typeName);
5376
5410
  }
5377
5411
  function getDeprecatedDirectiveNode(definitionNode) {
5378
5412
  var _definitionNode$direc;
5379
- return definitionNode === null || definitionNode === void 0 ? void 0 : (_definitionNode$direc = definitionNode.directives) === null || _definitionNode$direc === void 0 ? void 0 : _definitionNode$direc.find((node) => node.name.value === GraphQLDeprecatedDirective.name);
5413
+ return definitionNode === null || definitionNode === undefined ? undefined : (_definitionNode$direc = definitionNode.directives) === null || _definitionNode$direc === undefined ? undefined : _definitionNode$direc.find((node) => node.name.value === GraphQLDeprecatedDirective.name);
5380
5414
  }
5381
5415
 
5382
5416
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/utilities/typeFromAST.mjs
@@ -5407,7 +5441,7 @@ var TypeInfo = class {
5407
5441
  this._directive = null;
5408
5442
  this._argument = null;
5409
5443
  this._enumValue = null;
5410
- this._getFieldDef = getFieldDefFn !== null && getFieldDefFn !== void 0 ? getFieldDefFn : getFieldDef;
5444
+ this._getFieldDef = getFieldDefFn !== null && getFieldDefFn !== undefined ? getFieldDefFn : getFieldDef;
5411
5445
  if (initialType) {
5412
5446
  if (isInputType(initialType)) {
5413
5447
  this._inputTypeStack.push(initialType);
@@ -5467,7 +5501,7 @@ var TypeInfo = class {
5467
5501
  switch (node.kind) {
5468
5502
  case exports.Kind.SELECTION_SET: {
5469
5503
  const namedType = getNamedType(this.getType());
5470
- this._parentTypeStack.push(isCompositeType(namedType) ? namedType : void 0);
5504
+ this._parentTypeStack.push(isCompositeType(namedType) ? namedType : undefined);
5471
5505
  break;
5472
5506
  }
5473
5507
  case exports.Kind.FIELD: {
@@ -5481,7 +5515,7 @@ var TypeInfo = class {
5481
5515
  }
5482
5516
  }
5483
5517
  this._fieldDefStack.push(fieldDef);
5484
- this._typeStack.push(isOutputType(fieldType) ? fieldType : void 0);
5518
+ this._typeStack.push(isOutputType(fieldType) ? fieldType : undefined);
5485
5519
  break;
5486
5520
  }
5487
5521
  case exports.Kind.DIRECTIVE:
@@ -5489,26 +5523,26 @@ var TypeInfo = class {
5489
5523
  break;
5490
5524
  case exports.Kind.OPERATION_DEFINITION: {
5491
5525
  const rootType = schema.getRootType(node.operation);
5492
- this._typeStack.push(isObjectType(rootType) ? rootType : void 0);
5526
+ this._typeStack.push(isObjectType(rootType) ? rootType : undefined);
5493
5527
  break;
5494
5528
  }
5495
5529
  case exports.Kind.INLINE_FRAGMENT:
5496
5530
  case exports.Kind.FRAGMENT_DEFINITION: {
5497
5531
  const typeConditionAST = node.typeCondition;
5498
5532
  const outputType = typeConditionAST ? typeFromAST(schema, typeConditionAST) : getNamedType(this.getType());
5499
- this._typeStack.push(isOutputType(outputType) ? outputType : void 0);
5533
+ this._typeStack.push(isOutputType(outputType) ? outputType : undefined);
5500
5534
  break;
5501
5535
  }
5502
5536
  case exports.Kind.VARIABLE_DEFINITION: {
5503
5537
  const inputType = typeFromAST(schema, node.type);
5504
- this._inputTypeStack.push(isInputType(inputType) ? inputType : void 0);
5538
+ this._inputTypeStack.push(isInputType(inputType) ? inputType : undefined);
5505
5539
  break;
5506
5540
  }
5507
5541
  case exports.Kind.ARGUMENT: {
5508
5542
  var _this$getDirective;
5509
5543
  let argDef;
5510
5544
  let argType;
5511
- const fieldOrDirective = (_this$getDirective = this.getDirective()) !== null && _this$getDirective !== void 0 ? _this$getDirective : this.getFieldDef();
5545
+ const fieldOrDirective = (_this$getDirective = this.getDirective()) !== null && _this$getDirective !== undefined ? _this$getDirective : this.getFieldDef();
5512
5546
  if (fieldOrDirective) {
5513
5547
  argDef = fieldOrDirective.args.find((arg) => arg.name === node.name.value);
5514
5548
  if (argDef) {
@@ -5516,15 +5550,15 @@ var TypeInfo = class {
5516
5550
  }
5517
5551
  }
5518
5552
  this._argument = argDef;
5519
- this._defaultValueStack.push(argDef ? argDef.defaultValue : void 0);
5520
- this._inputTypeStack.push(isInputType(argType) ? argType : void 0);
5553
+ this._defaultValueStack.push(argDef ? argDef.defaultValue : undefined);
5554
+ this._inputTypeStack.push(isInputType(argType) ? argType : undefined);
5521
5555
  break;
5522
5556
  }
5523
5557
  case exports.Kind.LIST: {
5524
5558
  const listType = getNullableType(this.getInputType());
5525
5559
  const itemType = isListType(listType) ? listType.ofType : listType;
5526
- this._defaultValueStack.push(void 0);
5527
- this._inputTypeStack.push(isInputType(itemType) ? itemType : void 0);
5560
+ this._defaultValueStack.push(undefined);
5561
+ this._inputTypeStack.push(isInputType(itemType) ? itemType : undefined);
5528
5562
  break;
5529
5563
  }
5530
5564
  case exports.Kind.OBJECT_FIELD: {
@@ -5537,8 +5571,8 @@ var TypeInfo = class {
5537
5571
  inputFieldType = inputField.type;
5538
5572
  }
5539
5573
  }
5540
- this._defaultValueStack.push(inputField ? inputField.defaultValue : void 0);
5541
- this._inputTypeStack.push(isInputType(inputFieldType) ? inputFieldType : void 0);
5574
+ this._defaultValueStack.push(inputField ? inputField.defaultValue : undefined);
5575
+ this._inputTypeStack.push(isInputType(inputFieldType) ? inputFieldType : undefined);
5542
5576
  break;
5543
5577
  }
5544
5578
  case exports.Kind.ENUM: {
@@ -5611,7 +5645,7 @@ function visitWithTypeInfo(typeInfo, visitor) {
5611
5645
  const fn = getEnterLeaveForKind(visitor, node.kind).enter;
5612
5646
  if (fn) {
5613
5647
  const result = fn.apply(visitor, args);
5614
- if (result !== void 0) {
5648
+ if (result !== undefined) {
5615
5649
  typeInfo.leave(node);
5616
5650
  if (isNode(result)) {
5617
5651
  typeInfo.enter(result);
@@ -5722,7 +5756,7 @@ function getSuggestedTypeNames(schema, type, fieldName) {
5722
5756
  continue;
5723
5757
  }
5724
5758
  suggestedTypes.add(possibleInterface);
5725
- usageCount[possibleInterface.name] = ((_usageCount$possibleI = usageCount[possibleInterface.name]) !== null && _usageCount$possibleI !== void 0 ? _usageCount$possibleI : 0) + 1;
5759
+ usageCount[possibleInterface.name] = ((_usageCount$possibleI = usageCount[possibleInterface.name]) !== null && _usageCount$possibleI !== undefined ? _usageCount$possibleI : 0) + 1;
5726
5760
  }
5727
5761
  }
5728
5762
  return [...suggestedTypes].sort((typeA, typeB) => {
@@ -5805,7 +5839,7 @@ function KnownArgumentNamesOnDirectivesRule(context) {
5805
5839
  for (const def of astDefinitions) {
5806
5840
  if (def.kind === exports.Kind.DIRECTIVE_DEFINITION) {
5807
5841
  var _def$arguments;
5808
- const argsNodes = (_def$arguments = def.arguments) !== null && _def$arguments !== void 0 ? _def$arguments : [];
5842
+ const argsNodes = (_def$arguments = def.arguments) !== null && _def$arguments !== undefined ? _def$arguments : [];
5809
5843
  directiveArgs[def.name.value] = argsNodes.map((arg) => arg.name.value);
5810
5844
  }
5811
5845
  }
@@ -5908,6 +5942,8 @@ function getDirectiveLocationForASTPath(ancestors) {
5908
5942
  "kind" in parentNode || (process.env.NODE_ENV !== "production" ? invariant(false) : invariant(false) );
5909
5943
  return parentNode.kind === exports.Kind.INPUT_OBJECT_TYPE_DEFINITION ? exports.DirectiveLocation.INPUT_FIELD_DEFINITION : exports.DirectiveLocation.ARGUMENT_DEFINITION;
5910
5944
  }
5945
+ // Not reachable, all possible types have been considered.
5946
+ /* c8 ignore next */
5911
5947
  default:
5912
5948
  process.env.NODE_ENV !== "production" ? invariant(false, "Unexpected kind: " + inspect(appliedTo.kind)) : invariant(false) ;
5913
5949
  }
@@ -5954,7 +5990,7 @@ function KnownTypeNamesRule(context) {
5954
5990
  const typeName = node.name.value;
5955
5991
  if (!existingTypesMap[typeName] && !definedTypes[typeName]) {
5956
5992
  var _ancestors$;
5957
- const definitionNode = (_ancestors$ = ancestors[2]) !== null && _ancestors$ !== void 0 ? _ancestors$ : parent;
5993
+ const definitionNode = (_ancestors$ = ancestors[2]) !== null && _ancestors$ !== undefined ? _ancestors$ : parent;
5958
5994
  const isSDL = definitionNode != null && isSDLNode(definitionNode);
5959
5995
  if (isSDL && standardTypeNames.includes(typeName)) {
5960
5996
  return;
@@ -5993,7 +6029,7 @@ function LoneAnonymousOperationRule(context) {
5993
6029
  function LoneSchemaDefinitionRule(context) {
5994
6030
  var _ref, _ref2, _oldSchema$astNode;
5995
6031
  const oldSchema = context.getSchema();
5996
- const alreadyDefined = (_ref = (_ref2 = (_oldSchema$astNode = oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.astNode) !== null && _oldSchema$astNode !== void 0 ? _oldSchema$astNode : oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.getQueryType()) !== null && _ref2 !== void 0 ? _ref2 : oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.getMutationType()) !== null && _ref !== void 0 ? _ref : oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.getSubscriptionType();
6032
+ const alreadyDefined = (_ref = (_ref2 = (_oldSchema$astNode = oldSchema === null || oldSchema === undefined ? undefined : oldSchema.astNode) !== null && _oldSchema$astNode !== undefined ? _oldSchema$astNode : oldSchema === null || oldSchema === undefined ? undefined : oldSchema.getQueryType()) !== null && _ref2 !== undefined ? _ref2 : oldSchema === null || oldSchema === undefined ? undefined : oldSchema.getMutationType()) !== null && _ref !== undefined ? _ref : oldSchema === null || oldSchema === undefined ? undefined : oldSchema.getSubscriptionType();
5997
6033
  let schemaDefinitionsCount = 0;
5998
6034
  return {
5999
6035
  SchemaDefinition(node) {
@@ -6040,7 +6076,7 @@ function NoFragmentCyclesRule(context) {
6040
6076
  const spreadName = spreadNode.name.value;
6041
6077
  const cycleIndex = spreadPathIndexByName[spreadName];
6042
6078
  spreadPath.push(spreadNode);
6043
- if (cycleIndex === void 0) {
6079
+ if (cycleIndex === undefined) {
6044
6080
  const spreadFragment = context.getFragment(spreadName);
6045
6081
  if (spreadFragment) {
6046
6082
  detectCycleRecursive(spreadFragment);
@@ -6054,7 +6090,7 @@ function NoFragmentCyclesRule(context) {
6054
6090
  }
6055
6091
  spreadPath.pop();
6056
6092
  }
6057
- spreadPathIndexByName[fragmentName] = void 0;
6093
+ spreadPathIndexByName[fragmentName] = undefined;
6058
6094
  }
6059
6095
  }
6060
6096
 
@@ -6329,8 +6365,8 @@ function findConflict(context, cachedFieldsAndFragmentNames, comparedFragmentPai
6329
6365
  return [[responseName, "they have differing arguments"], [node1], [node2]];
6330
6366
  }
6331
6367
  }
6332
- const type1 = def1 === null || def1 === void 0 ? void 0 : def1.type;
6333
- const type2 = def2 === null || def2 === void 0 ? void 0 : def2.type;
6368
+ const type1 = def1 === null || def1 === undefined ? undefined : def1.type;
6369
+ const type2 = def2 === null || def2 === undefined ? undefined : def2.type;
6334
6370
  if (type1 && type2 && doTypesConflict(type1, type2)) {
6335
6371
  return [[responseName, `they return conflicting types "${inspect(type1)}" and "${inspect(type2)}"`], [node1], [node2]];
6336
6372
  }
@@ -6344,10 +6380,10 @@ function findConflict(context, cachedFieldsAndFragmentNames, comparedFragmentPai
6344
6380
  function sameArguments(node1, node2) {
6345
6381
  const args1 = node1.arguments;
6346
6382
  const args2 = node2.arguments;
6347
- if (args1 === void 0 || args1.length === 0) {
6348
- return args2 === void 0 || args2.length === 0;
6383
+ if (args1 === undefined || args1.length === 0) {
6384
+ return args2 === undefined || args2.length === 0;
6349
6385
  }
6350
- if (args2 === void 0 || args2.length === 0) {
6386
+ if (args2 === undefined || args2.length === 0) {
6351
6387
  return false;
6352
6388
  }
6353
6389
  if (args1.length !== args2.length) {
@@ -6360,7 +6396,7 @@ function sameArguments(node1, node2) {
6360
6396
  return args1.every((arg1) => {
6361
6397
  const value1 = arg1.value;
6362
6398
  const value2 = values2.get(arg1.name.value);
6363
- if (value2 === void 0) {
6399
+ if (value2 === undefined) {
6364
6400
  return false;
6365
6401
  }
6366
6402
  return stringifyValue(value1) === stringifyValue(value2);
@@ -6447,8 +6483,8 @@ var PairSet = class {
6447
6483
  has(a, b, areMutuallyExclusive) {
6448
6484
  var _this$_data$get;
6449
6485
  const [key1, key2] = a < b ? [a, b] : [b, a];
6450
- const result = (_this$_data$get = this._data.get(key1)) === null || _this$_data$get === void 0 ? void 0 : _this$_data$get.get(key2);
6451
- if (result === void 0) {
6486
+ const result = (_this$_data$get = this._data.get(key1)) === null || _this$_data$get === undefined ? undefined : _this$_data$get.get(key2);
6487
+ if (result === undefined) {
6452
6488
  return false;
6453
6489
  }
6454
6490
  return areMutuallyExclusive ? true : areMutuallyExclusive === result;
@@ -6456,7 +6492,7 @@ var PairSet = class {
6456
6492
  add(a, b, areMutuallyExclusive) {
6457
6493
  const [key1, key2] = a < b ? [a, b] : [b, a];
6458
6494
  const map = this._data.get(key1);
6459
- if (map === void 0) {
6495
+ if (map === undefined) {
6460
6496
  this._data.set(key1, /* @__PURE__ */ new Map([[key2, areMutuallyExclusive]]));
6461
6497
  } else {
6462
6498
  map.set(key2, areMutuallyExclusive);
@@ -6522,7 +6558,7 @@ function PossibleTypeExtensionsRule(context) {
6522
6558
  function checkExtension(node) {
6523
6559
  const typeName = node.name.value;
6524
6560
  const defNode = definedTypes[typeName];
6525
- const existingType = schema === null || schema === void 0 ? void 0 : schema.getType(typeName);
6561
+ const existingType = schema === null || schema === undefined ? undefined : schema.getType(typeName);
6526
6562
  let expectedKind;
6527
6563
  if (defNode) {
6528
6564
  expectedKind = defKindToExtKind[defNode.kind];
@@ -6539,7 +6575,7 @@ function PossibleTypeExtensionsRule(context) {
6539
6575
  } else {
6540
6576
  const allTypeNames = Object.keys({
6541
6577
  ...definedTypes,
6542
- ...schema === null || schema === void 0 ? void 0 : schema.getTypeMap()
6578
+ ...schema === null || schema === undefined ? undefined : schema.getTypeMap()
6543
6579
  });
6544
6580
  const suggestedTypes = suggestionList(typeName, allTypeNames);
6545
6581
  context.reportError(new GraphQLError(`Cannot extend type "${typeName}" because it is not defined.` + didYouMean(suggestedTypes), {
@@ -6591,6 +6627,8 @@ function extensionKindToTypeName(kind) {
6591
6627
  return "enum";
6592
6628
  case exports.Kind.INPUT_OBJECT_TYPE_EXTENSION:
6593
6629
  return "input object";
6630
+ // Not reachable. All possible types have been considered
6631
+ /* c8 ignore next */
6594
6632
  default:
6595
6633
  process.env.NODE_ENV !== "production" ? invariant(false, "Unexpected kind: " + inspect(kind)) : invariant(false) ;
6596
6634
  }
@@ -6612,7 +6650,7 @@ function ProvidedRequiredArgumentsRule(context) {
6612
6650
  const providedArgs = new Set(
6613
6651
  // FIXME: https://github.com/graphql/graphql-js/issues/2203
6614
6652
  /* c8 ignore next */
6615
- (_fieldNode$arguments = fieldNode.arguments) === null || _fieldNode$arguments === void 0 ? void 0 : _fieldNode$arguments.map((arg) => arg.name.value)
6653
+ (_fieldNode$arguments = fieldNode.arguments) === null || _fieldNode$arguments === undefined ? undefined : _fieldNode$arguments.map((arg) => arg.name.value)
6616
6654
  );
6617
6655
  for (const argDef of fieldDef.args) {
6618
6656
  if (!providedArgs.has(argDef.name) && isRequiredArgument(argDef)) {
@@ -6630,7 +6668,7 @@ function ProvidedRequiredArgumentsOnDirectivesRule(context) {
6630
6668
  var _schema$getDirectives;
6631
6669
  const requiredArgsMap = /* @__PURE__ */ Object.create(null);
6632
6670
  const schema = context.getSchema();
6633
- const definedDirectives = (_schema$getDirectives = schema === null || schema === void 0 ? void 0 : schema.getDirectives()) !== null && _schema$getDirectives !== void 0 ? _schema$getDirectives : specifiedDirectives;
6671
+ const definedDirectives = (_schema$getDirectives = schema === null || schema === undefined ? undefined : schema.getDirectives()) !== null && _schema$getDirectives !== undefined ? _schema$getDirectives : specifiedDirectives;
6634
6672
  for (const directive of definedDirectives) {
6635
6673
  requiredArgsMap[directive.name] = keyMap(directive.args.filter(isRequiredArgument), (arg) => arg.name);
6636
6674
  }
@@ -6638,7 +6676,7 @@ function ProvidedRequiredArgumentsOnDirectivesRule(context) {
6638
6676
  for (const def of astDefinitions) {
6639
6677
  if (def.kind === exports.Kind.DIRECTIVE_DEFINITION) {
6640
6678
  var _def$arguments;
6641
- const argNodes = (_def$arguments = def.arguments) !== null && _def$arguments !== void 0 ? _def$arguments : [];
6679
+ const argNodes = (_def$arguments = def.arguments) !== null && _def$arguments !== undefined ? _def$arguments : [];
6642
6680
  requiredArgsMap[def.name.value] = keyMap(argNodes.filter(isRequiredArgumentNode), (arg) => arg.name.value);
6643
6681
  }
6644
6682
  }
@@ -6650,7 +6688,7 @@ function ProvidedRequiredArgumentsOnDirectivesRule(context) {
6650
6688
  const requiredArgs = requiredArgsMap[directiveName];
6651
6689
  if (requiredArgs) {
6652
6690
  var _directiveNode$argume;
6653
- const argNodes = (_directiveNode$argume = directiveNode.arguments) !== null && _directiveNode$argume !== void 0 ? _directiveNode$argume : [];
6691
+ const argNodes = (_directiveNode$argume = directiveNode.arguments) !== null && _directiveNode$argume !== undefined ? _directiveNode$argume : [];
6654
6692
  const argNodeMap = new Set(argNodes.map((arg) => arg.name.value));
6655
6693
  for (const [argName, argDef] of Object.entries(requiredArgs)) {
6656
6694
  if (!argNodeMap.has(argName)) {
@@ -6721,7 +6759,7 @@ function pathToArray(path) {
6721
6759
 
6722
6760
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/utilities/coerceInputValue.mjs
6723
6761
  function coerceInputValue(inputValue, type, onError = defaultOnError) {
6724
- return coerceInputValueImpl(inputValue, type, onError, void 0);
6762
+ return coerceInputValueImpl(inputValue, type, onError, undefined);
6725
6763
  }
6726
6764
  function defaultOnError(path, invalidValue, error) {
6727
6765
  let errorPrefix = "Invalid value " + inspect(invalidValue);
@@ -6746,7 +6784,7 @@ function coerceInputValueImpl(inputValue, type, onError, path) {
6746
6784
  const itemType = type.ofType;
6747
6785
  if (isIterableObject(inputValue)) {
6748
6786
  return Array.from(inputValue, (itemValue, index) => {
6749
- const itemPath = addPath(path, index, void 0);
6787
+ const itemPath = addPath(path, index, undefined);
6750
6788
  return coerceInputValueImpl(itemValue, itemType, onError, itemPath);
6751
6789
  });
6752
6790
  }
@@ -6761,8 +6799,8 @@ function coerceInputValueImpl(inputValue, type, onError, path) {
6761
6799
  const fieldDefs = type.getFields();
6762
6800
  for (const field of Object.values(fieldDefs)) {
6763
6801
  const fieldValue = inputValue[field.name];
6764
- if (fieldValue === void 0) {
6765
- if (field.defaultValue !== void 0) {
6802
+ if (fieldValue === undefined) {
6803
+ if (field.defaultValue !== undefined) {
6766
6804
  coercedValue[field.name] = field.defaultValue;
6767
6805
  } else if (isNonNullType(field.type)) {
6768
6806
  const typeStr = inspect(field.type);
@@ -6794,7 +6832,7 @@ function coerceInputValueImpl(inputValue, type, onError, path) {
6794
6832
  }
6795
6833
  return;
6796
6834
  }
6797
- if (parseResult === void 0) {
6835
+ if (parseResult === undefined) {
6798
6836
  onError(pathToArray(path), inputValue, new GraphQLError(`Expected type "${type.name}".`));
6799
6837
  }
6800
6838
  return parseResult;
@@ -6809,7 +6847,7 @@ function valueFromAST(valueNode, type, variables) {
6809
6847
  }
6810
6848
  if (valueNode.kind === exports.Kind.VARIABLE) {
6811
6849
  const variableName = valueNode.name.value;
6812
- if (variables == null || variables[variableName] === void 0) {
6850
+ if (variables == null || variables[variableName] === undefined) {
6813
6851
  return;
6814
6852
  }
6815
6853
  const variableValue = variables[variableName];
@@ -6839,7 +6877,7 @@ function valueFromAST(valueNode, type, variables) {
6839
6877
  coercedValues.push(null);
6840
6878
  } else {
6841
6879
  const itemValue = valueFromAST(itemNode, itemType, variables);
6842
- if (itemValue === void 0) {
6880
+ if (itemValue === undefined) {
6843
6881
  return;
6844
6882
  }
6845
6883
  coercedValues.push(itemValue);
@@ -6848,7 +6886,7 @@ function valueFromAST(valueNode, type, variables) {
6848
6886
  return coercedValues;
6849
6887
  }
6850
6888
  const coercedValue = valueFromAST(valueNode, itemType, variables);
6851
- if (coercedValue === void 0) {
6889
+ if (coercedValue === undefined) {
6852
6890
  return;
6853
6891
  }
6854
6892
  return [coercedValue];
@@ -6862,7 +6900,7 @@ function valueFromAST(valueNode, type, variables) {
6862
6900
  for (const field of Object.values(type.getFields())) {
6863
6901
  const fieldNode = fieldNodes[field.name];
6864
6902
  if (!fieldNode || isMissingVariable(fieldNode.value, variables)) {
6865
- if (field.defaultValue !== void 0) {
6903
+ if (field.defaultValue !== undefined) {
6866
6904
  coercedObj[field.name] = field.defaultValue;
6867
6905
  } else if (isNonNullType(field.type)) {
6868
6906
  return;
@@ -6870,7 +6908,7 @@ function valueFromAST(valueNode, type, variables) {
6870
6908
  continue;
6871
6909
  }
6872
6910
  const fieldValue = valueFromAST(fieldNode.value, field.type, variables);
6873
- if (fieldValue === void 0) {
6911
+ if (fieldValue === undefined) {
6874
6912
  return;
6875
6913
  }
6876
6914
  coercedObj[field.name] = fieldValue;
@@ -6884,7 +6922,7 @@ function valueFromAST(valueNode, type, variables) {
6884
6922
  } catch (_error) {
6885
6923
  return;
6886
6924
  }
6887
- if (result === void 0) {
6925
+ if (result === undefined) {
6888
6926
  return;
6889
6927
  }
6890
6928
  return result;
@@ -6892,13 +6930,13 @@ function valueFromAST(valueNode, type, variables) {
6892
6930
  process.env.NODE_ENV !== "production" ? invariant(false, "Unexpected input type: " + inspect(type)) : invariant(false) ;
6893
6931
  }
6894
6932
  function isMissingVariable(valueNode, variables) {
6895
- return valueNode.kind === exports.Kind.VARIABLE && (variables == null || variables[valueNode.name.value] === void 0);
6933
+ return valueNode.kind === exports.Kind.VARIABLE && (variables == null || variables[valueNode.name.value] === undefined);
6896
6934
  }
6897
6935
 
6898
6936
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/execution/values.mjs
6899
6937
  function getVariableValues(schema, varDefNodes, inputs, options) {
6900
6938
  const errors = [];
6901
- const maxErrors = options === null || options === void 0 ? void 0 : options.maxErrors;
6939
+ const maxErrors = options === null || options === undefined ? undefined : options.maxErrors;
6902
6940
  try {
6903
6941
  const coerced = coerceVariableValues(schema, varDefNodes, inputs, (error) => {
6904
6942
  if (maxErrors != null && errors.length >= maxErrors) {
@@ -6965,14 +7003,14 @@ function coerceVariableValues(schema, varDefNodes, inputs, onError) {
6965
7003
  function getArgumentValues(def, node, variableValues) {
6966
7004
  var _node$arguments;
6967
7005
  const coercedValues = {};
6968
- const argumentNodes = (_node$arguments = node.arguments) !== null && _node$arguments !== void 0 ? _node$arguments : [];
7006
+ const argumentNodes = (_node$arguments = node.arguments) !== null && _node$arguments !== undefined ? _node$arguments : [];
6969
7007
  const argNodeMap = keyMap(argumentNodes, (arg) => arg.name.value);
6970
7008
  for (const argDef of def.args) {
6971
7009
  const name = argDef.name;
6972
7010
  const argType = argDef.type;
6973
7011
  const argumentNode = argNodeMap[name];
6974
7012
  if (!argumentNode) {
6975
- if (argDef.defaultValue !== void 0) {
7013
+ if (argDef.defaultValue !== undefined) {
6976
7014
  coercedValues[name] = argDef.defaultValue;
6977
7015
  } else if (isNonNullType(argType)) {
6978
7016
  throw new GraphQLError(`Argument "${name}" of required type "${inspect(argType)}" was not provided.`, {
@@ -6986,7 +7024,7 @@ function getArgumentValues(def, node, variableValues) {
6986
7024
  if (valueNode.kind === exports.Kind.VARIABLE) {
6987
7025
  const variableName = valueNode.name.value;
6988
7026
  if (variableValues == null || !hasOwnProperty(variableValues, variableName)) {
6989
- if (argDef.defaultValue !== void 0) {
7027
+ if (argDef.defaultValue !== undefined) {
6990
7028
  coercedValues[name] = argDef.defaultValue;
6991
7029
  } else if (isNonNullType(argType)) {
6992
7030
  throw new GraphQLError(`Argument "${name}" of required type "${inspect(argType)}" was provided the variable "$${variableName}" which was not provided a runtime value.`, {
@@ -7003,7 +7041,7 @@ function getArgumentValues(def, node, variableValues) {
7003
7041
  });
7004
7042
  }
7005
7043
  const coercedValue = valueFromAST(valueNode, argType, variableValues);
7006
- if (coercedValue === void 0) {
7044
+ if (coercedValue === undefined) {
7007
7045
  throw new GraphQLError(`Argument "${name}" has invalid value ${print(valueNode)}.`, {
7008
7046
  nodes: valueNode
7009
7047
  });
@@ -7014,7 +7052,7 @@ function getArgumentValues(def, node, variableValues) {
7014
7052
  }
7015
7053
  function getDirectiveValues(directiveDef, node, variableValues) {
7016
7054
  var _node$directives;
7017
- const directiveNode = (_node$directives = node.directives) === null || _node$directives === void 0 ? void 0 : _node$directives.find((directive) => directive.name.value === directiveDef.name);
7055
+ const directiveNode = (_node$directives = node.directives) === null || _node$directives === undefined ? undefined : _node$directives.find((directive) => directive.name.value === directiveDef.name);
7018
7056
  if (directiveNode) {
7019
7057
  return getArgumentValues(directiveDef, directiveNode, variableValues);
7020
7058
  }
@@ -7048,7 +7086,7 @@ function collectFieldsImpl(schema, fragments, variableValues, runtimeType, selec
7048
7086
  }
7049
7087
  const name = getFieldEntryKey(selection);
7050
7088
  const fieldList = fields.get(name);
7051
- if (fieldList !== void 0) {
7089
+ if (fieldList !== undefined) {
7052
7090
  fieldList.push(selection);
7053
7091
  } else {
7054
7092
  fields.set(name, [selection]);
@@ -7080,11 +7118,11 @@ function collectFieldsImpl(schema, fragments, variableValues, runtimeType, selec
7080
7118
  }
7081
7119
  function shouldIncludeNode(variableValues, node) {
7082
7120
  const skip = getDirectiveValues(GraphQLSkipDirective, node, variableValues);
7083
- if ((skip === null || skip === void 0 ? void 0 : skip.if) === true) {
7121
+ if ((skip === null || skip === undefined ? undefined : skip.if) === true) {
7084
7122
  return false;
7085
7123
  }
7086
7124
  const include = getDirectiveValues(GraphQLIncludeDirective, node, variableValues);
7087
- if ((include === null || include === void 0 ? void 0 : include.if) === false) {
7125
+ if ((include === null || include === undefined ? undefined : include.if) === false) {
7088
7126
  return false;
7089
7127
  }
7090
7128
  return true;
@@ -7154,7 +7192,7 @@ function groupBy(list, keyFn) {
7154
7192
  for (const item of list) {
7155
7193
  const key = keyFn(item);
7156
7194
  const group = result.get(key);
7157
- if (group === void 0) {
7195
+ if (group === undefined) {
7158
7196
  result.set(key, [item]);
7159
7197
  } else {
7160
7198
  group.push(item);
@@ -7168,7 +7206,7 @@ function UniqueArgumentDefinitionNamesRule(context) {
7168
7206
  return {
7169
7207
  DirectiveDefinition(directiveNode) {
7170
7208
  var _directiveNode$argume;
7171
- const argumentNodes = (_directiveNode$argume = directiveNode.arguments) !== null && _directiveNode$argume !== void 0 ? _directiveNode$argume : [];
7209
+ const argumentNodes = (_directiveNode$argume = directiveNode.arguments) !== null && _directiveNode$argume !== undefined ? _directiveNode$argume : [];
7172
7210
  return checkArgUniqueness(`@${directiveNode.name.value}`, argumentNodes);
7173
7211
  },
7174
7212
  InterfaceTypeDefinition: checkArgUniquenessPerField,
@@ -7179,11 +7217,11 @@ function UniqueArgumentDefinitionNamesRule(context) {
7179
7217
  function checkArgUniquenessPerField(typeNode) {
7180
7218
  var _typeNode$fields;
7181
7219
  const typeName = typeNode.name.value;
7182
- const fieldNodes = (_typeNode$fields = typeNode.fields) !== null && _typeNode$fields !== void 0 ? _typeNode$fields : [];
7220
+ const fieldNodes = (_typeNode$fields = typeNode.fields) !== null && _typeNode$fields !== undefined ? _typeNode$fields : [];
7183
7221
  for (const fieldDef of fieldNodes) {
7184
7222
  var _fieldDef$arguments;
7185
7223
  const fieldName = fieldDef.name.value;
7186
- const argumentNodes = (_fieldDef$arguments = fieldDef.arguments) !== null && _fieldDef$arguments !== void 0 ? _fieldDef$arguments : [];
7224
+ const argumentNodes = (_fieldDef$arguments = fieldDef.arguments) !== null && _fieldDef$arguments !== undefined ? _fieldDef$arguments : [];
7187
7225
  checkArgUniqueness(`${typeName}.${fieldName}`, argumentNodes);
7188
7226
  }
7189
7227
  return false;
@@ -7209,7 +7247,7 @@ function UniqueArgumentNamesRule(context) {
7209
7247
  };
7210
7248
  function checkArgUniqueness(parentNode) {
7211
7249
  var _parentNode$arguments;
7212
- const argumentNodes = (_parentNode$arguments = parentNode.arguments) !== null && _parentNode$arguments !== void 0 ? _parentNode$arguments : [];
7250
+ const argumentNodes = (_parentNode$arguments = parentNode.arguments) !== null && _parentNode$arguments !== undefined ? _parentNode$arguments : [];
7213
7251
  const seenArgs = groupBy(argumentNodes, (arg) => arg.name.value);
7214
7252
  for (const [argName, argNodes] of seenArgs) {
7215
7253
  if (argNodes.length > 1) {
@@ -7228,7 +7266,7 @@ function UniqueDirectiveNamesRule(context) {
7228
7266
  return {
7229
7267
  DirectiveDefinition(node) {
7230
7268
  const directiveName = node.name.value;
7231
- if (schema !== null && schema !== void 0 && schema.getDirective(directiveName)) {
7269
+ if (schema !== null && schema !== undefined && schema.getDirective(directiveName)) {
7232
7270
  context.reportError(new GraphQLError(`Directive "@${directiveName}" already exists in the schema. It cannot be redefined.`, {
7233
7271
  nodes: node.name
7234
7272
  }));
@@ -7276,7 +7314,7 @@ function UniqueDirectivesPerLocationRule(context) {
7276
7314
  } else if (isTypeDefinitionNode(node) || isTypeExtensionNode(node)) {
7277
7315
  const typeName = node.name.value;
7278
7316
  seenDirectives = typeDirectivesMap[typeName];
7279
- if (seenDirectives === void 0) {
7317
+ if (seenDirectives === undefined) {
7280
7318
  typeDirectivesMap[typeName] = seenDirectives = /* @__PURE__ */ Object.create(null);
7281
7319
  }
7282
7320
  } else {
@@ -7313,7 +7351,7 @@ function UniqueEnumValueNamesRule(context) {
7313
7351
  if (!knownValueNames[typeName]) {
7314
7352
  knownValueNames[typeName] = /* @__PURE__ */ Object.create(null);
7315
7353
  }
7316
- const valueNodes = (_node$values = node.values) !== null && _node$values !== void 0 ? _node$values : [];
7354
+ const valueNodes = (_node$values = node.values) !== null && _node$values !== undefined ? _node$values : [];
7317
7355
  const valueNames = knownValueNames[typeName];
7318
7356
  for (const valueDef of valueNodes) {
7319
7357
  const valueName = valueDef.name.value;
@@ -7353,7 +7391,7 @@ function UniqueFieldDefinitionNamesRule(context) {
7353
7391
  if (!knownFieldNames[typeName]) {
7354
7392
  knownFieldNames[typeName] = /* @__PURE__ */ Object.create(null);
7355
7393
  }
7356
- const fieldNodes = (_node$fields = node.fields) !== null && _node$fields !== void 0 ? _node$fields : [];
7394
+ const fieldNodes = (_node$fields = node.fields) !== null && _node$fields !== undefined ? _node$fields : [];
7357
7395
  const fieldNames = knownFieldNames[typeName];
7358
7396
  for (const fieldDef of fieldNodes) {
7359
7397
  const fieldName = fieldDef.name.value;
@@ -7463,7 +7501,7 @@ function UniqueOperationTypesRule(context) {
7463
7501
  };
7464
7502
  function checkOperationTypes(node) {
7465
7503
  var _node$operationTypes;
7466
- const operationTypesNodes = (_node$operationTypes = node.operationTypes) !== null && _node$operationTypes !== void 0 ? _node$operationTypes : [];
7504
+ const operationTypesNodes = (_node$operationTypes = node.operationTypes) !== null && _node$operationTypes !== undefined ? _node$operationTypes : [];
7467
7505
  for (const operationType of operationTypesNodes) {
7468
7506
  const operation = operationType.operation;
7469
7507
  const alreadyDefinedOperationType = definedOperationTypes[operation];
@@ -7497,7 +7535,7 @@ function UniqueTypeNamesRule(context) {
7497
7535
  };
7498
7536
  function checkTypeName(node) {
7499
7537
  const typeName = node.name.value;
7500
- if (schema !== null && schema !== void 0 && schema.getType(typeName)) {
7538
+ if (schema !== null && schema !== undefined && schema.getType(typeName)) {
7501
7539
  context.reportError(new GraphQLError(`Type "${typeName}" already exists in the schema. It cannot also be defined in this type definition.`, {
7502
7540
  nodes: node.name
7503
7541
  }));
@@ -7519,7 +7557,7 @@ function UniqueVariableNamesRule(context) {
7519
7557
  return {
7520
7558
  OperationDefinition(operationNode) {
7521
7559
  var _operationNode$variab;
7522
- const variableDefinitions = (_operationNode$variab = operationNode.variableDefinitions) !== null && _operationNode$variab !== void 0 ? _operationNode$variab : [];
7560
+ const variableDefinitions = (_operationNode$variab = operationNode.variableDefinitions) !== null && _operationNode$variab !== undefined ? _operationNode$variab : [];
7523
7561
  const seenVariableDefinitions = groupBy(variableDefinitions, (node) => node.variable.name.value);
7524
7562
  for (const [variableName, variableNodes] of seenVariableDefinitions) {
7525
7563
  if (variableNodes.length > 1) {
@@ -7627,7 +7665,7 @@ function VariablesAreInputTypesRule(context) {
7627
7665
  return {
7628
7666
  VariableDefinition(node) {
7629
7667
  const type = typeFromAST(context.getSchema(), node.type);
7630
- if (type !== void 0 && !isInputType(type)) {
7668
+ if (type !== undefined && !isInputType(type)) {
7631
7669
  const variableName = node.variable.name.value;
7632
7670
  const typeName = print(node.type);
7633
7671
  context.reportError(new GraphQLError(`Variable "$${variableName}" cannot be non-input type "${typeName}".`, {
@@ -7677,7 +7715,7 @@ function VariablesInAllowedPositionRule(context) {
7677
7715
  function allowedVariableUsage(schema, varType, varDefaultValue, locationType, locationDefaultValue) {
7678
7716
  if (isNonNullType(locationType) && !isNonNullType(varType)) {
7679
7717
  const hasNonNullVariableDefaultValue = varDefaultValue != null && varDefaultValue.kind !== exports.Kind.NULL;
7680
- const hasLocationDefaultValue = locationDefaultValue !== void 0;
7718
+ const hasLocationDefaultValue = locationDefaultValue !== undefined;
7681
7719
  if (!hasNonNullVariableDefaultValue && !hasLocationDefaultValue) {
7682
7720
  return false;
7683
7721
  }
@@ -7695,7 +7733,7 @@ var specifiedSDLRules = Object.freeze([LoneSchemaDefinitionRule, UniqueOperation
7695
7733
  var ASTValidationContext = class {
7696
7734
  constructor(ast, onError) {
7697
7735
  this._ast = ast;
7698
- this._fragments = void 0;
7736
+ this._fragments = undefined;
7699
7737
  this._fragmentSpreads = /* @__PURE__ */ new Map();
7700
7738
  this._recursivelyReferencedFragments = /* @__PURE__ */ new Map();
7701
7739
  this._onError = onError;
@@ -7854,7 +7892,7 @@ var ValidationContext = class extends ASTValidationContext {
7854
7892
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/validation/validate.mjs
7855
7893
  function validate(schema, documentAST, rules = specifiedRules, options, typeInfo = new TypeInfo(schema)) {
7856
7894
  var _options$maxErrors;
7857
- const maxErrors = (_options$maxErrors = options === null || options === void 0 ? void 0 : options.maxErrors) !== null && _options$maxErrors !== void 0 ? _options$maxErrors : 100;
7895
+ const maxErrors = (_options$maxErrors = options === null || options === undefined ? undefined : options.maxErrors) !== null && _options$maxErrors !== undefined ? _options$maxErrors : 100;
7858
7896
  documentAST || devAssert(false, "Must provide document.");
7859
7897
  assertValidSchema(schema);
7860
7898
  const abortObj = Object.freeze({});
@@ -7902,21 +7940,21 @@ function assertValidSDLExtension(documentAST, schema) {
7902
7940
  function memoize3(fn) {
7903
7941
  let cache0;
7904
7942
  return function memoized(a1, a2, a3) {
7905
- if (cache0 === void 0) {
7943
+ if (cache0 === undefined) {
7906
7944
  cache0 = /* @__PURE__ */ new WeakMap();
7907
7945
  }
7908
7946
  let cache1 = cache0.get(a1);
7909
- if (cache1 === void 0) {
7947
+ if (cache1 === undefined) {
7910
7948
  cache1 = /* @__PURE__ */ new WeakMap();
7911
7949
  cache0.set(a1, cache1);
7912
7950
  }
7913
7951
  let cache2 = cache1.get(a2);
7914
- if (cache2 === void 0) {
7952
+ if (cache2 === undefined) {
7915
7953
  cache2 = /* @__PURE__ */ new WeakMap();
7916
7954
  cache1.set(a2, cache2);
7917
7955
  }
7918
7956
  let fnResult = cache2.get(a3);
7919
- if (fnResult === void 0) {
7957
+ if (fnResult === undefined) {
7920
7958
  fnResult = fn(a1, a2, a3);
7921
7959
  cache2.set(a3, fnResult);
7922
7960
  }
@@ -7964,7 +8002,7 @@ function locatedError(rawOriginalError, nodes, path) {
7964
8002
  return originalError;
7965
8003
  }
7966
8004
  return new GraphQLError(originalError.message, {
7967
- nodes: (_nodes = originalError.nodes) !== null && _nodes !== void 0 ? _nodes : nodes,
8005
+ nodes: (_nodes = originalError.nodes) !== null && _nodes !== undefined ? _nodes : nodes,
7968
8006
  source: originalError.source,
7969
8007
  positions: originalError.positions,
7970
8008
  path,
@@ -8048,11 +8086,11 @@ function buildExecutionContext(args) {
8048
8086
  switch (definition.kind) {
8049
8087
  case exports.Kind.OPERATION_DEFINITION:
8050
8088
  if (operationName == null) {
8051
- if (operation !== void 0) {
8089
+ if (operation !== undefined) {
8052
8090
  return [new GraphQLError("Must provide operation name if query contains multiple operations.")];
8053
8091
  }
8054
8092
  operation = definition;
8055
- } else if (((_definition$name = definition.name) === null || _definition$name === void 0 ? void 0 : _definition$name.value) === operationName) {
8093
+ } else if (((_definition$name = definition.name) === null || _definition$name === undefined ? undefined : _definition$name.value) === operationName) {
8056
8094
  operation = definition;
8057
8095
  }
8058
8096
  break;
@@ -8067,8 +8105,8 @@ function buildExecutionContext(args) {
8067
8105
  }
8068
8106
  return [new GraphQLError("Must provide an operation.")];
8069
8107
  }
8070
- const variableDefinitions = (_operation$variableDe = operation.variableDefinitions) !== null && _operation$variableDe !== void 0 ? _operation$variableDe : [];
8071
- const coercedVariableValues = getVariableValues(schema, variableDefinitions, rawVariableValues !== null && rawVariableValues !== void 0 ? rawVariableValues : {}, {
8108
+ const variableDefinitions = (_operation$variableDe = operation.variableDefinitions) !== null && _operation$variableDe !== undefined ? _operation$variableDe : [];
8109
+ const coercedVariableValues = getVariableValues(schema, variableDefinitions, rawVariableValues !== null && rawVariableValues !== undefined ? rawVariableValues : {}, {
8072
8110
  maxErrors: 50
8073
8111
  });
8074
8112
  if (coercedVariableValues.errors) {
@@ -8081,9 +8119,9 @@ function buildExecutionContext(args) {
8081
8119
  contextValue,
8082
8120
  operation,
8083
8121
  variableValues: coercedVariableValues.coerced,
8084
- fieldResolver: fieldResolver !== null && fieldResolver !== void 0 ? fieldResolver : defaultFieldResolver,
8085
- typeResolver: typeResolver !== null && typeResolver !== void 0 ? typeResolver : defaultTypeResolver,
8086
- subscribeFieldResolver: subscribeFieldResolver !== null && subscribeFieldResolver !== void 0 ? subscribeFieldResolver : defaultFieldResolver,
8122
+ fieldResolver: fieldResolver !== null && fieldResolver !== undefined ? fieldResolver : defaultFieldResolver,
8123
+ typeResolver: typeResolver !== null && typeResolver !== undefined ? typeResolver : defaultTypeResolver,
8124
+ subscribeFieldResolver: subscribeFieldResolver !== null && subscribeFieldResolver !== undefined ? subscribeFieldResolver : defaultFieldResolver,
8087
8125
  errors: []
8088
8126
  };
8089
8127
  }
@@ -8095,7 +8133,7 @@ function executeOperation(exeContext, operation, rootValue) {
8095
8133
  });
8096
8134
  }
8097
8135
  const rootFields = collectFields(exeContext.schema, exeContext.fragments, exeContext.variableValues, rootType, operation.selectionSet);
8098
- const path = void 0;
8136
+ const path = undefined;
8099
8137
  switch (operation.operation) {
8100
8138
  case exports.OperationTypeNode.QUERY:
8101
8139
  return executeFields(exeContext, rootType, rootValue, path, rootFields);
@@ -8109,7 +8147,7 @@ function executeFieldsSerially(exeContext, parentType, sourceValue, path, fields
8109
8147
  return promiseReduce(fields.entries(), (results, [responseName, fieldNodes]) => {
8110
8148
  const fieldPath = addPath(path, responseName, parentType.name);
8111
8149
  const result = executeField(exeContext, parentType, sourceValue, fieldNodes, fieldPath);
8112
- if (result === void 0) {
8150
+ if (result === undefined) {
8113
8151
  return results;
8114
8152
  }
8115
8153
  if (isPromise(result)) {
@@ -8156,7 +8194,7 @@ function executeField(exeContext, parentType, source, fieldNodes, path) {
8156
8194
  return;
8157
8195
  }
8158
8196
  const returnType = fieldDef.type;
8159
- const resolveFn = (_fieldDef$resolve = fieldDef.resolve) !== null && _fieldDef$resolve !== void 0 ? _fieldDef$resolve : exeContext.fieldResolver;
8197
+ const resolveFn = (_fieldDef$resolve = fieldDef.resolve) !== null && _fieldDef$resolve !== undefined ? _fieldDef$resolve : exeContext.fieldResolver;
8160
8198
  const info = buildResolveInfo(exeContext, fieldDef, fieldNodes, parentType, path);
8161
8199
  try {
8162
8200
  const args = getArgumentValues(fieldDef, fieldNodes[0], exeContext.variableValues);
@@ -8236,7 +8274,7 @@ function completeListValue(exeContext, returnType, fieldNodes, info, path, resul
8236
8274
  const itemType = returnType.ofType;
8237
8275
  let containsPromise = false;
8238
8276
  const completedResults = Array.from(result, (item, index) => {
8239
- const itemPath = addPath(path, index, void 0);
8277
+ const itemPath = addPath(path, index, undefined);
8240
8278
  try {
8241
8279
  let completedItem;
8242
8280
  if (isPromise(item)) {
@@ -8268,7 +8306,7 @@ function completeLeafValue(returnType, result) {
8268
8306
  }
8269
8307
  function completeAbstractValue(exeContext, returnType, fieldNodes, info, path, result) {
8270
8308
  var _returnType$resolveTy;
8271
- const resolveTypeFn = (_returnType$resolveTy = returnType.resolveType) !== null && _returnType$resolveTy !== void 0 ? _returnType$resolveTy : exeContext.typeResolver;
8309
+ const resolveTypeFn = (_returnType$resolveTy = returnType.resolveType) !== null && _returnType$resolveTy !== undefined ? _returnType$resolveTy : exeContext.typeResolver;
8272
8310
  const contextValue = exeContext.contextValue;
8273
8311
  const runtimeType = resolveTypeFn(result, contextValue, info, returnType);
8274
8312
  if (isPromise(runtimeType)) {
@@ -8432,7 +8470,7 @@ function graphqlImpl(args) {
8432
8470
 
8433
8471
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/isAsyncIterable.mjs
8434
8472
  function isAsyncIterable(maybeAsyncIterable) {
8435
- return typeof (maybeAsyncIterable === null || maybeAsyncIterable === void 0 ? void 0 : maybeAsyncIterable[Symbol.asyncIterator]) === "function";
8473
+ return typeof (maybeAsyncIterable === null || maybeAsyncIterable === undefined ? undefined : maybeAsyncIterable[Symbol.asyncIterator]) === "function";
8436
8474
  }
8437
8475
 
8438
8476
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/execution/mapAsyncIterator.mjs
@@ -8463,7 +8501,7 @@ function mapAsyncIterator(iterable, callback) {
8463
8501
  },
8464
8502
  async return() {
8465
8503
  return typeof iterator.return === "function" ? mapResult(await iterator.return()) : {
8466
- value: void 0,
8504
+ value: undefined,
8467
8505
  done: true
8468
8506
  };
8469
8507
  },
@@ -8560,7 +8598,7 @@ async function executeSubscription(exeContext) {
8560
8598
  nodes: fieldNodes
8561
8599
  });
8562
8600
  }
8563
- const path = addPath(void 0, responseName, rootType.name);
8601
+ const path = addPath(undefined, responseName, rootType.name);
8564
8602
  const info = buildResolveInfo(exeContext, fieldDef, fieldNodes, rootType, path);
8565
8603
  try {
8566
8604
  var _fieldDef$subscribe;
@@ -8582,7 +8620,7 @@ function NoDeprecatedCustomRule(context) {
8582
8620
  return {
8583
8621
  Field(node) {
8584
8622
  const fieldDef = context.getFieldDef();
8585
- const deprecationReason = fieldDef === null || fieldDef === void 0 ? void 0 : fieldDef.deprecationReason;
8623
+ const deprecationReason = fieldDef === null || fieldDef === undefined ? undefined : fieldDef.deprecationReason;
8586
8624
  if (fieldDef && deprecationReason != null) {
8587
8625
  const parentType = context.getParentType();
8588
8626
  parentType != null || (process.env.NODE_ENV !== "production" ? invariant(false) : invariant(false) );
@@ -8593,7 +8631,7 @@ function NoDeprecatedCustomRule(context) {
8593
8631
  },
8594
8632
  Argument(node) {
8595
8633
  const argDef = context.getArgument();
8596
- const deprecationReason = argDef === null || argDef === void 0 ? void 0 : argDef.deprecationReason;
8634
+ const deprecationReason = argDef === null || argDef === undefined ? undefined : argDef.deprecationReason;
8597
8635
  if (argDef && deprecationReason != null) {
8598
8636
  const directiveDef = context.getDirective();
8599
8637
  if (directiveDef != null) {
@@ -8614,7 +8652,7 @@ function NoDeprecatedCustomRule(context) {
8614
8652
  const inputObjectDef = getNamedType(context.getParentInputType());
8615
8653
  if (isInputObjectType(inputObjectDef)) {
8616
8654
  const inputFieldDef = inputObjectDef.getFields()[node.name.value];
8617
- const deprecationReason = inputFieldDef === null || inputFieldDef === void 0 ? void 0 : inputFieldDef.deprecationReason;
8655
+ const deprecationReason = inputFieldDef === null || inputFieldDef === undefined ? undefined : inputFieldDef.deprecationReason;
8618
8656
  if (deprecationReason != null) {
8619
8657
  context.reportError(new GraphQLError(`The input field ${inputObjectDef.name}.${inputFieldDef.name} is deprecated. ${deprecationReason}`, {
8620
8658
  nodes: node
@@ -8624,7 +8662,7 @@ function NoDeprecatedCustomRule(context) {
8624
8662
  },
8625
8663
  EnumValue(node) {
8626
8664
  const enumValueDef = context.getEnumValue();
8627
- const deprecationReason = enumValueDef === null || enumValueDef === void 0 ? void 0 : enumValueDef.deprecationReason;
8665
+ const deprecationReason = enumValueDef === null || enumValueDef === undefined ? undefined : enumValueDef.deprecationReason;
8628
8666
  if (enumValueDef && deprecationReason != null) {
8629
8667
  const enumTypeDef = getNamedType(context.getInputType());
8630
8668
  enumTypeDef != null || (process.env.NODE_ENV !== "production" ? invariant(false) : invariant(false) );
@@ -8786,7 +8824,7 @@ function getOperationAST(documentAST, operationName) {
8786
8824
  return null;
8787
8825
  }
8788
8826
  operation = definition;
8789
- } else if (((_definition$name = definition.name) === null || _definition$name === void 0 ? void 0 : _definition$name.value) === operationName) {
8827
+ } else if (((_definition$name = definition.name) === null || _definition$name === undefined ? undefined : _definition$name.value) === operationName) {
8790
8828
  return definition;
8791
8829
  }
8792
8830
  }
@@ -8867,7 +8905,7 @@ function buildClientSchema(introspection, options) {
8867
8905
  subscription: subscriptionType,
8868
8906
  types: Object.values(typeMap),
8869
8907
  directives,
8870
- assumeValid: options === null || options === void 0 ? void 0 : options.assumeValid
8908
+ assumeValid: options === null || options === undefined ? undefined : options.assumeValid
8871
8909
  });
8872
8910
  function getType(typeRef) {
8873
8911
  if (typeRef.kind === exports.TypeKind.LIST) {
@@ -9025,7 +9063,7 @@ function buildClientSchema(introspection, options) {
9025
9063
  const typeStr = inspect(type);
9026
9064
  throw new Error(`Introspection must provide input type for arguments, but received: ${typeStr}.`);
9027
9065
  }
9028
- const defaultValue = inputValueIntrospection.defaultValue != null ? valueFromAST(parseValue(inputValueIntrospection.defaultValue), type) : void 0;
9066
+ const defaultValue = inputValueIntrospection.defaultValue != null ? valueFromAST(parseValue(inputValueIntrospection.defaultValue), type) : undefined;
9029
9067
  return {
9030
9068
  description: inputValueIntrospection.description,
9031
9069
  type,
@@ -9056,7 +9094,7 @@ function buildClientSchema(introspection, options) {
9056
9094
  function extendSchema(schema, documentAST, options) {
9057
9095
  assertSchema(schema);
9058
9096
  documentAST != null && documentAST.kind === exports.Kind.DOCUMENT || devAssert(false, "Must provide valid Document AST.");
9059
- if ((options === null || options === void 0 ? void 0 : options.assumeValid) !== true && (options === null || options === void 0 ? void 0 : options.assumeValidSDL) !== true) {
9097
+ if ((options === null || options === undefined ? undefined : options.assumeValid) !== true && (options === null || options === undefined ? undefined : options.assumeValidSDL) !== true) {
9060
9098
  assertValidSDLExtension(documentAST, schema);
9061
9099
  }
9062
9100
  const schemaConfig = schema.toConfig();
@@ -9095,7 +9133,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9095
9133
  for (const typeNode of typeDefs) {
9096
9134
  var _stdTypeMap$name;
9097
9135
  const name = typeNode.name.value;
9098
- typeMap[name] = (_stdTypeMap$name = stdTypeMap[name]) !== null && _stdTypeMap$name !== void 0 ? _stdTypeMap$name : buildType(typeNode);
9136
+ typeMap[name] = (_stdTypeMap$name = stdTypeMap[name]) !== null && _stdTypeMap$name !== undefined ? _stdTypeMap$name : buildType(typeNode);
9099
9137
  }
9100
9138
  const operationTypes = {
9101
9139
  // Get the extended root operation types.
@@ -9107,14 +9145,14 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9107
9145
  ...getOperationTypes(schemaExtensions)
9108
9146
  };
9109
9147
  return {
9110
- description: (_schemaDef = schemaDef) === null || _schemaDef === void 0 ? void 0 : (_schemaDef$descriptio = _schemaDef.description) === null || _schemaDef$descriptio === void 0 ? void 0 : _schemaDef$descriptio.value,
9148
+ description: (_schemaDef = schemaDef) === null || _schemaDef === undefined ? undefined : (_schemaDef$descriptio = _schemaDef.description) === null || _schemaDef$descriptio === undefined ? undefined : _schemaDef$descriptio.value,
9111
9149
  ...operationTypes,
9112
9150
  types: Object.values(typeMap),
9113
9151
  directives: [...schemaConfig.directives.map(replaceDirective), ...directiveDefs.map(buildDirective)],
9114
9152
  extensions: /* @__PURE__ */ Object.create(null),
9115
- astNode: (_schemaDef2 = schemaDef) !== null && _schemaDef2 !== void 0 ? _schemaDef2 : schemaConfig.astNode,
9153
+ astNode: (_schemaDef2 = schemaDef) !== null && _schemaDef2 !== undefined ? _schemaDef2 : schemaConfig.astNode,
9116
9154
  extensionASTNodes: schemaConfig.extensionASTNodes.concat(schemaExtensions),
9117
- assumeValid: (_options$assumeValid = options === null || options === void 0 ? void 0 : options.assumeValid) !== null && _options$assumeValid !== void 0 ? _options$assumeValid : false
9155
+ assumeValid: (_options$assumeValid = options === null || options === undefined ? undefined : options.assumeValid) !== null && _options$assumeValid !== undefined ? _options$assumeValid : false
9118
9156
  };
9119
9157
  function replaceType(type) {
9120
9158
  if (isListType(type)) {
@@ -9162,7 +9200,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9162
9200
  function extendInputObjectType(type) {
9163
9201
  var _typeExtensionsMap$co;
9164
9202
  const config = type.toConfig();
9165
- const extensions = (_typeExtensionsMap$co = typeExtensionsMap[config.name]) !== null && _typeExtensionsMap$co !== void 0 ? _typeExtensionsMap$co : [];
9203
+ const extensions = (_typeExtensionsMap$co = typeExtensionsMap[config.name]) !== null && _typeExtensionsMap$co !== undefined ? _typeExtensionsMap$co : [];
9166
9204
  return new GraphQLInputObjectType({
9167
9205
  ...config,
9168
9206
  fields: () => ({
@@ -9178,7 +9216,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9178
9216
  function extendEnumType(type) {
9179
9217
  var _typeExtensionsMap$ty;
9180
9218
  const config = type.toConfig();
9181
- const extensions = (_typeExtensionsMap$ty = typeExtensionsMap[type.name]) !== null && _typeExtensionsMap$ty !== void 0 ? _typeExtensionsMap$ty : [];
9219
+ const extensions = (_typeExtensionsMap$ty = typeExtensionsMap[type.name]) !== null && _typeExtensionsMap$ty !== undefined ? _typeExtensionsMap$ty : [];
9182
9220
  return new GraphQLEnumType({
9183
9221
  ...config,
9184
9222
  values: {
@@ -9191,11 +9229,11 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9191
9229
  function extendScalarType(type) {
9192
9230
  var _typeExtensionsMap$co2;
9193
9231
  const config = type.toConfig();
9194
- const extensions = (_typeExtensionsMap$co2 = typeExtensionsMap[config.name]) !== null && _typeExtensionsMap$co2 !== void 0 ? _typeExtensionsMap$co2 : [];
9232
+ const extensions = (_typeExtensionsMap$co2 = typeExtensionsMap[config.name]) !== null && _typeExtensionsMap$co2 !== undefined ? _typeExtensionsMap$co2 : [];
9195
9233
  let specifiedByURL = config.specifiedByURL;
9196
9234
  for (const extensionNode of extensions) {
9197
9235
  var _getSpecifiedByURL;
9198
- specifiedByURL = (_getSpecifiedByURL = getSpecifiedByURL(extensionNode)) !== null && _getSpecifiedByURL !== void 0 ? _getSpecifiedByURL : specifiedByURL;
9236
+ specifiedByURL = (_getSpecifiedByURL = getSpecifiedByURL(extensionNode)) !== null && _getSpecifiedByURL !== undefined ? _getSpecifiedByURL : specifiedByURL;
9199
9237
  }
9200
9238
  return new GraphQLScalarType({
9201
9239
  ...config,
@@ -9206,7 +9244,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9206
9244
  function extendObjectType(type) {
9207
9245
  var _typeExtensionsMap$co3;
9208
9246
  const config = type.toConfig();
9209
- const extensions = (_typeExtensionsMap$co3 = typeExtensionsMap[config.name]) !== null && _typeExtensionsMap$co3 !== void 0 ? _typeExtensionsMap$co3 : [];
9247
+ const extensions = (_typeExtensionsMap$co3 = typeExtensionsMap[config.name]) !== null && _typeExtensionsMap$co3 !== undefined ? _typeExtensionsMap$co3 : [];
9210
9248
  return new GraphQLObjectType({
9211
9249
  ...config,
9212
9250
  interfaces: () => [...type.getInterfaces().map(replaceNamedType), ...buildInterfaces(extensions)],
@@ -9220,7 +9258,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9220
9258
  function extendInterfaceType(type) {
9221
9259
  var _typeExtensionsMap$co4;
9222
9260
  const config = type.toConfig();
9223
- const extensions = (_typeExtensionsMap$co4 = typeExtensionsMap[config.name]) !== null && _typeExtensionsMap$co4 !== void 0 ? _typeExtensionsMap$co4 : [];
9261
+ const extensions = (_typeExtensionsMap$co4 = typeExtensionsMap[config.name]) !== null && _typeExtensionsMap$co4 !== undefined ? _typeExtensionsMap$co4 : [];
9224
9262
  return new GraphQLInterfaceType({
9225
9263
  ...config,
9226
9264
  interfaces: () => [...type.getInterfaces().map(replaceNamedType), ...buildInterfaces(extensions)],
@@ -9234,7 +9272,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9234
9272
  function extendUnionType(type) {
9235
9273
  var _typeExtensionsMap$co5;
9236
9274
  const config = type.toConfig();
9237
- const extensions = (_typeExtensionsMap$co5 = typeExtensionsMap[config.name]) !== null && _typeExtensionsMap$co5 !== void 0 ? _typeExtensionsMap$co5 : [];
9275
+ const extensions = (_typeExtensionsMap$co5 = typeExtensionsMap[config.name]) !== null && _typeExtensionsMap$co5 !== undefined ? _typeExtensionsMap$co5 : [];
9238
9276
  return new GraphQLUnionType({
9239
9277
  ...config,
9240
9278
  types: () => [...type.getTypes().map(replaceNamedType), ...buildUnionTypes(extensions)],
@@ -9260,7 +9298,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9260
9298
  var _node$operationTypes;
9261
9299
  const operationTypesNodes = (
9262
9300
  /* c8 ignore next */
9263
- (_node$operationTypes = node.operationTypes) !== null && _node$operationTypes !== void 0 ? _node$operationTypes : []
9301
+ (_node$operationTypes = node.operationTypes) !== null && _node$operationTypes !== undefined ? _node$operationTypes : []
9264
9302
  );
9265
9303
  for (const operationType of operationTypesNodes) {
9266
9304
  opTypes[operationType.operation] = getNamedType2(operationType.type);
@@ -9271,8 +9309,8 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9271
9309
  function getNamedType2(node) {
9272
9310
  var _stdTypeMap$name2;
9273
9311
  const name = node.name.value;
9274
- const type = (_stdTypeMap$name2 = stdTypeMap[name]) !== null && _stdTypeMap$name2 !== void 0 ? _stdTypeMap$name2 : typeMap[name];
9275
- if (type === void 0) {
9312
+ const type = (_stdTypeMap$name2 = stdTypeMap[name]) !== null && _stdTypeMap$name2 !== undefined ? _stdTypeMap$name2 : typeMap[name];
9313
+ if (type === undefined) {
9276
9314
  throw new Error(`Unknown type: "${name}".`);
9277
9315
  }
9278
9316
  return type;
@@ -9290,7 +9328,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9290
9328
  var _node$description;
9291
9329
  return new GraphQLDirective({
9292
9330
  name: node.name.value,
9293
- description: (_node$description = node.description) === null || _node$description === void 0 ? void 0 : _node$description.value,
9331
+ description: (_node$description = node.description) === null || _node$description === undefined ? undefined : _node$description.value,
9294
9332
  // @ts-expect-error
9295
9333
  locations: node.locations.map(({
9296
9334
  value
@@ -9306,7 +9344,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9306
9344
  var _node$fields;
9307
9345
  const nodeFields = (
9308
9346
  /* c8 ignore next */
9309
- (_node$fields = node.fields) !== null && _node$fields !== void 0 ? _node$fields : []
9347
+ (_node$fields = node.fields) !== null && _node$fields !== undefined ? _node$fields : []
9310
9348
  );
9311
9349
  for (const field of nodeFields) {
9312
9350
  var _field$description;
@@ -9315,7 +9353,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9315
9353
  // value, that would throw immediately while type system validation
9316
9354
  // with validateSchema() will produce more actionable results.
9317
9355
  type: getWrappedType(field.type),
9318
- description: (_field$description = field.description) === null || _field$description === void 0 ? void 0 : _field$description.value,
9356
+ description: (_field$description = field.description) === null || _field$description === undefined ? undefined : _field$description.value,
9319
9357
  args: buildArgumentMap(field.arguments),
9320
9358
  deprecationReason: getDeprecationReason(field),
9321
9359
  astNode: field
@@ -9327,7 +9365,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9327
9365
  function buildArgumentMap(args) {
9328
9366
  const argsNodes = (
9329
9367
  /* c8 ignore next */
9330
- args !== null && args !== void 0 ? args : []
9368
+ args !== null && args !== undefined ? args : []
9331
9369
  );
9332
9370
  const argConfigMap = /* @__PURE__ */ Object.create(null);
9333
9371
  for (const arg of argsNodes) {
@@ -9335,7 +9373,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9335
9373
  const type = getWrappedType(arg.type);
9336
9374
  argConfigMap[arg.name.value] = {
9337
9375
  type,
9338
- description: (_arg$description = arg.description) === null || _arg$description === void 0 ? void 0 : _arg$description.value,
9376
+ description: (_arg$description = arg.description) === null || _arg$description === undefined ? undefined : _arg$description.value,
9339
9377
  defaultValue: valueFromAST(arg.defaultValue, type),
9340
9378
  deprecationReason: getDeprecationReason(arg),
9341
9379
  astNode: arg
@@ -9349,14 +9387,14 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9349
9387
  var _node$fields2;
9350
9388
  const fieldsNodes = (
9351
9389
  /* c8 ignore next */
9352
- (_node$fields2 = node.fields) !== null && _node$fields2 !== void 0 ? _node$fields2 : []
9390
+ (_node$fields2 = node.fields) !== null && _node$fields2 !== undefined ? _node$fields2 : []
9353
9391
  );
9354
9392
  for (const field of fieldsNodes) {
9355
9393
  var _field$description2;
9356
9394
  const type = getWrappedType(field.type);
9357
9395
  inputFieldMap[field.name.value] = {
9358
9396
  type,
9359
- description: (_field$description2 = field.description) === null || _field$description2 === void 0 ? void 0 : _field$description2.value,
9397
+ description: (_field$description2 = field.description) === null || _field$description2 === undefined ? undefined : _field$description2.value,
9360
9398
  defaultValue: valueFromAST(field.defaultValue, type),
9361
9399
  deprecationReason: getDeprecationReason(field),
9362
9400
  astNode: field
@@ -9371,12 +9409,12 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9371
9409
  var _node$values;
9372
9410
  const valuesNodes = (
9373
9411
  /* c8 ignore next */
9374
- (_node$values = node.values) !== null && _node$values !== void 0 ? _node$values : []
9412
+ (_node$values = node.values) !== null && _node$values !== undefined ? _node$values : []
9375
9413
  );
9376
9414
  for (const value of valuesNodes) {
9377
9415
  var _value$description;
9378
9416
  enumValueMap[value.name.value] = {
9379
- description: (_value$description = value.description) === null || _value$description === void 0 ? void 0 : _value$description.value,
9417
+ description: (_value$description = value.description) === null || _value$description === undefined ? undefined : _value$description.value,
9380
9418
  deprecationReason: getDeprecationReason(value),
9381
9419
  astNode: value
9382
9420
  };
@@ -9391,7 +9429,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9391
9429
  var _node$interfaces$map, _node$interfaces;
9392
9430
  return (
9393
9431
  /* c8 ignore next */
9394
- (_node$interfaces$map = (_node$interfaces = node.interfaces) === null || _node$interfaces === void 0 ? void 0 : _node$interfaces.map(getNamedType2)) !== null && _node$interfaces$map !== void 0 ? _node$interfaces$map : []
9432
+ (_node$interfaces$map = (_node$interfaces = node.interfaces) === null || _node$interfaces === undefined ? undefined : _node$interfaces.map(getNamedType2)) !== null && _node$interfaces$map !== undefined ? _node$interfaces$map : []
9395
9433
  );
9396
9434
  }
9397
9435
  );
@@ -9403,7 +9441,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9403
9441
  var _node$types$map, _node$types;
9404
9442
  return (
9405
9443
  /* c8 ignore next */
9406
- (_node$types$map = (_node$types = node.types) === null || _node$types === void 0 ? void 0 : _node$types.map(getNamedType2)) !== null && _node$types$map !== void 0 ? _node$types$map : []
9444
+ (_node$types$map = (_node$types = node.types) === null || _node$types === undefined ? undefined : _node$types.map(getNamedType2)) !== null && _node$types$map !== undefined ? _node$types$map : []
9407
9445
  );
9408
9446
  }
9409
9447
  );
@@ -9411,14 +9449,14 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9411
9449
  function buildType(astNode) {
9412
9450
  var _typeExtensionsMap$na;
9413
9451
  const name = astNode.name.value;
9414
- const extensionASTNodes = (_typeExtensionsMap$na = typeExtensionsMap[name]) !== null && _typeExtensionsMap$na !== void 0 ? _typeExtensionsMap$na : [];
9452
+ const extensionASTNodes = (_typeExtensionsMap$na = typeExtensionsMap[name]) !== null && _typeExtensionsMap$na !== undefined ? _typeExtensionsMap$na : [];
9415
9453
  switch (astNode.kind) {
9416
9454
  case exports.Kind.OBJECT_TYPE_DEFINITION: {
9417
9455
  var _astNode$description;
9418
9456
  const allNodes = [astNode, ...extensionASTNodes];
9419
9457
  return new GraphQLObjectType({
9420
9458
  name,
9421
- description: (_astNode$description = astNode.description) === null || _astNode$description === void 0 ? void 0 : _astNode$description.value,
9459
+ description: (_astNode$description = astNode.description) === null || _astNode$description === undefined ? undefined : _astNode$description.value,
9422
9460
  interfaces: () => buildInterfaces(allNodes),
9423
9461
  fields: () => buildFieldMap(allNodes),
9424
9462
  astNode,
@@ -9430,7 +9468,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9430
9468
  const allNodes = [astNode, ...extensionASTNodes];
9431
9469
  return new GraphQLInterfaceType({
9432
9470
  name,
9433
- description: (_astNode$description2 = astNode.description) === null || _astNode$description2 === void 0 ? void 0 : _astNode$description2.value,
9471
+ description: (_astNode$description2 = astNode.description) === null || _astNode$description2 === undefined ? undefined : _astNode$description2.value,
9434
9472
  interfaces: () => buildInterfaces(allNodes),
9435
9473
  fields: () => buildFieldMap(allNodes),
9436
9474
  astNode,
@@ -9442,7 +9480,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9442
9480
  const allNodes = [astNode, ...extensionASTNodes];
9443
9481
  return new GraphQLEnumType({
9444
9482
  name,
9445
- description: (_astNode$description3 = astNode.description) === null || _astNode$description3 === void 0 ? void 0 : _astNode$description3.value,
9483
+ description: (_astNode$description3 = astNode.description) === null || _astNode$description3 === undefined ? undefined : _astNode$description3.value,
9446
9484
  values: buildEnumValueMap(allNodes),
9447
9485
  astNode,
9448
9486
  extensionASTNodes
@@ -9453,7 +9491,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9453
9491
  const allNodes = [astNode, ...extensionASTNodes];
9454
9492
  return new GraphQLUnionType({
9455
9493
  name,
9456
- description: (_astNode$description4 = astNode.description) === null || _astNode$description4 === void 0 ? void 0 : _astNode$description4.value,
9494
+ description: (_astNode$description4 = astNode.description) === null || _astNode$description4 === undefined ? undefined : _astNode$description4.value,
9457
9495
  types: () => buildUnionTypes(allNodes),
9458
9496
  astNode,
9459
9497
  extensionASTNodes
@@ -9463,7 +9501,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9463
9501
  var _astNode$description5;
9464
9502
  return new GraphQLScalarType({
9465
9503
  name,
9466
- description: (_astNode$description5 = astNode.description) === null || _astNode$description5 === void 0 ? void 0 : _astNode$description5.value,
9504
+ description: (_astNode$description5 = astNode.description) === null || _astNode$description5 === undefined ? undefined : _astNode$description5.value,
9467
9505
  specifiedByURL: getSpecifiedByURL(astNode),
9468
9506
  astNode,
9469
9507
  extensionASTNodes
@@ -9474,7 +9512,7 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9474
9512
  const allNodes = [astNode, ...extensionASTNodes];
9475
9513
  return new GraphQLInputObjectType({
9476
9514
  name,
9477
- description: (_astNode$description6 = astNode.description) === null || _astNode$description6 === void 0 ? void 0 : _astNode$description6.value,
9515
+ description: (_astNode$description6 = astNode.description) === null || _astNode$description6 === undefined ? undefined : _astNode$description6.value,
9478
9516
  fields: () => buildInputFieldMap(allNodes),
9479
9517
  astNode,
9480
9518
  extensionASTNodes
@@ -9486,21 +9524,21 @@ function extendSchemaImpl(schemaConfig, documentAST, options) {
9486
9524
  var stdTypeMap = keyMap([...specifiedScalarTypes, ...introspectionTypes], (type) => type.name);
9487
9525
  function getDeprecationReason(node) {
9488
9526
  const deprecated = getDirectiveValues(GraphQLDeprecatedDirective, node);
9489
- return deprecated === null || deprecated === void 0 ? void 0 : deprecated.reason;
9527
+ return deprecated === null || deprecated === undefined ? undefined : deprecated.reason;
9490
9528
  }
9491
9529
  function getSpecifiedByURL(node) {
9492
9530
  const specifiedBy = getDirectiveValues(GraphQLSpecifiedByDirective, node);
9493
- return specifiedBy === null || specifiedBy === void 0 ? void 0 : specifiedBy.url;
9531
+ return specifiedBy === null || specifiedBy === undefined ? undefined : specifiedBy.url;
9494
9532
  }
9495
9533
 
9496
9534
  // ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/utilities/buildASTSchema.mjs
9497
9535
  function buildASTSchema(documentAST, options) {
9498
9536
  documentAST != null && documentAST.kind === exports.Kind.DOCUMENT || devAssert(false, "Must provide valid Document AST.");
9499
- if ((options === null || options === void 0 ? void 0 : options.assumeValid) !== true && (options === null || options === void 0 ? void 0 : options.assumeValidSDL) !== true) {
9537
+ if ((options === null || options === undefined ? undefined : options.assumeValid) !== true && (options === null || options === undefined ? undefined : options.assumeValidSDL) !== true) {
9500
9538
  assertValidSDL(documentAST);
9501
9539
  }
9502
9540
  const emptySchemaConfig = {
9503
- description: void 0,
9541
+ description: undefined,
9504
9542
  types: [],
9505
9543
  directives: [],
9506
9544
  extensions: /* @__PURE__ */ Object.create(null),
@@ -9511,6 +9549,9 @@ function buildASTSchema(documentAST, options) {
9511
9549
  if (config.astNode == null) {
9512
9550
  for (const type of config.types) {
9513
9551
  switch (type.name) {
9552
+ // Note: While this could make early assertions to get the correctly
9553
+ // typed values below, that would throw immediately while type system
9554
+ // validation with validateSchema() will produce more actionable results.
9514
9555
  case "Query":
9515
9556
  config.query = type;
9516
9557
  break;
@@ -9535,12 +9576,12 @@ function buildASTSchema(documentAST, options) {
9535
9576
  }
9536
9577
  function buildSchema(source, options) {
9537
9578
  const document = parse(source, {
9538
- noLocation: options === null || options === void 0 ? void 0 : options.noLocation,
9539
- allowLegacyFragmentVariables: options === null || options === void 0 ? void 0 : options.allowLegacyFragmentVariables
9579
+ noLocation: options === null || options === undefined ? undefined : options.noLocation,
9580
+ allowLegacyFragmentVariables: options === null || options === undefined ? undefined : options.allowLegacyFragmentVariables
9540
9581
  });
9541
9582
  return buildASTSchema(document, {
9542
- assumeValidSDL: options === null || options === void 0 ? void 0 : options.assumeValidSDL,
9543
- assumeValid: options === null || options === void 0 ? void 0 : options.assumeValid
9583
+ assumeValidSDL: options === null || options === undefined ? undefined : options.assumeValidSDL,
9584
+ assumeValid: options === null || options === undefined ? undefined : options.assumeValid
9544
9585
  });
9545
9586
  }
9546
9587
 
@@ -9870,7 +9911,7 @@ function collectTransitiveDependencies(collected, depGraph, fromName) {
9870
9911
  if (!collected.has(fromName)) {
9871
9912
  collected.add(fromName);
9872
9913
  const immediateDeps = depGraph[fromName];
9873
- if (immediateDeps !== void 0) {
9914
+ if (immediateDeps !== undefined) {
9874
9915
  for (const toName of immediateDeps) {
9875
9916
  collectTransitiveDependencies(collected, depGraph, toName);
9876
9917
  }
@@ -10166,8 +10207,8 @@ function findArgChanges(oldType, oldField, newField) {
10166
10207
  type: exports.BreakingChangeType.ARG_CHANGED_KIND,
10167
10208
  description: `${oldType.name}.${oldField.name} arg ${oldArg.name} has changed type from ${String(oldArg.type)} to ${String(newArg.type)}.`
10168
10209
  });
10169
- } else if (oldArg.defaultValue !== void 0) {
10170
- if (newArg.defaultValue === void 0) {
10210
+ } else if (oldArg.defaultValue !== undefined) {
10211
+ if (newArg.defaultValue === undefined) {
10171
10212
  schemaChanges.push({
10172
10213
  type: exports.DangerousChangeType.ARG_DEFAULT_VALUE_CHANGE,
10173
10214
  description: `${oldType.name}.${oldField.name} arg ${oldArg.name} defaultValue was removed.`
@@ -10268,14 +10309,14 @@ function diff(oldArray, newArray) {
10268
10309
  }) => name);
10269
10310
  for (const oldItem of oldArray) {
10270
10311
  const newItem = newMap[oldItem.name];
10271
- if (newItem === void 0) {
10312
+ if (newItem === undefined) {
10272
10313
  removed.push(oldItem);
10273
10314
  } else {
10274
10315
  persisted.push([oldItem, newItem]);
10275
10316
  }
10276
10317
  }
10277
10318
  for (const newItem of newArray) {
10278
- if (oldMap[newItem.name] === void 0) {
10319
+ if (oldMap[newItem.name] === undefined) {
10279
10320
  added.push(newItem);
10280
10321
  }
10281
10322
  }
@@ -10487,5 +10528,5 @@ exports.versionInfo = versionInfo;
10487
10528
  exports.visit = visit;
10488
10529
  exports.visitInParallel = visitInParallel;
10489
10530
  exports.visitWithTypeInfo = visitWithTypeInfo;
10490
- //# sourceMappingURL=graphql-JJX5MZPQ.cjs.map
10491
- //# sourceMappingURL=graphql-JJX5MZPQ.cjs.map
10531
+ //# sourceMappingURL=graphql-RGM5SRWV.cjs.map
10532
+ //# sourceMappingURL=graphql-RGM5SRWV.cjs.map