@brybrophy/lindy 0.0.0-stage → 0.1.0-preview.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1493) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +86 -2
  3. package/THIRD_PARTY_NOTICES.txt +584 -0
  4. package/bin/lindy.mjs +2 -0
  5. package/distribution.json +7508 -0
  6. package/lib/lindy.mjs +34478 -0
  7. package/lib/starter/assets.json +7465 -0
  8. package/lib/starter/input/compilation.json +35 -0
  9. package/lib/starter/input/lindy.graph.json +636 -0
  10. package/lib/starter/input/seed.json +17 -0
  11. package/lib/starter/vendor/graphql/LICENSE +21 -0
  12. package/lib/starter/vendor/graphql/NotSupportedTSVersion.d.ts +1 -0
  13. package/lib/starter/vendor/graphql/README.md +197 -0
  14. package/lib/starter/vendor/graphql/__dev__/devMode.d.mts +1 -0
  15. package/lib/starter/vendor/graphql/__dev__/devMode.d.ts +1 -0
  16. package/lib/starter/vendor/graphql/__dev__/devMode.js +3 -0
  17. package/lib/starter/vendor/graphql/__dev__/devMode.mjs +3 -0
  18. package/lib/starter/vendor/graphql/__dev__/diagnostics.d.mts +1 -0
  19. package/lib/starter/vendor/graphql/__dev__/diagnostics.d.ts +1 -0
  20. package/lib/starter/vendor/graphql/__dev__/diagnostics.js +3 -0
  21. package/lib/starter/vendor/graphql/__dev__/diagnostics.mjs +3 -0
  22. package/lib/starter/vendor/graphql/__dev__/error/GraphQLError.d.mts +1 -0
  23. package/lib/starter/vendor/graphql/__dev__/error/GraphQLError.d.ts +1 -0
  24. package/lib/starter/vendor/graphql/__dev__/error/GraphQLError.js +3 -0
  25. package/lib/starter/vendor/graphql/__dev__/error/GraphQLError.mjs +3 -0
  26. package/lib/starter/vendor/graphql/__dev__/error/ensureGraphQLError.d.mts +1 -0
  27. package/lib/starter/vendor/graphql/__dev__/error/ensureGraphQLError.d.ts +1 -0
  28. package/lib/starter/vendor/graphql/__dev__/error/ensureGraphQLError.js +3 -0
  29. package/lib/starter/vendor/graphql/__dev__/error/ensureGraphQLError.mjs +3 -0
  30. package/lib/starter/vendor/graphql/__dev__/error/index.d.mts +1 -0
  31. package/lib/starter/vendor/graphql/__dev__/error/index.d.ts +1 -0
  32. package/lib/starter/vendor/graphql/__dev__/error/index.js +3 -0
  33. package/lib/starter/vendor/graphql/__dev__/error/index.mjs +3 -0
  34. package/lib/starter/vendor/graphql/__dev__/error/locatedError.d.mts +1 -0
  35. package/lib/starter/vendor/graphql/__dev__/error/locatedError.d.ts +1 -0
  36. package/lib/starter/vendor/graphql/__dev__/error/locatedError.js +3 -0
  37. package/lib/starter/vendor/graphql/__dev__/error/locatedError.mjs +3 -0
  38. package/lib/starter/vendor/graphql/__dev__/error/syntaxError.d.mts +1 -0
  39. package/lib/starter/vendor/graphql/__dev__/error/syntaxError.d.ts +1 -0
  40. package/lib/starter/vendor/graphql/__dev__/error/syntaxError.js +3 -0
  41. package/lib/starter/vendor/graphql/__dev__/error/syntaxError.mjs +3 -0
  42. package/lib/starter/vendor/graphql/__dev__/execution/AbortedGraphQLExecutionError.d.mts +1 -0
  43. package/lib/starter/vendor/graphql/__dev__/execution/AbortedGraphQLExecutionError.d.ts +1 -0
  44. package/lib/starter/vendor/graphql/__dev__/execution/AbortedGraphQLExecutionError.js +3 -0
  45. package/lib/starter/vendor/graphql/__dev__/execution/AbortedGraphQLExecutionError.mjs +3 -0
  46. package/lib/starter/vendor/graphql/__dev__/execution/AsyncWorkTracker.d.mts +1 -0
  47. package/lib/starter/vendor/graphql/__dev__/execution/AsyncWorkTracker.d.ts +1 -0
  48. package/lib/starter/vendor/graphql/__dev__/execution/AsyncWorkTracker.js +3 -0
  49. package/lib/starter/vendor/graphql/__dev__/execution/AsyncWorkTracker.mjs +3 -0
  50. package/lib/starter/vendor/graphql/__dev__/execution/ExecutionArgs.d.mts +1 -0
  51. package/lib/starter/vendor/graphql/__dev__/execution/ExecutionArgs.d.ts +1 -0
  52. package/lib/starter/vendor/graphql/__dev__/execution/ExecutionArgs.js +3 -0
  53. package/lib/starter/vendor/graphql/__dev__/execution/ExecutionArgs.mjs +3 -0
  54. package/lib/starter/vendor/graphql/__dev__/execution/Executor.d.mts +1 -0
  55. package/lib/starter/vendor/graphql/__dev__/execution/Executor.d.ts +1 -0
  56. package/lib/starter/vendor/graphql/__dev__/execution/Executor.js +3 -0
  57. package/lib/starter/vendor/graphql/__dev__/execution/Executor.mjs +3 -0
  58. package/lib/starter/vendor/graphql/__dev__/execution/ExecutorThrowingOnIncremental.d.mts +1 -0
  59. package/lib/starter/vendor/graphql/__dev__/execution/ExecutorThrowingOnIncremental.d.ts +1 -0
  60. package/lib/starter/vendor/graphql/__dev__/execution/ExecutorThrowingOnIncremental.js +3 -0
  61. package/lib/starter/vendor/graphql/__dev__/execution/ExecutorThrowingOnIncremental.mjs +3 -0
  62. package/lib/starter/vendor/graphql/__dev__/execution/buildResolveInfo.d.mts +1 -0
  63. package/lib/starter/vendor/graphql/__dev__/execution/buildResolveInfo.d.ts +1 -0
  64. package/lib/starter/vendor/graphql/__dev__/execution/buildResolveInfo.js +3 -0
  65. package/lib/starter/vendor/graphql/__dev__/execution/buildResolveInfo.mjs +3 -0
  66. package/lib/starter/vendor/graphql/__dev__/execution/cancellablePromise.d.mts +1 -0
  67. package/lib/starter/vendor/graphql/__dev__/execution/cancellablePromise.d.ts +1 -0
  68. package/lib/starter/vendor/graphql/__dev__/execution/cancellablePromise.js +3 -0
  69. package/lib/starter/vendor/graphql/__dev__/execution/cancellablePromise.mjs +3 -0
  70. package/lib/starter/vendor/graphql/__dev__/execution/collectFields.d.mts +1 -0
  71. package/lib/starter/vendor/graphql/__dev__/execution/collectFields.d.ts +1 -0
  72. package/lib/starter/vendor/graphql/__dev__/execution/collectFields.js +3 -0
  73. package/lib/starter/vendor/graphql/__dev__/execution/collectFields.mjs +3 -0
  74. package/lib/starter/vendor/graphql/__dev__/execution/collectIteratorPromises.d.mts +1 -0
  75. package/lib/starter/vendor/graphql/__dev__/execution/collectIteratorPromises.d.ts +1 -0
  76. package/lib/starter/vendor/graphql/__dev__/execution/collectIteratorPromises.js +3 -0
  77. package/lib/starter/vendor/graphql/__dev__/execution/collectIteratorPromises.mjs +3 -0
  78. package/lib/starter/vendor/graphql/__dev__/execution/createSharedExecutionContext.d.mts +1 -0
  79. package/lib/starter/vendor/graphql/__dev__/execution/createSharedExecutionContext.d.ts +1 -0
  80. package/lib/starter/vendor/graphql/__dev__/execution/createSharedExecutionContext.js +3 -0
  81. package/lib/starter/vendor/graphql/__dev__/execution/createSharedExecutionContext.mjs +3 -0
  82. package/lib/starter/vendor/graphql/__dev__/execution/execute.d.mts +1 -0
  83. package/lib/starter/vendor/graphql/__dev__/execution/execute.d.ts +1 -0
  84. package/lib/starter/vendor/graphql/__dev__/execution/execute.js +3 -0
  85. package/lib/starter/vendor/graphql/__dev__/execution/execute.mjs +3 -0
  86. package/lib/starter/vendor/graphql/__dev__/execution/getStreamUsage.d.mts +1 -0
  87. package/lib/starter/vendor/graphql/__dev__/execution/getStreamUsage.d.ts +1 -0
  88. package/lib/starter/vendor/graphql/__dev__/execution/getStreamUsage.js +3 -0
  89. package/lib/starter/vendor/graphql/__dev__/execution/getStreamUsage.mjs +3 -0
  90. package/lib/starter/vendor/graphql/__dev__/execution/getVariableSignature.d.mts +1 -0
  91. package/lib/starter/vendor/graphql/__dev__/execution/getVariableSignature.d.ts +1 -0
  92. package/lib/starter/vendor/graphql/__dev__/execution/getVariableSignature.js +3 -0
  93. package/lib/starter/vendor/graphql/__dev__/execution/getVariableSignature.mjs +3 -0
  94. package/lib/starter/vendor/graphql/__dev__/execution/hooks.d.mts +1 -0
  95. package/lib/starter/vendor/graphql/__dev__/execution/hooks.d.ts +1 -0
  96. package/lib/starter/vendor/graphql/__dev__/execution/hooks.js +3 -0
  97. package/lib/starter/vendor/graphql/__dev__/execution/hooks.mjs +3 -0
  98. package/lib/starter/vendor/graphql/__dev__/execution/incremental/Computation.d.mts +1 -0
  99. package/lib/starter/vendor/graphql/__dev__/execution/incremental/Computation.d.ts +1 -0
  100. package/lib/starter/vendor/graphql/__dev__/execution/incremental/Computation.js +3 -0
  101. package/lib/starter/vendor/graphql/__dev__/execution/incremental/Computation.mjs +3 -0
  102. package/lib/starter/vendor/graphql/__dev__/execution/incremental/IncrementalExecutor.d.mts +1 -0
  103. package/lib/starter/vendor/graphql/__dev__/execution/incremental/IncrementalExecutor.d.ts +1 -0
  104. package/lib/starter/vendor/graphql/__dev__/execution/incremental/IncrementalExecutor.js +3 -0
  105. package/lib/starter/vendor/graphql/__dev__/execution/incremental/IncrementalExecutor.mjs +3 -0
  106. package/lib/starter/vendor/graphql/__dev__/execution/incremental/IncrementalPublisher.d.mts +1 -0
  107. package/lib/starter/vendor/graphql/__dev__/execution/incremental/IncrementalPublisher.d.ts +1 -0
  108. package/lib/starter/vendor/graphql/__dev__/execution/incremental/IncrementalPublisher.js +3 -0
  109. package/lib/starter/vendor/graphql/__dev__/execution/incremental/IncrementalPublisher.mjs +3 -0
  110. package/lib/starter/vendor/graphql/__dev__/execution/incremental/Queue.d.mts +1 -0
  111. package/lib/starter/vendor/graphql/__dev__/execution/incremental/Queue.d.ts +1 -0
  112. package/lib/starter/vendor/graphql/__dev__/execution/incremental/Queue.js +3 -0
  113. package/lib/starter/vendor/graphql/__dev__/execution/incremental/Queue.mjs +3 -0
  114. package/lib/starter/vendor/graphql/__dev__/execution/incremental/WorkQueue.d.mts +1 -0
  115. package/lib/starter/vendor/graphql/__dev__/execution/incremental/WorkQueue.d.ts +1 -0
  116. package/lib/starter/vendor/graphql/__dev__/execution/incremental/WorkQueue.js +3 -0
  117. package/lib/starter/vendor/graphql/__dev__/execution/incremental/WorkQueue.mjs +3 -0
  118. package/lib/starter/vendor/graphql/__dev__/execution/incremental/buildExecutionPlan.d.mts +1 -0
  119. package/lib/starter/vendor/graphql/__dev__/execution/incremental/buildExecutionPlan.d.ts +1 -0
  120. package/lib/starter/vendor/graphql/__dev__/execution/incremental/buildExecutionPlan.js +3 -0
  121. package/lib/starter/vendor/graphql/__dev__/execution/incremental/buildExecutionPlan.mjs +3 -0
  122. package/lib/starter/vendor/graphql/__dev__/execution/index.d.mts +1 -0
  123. package/lib/starter/vendor/graphql/__dev__/execution/index.d.ts +1 -0
  124. package/lib/starter/vendor/graphql/__dev__/execution/index.js +3 -0
  125. package/lib/starter/vendor/graphql/__dev__/execution/index.mjs +3 -0
  126. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/BranchingIncrementalExecutor.d.mts +1 -0
  127. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/BranchingIncrementalExecutor.d.ts +1 -0
  128. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/BranchingIncrementalExecutor.js +3 -0
  129. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/BranchingIncrementalExecutor.mjs +3 -0
  130. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/BranchingIncrementalPublisher.d.mts +1 -0
  131. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/BranchingIncrementalPublisher.d.ts +1 -0
  132. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/BranchingIncrementalPublisher.js +3 -0
  133. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/BranchingIncrementalPublisher.mjs +3 -0
  134. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/legacyExecuteIncrementally.d.mts +1 -0
  135. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/legacyExecuteIncrementally.d.ts +1 -0
  136. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/legacyExecuteIncrementally.js +3 -0
  137. package/lib/starter/vendor/graphql/__dev__/execution/legacyIncremental/legacyExecuteIncrementally.mjs +3 -0
  138. package/lib/starter/vendor/graphql/__dev__/execution/mapAsyncIterable.d.mts +1 -0
  139. package/lib/starter/vendor/graphql/__dev__/execution/mapAsyncIterable.d.ts +1 -0
  140. package/lib/starter/vendor/graphql/__dev__/execution/mapAsyncIterable.js +3 -0
  141. package/lib/starter/vendor/graphql/__dev__/execution/mapAsyncIterable.mjs +3 -0
  142. package/lib/starter/vendor/graphql/__dev__/execution/returnIteratorCatchingErrors.d.mts +1 -0
  143. package/lib/starter/vendor/graphql/__dev__/execution/returnIteratorCatchingErrors.d.ts +1 -0
  144. package/lib/starter/vendor/graphql/__dev__/execution/returnIteratorCatchingErrors.js +3 -0
  145. package/lib/starter/vendor/graphql/__dev__/execution/returnIteratorCatchingErrors.mjs +3 -0
  146. package/lib/starter/vendor/graphql/__dev__/execution/values.d.mts +1 -0
  147. package/lib/starter/vendor/graphql/__dev__/execution/values.d.ts +1 -0
  148. package/lib/starter/vendor/graphql/__dev__/execution/values.js +3 -0
  149. package/lib/starter/vendor/graphql/__dev__/execution/values.mjs +3 -0
  150. package/lib/starter/vendor/graphql/__dev__/execution/withConcurrentAbruptClose.d.mts +1 -0
  151. package/lib/starter/vendor/graphql/__dev__/execution/withConcurrentAbruptClose.d.ts +1 -0
  152. package/lib/starter/vendor/graphql/__dev__/execution/withConcurrentAbruptClose.js +3 -0
  153. package/lib/starter/vendor/graphql/__dev__/execution/withConcurrentAbruptClose.mjs +3 -0
  154. package/lib/starter/vendor/graphql/__dev__/graphql.d.mts +1 -0
  155. package/lib/starter/vendor/graphql/__dev__/graphql.d.ts +1 -0
  156. package/lib/starter/vendor/graphql/__dev__/graphql.js +3 -0
  157. package/lib/starter/vendor/graphql/__dev__/graphql.mjs +3 -0
  158. package/lib/starter/vendor/graphql/__dev__/harness.d.mts +1 -0
  159. package/lib/starter/vendor/graphql/__dev__/harness.d.ts +1 -0
  160. package/lib/starter/vendor/graphql/__dev__/harness.js +3 -0
  161. package/lib/starter/vendor/graphql/__dev__/harness.mjs +3 -0
  162. package/lib/starter/vendor/graphql/__dev__/index.d.mts +1 -0
  163. package/lib/starter/vendor/graphql/__dev__/index.d.ts +1 -0
  164. package/lib/starter/vendor/graphql/__dev__/index.js +3 -0
  165. package/lib/starter/vendor/graphql/__dev__/index.mjs +3 -0
  166. package/lib/starter/vendor/graphql/__dev__/jsutils/AccumulatorMap.d.mts +1 -0
  167. package/lib/starter/vendor/graphql/__dev__/jsutils/AccumulatorMap.d.ts +1 -0
  168. package/lib/starter/vendor/graphql/__dev__/jsutils/AccumulatorMap.js +3 -0
  169. package/lib/starter/vendor/graphql/__dev__/jsutils/AccumulatorMap.mjs +3 -0
  170. package/lib/starter/vendor/graphql/__dev__/jsutils/Maybe.d.mts +1 -0
  171. package/lib/starter/vendor/graphql/__dev__/jsutils/Maybe.d.ts +1 -0
  172. package/lib/starter/vendor/graphql/__dev__/jsutils/Maybe.js +3 -0
  173. package/lib/starter/vendor/graphql/__dev__/jsutils/Maybe.mjs +3 -0
  174. package/lib/starter/vendor/graphql/__dev__/jsutils/ObjMap.d.mts +1 -0
  175. package/lib/starter/vendor/graphql/__dev__/jsutils/ObjMap.d.ts +1 -0
  176. package/lib/starter/vendor/graphql/__dev__/jsutils/ObjMap.js +3 -0
  177. package/lib/starter/vendor/graphql/__dev__/jsutils/ObjMap.mjs +3 -0
  178. package/lib/starter/vendor/graphql/__dev__/jsutils/Path.d.mts +1 -0
  179. package/lib/starter/vendor/graphql/__dev__/jsutils/Path.d.ts +1 -0
  180. package/lib/starter/vendor/graphql/__dev__/jsutils/Path.js +3 -0
  181. package/lib/starter/vendor/graphql/__dev__/jsutils/Path.mjs +3 -0
  182. package/lib/starter/vendor/graphql/__dev__/jsutils/PromiseOrValue.d.mts +1 -0
  183. package/lib/starter/vendor/graphql/__dev__/jsutils/PromiseOrValue.d.ts +1 -0
  184. package/lib/starter/vendor/graphql/__dev__/jsutils/PromiseOrValue.js +3 -0
  185. package/lib/starter/vendor/graphql/__dev__/jsutils/PromiseOrValue.mjs +3 -0
  186. package/lib/starter/vendor/graphql/__dev__/jsutils/capitalize.d.mts +1 -0
  187. package/lib/starter/vendor/graphql/__dev__/jsutils/capitalize.d.ts +1 -0
  188. package/lib/starter/vendor/graphql/__dev__/jsutils/capitalize.js +3 -0
  189. package/lib/starter/vendor/graphql/__dev__/jsutils/capitalize.mjs +3 -0
  190. package/lib/starter/vendor/graphql/__dev__/jsutils/devAssert.d.mts +1 -0
  191. package/lib/starter/vendor/graphql/__dev__/jsutils/devAssert.d.ts +1 -0
  192. package/lib/starter/vendor/graphql/__dev__/jsutils/devAssert.js +3 -0
  193. package/lib/starter/vendor/graphql/__dev__/jsutils/devAssert.mjs +3 -0
  194. package/lib/starter/vendor/graphql/__dev__/jsutils/didYouMean.d.mts +1 -0
  195. package/lib/starter/vendor/graphql/__dev__/jsutils/didYouMean.d.ts +1 -0
  196. package/lib/starter/vendor/graphql/__dev__/jsutils/didYouMean.js +3 -0
  197. package/lib/starter/vendor/graphql/__dev__/jsutils/didYouMean.mjs +3 -0
  198. package/lib/starter/vendor/graphql/__dev__/jsutils/formatList.d.mts +1 -0
  199. package/lib/starter/vendor/graphql/__dev__/jsutils/formatList.d.ts +1 -0
  200. package/lib/starter/vendor/graphql/__dev__/jsutils/formatList.js +3 -0
  201. package/lib/starter/vendor/graphql/__dev__/jsutils/formatList.mjs +3 -0
  202. package/lib/starter/vendor/graphql/__dev__/jsutils/getBySet.d.mts +1 -0
  203. package/lib/starter/vendor/graphql/__dev__/jsutils/getBySet.d.ts +1 -0
  204. package/lib/starter/vendor/graphql/__dev__/jsutils/getBySet.js +3 -0
  205. package/lib/starter/vendor/graphql/__dev__/jsutils/getBySet.mjs +3 -0
  206. package/lib/starter/vendor/graphql/__dev__/jsutils/groupBy.d.mts +1 -0
  207. package/lib/starter/vendor/graphql/__dev__/jsutils/groupBy.d.ts +1 -0
  208. package/lib/starter/vendor/graphql/__dev__/jsutils/groupBy.js +3 -0
  209. package/lib/starter/vendor/graphql/__dev__/jsutils/groupBy.mjs +3 -0
  210. package/lib/starter/vendor/graphql/__dev__/jsutils/identityFunc.d.mts +1 -0
  211. package/lib/starter/vendor/graphql/__dev__/jsutils/identityFunc.d.ts +1 -0
  212. package/lib/starter/vendor/graphql/__dev__/jsutils/identityFunc.js +3 -0
  213. package/lib/starter/vendor/graphql/__dev__/jsutils/identityFunc.mjs +3 -0
  214. package/lib/starter/vendor/graphql/__dev__/jsutils/inspect.d.mts +1 -0
  215. package/lib/starter/vendor/graphql/__dev__/jsutils/inspect.d.ts +1 -0
  216. package/lib/starter/vendor/graphql/__dev__/jsutils/inspect.js +3 -0
  217. package/lib/starter/vendor/graphql/__dev__/jsutils/inspect.mjs +3 -0
  218. package/lib/starter/vendor/graphql/__dev__/jsutils/instanceOf.d.mts +1 -0
  219. package/lib/starter/vendor/graphql/__dev__/jsutils/instanceOf.d.ts +1 -0
  220. package/lib/starter/vendor/graphql/__dev__/jsutils/instanceOf.js +3 -0
  221. package/lib/starter/vendor/graphql/__dev__/jsutils/instanceOf.mjs +3 -0
  222. package/lib/starter/vendor/graphql/__dev__/jsutils/invariant.d.mts +1 -0
  223. package/lib/starter/vendor/graphql/__dev__/jsutils/invariant.d.ts +1 -0
  224. package/lib/starter/vendor/graphql/__dev__/jsutils/invariant.js +3 -0
  225. package/lib/starter/vendor/graphql/__dev__/jsutils/invariant.mjs +3 -0
  226. package/lib/starter/vendor/graphql/__dev__/jsutils/isAsyncIterable.d.mts +1 -0
  227. package/lib/starter/vendor/graphql/__dev__/jsutils/isAsyncIterable.d.ts +1 -0
  228. package/lib/starter/vendor/graphql/__dev__/jsutils/isAsyncIterable.js +3 -0
  229. package/lib/starter/vendor/graphql/__dev__/jsutils/isAsyncIterable.mjs +3 -0
  230. package/lib/starter/vendor/graphql/__dev__/jsutils/isIterableObject.d.mts +1 -0
  231. package/lib/starter/vendor/graphql/__dev__/jsutils/isIterableObject.d.ts +1 -0
  232. package/lib/starter/vendor/graphql/__dev__/jsutils/isIterableObject.js +3 -0
  233. package/lib/starter/vendor/graphql/__dev__/jsutils/isIterableObject.mjs +3 -0
  234. package/lib/starter/vendor/graphql/__dev__/jsutils/isObjectLike.d.mts +1 -0
  235. package/lib/starter/vendor/graphql/__dev__/jsutils/isObjectLike.d.ts +1 -0
  236. package/lib/starter/vendor/graphql/__dev__/jsutils/isObjectLike.js +3 -0
  237. package/lib/starter/vendor/graphql/__dev__/jsutils/isObjectLike.mjs +3 -0
  238. package/lib/starter/vendor/graphql/__dev__/jsutils/isPromise.d.mts +1 -0
  239. package/lib/starter/vendor/graphql/__dev__/jsutils/isPromise.d.ts +1 -0
  240. package/lib/starter/vendor/graphql/__dev__/jsutils/isPromise.js +3 -0
  241. package/lib/starter/vendor/graphql/__dev__/jsutils/isPromise.mjs +3 -0
  242. package/lib/starter/vendor/graphql/__dev__/jsutils/isSameSet.d.mts +1 -0
  243. package/lib/starter/vendor/graphql/__dev__/jsutils/isSameSet.d.ts +1 -0
  244. package/lib/starter/vendor/graphql/__dev__/jsutils/isSameSet.js +3 -0
  245. package/lib/starter/vendor/graphql/__dev__/jsutils/isSameSet.mjs +3 -0
  246. package/lib/starter/vendor/graphql/__dev__/jsutils/keyMap.d.mts +1 -0
  247. package/lib/starter/vendor/graphql/__dev__/jsutils/keyMap.d.ts +1 -0
  248. package/lib/starter/vendor/graphql/__dev__/jsutils/keyMap.js +3 -0
  249. package/lib/starter/vendor/graphql/__dev__/jsutils/keyMap.mjs +3 -0
  250. package/lib/starter/vendor/graphql/__dev__/jsutils/keyValMap.d.mts +1 -0
  251. package/lib/starter/vendor/graphql/__dev__/jsutils/keyValMap.d.ts +1 -0
  252. package/lib/starter/vendor/graphql/__dev__/jsutils/keyValMap.js +3 -0
  253. package/lib/starter/vendor/graphql/__dev__/jsutils/keyValMap.mjs +3 -0
  254. package/lib/starter/vendor/graphql/__dev__/jsutils/mapValue.d.mts +1 -0
  255. package/lib/starter/vendor/graphql/__dev__/jsutils/mapValue.d.ts +1 -0
  256. package/lib/starter/vendor/graphql/__dev__/jsutils/mapValue.js +3 -0
  257. package/lib/starter/vendor/graphql/__dev__/jsutils/mapValue.mjs +3 -0
  258. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize1.d.mts +1 -0
  259. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize1.d.ts +1 -0
  260. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize1.js +3 -0
  261. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize1.mjs +3 -0
  262. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize2.d.mts +1 -0
  263. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize2.d.ts +1 -0
  264. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize2.js +3 -0
  265. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize2.mjs +3 -0
  266. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize3.d.mts +1 -0
  267. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize3.d.ts +1 -0
  268. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize3.js +3 -0
  269. package/lib/starter/vendor/graphql/__dev__/jsutils/memoize3.mjs +3 -0
  270. package/lib/starter/vendor/graphql/__dev__/jsutils/naturalCompare.d.mts +1 -0
  271. package/lib/starter/vendor/graphql/__dev__/jsutils/naturalCompare.d.ts +1 -0
  272. package/lib/starter/vendor/graphql/__dev__/jsutils/naturalCompare.js +3 -0
  273. package/lib/starter/vendor/graphql/__dev__/jsutils/naturalCompare.mjs +3 -0
  274. package/lib/starter/vendor/graphql/__dev__/jsutils/printPathArray.d.mts +1 -0
  275. package/lib/starter/vendor/graphql/__dev__/jsutils/printPathArray.d.ts +1 -0
  276. package/lib/starter/vendor/graphql/__dev__/jsutils/printPathArray.js +3 -0
  277. package/lib/starter/vendor/graphql/__dev__/jsutils/printPathArray.mjs +3 -0
  278. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseForObject.d.mts +1 -0
  279. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseForObject.d.ts +1 -0
  280. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseForObject.js +3 -0
  281. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseForObject.mjs +3 -0
  282. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseReduce.d.mts +1 -0
  283. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseReduce.d.ts +1 -0
  284. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseReduce.js +3 -0
  285. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseReduce.mjs +3 -0
  286. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseWithResolvers.d.mts +1 -0
  287. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseWithResolvers.d.ts +1 -0
  288. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseWithResolvers.js +3 -0
  289. package/lib/starter/vendor/graphql/__dev__/jsutils/promiseWithResolvers.mjs +3 -0
  290. package/lib/starter/vendor/graphql/__dev__/jsutils/suggestionList.d.mts +1 -0
  291. package/lib/starter/vendor/graphql/__dev__/jsutils/suggestionList.d.ts +1 -0
  292. package/lib/starter/vendor/graphql/__dev__/jsutils/suggestionList.js +3 -0
  293. package/lib/starter/vendor/graphql/__dev__/jsutils/suggestionList.mjs +3 -0
  294. package/lib/starter/vendor/graphql/__dev__/jsutils/toError.d.mts +1 -0
  295. package/lib/starter/vendor/graphql/__dev__/jsutils/toError.d.ts +1 -0
  296. package/lib/starter/vendor/graphql/__dev__/jsutils/toError.js +3 -0
  297. package/lib/starter/vendor/graphql/__dev__/jsutils/toError.mjs +3 -0
  298. package/lib/starter/vendor/graphql/__dev__/jsutils/toObjMap.d.mts +1 -0
  299. package/lib/starter/vendor/graphql/__dev__/jsutils/toObjMap.d.ts +1 -0
  300. package/lib/starter/vendor/graphql/__dev__/jsutils/toObjMap.js +3 -0
  301. package/lib/starter/vendor/graphql/__dev__/jsutils/toObjMap.mjs +3 -0
  302. package/lib/starter/vendor/graphql/__dev__/language/KindTypeMap.d.mts +1 -0
  303. package/lib/starter/vendor/graphql/__dev__/language/KindTypeMap.d.ts +1 -0
  304. package/lib/starter/vendor/graphql/__dev__/language/KindTypeMap.js +3 -0
  305. package/lib/starter/vendor/graphql/__dev__/language/KindTypeMap.mjs +3 -0
  306. package/lib/starter/vendor/graphql/__dev__/language/ast.d.mts +1 -0
  307. package/lib/starter/vendor/graphql/__dev__/language/ast.d.ts +1 -0
  308. package/lib/starter/vendor/graphql/__dev__/language/ast.js +3 -0
  309. package/lib/starter/vendor/graphql/__dev__/language/ast.mjs +3 -0
  310. package/lib/starter/vendor/graphql/__dev__/language/blockString.d.mts +1 -0
  311. package/lib/starter/vendor/graphql/__dev__/language/blockString.d.ts +1 -0
  312. package/lib/starter/vendor/graphql/__dev__/language/blockString.js +3 -0
  313. package/lib/starter/vendor/graphql/__dev__/language/blockString.mjs +3 -0
  314. package/lib/starter/vendor/graphql/__dev__/language/characterClasses.d.mts +1 -0
  315. package/lib/starter/vendor/graphql/__dev__/language/characterClasses.d.ts +1 -0
  316. package/lib/starter/vendor/graphql/__dev__/language/characterClasses.js +3 -0
  317. package/lib/starter/vendor/graphql/__dev__/language/characterClasses.mjs +3 -0
  318. package/lib/starter/vendor/graphql/__dev__/language/directiveLocation.d.mts +1 -0
  319. package/lib/starter/vendor/graphql/__dev__/language/directiveLocation.d.ts +1 -0
  320. package/lib/starter/vendor/graphql/__dev__/language/directiveLocation.js +3 -0
  321. package/lib/starter/vendor/graphql/__dev__/language/directiveLocation.mjs +3 -0
  322. package/lib/starter/vendor/graphql/__dev__/language/index.d.mts +1 -0
  323. package/lib/starter/vendor/graphql/__dev__/language/index.d.ts +1 -0
  324. package/lib/starter/vendor/graphql/__dev__/language/index.js +3 -0
  325. package/lib/starter/vendor/graphql/__dev__/language/index.mjs +3 -0
  326. package/lib/starter/vendor/graphql/__dev__/language/kinds.d.mts +1 -0
  327. package/lib/starter/vendor/graphql/__dev__/language/kinds.d.ts +1 -0
  328. package/lib/starter/vendor/graphql/__dev__/language/kinds.js +3 -0
  329. package/lib/starter/vendor/graphql/__dev__/language/kinds.mjs +3 -0
  330. package/lib/starter/vendor/graphql/__dev__/language/kinds_.d.mts +1 -0
  331. package/lib/starter/vendor/graphql/__dev__/language/kinds_.d.ts +1 -0
  332. package/lib/starter/vendor/graphql/__dev__/language/kinds_.js +3 -0
  333. package/lib/starter/vendor/graphql/__dev__/language/kinds_.mjs +3 -0
  334. package/lib/starter/vendor/graphql/__dev__/language/lexer.d.mts +1 -0
  335. package/lib/starter/vendor/graphql/__dev__/language/lexer.d.ts +1 -0
  336. package/lib/starter/vendor/graphql/__dev__/language/lexer.js +3 -0
  337. package/lib/starter/vendor/graphql/__dev__/language/lexer.mjs +3 -0
  338. package/lib/starter/vendor/graphql/__dev__/language/location.d.mts +1 -0
  339. package/lib/starter/vendor/graphql/__dev__/language/location.d.ts +1 -0
  340. package/lib/starter/vendor/graphql/__dev__/language/location.js +3 -0
  341. package/lib/starter/vendor/graphql/__dev__/language/location.mjs +3 -0
  342. package/lib/starter/vendor/graphql/__dev__/language/parser.d.mts +1 -0
  343. package/lib/starter/vendor/graphql/__dev__/language/parser.d.ts +1 -0
  344. package/lib/starter/vendor/graphql/__dev__/language/parser.js +3 -0
  345. package/lib/starter/vendor/graphql/__dev__/language/parser.mjs +3 -0
  346. package/lib/starter/vendor/graphql/__dev__/language/predicates.d.mts +1 -0
  347. package/lib/starter/vendor/graphql/__dev__/language/predicates.d.ts +1 -0
  348. package/lib/starter/vendor/graphql/__dev__/language/predicates.js +3 -0
  349. package/lib/starter/vendor/graphql/__dev__/language/predicates.mjs +3 -0
  350. package/lib/starter/vendor/graphql/__dev__/language/printLocation.d.mts +1 -0
  351. package/lib/starter/vendor/graphql/__dev__/language/printLocation.d.ts +1 -0
  352. package/lib/starter/vendor/graphql/__dev__/language/printLocation.js +3 -0
  353. package/lib/starter/vendor/graphql/__dev__/language/printLocation.mjs +3 -0
  354. package/lib/starter/vendor/graphql/__dev__/language/printString.d.mts +1 -0
  355. package/lib/starter/vendor/graphql/__dev__/language/printString.d.ts +1 -0
  356. package/lib/starter/vendor/graphql/__dev__/language/printString.js +3 -0
  357. package/lib/starter/vendor/graphql/__dev__/language/printString.mjs +3 -0
  358. package/lib/starter/vendor/graphql/__dev__/language/printer.d.mts +1 -0
  359. package/lib/starter/vendor/graphql/__dev__/language/printer.d.ts +1 -0
  360. package/lib/starter/vendor/graphql/__dev__/language/printer.js +3 -0
  361. package/lib/starter/vendor/graphql/__dev__/language/printer.mjs +3 -0
  362. package/lib/starter/vendor/graphql/__dev__/language/schemaCoordinateLexer.d.mts +1 -0
  363. package/lib/starter/vendor/graphql/__dev__/language/schemaCoordinateLexer.d.ts +1 -0
  364. package/lib/starter/vendor/graphql/__dev__/language/schemaCoordinateLexer.js +3 -0
  365. package/lib/starter/vendor/graphql/__dev__/language/schemaCoordinateLexer.mjs +3 -0
  366. package/lib/starter/vendor/graphql/__dev__/language/source.d.mts +1 -0
  367. package/lib/starter/vendor/graphql/__dev__/language/source.d.ts +1 -0
  368. package/lib/starter/vendor/graphql/__dev__/language/source.js +3 -0
  369. package/lib/starter/vendor/graphql/__dev__/language/source.mjs +3 -0
  370. package/lib/starter/vendor/graphql/__dev__/language/tokenKind.d.mts +1 -0
  371. package/lib/starter/vendor/graphql/__dev__/language/tokenKind.d.ts +1 -0
  372. package/lib/starter/vendor/graphql/__dev__/language/tokenKind.js +3 -0
  373. package/lib/starter/vendor/graphql/__dev__/language/tokenKind.mjs +3 -0
  374. package/lib/starter/vendor/graphql/__dev__/language/visitor.d.mts +1 -0
  375. package/lib/starter/vendor/graphql/__dev__/language/visitor.d.ts +1 -0
  376. package/lib/starter/vendor/graphql/__dev__/language/visitor.js +3 -0
  377. package/lib/starter/vendor/graphql/__dev__/language/visitor.mjs +3 -0
  378. package/lib/starter/vendor/graphql/__dev__/type/assertName.d.mts +1 -0
  379. package/lib/starter/vendor/graphql/__dev__/type/assertName.d.ts +1 -0
  380. package/lib/starter/vendor/graphql/__dev__/type/assertName.js +3 -0
  381. package/lib/starter/vendor/graphql/__dev__/type/assertName.mjs +3 -0
  382. package/lib/starter/vendor/graphql/__dev__/type/definition.d.mts +1 -0
  383. package/lib/starter/vendor/graphql/__dev__/type/definition.d.ts +1 -0
  384. package/lib/starter/vendor/graphql/__dev__/type/definition.js +3 -0
  385. package/lib/starter/vendor/graphql/__dev__/type/definition.mjs +3 -0
  386. package/lib/starter/vendor/graphql/__dev__/type/directives.d.mts +1 -0
  387. package/lib/starter/vendor/graphql/__dev__/type/directives.d.ts +1 -0
  388. package/lib/starter/vendor/graphql/__dev__/type/directives.js +3 -0
  389. package/lib/starter/vendor/graphql/__dev__/type/directives.mjs +3 -0
  390. package/lib/starter/vendor/graphql/__dev__/type/index.d.mts +1 -0
  391. package/lib/starter/vendor/graphql/__dev__/type/index.d.ts +1 -0
  392. package/lib/starter/vendor/graphql/__dev__/type/index.js +3 -0
  393. package/lib/starter/vendor/graphql/__dev__/type/index.mjs +3 -0
  394. package/lib/starter/vendor/graphql/__dev__/type/introspection.d.mts +1 -0
  395. package/lib/starter/vendor/graphql/__dev__/type/introspection.d.ts +1 -0
  396. package/lib/starter/vendor/graphql/__dev__/type/introspection.js +3 -0
  397. package/lib/starter/vendor/graphql/__dev__/type/introspection.mjs +3 -0
  398. package/lib/starter/vendor/graphql/__dev__/type/scalars.d.mts +1 -0
  399. package/lib/starter/vendor/graphql/__dev__/type/scalars.d.ts +1 -0
  400. package/lib/starter/vendor/graphql/__dev__/type/scalars.js +3 -0
  401. package/lib/starter/vendor/graphql/__dev__/type/scalars.mjs +3 -0
  402. package/lib/starter/vendor/graphql/__dev__/type/schema.d.mts +1 -0
  403. package/lib/starter/vendor/graphql/__dev__/type/schema.d.ts +1 -0
  404. package/lib/starter/vendor/graphql/__dev__/type/schema.js +3 -0
  405. package/lib/starter/vendor/graphql/__dev__/type/schema.mjs +3 -0
  406. package/lib/starter/vendor/graphql/__dev__/type/validate.d.mts +1 -0
  407. package/lib/starter/vendor/graphql/__dev__/type/validate.d.ts +1 -0
  408. package/lib/starter/vendor/graphql/__dev__/type/validate.js +3 -0
  409. package/lib/starter/vendor/graphql/__dev__/type/validate.mjs +3 -0
  410. package/lib/starter/vendor/graphql/__dev__/utilities/TypeInfo.d.mts +1 -0
  411. package/lib/starter/vendor/graphql/__dev__/utilities/TypeInfo.d.ts +1 -0
  412. package/lib/starter/vendor/graphql/__dev__/utilities/TypeInfo.js +3 -0
  413. package/lib/starter/vendor/graphql/__dev__/utilities/TypeInfo.mjs +3 -0
  414. package/lib/starter/vendor/graphql/__dev__/utilities/astFromValue.d.mts +1 -0
  415. package/lib/starter/vendor/graphql/__dev__/utilities/astFromValue.d.ts +1 -0
  416. package/lib/starter/vendor/graphql/__dev__/utilities/astFromValue.js +3 -0
  417. package/lib/starter/vendor/graphql/__dev__/utilities/astFromValue.mjs +3 -0
  418. package/lib/starter/vendor/graphql/__dev__/utilities/buildASTSchema.d.mts +1 -0
  419. package/lib/starter/vendor/graphql/__dev__/utilities/buildASTSchema.d.ts +1 -0
  420. package/lib/starter/vendor/graphql/__dev__/utilities/buildASTSchema.js +3 -0
  421. package/lib/starter/vendor/graphql/__dev__/utilities/buildASTSchema.mjs +3 -0
  422. package/lib/starter/vendor/graphql/__dev__/utilities/buildClientSchema.d.mts +1 -0
  423. package/lib/starter/vendor/graphql/__dev__/utilities/buildClientSchema.d.ts +1 -0
  424. package/lib/starter/vendor/graphql/__dev__/utilities/buildClientSchema.js +3 -0
  425. package/lib/starter/vendor/graphql/__dev__/utilities/buildClientSchema.mjs +3 -0
  426. package/lib/starter/vendor/graphql/__dev__/utilities/coerceInputValue.d.mts +1 -0
  427. package/lib/starter/vendor/graphql/__dev__/utilities/coerceInputValue.d.ts +1 -0
  428. package/lib/starter/vendor/graphql/__dev__/utilities/coerceInputValue.js +3 -0
  429. package/lib/starter/vendor/graphql/__dev__/utilities/coerceInputValue.mjs +3 -0
  430. package/lib/starter/vendor/graphql/__dev__/utilities/concatAST.d.mts +1 -0
  431. package/lib/starter/vendor/graphql/__dev__/utilities/concatAST.d.ts +1 -0
  432. package/lib/starter/vendor/graphql/__dev__/utilities/concatAST.js +3 -0
  433. package/lib/starter/vendor/graphql/__dev__/utilities/concatAST.mjs +3 -0
  434. package/lib/starter/vendor/graphql/__dev__/utilities/extendSchema.d.mts +1 -0
  435. package/lib/starter/vendor/graphql/__dev__/utilities/extendSchema.d.ts +1 -0
  436. package/lib/starter/vendor/graphql/__dev__/utilities/extendSchema.js +3 -0
  437. package/lib/starter/vendor/graphql/__dev__/utilities/extendSchema.mjs +3 -0
  438. package/lib/starter/vendor/graphql/__dev__/utilities/findSchemaChanges.d.mts +1 -0
  439. package/lib/starter/vendor/graphql/__dev__/utilities/findSchemaChanges.d.ts +1 -0
  440. package/lib/starter/vendor/graphql/__dev__/utilities/findSchemaChanges.js +3 -0
  441. package/lib/starter/vendor/graphql/__dev__/utilities/findSchemaChanges.mjs +3 -0
  442. package/lib/starter/vendor/graphql/__dev__/utilities/getDefaultValueAST.d.mts +1 -0
  443. package/lib/starter/vendor/graphql/__dev__/utilities/getDefaultValueAST.d.ts +1 -0
  444. package/lib/starter/vendor/graphql/__dev__/utilities/getDefaultValueAST.js +3 -0
  445. package/lib/starter/vendor/graphql/__dev__/utilities/getDefaultValueAST.mjs +3 -0
  446. package/lib/starter/vendor/graphql/__dev__/utilities/getIntrospectionQuery.d.mts +1 -0
  447. package/lib/starter/vendor/graphql/__dev__/utilities/getIntrospectionQuery.d.ts +1 -0
  448. package/lib/starter/vendor/graphql/__dev__/utilities/getIntrospectionQuery.js +3 -0
  449. package/lib/starter/vendor/graphql/__dev__/utilities/getIntrospectionQuery.mjs +3 -0
  450. package/lib/starter/vendor/graphql/__dev__/utilities/getOperationAST.d.mts +1 -0
  451. package/lib/starter/vendor/graphql/__dev__/utilities/getOperationAST.d.ts +1 -0
  452. package/lib/starter/vendor/graphql/__dev__/utilities/getOperationAST.js +3 -0
  453. package/lib/starter/vendor/graphql/__dev__/utilities/getOperationAST.mjs +3 -0
  454. package/lib/starter/vendor/graphql/__dev__/utilities/index.d.mts +1 -0
  455. package/lib/starter/vendor/graphql/__dev__/utilities/index.d.ts +1 -0
  456. package/lib/starter/vendor/graphql/__dev__/utilities/index.js +3 -0
  457. package/lib/starter/vendor/graphql/__dev__/utilities/index.mjs +3 -0
  458. package/lib/starter/vendor/graphql/__dev__/utilities/introspectionFromSchema.d.mts +1 -0
  459. package/lib/starter/vendor/graphql/__dev__/utilities/introspectionFromSchema.d.ts +1 -0
  460. package/lib/starter/vendor/graphql/__dev__/utilities/introspectionFromSchema.js +3 -0
  461. package/lib/starter/vendor/graphql/__dev__/utilities/introspectionFromSchema.mjs +3 -0
  462. package/lib/starter/vendor/graphql/__dev__/utilities/lexicographicSortSchema.d.mts +1 -0
  463. package/lib/starter/vendor/graphql/__dev__/utilities/lexicographicSortSchema.d.ts +1 -0
  464. package/lib/starter/vendor/graphql/__dev__/utilities/lexicographicSortSchema.js +3 -0
  465. package/lib/starter/vendor/graphql/__dev__/utilities/lexicographicSortSchema.mjs +3 -0
  466. package/lib/starter/vendor/graphql/__dev__/utilities/mapSchemaConfig.d.mts +1 -0
  467. package/lib/starter/vendor/graphql/__dev__/utilities/mapSchemaConfig.d.ts +1 -0
  468. package/lib/starter/vendor/graphql/__dev__/utilities/mapSchemaConfig.js +3 -0
  469. package/lib/starter/vendor/graphql/__dev__/utilities/mapSchemaConfig.mjs +3 -0
  470. package/lib/starter/vendor/graphql/__dev__/utilities/printSchema.d.mts +1 -0
  471. package/lib/starter/vendor/graphql/__dev__/utilities/printSchema.d.ts +1 -0
  472. package/lib/starter/vendor/graphql/__dev__/utilities/printSchema.js +3 -0
  473. package/lib/starter/vendor/graphql/__dev__/utilities/printSchema.mjs +3 -0
  474. package/lib/starter/vendor/graphql/__dev__/utilities/replaceVariables.d.mts +1 -0
  475. package/lib/starter/vendor/graphql/__dev__/utilities/replaceVariables.d.ts +1 -0
  476. package/lib/starter/vendor/graphql/__dev__/utilities/replaceVariables.js +3 -0
  477. package/lib/starter/vendor/graphql/__dev__/utilities/replaceVariables.mjs +3 -0
  478. package/lib/starter/vendor/graphql/__dev__/utilities/resolveSchemaCoordinate.d.mts +1 -0
  479. package/lib/starter/vendor/graphql/__dev__/utilities/resolveSchemaCoordinate.d.ts +1 -0
  480. package/lib/starter/vendor/graphql/__dev__/utilities/resolveSchemaCoordinate.js +3 -0
  481. package/lib/starter/vendor/graphql/__dev__/utilities/resolveSchemaCoordinate.mjs +3 -0
  482. package/lib/starter/vendor/graphql/__dev__/utilities/separateOperations.d.mts +1 -0
  483. package/lib/starter/vendor/graphql/__dev__/utilities/separateOperations.d.ts +1 -0
  484. package/lib/starter/vendor/graphql/__dev__/utilities/separateOperations.js +3 -0
  485. package/lib/starter/vendor/graphql/__dev__/utilities/separateOperations.mjs +3 -0
  486. package/lib/starter/vendor/graphql/__dev__/utilities/sortValueNode.d.mts +1 -0
  487. package/lib/starter/vendor/graphql/__dev__/utilities/sortValueNode.d.ts +1 -0
  488. package/lib/starter/vendor/graphql/__dev__/utilities/sortValueNode.js +3 -0
  489. package/lib/starter/vendor/graphql/__dev__/utilities/sortValueNode.mjs +3 -0
  490. package/lib/starter/vendor/graphql/__dev__/utilities/stripIgnoredCharacters.d.mts +1 -0
  491. package/lib/starter/vendor/graphql/__dev__/utilities/stripIgnoredCharacters.d.ts +1 -0
  492. package/lib/starter/vendor/graphql/__dev__/utilities/stripIgnoredCharacters.js +3 -0
  493. package/lib/starter/vendor/graphql/__dev__/utilities/stripIgnoredCharacters.mjs +3 -0
  494. package/lib/starter/vendor/graphql/__dev__/utilities/typeComparators.d.mts +1 -0
  495. package/lib/starter/vendor/graphql/__dev__/utilities/typeComparators.d.ts +1 -0
  496. package/lib/starter/vendor/graphql/__dev__/utilities/typeComparators.js +3 -0
  497. package/lib/starter/vendor/graphql/__dev__/utilities/typeComparators.mjs +3 -0
  498. package/lib/starter/vendor/graphql/__dev__/utilities/typeFromAST.d.mts +1 -0
  499. package/lib/starter/vendor/graphql/__dev__/utilities/typeFromAST.d.ts +1 -0
  500. package/lib/starter/vendor/graphql/__dev__/utilities/typeFromAST.js +3 -0
  501. package/lib/starter/vendor/graphql/__dev__/utilities/typeFromAST.mjs +3 -0
  502. package/lib/starter/vendor/graphql/__dev__/utilities/typedQueryDocumentNode.d.mts +1 -0
  503. package/lib/starter/vendor/graphql/__dev__/utilities/typedQueryDocumentNode.d.ts +1 -0
  504. package/lib/starter/vendor/graphql/__dev__/utilities/typedQueryDocumentNode.js +3 -0
  505. package/lib/starter/vendor/graphql/__dev__/utilities/typedQueryDocumentNode.mjs +3 -0
  506. package/lib/starter/vendor/graphql/__dev__/utilities/validateInputValue.d.mts +1 -0
  507. package/lib/starter/vendor/graphql/__dev__/utilities/validateInputValue.d.ts +1 -0
  508. package/lib/starter/vendor/graphql/__dev__/utilities/validateInputValue.js +3 -0
  509. package/lib/starter/vendor/graphql/__dev__/utilities/validateInputValue.mjs +3 -0
  510. package/lib/starter/vendor/graphql/__dev__/utilities/valueFromAST.d.mts +1 -0
  511. package/lib/starter/vendor/graphql/__dev__/utilities/valueFromAST.d.ts +1 -0
  512. package/lib/starter/vendor/graphql/__dev__/utilities/valueFromAST.js +3 -0
  513. package/lib/starter/vendor/graphql/__dev__/utilities/valueFromAST.mjs +3 -0
  514. package/lib/starter/vendor/graphql/__dev__/utilities/valueFromASTUntyped.d.mts +1 -0
  515. package/lib/starter/vendor/graphql/__dev__/utilities/valueFromASTUntyped.d.ts +1 -0
  516. package/lib/starter/vendor/graphql/__dev__/utilities/valueFromASTUntyped.js +3 -0
  517. package/lib/starter/vendor/graphql/__dev__/utilities/valueFromASTUntyped.mjs +3 -0
  518. package/lib/starter/vendor/graphql/__dev__/utilities/valueToLiteral.d.mts +1 -0
  519. package/lib/starter/vendor/graphql/__dev__/utilities/valueToLiteral.d.ts +1 -0
  520. package/lib/starter/vendor/graphql/__dev__/utilities/valueToLiteral.js +3 -0
  521. package/lib/starter/vendor/graphql/__dev__/utilities/valueToLiteral.mjs +3 -0
  522. package/lib/starter/vendor/graphql/__dev__/validation/ValidationContext.d.mts +1 -0
  523. package/lib/starter/vendor/graphql/__dev__/validation/ValidationContext.d.ts +1 -0
  524. package/lib/starter/vendor/graphql/__dev__/validation/ValidationContext.js +3 -0
  525. package/lib/starter/vendor/graphql/__dev__/validation/ValidationContext.mjs +3 -0
  526. package/lib/starter/vendor/graphql/__dev__/validation/index.d.mts +1 -0
  527. package/lib/starter/vendor/graphql/__dev__/validation/index.d.ts +1 -0
  528. package/lib/starter/vendor/graphql/__dev__/validation/index.js +3 -0
  529. package/lib/starter/vendor/graphql/__dev__/validation/index.mjs +3 -0
  530. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveLabelRule.d.mts +1 -0
  531. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveLabelRule.d.ts +1 -0
  532. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveLabelRule.js +3 -0
  533. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveLabelRule.mjs +3 -0
  534. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveOnRootFieldRule.d.mts +1 -0
  535. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveOnRootFieldRule.d.ts +1 -0
  536. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveOnRootFieldRule.js +3 -0
  537. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveOnRootFieldRule.mjs +3 -0
  538. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveOnValidOperationsRule.d.mts +1 -0
  539. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveOnValidOperationsRule.d.ts +1 -0
  540. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveOnValidOperationsRule.js +3 -0
  541. package/lib/starter/vendor/graphql/__dev__/validation/rules/DeferStreamDirectiveOnValidOperationsRule.mjs +3 -0
  542. package/lib/starter/vendor/graphql/__dev__/validation/rules/ExecutableDefinitionsRule.d.mts +1 -0
  543. package/lib/starter/vendor/graphql/__dev__/validation/rules/ExecutableDefinitionsRule.d.ts +1 -0
  544. package/lib/starter/vendor/graphql/__dev__/validation/rules/ExecutableDefinitionsRule.js +3 -0
  545. package/lib/starter/vendor/graphql/__dev__/validation/rules/ExecutableDefinitionsRule.mjs +3 -0
  546. package/lib/starter/vendor/graphql/__dev__/validation/rules/FieldsOnCorrectTypeRule.d.mts +1 -0
  547. package/lib/starter/vendor/graphql/__dev__/validation/rules/FieldsOnCorrectTypeRule.d.ts +1 -0
  548. package/lib/starter/vendor/graphql/__dev__/validation/rules/FieldsOnCorrectTypeRule.js +3 -0
  549. package/lib/starter/vendor/graphql/__dev__/validation/rules/FieldsOnCorrectTypeRule.mjs +3 -0
  550. package/lib/starter/vendor/graphql/__dev__/validation/rules/FragmentsOnCompositeTypesRule.d.mts +1 -0
  551. package/lib/starter/vendor/graphql/__dev__/validation/rules/FragmentsOnCompositeTypesRule.d.ts +1 -0
  552. package/lib/starter/vendor/graphql/__dev__/validation/rules/FragmentsOnCompositeTypesRule.js +3 -0
  553. package/lib/starter/vendor/graphql/__dev__/validation/rules/FragmentsOnCompositeTypesRule.mjs +3 -0
  554. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownArgumentNamesRule.d.mts +1 -0
  555. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownArgumentNamesRule.d.ts +1 -0
  556. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownArgumentNamesRule.js +3 -0
  557. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownArgumentNamesRule.mjs +3 -0
  558. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownDirectivesRule.d.mts +1 -0
  559. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownDirectivesRule.d.ts +1 -0
  560. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownDirectivesRule.js +3 -0
  561. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownDirectivesRule.mjs +3 -0
  562. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownFragmentNamesRule.d.mts +1 -0
  563. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownFragmentNamesRule.d.ts +1 -0
  564. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownFragmentNamesRule.js +3 -0
  565. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownFragmentNamesRule.mjs +3 -0
  566. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownOperationTypesRule.d.mts +1 -0
  567. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownOperationTypesRule.d.ts +1 -0
  568. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownOperationTypesRule.js +3 -0
  569. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownOperationTypesRule.mjs +3 -0
  570. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownTypeNamesRule.d.mts +1 -0
  571. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownTypeNamesRule.d.ts +1 -0
  572. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownTypeNamesRule.js +3 -0
  573. package/lib/starter/vendor/graphql/__dev__/validation/rules/KnownTypeNamesRule.mjs +3 -0
  574. package/lib/starter/vendor/graphql/__dev__/validation/rules/LoneAnonymousOperationRule.d.mts +1 -0
  575. package/lib/starter/vendor/graphql/__dev__/validation/rules/LoneAnonymousOperationRule.d.ts +1 -0
  576. package/lib/starter/vendor/graphql/__dev__/validation/rules/LoneAnonymousOperationRule.js +3 -0
  577. package/lib/starter/vendor/graphql/__dev__/validation/rules/LoneAnonymousOperationRule.mjs +3 -0
  578. package/lib/starter/vendor/graphql/__dev__/validation/rules/LoneSchemaDefinitionRule.d.mts +1 -0
  579. package/lib/starter/vendor/graphql/__dev__/validation/rules/LoneSchemaDefinitionRule.d.ts +1 -0
  580. package/lib/starter/vendor/graphql/__dev__/validation/rules/LoneSchemaDefinitionRule.js +3 -0
  581. package/lib/starter/vendor/graphql/__dev__/validation/rules/LoneSchemaDefinitionRule.mjs +3 -0
  582. package/lib/starter/vendor/graphql/__dev__/validation/rules/MaxIntrospectionDepthRule.d.mts +1 -0
  583. package/lib/starter/vendor/graphql/__dev__/validation/rules/MaxIntrospectionDepthRule.d.ts +1 -0
  584. package/lib/starter/vendor/graphql/__dev__/validation/rules/MaxIntrospectionDepthRule.js +3 -0
  585. package/lib/starter/vendor/graphql/__dev__/validation/rules/MaxIntrospectionDepthRule.mjs +3 -0
  586. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoFragmentCyclesRule.d.mts +1 -0
  587. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoFragmentCyclesRule.d.ts +1 -0
  588. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoFragmentCyclesRule.js +3 -0
  589. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoFragmentCyclesRule.mjs +3 -0
  590. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUndefinedVariablesRule.d.mts +1 -0
  591. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUndefinedVariablesRule.d.ts +1 -0
  592. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUndefinedVariablesRule.js +3 -0
  593. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUndefinedVariablesRule.mjs +3 -0
  594. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUnusedFragmentsRule.d.mts +1 -0
  595. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUnusedFragmentsRule.d.ts +1 -0
  596. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUnusedFragmentsRule.js +3 -0
  597. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUnusedFragmentsRule.mjs +3 -0
  598. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUnusedVariablesRule.d.mts +1 -0
  599. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUnusedVariablesRule.d.ts +1 -0
  600. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUnusedVariablesRule.js +3 -0
  601. package/lib/starter/vendor/graphql/__dev__/validation/rules/NoUnusedVariablesRule.mjs +3 -0
  602. package/lib/starter/vendor/graphql/__dev__/validation/rules/OverlappingFieldsCanBeMergedRule.d.mts +1 -0
  603. package/lib/starter/vendor/graphql/__dev__/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts +1 -0
  604. package/lib/starter/vendor/graphql/__dev__/validation/rules/OverlappingFieldsCanBeMergedRule.js +3 -0
  605. package/lib/starter/vendor/graphql/__dev__/validation/rules/OverlappingFieldsCanBeMergedRule.mjs +3 -0
  606. package/lib/starter/vendor/graphql/__dev__/validation/rules/PossibleFragmentSpreadsRule.d.mts +1 -0
  607. package/lib/starter/vendor/graphql/__dev__/validation/rules/PossibleFragmentSpreadsRule.d.ts +1 -0
  608. package/lib/starter/vendor/graphql/__dev__/validation/rules/PossibleFragmentSpreadsRule.js +3 -0
  609. package/lib/starter/vendor/graphql/__dev__/validation/rules/PossibleFragmentSpreadsRule.mjs +3 -0
  610. package/lib/starter/vendor/graphql/__dev__/validation/rules/PossibleTypeExtensionsRule.d.mts +1 -0
  611. package/lib/starter/vendor/graphql/__dev__/validation/rules/PossibleTypeExtensionsRule.d.ts +1 -0
  612. package/lib/starter/vendor/graphql/__dev__/validation/rules/PossibleTypeExtensionsRule.js +3 -0
  613. package/lib/starter/vendor/graphql/__dev__/validation/rules/PossibleTypeExtensionsRule.mjs +3 -0
  614. package/lib/starter/vendor/graphql/__dev__/validation/rules/ProvidedRequiredArgumentsRule.d.mts +1 -0
  615. package/lib/starter/vendor/graphql/__dev__/validation/rules/ProvidedRequiredArgumentsRule.d.ts +1 -0
  616. package/lib/starter/vendor/graphql/__dev__/validation/rules/ProvidedRequiredArgumentsRule.js +3 -0
  617. package/lib/starter/vendor/graphql/__dev__/validation/rules/ProvidedRequiredArgumentsRule.mjs +3 -0
  618. package/lib/starter/vendor/graphql/__dev__/validation/rules/ScalarLeafsRule.d.mts +1 -0
  619. package/lib/starter/vendor/graphql/__dev__/validation/rules/ScalarLeafsRule.d.ts +1 -0
  620. package/lib/starter/vendor/graphql/__dev__/validation/rules/ScalarLeafsRule.js +3 -0
  621. package/lib/starter/vendor/graphql/__dev__/validation/rules/ScalarLeafsRule.mjs +3 -0
  622. package/lib/starter/vendor/graphql/__dev__/validation/rules/SingleFieldSubscriptionsRule.d.mts +1 -0
  623. package/lib/starter/vendor/graphql/__dev__/validation/rules/SingleFieldSubscriptionsRule.d.ts +1 -0
  624. package/lib/starter/vendor/graphql/__dev__/validation/rules/SingleFieldSubscriptionsRule.js +3 -0
  625. package/lib/starter/vendor/graphql/__dev__/validation/rules/SingleFieldSubscriptionsRule.mjs +3 -0
  626. package/lib/starter/vendor/graphql/__dev__/validation/rules/StreamDirectiveOnListFieldRule.d.mts +1 -0
  627. package/lib/starter/vendor/graphql/__dev__/validation/rules/StreamDirectiveOnListFieldRule.d.ts +1 -0
  628. package/lib/starter/vendor/graphql/__dev__/validation/rules/StreamDirectiveOnListFieldRule.js +3 -0
  629. package/lib/starter/vendor/graphql/__dev__/validation/rules/StreamDirectiveOnListFieldRule.mjs +3 -0
  630. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueArgumentDefinitionNamesRule.d.mts +1 -0
  631. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueArgumentDefinitionNamesRule.d.ts +1 -0
  632. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueArgumentDefinitionNamesRule.js +3 -0
  633. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueArgumentDefinitionNamesRule.mjs +3 -0
  634. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueArgumentNamesRule.d.mts +1 -0
  635. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueArgumentNamesRule.d.ts +1 -0
  636. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueArgumentNamesRule.js +3 -0
  637. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueArgumentNamesRule.mjs +3 -0
  638. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueDirectiveNamesRule.d.mts +1 -0
  639. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueDirectiveNamesRule.d.ts +1 -0
  640. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueDirectiveNamesRule.js +3 -0
  641. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueDirectiveNamesRule.mjs +3 -0
  642. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueDirectivesPerLocationRule.d.mts +1 -0
  643. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueDirectivesPerLocationRule.d.ts +1 -0
  644. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueDirectivesPerLocationRule.js +3 -0
  645. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueDirectivesPerLocationRule.mjs +3 -0
  646. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueEnumValueNamesRule.d.mts +1 -0
  647. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueEnumValueNamesRule.d.ts +1 -0
  648. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueEnumValueNamesRule.js +3 -0
  649. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueEnumValueNamesRule.mjs +3 -0
  650. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueFieldDefinitionNamesRule.d.mts +1 -0
  651. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueFieldDefinitionNamesRule.d.ts +1 -0
  652. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueFieldDefinitionNamesRule.js +3 -0
  653. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueFieldDefinitionNamesRule.mjs +3 -0
  654. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueFragmentNamesRule.d.mts +1 -0
  655. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueFragmentNamesRule.d.ts +1 -0
  656. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueFragmentNamesRule.js +3 -0
  657. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueFragmentNamesRule.mjs +3 -0
  658. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueInputFieldNamesRule.d.mts +1 -0
  659. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueInputFieldNamesRule.d.ts +1 -0
  660. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueInputFieldNamesRule.js +3 -0
  661. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueInputFieldNamesRule.mjs +3 -0
  662. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueOperationNamesRule.d.mts +1 -0
  663. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueOperationNamesRule.d.ts +1 -0
  664. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueOperationNamesRule.js +3 -0
  665. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueOperationNamesRule.mjs +3 -0
  666. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueOperationTypesRule.d.mts +1 -0
  667. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueOperationTypesRule.d.ts +1 -0
  668. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueOperationTypesRule.js +3 -0
  669. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueOperationTypesRule.mjs +3 -0
  670. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueTypeNamesRule.d.mts +1 -0
  671. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueTypeNamesRule.d.ts +1 -0
  672. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueTypeNamesRule.js +3 -0
  673. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueTypeNamesRule.mjs +3 -0
  674. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueVariableNamesRule.d.mts +1 -0
  675. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueVariableNamesRule.d.ts +1 -0
  676. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueVariableNamesRule.js +3 -0
  677. package/lib/starter/vendor/graphql/__dev__/validation/rules/UniqueVariableNamesRule.mjs +3 -0
  678. package/lib/starter/vendor/graphql/__dev__/validation/rules/ValuesOfCorrectTypeRule.d.mts +1 -0
  679. package/lib/starter/vendor/graphql/__dev__/validation/rules/ValuesOfCorrectTypeRule.d.ts +1 -0
  680. package/lib/starter/vendor/graphql/__dev__/validation/rules/ValuesOfCorrectTypeRule.js +3 -0
  681. package/lib/starter/vendor/graphql/__dev__/validation/rules/ValuesOfCorrectTypeRule.mjs +3 -0
  682. package/lib/starter/vendor/graphql/__dev__/validation/rules/VariablesAreInputTypesRule.d.mts +1 -0
  683. package/lib/starter/vendor/graphql/__dev__/validation/rules/VariablesAreInputTypesRule.d.ts +1 -0
  684. package/lib/starter/vendor/graphql/__dev__/validation/rules/VariablesAreInputTypesRule.js +3 -0
  685. package/lib/starter/vendor/graphql/__dev__/validation/rules/VariablesAreInputTypesRule.mjs +3 -0
  686. package/lib/starter/vendor/graphql/__dev__/validation/rules/VariablesInAllowedPositionRule.d.mts +1 -0
  687. package/lib/starter/vendor/graphql/__dev__/validation/rules/VariablesInAllowedPositionRule.d.ts +1 -0
  688. package/lib/starter/vendor/graphql/__dev__/validation/rules/VariablesInAllowedPositionRule.js +3 -0
  689. package/lib/starter/vendor/graphql/__dev__/validation/rules/VariablesInAllowedPositionRule.mjs +3 -0
  690. package/lib/starter/vendor/graphql/__dev__/validation/rules/custom/NoDeprecatedCustomRule.d.mts +1 -0
  691. package/lib/starter/vendor/graphql/__dev__/validation/rules/custom/NoDeprecatedCustomRule.d.ts +1 -0
  692. package/lib/starter/vendor/graphql/__dev__/validation/rules/custom/NoDeprecatedCustomRule.js +3 -0
  693. package/lib/starter/vendor/graphql/__dev__/validation/rules/custom/NoDeprecatedCustomRule.mjs +3 -0
  694. package/lib/starter/vendor/graphql/__dev__/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.mts +1 -0
  695. package/lib/starter/vendor/graphql/__dev__/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts +1 -0
  696. package/lib/starter/vendor/graphql/__dev__/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +3 -0
  697. package/lib/starter/vendor/graphql/__dev__/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs +3 -0
  698. package/lib/starter/vendor/graphql/__dev__/validation/specifiedRules.d.mts +1 -0
  699. package/lib/starter/vendor/graphql/__dev__/validation/specifiedRules.d.ts +1 -0
  700. package/lib/starter/vendor/graphql/__dev__/validation/specifiedRules.js +3 -0
  701. package/lib/starter/vendor/graphql/__dev__/validation/specifiedRules.mjs +3 -0
  702. package/lib/starter/vendor/graphql/__dev__/validation/validate.d.mts +1 -0
  703. package/lib/starter/vendor/graphql/__dev__/validation/validate.d.ts +1 -0
  704. package/lib/starter/vendor/graphql/__dev__/validation/validate.js +3 -0
  705. package/lib/starter/vendor/graphql/__dev__/validation/validate.mjs +3 -0
  706. package/lib/starter/vendor/graphql/__dev__/version.d.mts +1 -0
  707. package/lib/starter/vendor/graphql/__dev__/version.d.ts +1 -0
  708. package/lib/starter/vendor/graphql/__dev__/version.js +3 -0
  709. package/lib/starter/vendor/graphql/__dev__/version.mjs +3 -0
  710. package/lib/starter/vendor/graphql/devMode.d.mts +31 -0
  711. package/lib/starter/vendor/graphql/devMode.d.ts +31 -0
  712. package/lib/starter/vendor/graphql/devMode.js +14 -0
  713. package/lib/starter/vendor/graphql/devMode.mjs +10 -0
  714. package/lib/starter/vendor/graphql/diagnostics.d.mts +307 -0
  715. package/lib/starter/vendor/graphql/diagnostics.d.ts +307 -0
  716. package/lib/starter/vendor/graphql/diagnostics.js +76 -0
  717. package/lib/starter/vendor/graphql/diagnostics.mjs +71 -0
  718. package/lib/starter/vendor/graphql/error/GraphQLError.d.mts +206 -0
  719. package/lib/starter/vendor/graphql/error/GraphQLError.d.ts +206 -0
  720. package/lib/starter/vendor/graphql/error/GraphQLError.js +100 -0
  721. package/lib/starter/vendor/graphql/error/GraphQLError.mjs +96 -0
  722. package/lib/starter/vendor/graphql/error/ensureGraphQLError.d.mts +7 -0
  723. package/lib/starter/vendor/graphql/error/ensureGraphQLError.d.ts +7 -0
  724. package/lib/starter/vendor/graphql/error/ensureGraphQLError.js +13 -0
  725. package/lib/starter/vendor/graphql/error/ensureGraphQLError.mjs +10 -0
  726. package/lib/starter/vendor/graphql/error/index.d.mts +10 -0
  727. package/lib/starter/vendor/graphql/error/index.d.ts +10 -0
  728. package/lib/starter/vendor/graphql/error/index.js +10 -0
  729. package/lib/starter/vendor/graphql/error/index.mjs +4 -0
  730. package/lib/starter/vendor/graphql/error/locatedError.d.mts +27 -0
  731. package/lib/starter/vendor/graphql/error/locatedError.d.ts +27 -0
  732. package/lib/starter/vendor/graphql/error/locatedError.js +22 -0
  733. package/lib/starter/vendor/graphql/error/locatedError.mjs +19 -0
  734. package/lib/starter/vendor/graphql/error/syntaxError.d.mts +22 -0
  735. package/lib/starter/vendor/graphql/error/syntaxError.d.ts +22 -0
  736. package/lib/starter/vendor/graphql/error/syntaxError.js +11 -0
  737. package/lib/starter/vendor/graphql/error/syntaxError.mjs +8 -0
  738. package/lib/starter/vendor/graphql/execution/AbortedGraphQLExecutionError.d.mts +33 -0
  739. package/lib/starter/vendor/graphql/execution/AbortedGraphQLExecutionError.d.ts +33 -0
  740. package/lib/starter/vendor/graphql/execution/AbortedGraphQLExecutionError.js +27 -0
  741. package/lib/starter/vendor/graphql/execution/AbortedGraphQLExecutionError.mjs +23 -0
  742. package/lib/starter/vendor/graphql/execution/AsyncWorkTracker.d.mts +10 -0
  743. package/lib/starter/vendor/graphql/execution/AsyncWorkTracker.d.ts +10 -0
  744. package/lib/starter/vendor/graphql/execution/AsyncWorkTracker.js +45 -0
  745. package/lib/starter/vendor/graphql/execution/AsyncWorkTracker.mjs +41 -0
  746. package/lib/starter/vendor/graphql/execution/ExecutionArgs.d.mts +107 -0
  747. package/lib/starter/vendor/graphql/execution/ExecutionArgs.d.ts +107 -0
  748. package/lib/starter/vendor/graphql/execution/ExecutionArgs.js +3 -0
  749. package/lib/starter/vendor/graphql/execution/ExecutionArgs.mjs +2 -0
  750. package/lib/starter/vendor/graphql/execution/Executor.d.mts +233 -0
  751. package/lib/starter/vendor/graphql/execution/Executor.d.ts +233 -0
  752. package/lib/starter/vendor/graphql/execution/Executor.js +578 -0
  753. package/lib/starter/vendor/graphql/execution/Executor.mjs +574 -0
  754. package/lib/starter/vendor/graphql/execution/ExecutorThrowingOnIncremental.d.mts +12 -0
  755. package/lib/starter/vendor/graphql/execution/ExecutorThrowingOnIncremental.d.ts +12 -0
  756. package/lib/starter/vendor/graphql/execution/ExecutorThrowingOnIncremental.js +45 -0
  757. package/lib/starter/vendor/graphql/execution/ExecutorThrowingOnIncremental.mjs +41 -0
  758. package/lib/starter/vendor/graphql/execution/buildResolveInfo.d.mts +16 -0
  759. package/lib/starter/vendor/graphql/execution/buildResolveInfo.d.ts +16 -0
  760. package/lib/starter/vendor/graphql/execution/buildResolveInfo.js +21 -0
  761. package/lib/starter/vendor/graphql/execution/buildResolveInfo.mjs +18 -0
  762. package/lib/starter/vendor/graphql/execution/cancellablePromise.d.mts +9 -0
  763. package/lib/starter/vendor/graphql/execution/cancellablePromise.d.ts +9 -0
  764. package/lib/starter/vendor/graphql/execution/cancellablePromise.js +49 -0
  765. package/lib/starter/vendor/graphql/execution/cancellablePromise.mjs +45 -0
  766. package/lib/starter/vendor/graphql/execution/collectFields.d.mts +65 -0
  767. package/lib/starter/vendor/graphql/execution/collectFields.d.ts +65 -0
  768. package/lib/starter/vendor/graphql/execution/collectFields.js +180 -0
  769. package/lib/starter/vendor/graphql/execution/collectFields.mjs +176 -0
  770. package/lib/starter/vendor/graphql/execution/collectIteratorPromises.d.mts +7 -0
  771. package/lib/starter/vendor/graphql/execution/collectIteratorPromises.d.ts +7 -0
  772. package/lib/starter/vendor/graphql/execution/collectIteratorPromises.js +22 -0
  773. package/lib/starter/vendor/graphql/execution/collectIteratorPromises.mjs +19 -0
  774. package/lib/starter/vendor/graphql/execution/createSharedExecutionContext.d.mts +11 -0
  775. package/lib/starter/vendor/graphql/execution/createSharedExecutionContext.d.ts +11 -0
  776. package/lib/starter/vendor/graphql/execution/createSharedExecutionContext.js +20 -0
  777. package/lib/starter/vendor/graphql/execution/createSharedExecutionContext.mjs +17 -0
  778. package/lib/starter/vendor/graphql/execution/execute.d.mts +566 -0
  779. package/lib/starter/vendor/graphql/execution/execute.d.ts +566 -0
  780. package/lib/starter/vendor/graphql/execution/execute.js +393 -0
  781. package/lib/starter/vendor/graphql/execution/execute.mjs +375 -0
  782. package/lib/starter/vendor/graphql/execution/getStreamUsage.d.mts +16 -0
  783. package/lib/starter/vendor/graphql/execution/getStreamUsage.d.ts +16 -0
  784. package/lib/starter/vendor/graphql/execution/getStreamUsage.js +34 -0
  785. package/lib/starter/vendor/graphql/execution/getStreamUsage.mjs +31 -0
  786. package/lib/starter/vendor/graphql/execution/getVariableSignature.d.mts +21 -0
  787. package/lib/starter/vendor/graphql/execution/getVariableSignature.d.ts +21 -0
  788. package/lib/starter/vendor/graphql/execution/getVariableSignature.js +22 -0
  789. package/lib/starter/vendor/graphql/execution/getVariableSignature.mjs +19 -0
  790. package/lib/starter/vendor/graphql/execution/hooks.d.mts +5 -0
  791. package/lib/starter/vendor/graphql/execution/hooks.d.ts +5 -0
  792. package/lib/starter/vendor/graphql/execution/hooks.js +23 -0
  793. package/lib/starter/vendor/graphql/execution/hooks.mjs +20 -0
  794. package/lib/starter/vendor/graphql/execution/incremental/Computation.d.mts +22 -0
  795. package/lib/starter/vendor/graphql/execution/incremental/Computation.d.ts +22 -0
  796. package/lib/starter/vendor/graphql/execution/incremental/Computation.js +67 -0
  797. package/lib/starter/vendor/graphql/execution/incremental/Computation.mjs +63 -0
  798. package/lib/starter/vendor/graphql/execution/incremental/IncrementalExecutor.d.mts +297 -0
  799. package/lib/starter/vendor/graphql/execution/incremental/IncrementalExecutor.d.ts +297 -0
  800. package/lib/starter/vendor/graphql/execution/incremental/IncrementalExecutor.js +360 -0
  801. package/lib/starter/vendor/graphql/execution/incremental/IncrementalExecutor.mjs +356 -0
  802. package/lib/starter/vendor/graphql/execution/incremental/IncrementalPublisher.d.mts +15 -0
  803. package/lib/starter/vendor/graphql/execution/incremental/IncrementalPublisher.d.ts +15 -0
  804. package/lib/starter/vendor/graphql/execution/incremental/IncrementalPublisher.js +195 -0
  805. package/lib/starter/vendor/graphql/execution/incremental/IncrementalPublisher.mjs +191 -0
  806. package/lib/starter/vendor/graphql/execution/incremental/Queue.d.mts +86 -0
  807. package/lib/starter/vendor/graphql/execution/incremental/Queue.d.ts +86 -0
  808. package/lib/starter/vendor/graphql/execution/incremental/Queue.js +273 -0
  809. package/lib/starter/vendor/graphql/execution/incremental/Queue.mjs +269 -0
  810. package/lib/starter/vendor/graphql/execution/incremental/WorkQueue.d.mts +75 -0
  811. package/lib/starter/vendor/graphql/execution/incremental/WorkQueue.d.ts +75 -0
  812. package/lib/starter/vendor/graphql/execution/incremental/WorkQueue.js +381 -0
  813. package/lib/starter/vendor/graphql/execution/incremental/WorkQueue.mjs +378 -0
  814. package/lib/starter/vendor/graphql/execution/incremental/buildExecutionPlan.d.mts +10 -0
  815. package/lib/starter/vendor/graphql/execution/incremental/buildExecutionPlan.d.ts +10 -0
  816. package/lib/starter/vendor/graphql/execution/incremental/buildExecutionPlan.js +49 -0
  817. package/lib/starter/vendor/graphql/execution/incremental/buildExecutionPlan.mjs +46 -0
  818. package/lib/starter/vendor/graphql/execution/index.d.mts +17 -0
  819. package/lib/starter/vendor/graphql/execution/index.d.ts +17 -0
  820. package/lib/starter/vendor/graphql/execution/index.js +29 -0
  821. package/lib/starter/vendor/graphql/execution/index.mjs +6 -0
  822. package/lib/starter/vendor/graphql/execution/legacyIncremental/BranchingIncrementalExecutor.d.mts +175 -0
  823. package/lib/starter/vendor/graphql/execution/legacyIncremental/BranchingIncrementalExecutor.d.ts +175 -0
  824. package/lib/starter/vendor/graphql/execution/legacyIncremental/BranchingIncrementalExecutor.js +69 -0
  825. package/lib/starter/vendor/graphql/execution/legacyIncremental/BranchingIncrementalExecutor.mjs +65 -0
  826. package/lib/starter/vendor/graphql/execution/legacyIncremental/BranchingIncrementalPublisher.d.mts +12 -0
  827. package/lib/starter/vendor/graphql/execution/legacyIncremental/BranchingIncrementalPublisher.d.ts +12 -0
  828. package/lib/starter/vendor/graphql/execution/legacyIncremental/BranchingIncrementalPublisher.js +131 -0
  829. package/lib/starter/vendor/graphql/execution/legacyIncremental/BranchingIncrementalPublisher.mjs +127 -0
  830. package/lib/starter/vendor/graphql/execution/legacyIncremental/legacyExecuteIncrementally.d.mts +165 -0
  831. package/lib/starter/vendor/graphql/execution/legacyIncremental/legacyExecuteIncrementally.d.ts +165 -0
  832. package/lib/starter/vendor/graphql/execution/legacyIncremental/legacyExecuteIncrementally.js +17 -0
  833. package/lib/starter/vendor/graphql/execution/legacyIncremental/legacyExecuteIncrementally.mjs +13 -0
  834. package/lib/starter/vendor/graphql/execution/mapAsyncIterable.d.mts +8 -0
  835. package/lib/starter/vendor/graphql/execution/mapAsyncIterable.d.ts +8 -0
  836. package/lib/starter/vendor/graphql/execution/mapAsyncIterable.js +35 -0
  837. package/lib/starter/vendor/graphql/execution/mapAsyncIterable.mjs +32 -0
  838. package/lib/starter/vendor/graphql/execution/returnIteratorCatchingErrors.d.mts +2 -0
  839. package/lib/starter/vendor/graphql/execution/returnIteratorCatchingErrors.d.ts +2 -0
  840. package/lib/starter/vendor/graphql/execution/returnIteratorCatchingErrors.js +11 -0
  841. package/lib/starter/vendor/graphql/execution/returnIteratorCatchingErrors.mjs +8 -0
  842. package/lib/starter/vendor/graphql/execution/values.d.mts +243 -0
  843. package/lib/starter/vendor/graphql/execution/values.d.ts +243 -0
  844. package/lib/starter/vendor/graphql/execution/values.js +178 -0
  845. package/lib/starter/vendor/graphql/execution/values.mjs +172 -0
  846. package/lib/starter/vendor/graphql/execution/withConcurrentAbruptClose.d.mts +15 -0
  847. package/lib/starter/vendor/graphql/execution/withConcurrentAbruptClose.d.ts +15 -0
  848. package/lib/starter/vendor/graphql/execution/withConcurrentAbruptClose.js +58 -0
  849. package/lib/starter/vendor/graphql/execution/withConcurrentAbruptClose.mjs +55 -0
  850. package/lib/starter/vendor/graphql/graphql.d.mts +209 -0
  851. package/lib/starter/vendor/graphql/graphql.d.ts +209 -0
  852. package/lib/starter/vendor/graphql/graphql.js +51 -0
  853. package/lib/starter/vendor/graphql/graphql.mjs +47 -0
  854. package/lib/starter/vendor/graphql/harness.d.mts +32 -0
  855. package/lib/starter/vendor/graphql/harness.d.ts +32 -0
  856. package/lib/starter/vendor/graphql/harness.js +13 -0
  857. package/lib/starter/vendor/graphql/harness.mjs +10 -0
  858. package/lib/starter/vendor/graphql/index.d.mts +54 -0
  859. package/lib/starter/vendor/graphql/index.d.ts +54 -0
  860. package/lib/starter/vendor/graphql/index.js +265 -0
  861. package/lib/starter/vendor/graphql/index.mjs +12 -0
  862. package/lib/starter/vendor/graphql/jsutils/AccumulatorMap.d.mts +9 -0
  863. package/lib/starter/vendor/graphql/jsutils/AccumulatorMap.d.ts +9 -0
  864. package/lib/starter/vendor/graphql/jsutils/AccumulatorMap.js +19 -0
  865. package/lib/starter/vendor/graphql/jsutils/AccumulatorMap.mjs +15 -0
  866. package/lib/starter/vendor/graphql/jsutils/Maybe.d.mts +6 -0
  867. package/lib/starter/vendor/graphql/jsutils/Maybe.d.ts +6 -0
  868. package/lib/starter/vendor/graphql/jsutils/Maybe.js +3 -0
  869. package/lib/starter/vendor/graphql/jsutils/Maybe.mjs +2 -0
  870. package/lib/starter/vendor/graphql/jsutils/ObjMap.d.mts +24 -0
  871. package/lib/starter/vendor/graphql/jsutils/ObjMap.d.ts +24 -0
  872. package/lib/starter/vendor/graphql/jsutils/ObjMap.js +3 -0
  873. package/lib/starter/vendor/graphql/jsutils/ObjMap.mjs +2 -0
  874. package/lib/starter/vendor/graphql/jsutils/Path.d.mts +44 -0
  875. package/lib/starter/vendor/graphql/jsutils/Path.d.ts +44 -0
  876. package/lib/starter/vendor/graphql/jsutils/Path.js +17 -0
  877. package/lib/starter/vendor/graphql/jsutils/Path.mjs +13 -0
  878. package/lib/starter/vendor/graphql/jsutils/PromiseOrValue.d.mts +2 -0
  879. package/lib/starter/vendor/graphql/jsutils/PromiseOrValue.d.ts +2 -0
  880. package/lib/starter/vendor/graphql/jsutils/PromiseOrValue.js +3 -0
  881. package/lib/starter/vendor/graphql/jsutils/PromiseOrValue.mjs +2 -0
  882. package/lib/starter/vendor/graphql/jsutils/capitalize.d.mts +6 -0
  883. package/lib/starter/vendor/graphql/jsutils/capitalize.d.ts +6 -0
  884. package/lib/starter/vendor/graphql/jsutils/capitalize.js +7 -0
  885. package/lib/starter/vendor/graphql/jsutils/capitalize.mjs +4 -0
  886. package/lib/starter/vendor/graphql/jsutils/devAssert.d.mts +2 -0
  887. package/lib/starter/vendor/graphql/jsutils/devAssert.d.ts +2 -0
  888. package/lib/starter/vendor/graphql/jsutils/devAssert.js +9 -0
  889. package/lib/starter/vendor/graphql/jsutils/devAssert.mjs +6 -0
  890. package/lib/starter/vendor/graphql/jsutils/didYouMean.d.mts +8 -0
  891. package/lib/starter/vendor/graphql/jsutils/didYouMean.d.ts +8 -0
  892. package/lib/starter/vendor/graphql/jsutils/didYouMean.js +20 -0
  893. package/lib/starter/vendor/graphql/jsutils/didYouMean.mjs +17 -0
  894. package/lib/starter/vendor/graphql/jsutils/formatList.d.mts +12 -0
  895. package/lib/starter/vendor/graphql/jsutils/formatList.d.ts +12 -0
  896. package/lib/starter/vendor/graphql/jsutils/formatList.js +25 -0
  897. package/lib/starter/vendor/graphql/jsutils/formatList.mjs +21 -0
  898. package/lib/starter/vendor/graphql/jsutils/getBySet.d.mts +2 -0
  899. package/lib/starter/vendor/graphql/jsutils/getBySet.d.ts +2 -0
  900. package/lib/starter/vendor/graphql/jsutils/getBySet.js +13 -0
  901. package/lib/starter/vendor/graphql/jsutils/getBySet.mjs +10 -0
  902. package/lib/starter/vendor/graphql/jsutils/groupBy.d.mts +6 -0
  903. package/lib/starter/vendor/graphql/jsutils/groupBy.d.ts +6 -0
  904. package/lib/starter/vendor/graphql/jsutils/groupBy.js +12 -0
  905. package/lib/starter/vendor/graphql/jsutils/groupBy.mjs +9 -0
  906. package/lib/starter/vendor/graphql/jsutils/identityFunc.d.mts +6 -0
  907. package/lib/starter/vendor/graphql/jsutils/identityFunc.d.ts +6 -0
  908. package/lib/starter/vendor/graphql/jsutils/identityFunc.js +7 -0
  909. package/lib/starter/vendor/graphql/jsutils/identityFunc.mjs +4 -0
  910. package/lib/starter/vendor/graphql/jsutils/inspect.d.mts +6 -0
  911. package/lib/starter/vendor/graphql/jsutils/inspect.d.ts +6 -0
  912. package/lib/starter/vendor/graphql/jsutils/inspect.js +90 -0
  913. package/lib/starter/vendor/graphql/jsutils/inspect.mjs +87 -0
  914. package/lib/starter/vendor/graphql/jsutils/instanceOf.d.mts +17 -0
  915. package/lib/starter/vendor/graphql/jsutils/instanceOf.d.ts +17 -0
  916. package/lib/starter/vendor/graphql/jsutils/instanceOf.js +40 -0
  917. package/lib/starter/vendor/graphql/jsutils/instanceOf.mjs +36 -0
  918. package/lib/starter/vendor/graphql/jsutils/invariant.d.mts +2 -0
  919. package/lib/starter/vendor/graphql/jsutils/invariant.d.ts +2 -0
  920. package/lib/starter/vendor/graphql/jsutils/invariant.js +9 -0
  921. package/lib/starter/vendor/graphql/jsutils/invariant.mjs +6 -0
  922. package/lib/starter/vendor/graphql/jsutils/isAsyncIterable.d.mts +7 -0
  923. package/lib/starter/vendor/graphql/jsutils/isAsyncIterable.d.ts +7 -0
  924. package/lib/starter/vendor/graphql/jsutils/isAsyncIterable.js +7 -0
  925. package/lib/starter/vendor/graphql/jsutils/isAsyncIterable.mjs +4 -0
  926. package/lib/starter/vendor/graphql/jsutils/isIterableObject.d.mts +19 -0
  927. package/lib/starter/vendor/graphql/jsutils/isIterableObject.d.ts +19 -0
  928. package/lib/starter/vendor/graphql/jsutils/isIterableObject.js +8 -0
  929. package/lib/starter/vendor/graphql/jsutils/isIterableObject.mjs +5 -0
  930. package/lib/starter/vendor/graphql/jsutils/isObjectLike.d.mts +9 -0
  931. package/lib/starter/vendor/graphql/jsutils/isObjectLike.d.ts +9 -0
  932. package/lib/starter/vendor/graphql/jsutils/isObjectLike.js +7 -0
  933. package/lib/starter/vendor/graphql/jsutils/isObjectLike.mjs +4 -0
  934. package/lib/starter/vendor/graphql/jsutils/isPromise.d.mts +9 -0
  935. package/lib/starter/vendor/graphql/jsutils/isPromise.d.ts +9 -0
  936. package/lib/starter/vendor/graphql/jsutils/isPromise.js +11 -0
  937. package/lib/starter/vendor/graphql/jsutils/isPromise.mjs +7 -0
  938. package/lib/starter/vendor/graphql/jsutils/isSameSet.d.mts +2 -0
  939. package/lib/starter/vendor/graphql/jsutils/isSameSet.d.ts +2 -0
  940. package/lib/starter/vendor/graphql/jsutils/isSameSet.js +15 -0
  941. package/lib/starter/vendor/graphql/jsutils/isSameSet.mjs +12 -0
  942. package/lib/starter/vendor/graphql/jsutils/keyMap.d.mts +22 -0
  943. package/lib/starter/vendor/graphql/jsutils/keyMap.d.ts +22 -0
  944. package/lib/starter/vendor/graphql/jsutils/keyMap.js +11 -0
  945. package/lib/starter/vendor/graphql/jsutils/keyMap.mjs +8 -0
  946. package/lib/starter/vendor/graphql/jsutils/keyValMap.d.mts +22 -0
  947. package/lib/starter/vendor/graphql/jsutils/keyValMap.d.ts +22 -0
  948. package/lib/starter/vendor/graphql/jsutils/keyValMap.js +11 -0
  949. package/lib/starter/vendor/graphql/jsutils/keyValMap.mjs +8 -0
  950. package/lib/starter/vendor/graphql/jsutils/mapValue.d.mts +8 -0
  951. package/lib/starter/vendor/graphql/jsutils/mapValue.d.ts +8 -0
  952. package/lib/starter/vendor/graphql/jsutils/mapValue.js +11 -0
  953. package/lib/starter/vendor/graphql/jsutils/mapValue.mjs +8 -0
  954. package/lib/starter/vendor/graphql/jsutils/memoize1.d.mts +6 -0
  955. package/lib/starter/vendor/graphql/jsutils/memoize1.d.ts +6 -0
  956. package/lib/starter/vendor/graphql/jsutils/memoize1.js +16 -0
  957. package/lib/starter/vendor/graphql/jsutils/memoize1.mjs +13 -0
  958. package/lib/starter/vendor/graphql/jsutils/memoize2.d.mts +6 -0
  959. package/lib/starter/vendor/graphql/jsutils/memoize2.d.ts +6 -0
  960. package/lib/starter/vendor/graphql/jsutils/memoize2.js +21 -0
  961. package/lib/starter/vendor/graphql/jsutils/memoize2.mjs +18 -0
  962. package/lib/starter/vendor/graphql/jsutils/memoize3.d.mts +6 -0
  963. package/lib/starter/vendor/graphql/jsutils/memoize3.d.ts +6 -0
  964. package/lib/starter/vendor/graphql/jsutils/memoize3.js +26 -0
  965. package/lib/starter/vendor/graphql/jsutils/memoize3.mjs +23 -0
  966. package/lib/starter/vendor/graphql/jsutils/naturalCompare.d.mts +9 -0
  967. package/lib/starter/vendor/graphql/jsutils/naturalCompare.d.ts +9 -0
  968. package/lib/starter/vendor/graphql/jsutils/naturalCompare.js +48 -0
  969. package/lib/starter/vendor/graphql/jsutils/naturalCompare.mjs +45 -0
  970. package/lib/starter/vendor/graphql/jsutils/printPathArray.d.mts +6 -0
  971. package/lib/starter/vendor/graphql/jsutils/printPathArray.d.ts +6 -0
  972. package/lib/starter/vendor/graphql/jsutils/printPathArray.js +12 -0
  973. package/lib/starter/vendor/graphql/jsutils/printPathArray.mjs +9 -0
  974. package/lib/starter/vendor/graphql/jsutils/promiseForObject.d.mts +12 -0
  975. package/lib/starter/vendor/graphql/jsutils/promiseForObject.d.ts +12 -0
  976. package/lib/starter/vendor/graphql/jsutils/promiseForObject.js +15 -0
  977. package/lib/starter/vendor/graphql/jsutils/promiseForObject.mjs +12 -0
  978. package/lib/starter/vendor/graphql/jsutils/promiseReduce.d.mts +11 -0
  979. package/lib/starter/vendor/graphql/jsutils/promiseReduce.d.ts +11 -0
  980. package/lib/starter/vendor/graphql/jsutils/promiseReduce.js +14 -0
  981. package/lib/starter/vendor/graphql/jsutils/promiseReduce.mjs +11 -0
  982. package/lib/starter/vendor/graphql/jsutils/promiseWithResolvers.d.mts +12 -0
  983. package/lib/starter/vendor/graphql/jsutils/promiseWithResolvers.d.ts +12 -0
  984. package/lib/starter/vendor/graphql/jsutils/promiseWithResolvers.js +13 -0
  985. package/lib/starter/vendor/graphql/jsutils/promiseWithResolvers.mjs +10 -0
  986. package/lib/starter/vendor/graphql/jsutils/suggestionList.d.mts +7 -0
  987. package/lib/starter/vendor/graphql/jsutils/suggestionList.d.ts +7 -0
  988. package/lib/starter/vendor/graphql/jsutils/suggestionList.js +87 -0
  989. package/lib/starter/vendor/graphql/jsutils/suggestionList.mjs +84 -0
  990. package/lib/starter/vendor/graphql/jsutils/toError.d.mts +6 -0
  991. package/lib/starter/vendor/graphql/jsutils/toError.d.ts +6 -0
  992. package/lib/starter/vendor/graphql/jsutils/toError.js +17 -0
  993. package/lib/starter/vendor/graphql/jsutils/toError.mjs +14 -0
  994. package/lib/starter/vendor/graphql/jsutils/toObjMap.d.mts +6 -0
  995. package/lib/starter/vendor/graphql/jsutils/toObjMap.d.ts +6 -0
  996. package/lib/starter/vendor/graphql/jsutils/toObjMap.js +34 -0
  997. package/lib/starter/vendor/graphql/jsutils/toObjMap.mjs +30 -0
  998. package/lib/starter/vendor/graphql/language/KindTypeMap.d.mts +3 -0
  999. package/lib/starter/vendor/graphql/language/KindTypeMap.d.ts +3 -0
  1000. package/lib/starter/vendor/graphql/language/KindTypeMap.js +3 -0
  1001. package/lib/starter/vendor/graphql/language/KindTypeMap.mjs +2 -0
  1002. package/lib/starter/vendor/graphql/language/ast.d.mts +862 -0
  1003. package/lib/starter/vendor/graphql/language/ast.d.ts +862 -0
  1004. package/lib/starter/vendor/graphql/language/ast.js +154 -0
  1005. package/lib/starter/vendor/graphql/language/ast.mjs +148 -0
  1006. package/lib/starter/vendor/graphql/language/blockString.d.mts +21 -0
  1007. package/lib/starter/vendor/graphql/language/blockString.d.ts +21 -0
  1008. package/lib/starter/vendor/graphql/language/blockString.js +114 -0
  1009. package/lib/starter/vendor/graphql/language/blockString.mjs +109 -0
  1010. package/lib/starter/vendor/graphql/language/characterClasses.d.mts +47 -0
  1011. package/lib/starter/vendor/graphql/language/characterClasses.d.ts +47 -0
  1012. package/lib/starter/vendor/graphql/language/characterClasses.js +24 -0
  1013. package/lib/starter/vendor/graphql/language/characterClasses.mjs +17 -0
  1014. package/lib/starter/vendor/graphql/language/directiveLocation.d.mts +48 -0
  1015. package/lib/starter/vendor/graphql/language/directiveLocation.d.ts +48 -0
  1016. package/lib/starter/vendor/graphql/language/directiveLocation.js +27 -0
  1017. package/lib/starter/vendor/graphql/language/directiveLocation.mjs +24 -0
  1018. package/lib/starter/vendor/graphql/language/index.d.mts +22 -0
  1019. package/lib/starter/vendor/graphql/language/index.d.ts +22 -0
  1020. package/lib/starter/vendor/graphql/language/index.js +49 -0
  1021. package/lib/starter/vendor/graphql/language/index.mjs +13 -0
  1022. package/lib/starter/vendor/graphql/language/kinds.d.mts +6 -0
  1023. package/lib/starter/vendor/graphql/language/kinds.d.ts +6 -0
  1024. package/lib/starter/vendor/graphql/language/kinds.js +38 -0
  1025. package/lib/starter/vendor/graphql/language/kinds.mjs +2 -0
  1026. package/lib/starter/vendor/graphql/language/kinds_.d.mts +199 -0
  1027. package/lib/starter/vendor/graphql/language/kinds_.d.ts +199 -0
  1028. package/lib/starter/vendor/graphql/language/kinds_.js +54 -0
  1029. package/lib/starter/vendor/graphql/language/kinds_.mjs +51 -0
  1030. package/lib/starter/vendor/graphql/language/lexer.d.mts +120 -0
  1031. package/lib/starter/vendor/graphql/language/lexer.d.ts +120 -0
  1032. package/lib/starter/vendor/graphql/language/lexer.js +439 -0
  1033. package/lib/starter/vendor/graphql/language/lexer.mjs +431 -0
  1034. package/lib/starter/vendor/graphql/language/location.d.mts +26 -0
  1035. package/lib/starter/vendor/graphql/language/location.d.ts +26 -0
  1036. package/lib/starter/vendor/graphql/language/location.js +20 -0
  1037. package/lib/starter/vendor/graphql/language/location.mjs +17 -0
  1038. package/lib/starter/vendor/graphql/language/parser.d.mts +740 -0
  1039. package/lib/starter/vendor/graphql/language/parser.d.ts +740 -0
  1040. package/lib/starter/vendor/graphql/language/parser.js +1016 -0
  1041. package/lib/starter/vendor/graphql/language/parser.mjs +1007 -0
  1042. package/lib/starter/vendor/graphql/language/predicates.d.mts +204 -0
  1043. package/lib/starter/vendor/graphql/language/predicates.d.ts +204 -0
  1044. package/lib/starter/vendor/graphql/language/predicates.js +91 -0
  1045. package/lib/starter/vendor/graphql/language/predicates.mjs +77 -0
  1046. package/lib/starter/vendor/graphql/language/printLocation.d.mts +39 -0
  1047. package/lib/starter/vendor/graphql/language/printLocation.d.ts +39 -0
  1048. package/lib/starter/vendor/graphql/language/printLocation.js +52 -0
  1049. package/lib/starter/vendor/graphql/language/printLocation.mjs +48 -0
  1050. package/lib/starter/vendor/graphql/language/printString.d.mts +7 -0
  1051. package/lib/starter/vendor/graphql/language/printString.d.ts +7 -0
  1052. package/lib/starter/vendor/graphql/language/printString.js +33 -0
  1053. package/lib/starter/vendor/graphql/language/printString.mjs +30 -0
  1054. package/lib/starter/vendor/graphql/language/printer.d.mts +18 -0
  1055. package/lib/starter/vendor/graphql/language/printer.d.ts +18 -0
  1056. package/lib/starter/vendor/graphql/language/printer.js +251 -0
  1057. package/lib/starter/vendor/graphql/language/printer.mjs +248 -0
  1058. package/lib/starter/vendor/graphql/language/schemaCoordinateLexer.d.mts +57 -0
  1059. package/lib/starter/vendor/graphql/language/schemaCoordinateLexer.d.ts +57 -0
  1060. package/lib/starter/vendor/graphql/language/schemaCoordinateLexer.js +63 -0
  1061. package/lib/starter/vendor/graphql/language/schemaCoordinateLexer.mjs +59 -0
  1062. package/lib/starter/vendor/graphql/language/source.d.mts +52 -0
  1063. package/lib/starter/vendor/graphql/language/source.d.ts +52 -0
  1064. package/lib/starter/vendor/graphql/language/source.js +27 -0
  1065. package/lib/starter/vendor/graphql/language/source.mjs +22 -0
  1066. package/lib/starter/vendor/graphql/language/tokenKind.d.mts +35 -0
  1067. package/lib/starter/vendor/graphql/language/tokenKind.d.ts +35 -0
  1068. package/lib/starter/vendor/graphql/language/tokenKind.js +29 -0
  1069. package/lib/starter/vendor/graphql/language/tokenKind.mjs +26 -0
  1070. package/lib/starter/vendor/graphql/language/visitor.d.mts +278 -0
  1071. package/lib/starter/vendor/graphql/language/visitor.d.ts +278 -0
  1072. package/lib/starter/vendor/graphql/language/visitor.js +190 -0
  1073. package/lib/starter/vendor/graphql/language/visitor.mjs +184 -0
  1074. package/lib/starter/vendor/graphql/package.json +203 -0
  1075. package/lib/starter/vendor/graphql/type/assertName.d.mts +27 -0
  1076. package/lib/starter/vendor/graphql/type/assertName.d.ts +27 -0
  1077. package/lib/starter/vendor/graphql/type/assertName.js +27 -0
  1078. package/lib/starter/vendor/graphql/type/assertName.mjs +23 -0
  1079. package/lib/starter/vendor/graphql/type/definition.d.mts +4095 -0
  1080. package/lib/starter/vendor/graphql/type/definition.d.ts +4095 -0
  1081. package/lib/starter/vendor/graphql/type/definition.js +846 -0
  1082. package/lib/starter/vendor/graphql/type/definition.mjs +783 -0
  1083. package/lib/starter/vendor/graphql/type/directives.d.mts +291 -0
  1084. package/lib/starter/vendor/graphql/type/directives.d.ts +291 -0
  1085. package/lib/starter/vendor/graphql/type/directives.js +194 -0
  1086. package/lib/starter/vendor/graphql/type/directives.mjs +187 -0
  1087. package/lib/starter/vendor/graphql/type/index.d.mts +18 -0
  1088. package/lib/starter/vendor/graphql/type/index.d.ts +18 -0
  1089. package/lib/starter/vendor/graphql/type/index.js +111 -0
  1090. package/lib/starter/vendor/graphql/type/index.mjs +8 -0
  1091. package/lib/starter/vendor/graphql/type/introspection.d.mts +62 -0
  1092. package/lib/starter/vendor/graphql/type/introspection.d.ts +62 -0
  1093. package/lib/starter/vendor/graphql/type/introspection.js +496 -0
  1094. package/lib/starter/vendor/graphql/type/introspection.mjs +492 -0
  1095. package/lib/starter/vendor/graphql/type/scalars.d.mts +46 -0
  1096. package/lib/starter/vendor/graphql/type/scalars.d.ts +46 -0
  1097. package/lib/starter/vendor/graphql/type/scalars.js +320 -0
  1098. package/lib/starter/vendor/graphql/type/scalars.mjs +316 -0
  1099. package/lib/starter/vendor/graphql/type/schema.d.mts +644 -0
  1100. package/lib/starter/vendor/graphql/type/schema.d.ts +644 -0
  1101. package/lib/starter/vendor/graphql/type/schema.js +220 -0
  1102. package/lib/starter/vendor/graphql/type/schema.mjs +214 -0
  1103. package/lib/starter/vendor/graphql/type/validate.d.mts +50 -0
  1104. package/lib/starter/vendor/graphql/type/validate.d.ts +50 -0
  1105. package/lib/starter/vendor/graphql/type/validate.js +593 -0
  1106. package/lib/starter/vendor/graphql/type/validate.mjs +588 -0
  1107. package/lib/starter/vendor/graphql/utilities/TypeInfo.d.mts +618 -0
  1108. package/lib/starter/vendor/graphql/utilities/TypeInfo.d.ts +618 -0
  1109. package/lib/starter/vendor/graphql/utilities/TypeInfo.js +284 -0
  1110. package/lib/starter/vendor/graphql/utilities/TypeInfo.mjs +279 -0
  1111. package/lib/starter/vendor/graphql/utilities/astFromValue.d.mts +60 -0
  1112. package/lib/starter/vendor/graphql/utilities/astFromValue.d.ts +60 -0
  1113. package/lib/starter/vendor/graphql/utilities/astFromValue.js +90 -0
  1114. package/lib/starter/vendor/graphql/utilities/astFromValue.mjs +87 -0
  1115. package/lib/starter/vendor/graphql/utilities/buildASTSchema.d.mts +88 -0
  1116. package/lib/starter/vendor/graphql/utilities/buildASTSchema.d.ts +88 -0
  1117. package/lib/starter/vendor/graphql/utilities/buildASTSchema.js +54 -0
  1118. package/lib/starter/vendor/graphql/utilities/buildASTSchema.mjs +50 -0
  1119. package/lib/starter/vendor/graphql/utilities/buildClientSchema.d.mts +35 -0
  1120. package/lib/starter/vendor/graphql/utilities/buildClientSchema.d.ts +35 -0
  1121. package/lib/starter/vendor/graphql/utilities/buildClientSchema.js +232 -0
  1122. package/lib/starter/vendor/graphql/utilities/buildClientSchema.mjs +229 -0
  1123. package/lib/starter/vendor/graphql/utilities/coerceInputValue.d.mts +117 -0
  1124. package/lib/starter/vendor/graphql/utilities/coerceInputValue.d.ts +117 -0
  1125. package/lib/starter/vendor/graphql/utilities/coerceInputValue.js +228 -0
  1126. package/lib/starter/vendor/graphql/utilities/coerceInputValue.mjs +223 -0
  1127. package/lib/starter/vendor/graphql/utilities/concatAST.d.mts +22 -0
  1128. package/lib/starter/vendor/graphql/utilities/concatAST.d.ts +22 -0
  1129. package/lib/starter/vendor/graphql/utilities/concatAST.js +12 -0
  1130. package/lib/starter/vendor/graphql/utilities/concatAST.mjs +9 -0
  1131. package/lib/starter/vendor/graphql/utilities/extendSchema.d.mts +84 -0
  1132. package/lib/starter/vendor/graphql/utilities/extendSchema.d.ts +84 -0
  1133. package/lib/starter/vendor/graphql/utilities/extendSchema.js +413 -0
  1134. package/lib/starter/vendor/graphql/utilities/extendSchema.mjs +409 -0
  1135. package/lib/starter/vendor/graphql/utilities/findSchemaChanges.d.mts +172 -0
  1136. package/lib/starter/vendor/graphql/utilities/findSchemaChanges.d.ts +172 -0
  1137. package/lib/starter/vendor/graphql/utilities/findSchemaChanges.js +553 -0
  1138. package/lib/starter/vendor/graphql/utilities/findSchemaChanges.mjs +547 -0
  1139. package/lib/starter/vendor/graphql/utilities/getDefaultValueAST.d.mts +4 -0
  1140. package/lib/starter/vendor/graphql/utilities/getDefaultValueAST.d.ts +4 -0
  1141. package/lib/starter/vendor/graphql/utilities/getDefaultValueAST.js +25 -0
  1142. package/lib/starter/vendor/graphql/utilities/getDefaultValueAST.mjs +22 -0
  1143. package/lib/starter/vendor/graphql/utilities/getIntrospectionQuery.d.mts +286 -0
  1144. package/lib/starter/vendor/graphql/utilities/getIntrospectionQuery.d.ts +286 -0
  1145. package/lib/starter/vendor/graphql/utilities/getIntrospectionQuery.js +120 -0
  1146. package/lib/starter/vendor/graphql/utilities/getIntrospectionQuery.mjs +117 -0
  1147. package/lib/starter/vendor/graphql/utilities/getOperationAST.d.mts +23 -0
  1148. package/lib/starter/vendor/graphql/utilities/getOperationAST.d.ts +23 -0
  1149. package/lib/starter/vendor/graphql/utilities/getOperationAST.js +22 -0
  1150. package/lib/starter/vendor/graphql/utilities/getOperationAST.mjs +19 -0
  1151. package/lib/starter/vendor/graphql/utilities/index.d.mts +47 -0
  1152. package/lib/starter/vendor/graphql/utilities/index.d.ts +47 -0
  1153. package/lib/starter/vendor/graphql/utilities/index.js +65 -0
  1154. package/lib/starter/vendor/graphql/utilities/index.mjs +24 -0
  1155. package/lib/starter/vendor/graphql/utilities/introspectionFromSchema.d.mts +70 -0
  1156. package/lib/starter/vendor/graphql/utilities/introspectionFromSchema.d.ts +70 -0
  1157. package/lib/starter/vendor/graphql/utilities/introspectionFromSchema.js +24 -0
  1158. package/lib/starter/vendor/graphql/utilities/introspectionFromSchema.mjs +21 -0
  1159. package/lib/starter/vendor/graphql/utilities/lexicographicSortSchema.d.mts +46 -0
  1160. package/lib/starter/vendor/graphql/utilities/lexicographicSortSchema.d.ts +46 -0
  1161. package/lib/starter/vendor/graphql/utilities/lexicographicSortSchema.js +64 -0
  1162. package/lib/starter/vendor/graphql/utilities/lexicographicSortSchema.mjs +61 -0
  1163. package/lib/starter/vendor/graphql/utilities/mapSchemaConfig.d.mts +69 -0
  1164. package/lib/starter/vendor/graphql/utilities/mapSchemaConfig.d.ts +69 -0
  1165. package/lib/starter/vendor/graphql/utilities/mapSchemaConfig.js +243 -0
  1166. package/lib/starter/vendor/graphql/utilities/mapSchemaConfig.mjs +239 -0
  1167. package/lib/starter/vendor/graphql/utilities/printSchema.d.mts +95 -0
  1168. package/lib/starter/vendor/graphql/utilities/printSchema.d.ts +95 -0
  1169. package/lib/starter/vendor/graphql/utilities/printSchema.js +202 -0
  1170. package/lib/starter/vendor/graphql/utilities/printSchema.mjs +196 -0
  1171. package/lib/starter/vendor/graphql/utilities/replaceVariables.d.mts +45 -0
  1172. package/lib/starter/vendor/graphql/utilities/replaceVariables.d.ts +45 -0
  1173. package/lib/starter/vendor/graphql/utilities/replaceVariables.js +72 -0
  1174. package/lib/starter/vendor/graphql/utilities/replaceVariables.mjs +69 -0
  1175. package/lib/starter/vendor/graphql/utilities/resolveSchemaCoordinate.d.mts +119 -0
  1176. package/lib/starter/vendor/graphql/utilities/resolveSchemaCoordinate.d.ts +119 -0
  1177. package/lib/starter/vendor/graphql/utilities/resolveSchemaCoordinate.js +111 -0
  1178. package/lib/starter/vendor/graphql/utilities/resolveSchemaCoordinate.mjs +107 -0
  1179. package/lib/starter/vendor/graphql/utilities/separateOperations.d.mts +39 -0
  1180. package/lib/starter/vendor/graphql/utilities/separateOperations.d.ts +39 -0
  1181. package/lib/starter/vendor/graphql/utilities/separateOperations.js +56 -0
  1182. package/lib/starter/vendor/graphql/utilities/separateOperations.mjs +53 -0
  1183. package/lib/starter/vendor/graphql/utilities/sortValueNode.d.mts +9 -0
  1184. package/lib/starter/vendor/graphql/utilities/sortValueNode.d.ts +9 -0
  1185. package/lib/starter/vendor/graphql/utilities/sortValueNode.js +36 -0
  1186. package/lib/starter/vendor/graphql/utilities/sortValueNode.mjs +33 -0
  1187. package/lib/starter/vendor/graphql/utilities/stripIgnoredCharacters.d.mts +69 -0
  1188. package/lib/starter/vendor/graphql/utilities/stripIgnoredCharacters.d.ts +69 -0
  1189. package/lib/starter/vendor/graphql/utilities/stripIgnoredCharacters.js +34 -0
  1190. package/lib/starter/vendor/graphql/utilities/stripIgnoredCharacters.mjs +31 -0
  1191. package/lib/starter/vendor/graphql/utilities/typeComparators.d.mts +101 -0
  1192. package/lib/starter/vendor/graphql/utilities/typeComparators.d.ts +101 -0
  1193. package/lib/starter/vendor/graphql/utilities/typeComparators.js +62 -0
  1194. package/lib/starter/vendor/graphql/utilities/typeComparators.mjs +57 -0
  1195. package/lib/starter/vendor/graphql/utilities/typeFromAST.d.mts +101 -0
  1196. package/lib/starter/vendor/graphql/utilities/typeFromAST.d.ts +101 -0
  1197. package/lib/starter/vendor/graphql/utilities/typeFromAST.js +20 -0
  1198. package/lib/starter/vendor/graphql/utilities/typeFromAST.mjs +17 -0
  1199. package/lib/starter/vendor/graphql/utilities/typedQueryDocumentNode.d.mts +21 -0
  1200. package/lib/starter/vendor/graphql/utilities/typedQueryDocumentNode.d.ts +21 -0
  1201. package/lib/starter/vendor/graphql/utilities/typedQueryDocumentNode.js +3 -0
  1202. package/lib/starter/vendor/graphql/utilities/typedQueryDocumentNode.mjs +2 -0
  1203. package/lib/starter/vendor/graphql/utilities/validateInputValue.d.mts +144 -0
  1204. package/lib/starter/vendor/graphql/utilities/validateInputValue.d.ts +144 -0
  1205. package/lib/starter/vendor/graphql/utilities/validateInputValue.js +270 -0
  1206. package/lib/starter/vendor/graphql/utilities/validateInputValue.mjs +266 -0
  1207. package/lib/starter/vendor/graphql/utilities/valueFromAST.d.mts +67 -0
  1208. package/lib/starter/vendor/graphql/utilities/valueFromAST.d.ts +67 -0
  1209. package/lib/starter/vendor/graphql/utilities/valueFromAST.js +124 -0
  1210. package/lib/starter/vendor/graphql/utilities/valueFromAST.mjs +121 -0
  1211. package/lib/starter/vendor/graphql/utilities/valueFromASTUntyped.d.mts +33 -0
  1212. package/lib/starter/vendor/graphql/utilities/valueFromASTUntyped.d.ts +33 -0
  1213. package/lib/starter/vendor/graphql/utilities/valueFromASTUntyped.js +26 -0
  1214. package/lib/starter/vendor/graphql/utilities/valueFromASTUntyped.mjs +23 -0
  1215. package/lib/starter/vendor/graphql/utilities/valueToLiteral.d.mts +60 -0
  1216. package/lib/starter/vendor/graphql/utilities/valueToLiteral.d.ts +60 -0
  1217. package/lib/starter/vendor/graphql/utilities/valueToLiteral.js +120 -0
  1218. package/lib/starter/vendor/graphql/utilities/valueToLiteral.mjs +116 -0
  1219. package/lib/starter/vendor/graphql/validation/ValidationContext.d.mts +560 -0
  1220. package/lib/starter/vendor/graphql/validation/ValidationContext.d.ts +560 -0
  1221. package/lib/starter/vendor/graphql/validation/ValidationContext.js +201 -0
  1222. package/lib/starter/vendor/graphql/validation/ValidationContext.mjs +195 -0
  1223. package/lib/starter/vendor/graphql/validation/index.d.mts +53 -0
  1224. package/lib/starter/vendor/graphql/validation/index.d.ts +53 -0
  1225. package/lib/starter/vendor/graphql/validation/index.js +95 -0
  1226. package/lib/starter/vendor/graphql/validation/index.mjs +46 -0
  1227. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveLabelRule.d.mts +38 -0
  1228. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveLabelRule.d.ts +38 -0
  1229. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveLabelRule.js +33 -0
  1230. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveLabelRule.mjs +30 -0
  1231. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveOnRootFieldRule.d.mts +39 -0
  1232. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveOnRootFieldRule.d.ts +39 -0
  1233. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveOnRootFieldRule.js +84 -0
  1234. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveOnRootFieldRule.mjs +81 -0
  1235. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveOnValidOperationsRule.d.mts +60 -0
  1236. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveOnValidOperationsRule.d.ts +60 -0
  1237. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveOnValidOperationsRule.js +123 -0
  1238. package/lib/starter/vendor/graphql/validation/rules/DeferStreamDirectiveOnValidOperationsRule.mjs +120 -0
  1239. package/lib/starter/vendor/graphql/validation/rules/ExecutableDefinitionsRule.d.mts +43 -0
  1240. package/lib/starter/vendor/graphql/validation/rules/ExecutableDefinitionsRule.d.ts +43 -0
  1241. package/lib/starter/vendor/graphql/validation/rules/ExecutableDefinitionsRule.js +25 -0
  1242. package/lib/starter/vendor/graphql/validation/rules/ExecutableDefinitionsRule.mjs +22 -0
  1243. package/lib/starter/vendor/graphql/validation/rules/FieldsOnCorrectTypeRule.d.mts +41 -0
  1244. package/lib/starter/vendor/graphql/validation/rules/FieldsOnCorrectTypeRule.d.ts +41 -0
  1245. package/lib/starter/vendor/graphql/validation/rules/FieldsOnCorrectTypeRule.js +77 -0
  1246. package/lib/starter/vendor/graphql/validation/rules/FieldsOnCorrectTypeRule.mjs +74 -0
  1247. package/lib/starter/vendor/graphql/validation/rules/FragmentsOnCompositeTypesRule.d.mts +44 -0
  1248. package/lib/starter/vendor/graphql/validation/rules/FragmentsOnCompositeTypesRule.d.ts +44 -0
  1249. package/lib/starter/vendor/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +29 -0
  1250. package/lib/starter/vendor/graphql/validation/rules/FragmentsOnCompositeTypesRule.mjs +26 -0
  1251. package/lib/starter/vendor/graphql/validation/rules/KnownArgumentNamesRule.d.mts +44 -0
  1252. package/lib/starter/vendor/graphql/validation/rules/KnownArgumentNamesRule.d.ts +44 -0
  1253. package/lib/starter/vendor/graphql/validation/rules/KnownArgumentNamesRule.js +75 -0
  1254. package/lib/starter/vendor/graphql/validation/rules/KnownArgumentNamesRule.mjs +71 -0
  1255. package/lib/starter/vendor/graphql/validation/rules/KnownDirectivesRule.d.mts +39 -0
  1256. package/lib/starter/vendor/graphql/validation/rules/KnownDirectivesRule.d.ts +39 -0
  1257. package/lib/starter/vendor/graphql/validation/rules/KnownDirectivesRule.js +115 -0
  1258. package/lib/starter/vendor/graphql/validation/rules/KnownDirectivesRule.mjs +112 -0
  1259. package/lib/starter/vendor/graphql/validation/rules/KnownFragmentNamesRule.d.mts +41 -0
  1260. package/lib/starter/vendor/graphql/validation/rules/KnownFragmentNamesRule.d.ts +41 -0
  1261. package/lib/starter/vendor/graphql/validation/rules/KnownFragmentNamesRule.js +18 -0
  1262. package/lib/starter/vendor/graphql/validation/rules/KnownFragmentNamesRule.mjs +15 -0
  1263. package/lib/starter/vendor/graphql/validation/rules/KnownOperationTypesRule.d.mts +31 -0
  1264. package/lib/starter/vendor/graphql/validation/rules/KnownOperationTypesRule.d.ts +31 -0
  1265. package/lib/starter/vendor/graphql/validation/rules/KnownOperationTypesRule.js +16 -0
  1266. package/lib/starter/vendor/graphql/validation/rules/KnownOperationTypesRule.mjs +13 -0
  1267. package/lib/starter/vendor/graphql/validation/rules/KnownTypeNamesRule.d.mts +39 -0
  1268. package/lib/starter/vendor/graphql/validation/rules/KnownTypeNamesRule.d.ts +39 -0
  1269. package/lib/starter/vendor/graphql/validation/rules/KnownTypeNamesRule.js +39 -0
  1270. package/lib/starter/vendor/graphql/validation/rules/KnownTypeNamesRule.mjs +36 -0
  1271. package/lib/starter/vendor/graphql/validation/rules/LoneAnonymousOperationRule.d.mts +43 -0
  1272. package/lib/starter/vendor/graphql/validation/rules/LoneAnonymousOperationRule.d.ts +43 -0
  1273. package/lib/starter/vendor/graphql/validation/rules/LoneAnonymousOperationRule.js +19 -0
  1274. package/lib/starter/vendor/graphql/validation/rules/LoneAnonymousOperationRule.mjs +16 -0
  1275. package/lib/starter/vendor/graphql/validation/rules/LoneSchemaDefinitionRule.d.mts +29 -0
  1276. package/lib/starter/vendor/graphql/validation/rules/LoneSchemaDefinitionRule.d.ts +29 -0
  1277. package/lib/starter/vendor/graphql/validation/rules/LoneSchemaDefinitionRule.js +27 -0
  1278. package/lib/starter/vendor/graphql/validation/rules/LoneSchemaDefinitionRule.mjs +24 -0
  1279. package/lib/starter/vendor/graphql/validation/rules/MaxIntrospectionDepthRule.d.mts +38 -0
  1280. package/lib/starter/vendor/graphql/validation/rules/MaxIntrospectionDepthRule.d.ts +38 -0
  1281. package/lib/starter/vendor/graphql/validation/rules/MaxIntrospectionDepthRule.js +58 -0
  1282. package/lib/starter/vendor/graphql/validation/rules/MaxIntrospectionDepthRule.mjs +55 -0
  1283. package/lib/starter/vendor/graphql/validation/rules/NoFragmentCyclesRule.d.mts +39 -0
  1284. package/lib/starter/vendor/graphql/validation/rules/NoFragmentCyclesRule.d.ts +39 -0
  1285. package/lib/starter/vendor/graphql/validation/rules/NoFragmentCyclesRule.js +51 -0
  1286. package/lib/starter/vendor/graphql/validation/rules/NoFragmentCyclesRule.mjs +48 -0
  1287. package/lib/starter/vendor/graphql/validation/rules/NoUndefinedVariablesRule.d.mts +41 -0
  1288. package/lib/starter/vendor/graphql/validation/rules/NoUndefinedVariablesRule.d.ts +41 -0
  1289. package/lib/starter/vendor/graphql/validation/rules/NoUndefinedVariablesRule.js +24 -0
  1290. package/lib/starter/vendor/graphql/validation/rules/NoUndefinedVariablesRule.mjs +21 -0
  1291. package/lib/starter/vendor/graphql/validation/rules/NoUnusedFragmentsRule.d.mts +41 -0
  1292. package/lib/starter/vendor/graphql/validation/rules/NoUnusedFragmentsRule.d.ts +41 -0
  1293. package/lib/starter/vendor/graphql/validation/rules/NoUnusedFragmentsRule.js +33 -0
  1294. package/lib/starter/vendor/graphql/validation/rules/NoUnusedFragmentsRule.mjs +30 -0
  1295. package/lib/starter/vendor/graphql/validation/rules/NoUnusedVariablesRule.d.mts +42 -0
  1296. package/lib/starter/vendor/graphql/validation/rules/NoUnusedVariablesRule.d.ts +42 -0
  1297. package/lib/starter/vendor/graphql/validation/rules/NoUnusedVariablesRule.js +39 -0
  1298. package/lib/starter/vendor/graphql/validation/rules/NoUnusedVariablesRule.mjs +36 -0
  1299. package/lib/starter/vendor/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.d.mts +49 -0
  1300. package/lib/starter/vendor/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts +49 -0
  1301. package/lib/starter/vendor/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +422 -0
  1302. package/lib/starter/vendor/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.mjs +419 -0
  1303. package/lib/starter/vendor/graphql/validation/rules/PossibleFragmentSpreadsRule.d.mts +50 -0
  1304. package/lib/starter/vendor/graphql/validation/rules/PossibleFragmentSpreadsRule.d.ts +50 -0
  1305. package/lib/starter/vendor/graphql/validation/rules/PossibleFragmentSpreadsRule.js +45 -0
  1306. package/lib/starter/vendor/graphql/validation/rules/PossibleFragmentSpreadsRule.mjs +42 -0
  1307. package/lib/starter/vendor/graphql/validation/rules/PossibleTypeExtensionsRule.d.mts +29 -0
  1308. package/lib/starter/vendor/graphql/validation/rules/PossibleTypeExtensionsRule.d.ts +29 -0
  1309. package/lib/starter/vendor/graphql/validation/rules/PossibleTypeExtensionsRule.js +104 -0
  1310. package/lib/starter/vendor/graphql/validation/rules/PossibleTypeExtensionsRule.mjs +101 -0
  1311. package/lib/starter/vendor/graphql/validation/rules/ProvidedRequiredArgumentsRule.d.mts +43 -0
  1312. package/lib/starter/vendor/graphql/validation/rules/ProvidedRequiredArgumentsRule.d.ts +43 -0
  1313. package/lib/starter/vendor/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +88 -0
  1314. package/lib/starter/vendor/graphql/validation/rules/ProvidedRequiredArgumentsRule.mjs +84 -0
  1315. package/lib/starter/vendor/graphql/validation/rules/ScalarLeafsRule.d.mts +37 -0
  1316. package/lib/starter/vendor/graphql/validation/rules/ScalarLeafsRule.d.ts +37 -0
  1317. package/lib/starter/vendor/graphql/validation/rules/ScalarLeafsRule.js +34 -0
  1318. package/lib/starter/vendor/graphql/validation/rules/ScalarLeafsRule.mjs +31 -0
  1319. package/lib/starter/vendor/graphql/validation/rules/SingleFieldSubscriptionsRule.d.mts +48 -0
  1320. package/lib/starter/vendor/graphql/validation/rules/SingleFieldSubscriptionsRule.d.ts +48 -0
  1321. package/lib/starter/vendor/graphql/validation/rules/SingleFieldSubscriptionsRule.js +54 -0
  1322. package/lib/starter/vendor/graphql/validation/rules/SingleFieldSubscriptionsRule.mjs +51 -0
  1323. package/lib/starter/vendor/graphql/validation/rules/StreamDirectiveOnListFieldRule.d.mts +29 -0
  1324. package/lib/starter/vendor/graphql/validation/rules/StreamDirectiveOnListFieldRule.d.ts +29 -0
  1325. package/lib/starter/vendor/graphql/validation/rules/StreamDirectiveOnListFieldRule.js +22 -0
  1326. package/lib/starter/vendor/graphql/validation/rules/StreamDirectiveOnListFieldRule.mjs +19 -0
  1327. package/lib/starter/vendor/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.d.mts +30 -0
  1328. package/lib/starter/vendor/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.d.ts +30 -0
  1329. package/lib/starter/vendor/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +37 -0
  1330. package/lib/starter/vendor/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.mjs +34 -0
  1331. package/lib/starter/vendor/graphql/validation/rules/UniqueArgumentNamesRule.d.mts +41 -0
  1332. package/lib/starter/vendor/graphql/validation/rules/UniqueArgumentNamesRule.d.ts +41 -0
  1333. package/lib/starter/vendor/graphql/validation/rules/UniqueArgumentNamesRule.js +21 -0
  1334. package/lib/starter/vendor/graphql/validation/rules/UniqueArgumentNamesRule.mjs +18 -0
  1335. package/lib/starter/vendor/graphql/validation/rules/UniqueDirectiveNamesRule.d.mts +29 -0
  1336. package/lib/starter/vendor/graphql/validation/rules/UniqueDirectiveNamesRule.d.ts +29 -0
  1337. package/lib/starter/vendor/graphql/validation/rules/UniqueDirectiveNamesRule.js +26 -0
  1338. package/lib/starter/vendor/graphql/validation/rules/UniqueDirectiveNamesRule.mjs +23 -0
  1339. package/lib/starter/vendor/graphql/validation/rules/UniqueDirectivesPerLocationRule.d.mts +43 -0
  1340. package/lib/starter/vendor/graphql/validation/rules/UniqueDirectivesPerLocationRule.d.ts +43 -0
  1341. package/lib/starter/vendor/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +71 -0
  1342. package/lib/starter/vendor/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs +68 -0
  1343. package/lib/starter/vendor/graphql/validation/rules/UniqueEnumValueNamesRule.d.mts +29 -0
  1344. package/lib/starter/vendor/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts +29 -0
  1345. package/lib/starter/vendor/graphql/validation/rules/UniqueEnumValueNamesRule.js +40 -0
  1346. package/lib/starter/vendor/graphql/validation/rules/UniqueEnumValueNamesRule.mjs +37 -0
  1347. package/lib/starter/vendor/graphql/validation/rules/UniqueFieldDefinitionNamesRule.d.mts +29 -0
  1348. package/lib/starter/vendor/graphql/validation/rules/UniqueFieldDefinitionNamesRule.d.ts +29 -0
  1349. package/lib/starter/vendor/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +49 -0
  1350. package/lib/starter/vendor/graphql/validation/rules/UniqueFieldDefinitionNamesRule.mjs +46 -0
  1351. package/lib/starter/vendor/graphql/validation/rules/UniqueFragmentNamesRule.d.mts +40 -0
  1352. package/lib/starter/vendor/graphql/validation/rules/UniqueFragmentNamesRule.d.ts +40 -0
  1353. package/lib/starter/vendor/graphql/validation/rules/UniqueFragmentNamesRule.js +22 -0
  1354. package/lib/starter/vendor/graphql/validation/rules/UniqueFragmentNamesRule.mjs +19 -0
  1355. package/lib/starter/vendor/graphql/validation/rules/UniqueInputFieldNamesRule.d.mts +47 -0
  1356. package/lib/starter/vendor/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts +47 -0
  1357. package/lib/starter/vendor/graphql/validation/rules/UniqueInputFieldNamesRule.js +34 -0
  1358. package/lib/starter/vendor/graphql/validation/rules/UniqueInputFieldNamesRule.mjs +31 -0
  1359. package/lib/starter/vendor/graphql/validation/rules/UniqueOperationNamesRule.d.mts +40 -0
  1360. package/lib/starter/vendor/graphql/validation/rules/UniqueOperationNamesRule.d.ts +40 -0
  1361. package/lib/starter/vendor/graphql/validation/rules/UniqueOperationNamesRule.js +24 -0
  1362. package/lib/starter/vendor/graphql/validation/rules/UniqueOperationNamesRule.mjs +21 -0
  1363. package/lib/starter/vendor/graphql/validation/rules/UniqueOperationTypesRule.d.mts +29 -0
  1364. package/lib/starter/vendor/graphql/validation/rules/UniqueOperationTypesRule.d.ts +29 -0
  1365. package/lib/starter/vendor/graphql/validation/rules/UniqueOperationTypesRule.js +37 -0
  1366. package/lib/starter/vendor/graphql/validation/rules/UniqueOperationTypesRule.mjs +34 -0
  1367. package/lib/starter/vendor/graphql/validation/rules/UniqueTypeNamesRule.d.mts +29 -0
  1368. package/lib/starter/vendor/graphql/validation/rules/UniqueTypeNamesRule.d.ts +29 -0
  1369. package/lib/starter/vendor/graphql/validation/rules/UniqueTypeNamesRule.js +34 -0
  1370. package/lib/starter/vendor/graphql/validation/rules/UniqueTypeNamesRule.mjs +31 -0
  1371. package/lib/starter/vendor/graphql/validation/rules/UniqueVariableNamesRule.d.mts +38 -0
  1372. package/lib/starter/vendor/graphql/validation/rules/UniqueVariableNamesRule.d.ts +38 -0
  1373. package/lib/starter/vendor/graphql/validation/rules/UniqueVariableNamesRule.js +19 -0
  1374. package/lib/starter/vendor/graphql/validation/rules/UniqueVariableNamesRule.mjs +16 -0
  1375. package/lib/starter/vendor/graphql/validation/rules/ValuesOfCorrectTypeRule.d.mts +41 -0
  1376. package/lib/starter/vendor/graphql/validation/rules/ValuesOfCorrectTypeRule.d.ts +41 -0
  1377. package/lib/starter/vendor/graphql/validation/rules/ValuesOfCorrectTypeRule.js +25 -0
  1378. package/lib/starter/vendor/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs +22 -0
  1379. package/lib/starter/vendor/graphql/validation/rules/VariablesAreInputTypesRule.d.mts +47 -0
  1380. package/lib/starter/vendor/graphql/validation/rules/VariablesAreInputTypesRule.d.ts +47 -0
  1381. package/lib/starter/vendor/graphql/validation/rules/VariablesAreInputTypesRule.js +20 -0
  1382. package/lib/starter/vendor/graphql/validation/rules/VariablesAreInputTypesRule.mjs +17 -0
  1383. package/lib/starter/vendor/graphql/validation/rules/VariablesInAllowedPositionRule.d.mts +42 -0
  1384. package/lib/starter/vendor/graphql/validation/rules/VariablesInAllowedPositionRule.d.ts +42 -0
  1385. package/lib/starter/vendor/graphql/validation/rules/VariablesInAllowedPositionRule.js +55 -0
  1386. package/lib/starter/vendor/graphql/validation/rules/VariablesInAllowedPositionRule.mjs +52 -0
  1387. package/lib/starter/vendor/graphql/validation/rules/custom/NoDeprecatedCustomRule.d.mts +56 -0
  1388. package/lib/starter/vendor/graphql/validation/rules/custom/NoDeprecatedCustomRule.d.ts +56 -0
  1389. package/lib/starter/vendor/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +41 -0
  1390. package/lib/starter/vendor/graphql/validation/rules/custom/NoDeprecatedCustomRule.mjs +38 -0
  1391. package/lib/starter/vendor/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.mts +45 -0
  1392. package/lib/starter/vendor/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts +45 -0
  1393. package/lib/starter/vendor/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +17 -0
  1394. package/lib/starter/vendor/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs +14 -0
  1395. package/lib/starter/vendor/graphql/validation/specifiedRules.d.mts +16 -0
  1396. package/lib/starter/vendor/graphql/validation/specifiedRules.d.ts +16 -0
  1397. package/lib/starter/vendor/graphql/validation/specifiedRules.js +98 -0
  1398. package/lib/starter/vendor/graphql/validation/specifiedRules.mjs +95 -0
  1399. package/lib/starter/vendor/graphql/validation/validate.d.mts +103 -0
  1400. package/lib/starter/vendor/graphql/validation/validate.d.ts +103 -0
  1401. package/lib/starter/vendor/graphql/validation/validate.js +70 -0
  1402. package/lib/starter/vendor/graphql/validation/validate.mjs +64 -0
  1403. package/lib/starter/vendor/graphql/version.d.mts +10 -0
  1404. package/lib/starter/vendor/graphql/version.d.ts +10 -0
  1405. package/lib/starter/vendor/graphql/version.js +11 -0
  1406. package/lib/starter/vendor/graphql/version.mjs +8 -0
  1407. package/lib/starter/vendor/react/LICENSE +21 -0
  1408. package/lib/starter/vendor/react/README.md +37 -0
  1409. package/lib/starter/vendor/react/cjs/react-compiler-runtime.development.js +24 -0
  1410. package/lib/starter/vendor/react/cjs/react-compiler-runtime.production.js +16 -0
  1411. package/lib/starter/vendor/react/cjs/react-compiler-runtime.profiling.js +16 -0
  1412. package/lib/starter/vendor/react/cjs/react-jsx-dev-runtime.development.js +338 -0
  1413. package/lib/starter/vendor/react/cjs/react-jsx-dev-runtime.production.js +14 -0
  1414. package/lib/starter/vendor/react/cjs/react-jsx-dev-runtime.profiling.js +14 -0
  1415. package/lib/starter/vendor/react/cjs/react-jsx-dev-runtime.react-server.development.js +370 -0
  1416. package/lib/starter/vendor/react/cjs/react-jsx-dev-runtime.react-server.production.js +40 -0
  1417. package/lib/starter/vendor/react/cjs/react-jsx-runtime.development.js +352 -0
  1418. package/lib/starter/vendor/react/cjs/react-jsx-runtime.production.js +34 -0
  1419. package/lib/starter/vendor/react/cjs/react-jsx-runtime.profiling.js +34 -0
  1420. package/lib/starter/vendor/react/cjs/react-jsx-runtime.react-server.development.js +370 -0
  1421. package/lib/starter/vendor/react/cjs/react-jsx-runtime.react-server.production.js +40 -0
  1422. package/lib/starter/vendor/react/cjs/react.development.js +1284 -0
  1423. package/lib/starter/vendor/react/cjs/react.production.js +542 -0
  1424. package/lib/starter/vendor/react/cjs/react.react-server.development.js +848 -0
  1425. package/lib/starter/vendor/react/cjs/react.react-server.production.js +423 -0
  1426. package/lib/starter/vendor/react/compiler-runtime.js +14 -0
  1427. package/lib/starter/vendor/react/index.js +7 -0
  1428. package/lib/starter/vendor/react/jsx-dev-runtime.js +7 -0
  1429. package/lib/starter/vendor/react/jsx-dev-runtime.react-server.js +7 -0
  1430. package/lib/starter/vendor/react/jsx-runtime.js +7 -0
  1431. package/lib/starter/vendor/react/jsx-runtime.react-server.js +7 -0
  1432. package/lib/starter/vendor/react/package.json +51 -0
  1433. package/lib/starter/vendor/react/react.react-server.js +7 -0
  1434. package/lib/starter/vendor/react-dom/LICENSE +21 -0
  1435. package/lib/starter/vendor/react-dom/README.md +60 -0
  1436. package/lib/starter/vendor/react-dom/cjs/react-dom-client.development.js +28121 -0
  1437. package/lib/starter/vendor/react-dom/cjs/react-dom-client.production.js +16049 -0
  1438. package/lib/starter/vendor/react-dom/cjs/react-dom-profiling.development.js +28503 -0
  1439. package/lib/starter/vendor/react-dom/cjs/react-dom-profiling.profiling.js +18068 -0
  1440. package/lib/starter/vendor/react-dom/cjs/react-dom-server-legacy.browser.development.js +9877 -0
  1441. package/lib/starter/vendor/react-dom/cjs/react-dom-server-legacy.browser.production.js +6603 -0
  1442. package/lib/starter/vendor/react-dom/cjs/react-dom-server-legacy.node.development.js +9877 -0
  1443. package/lib/starter/vendor/react-dom/cjs/react-dom-server-legacy.node.production.js +6692 -0
  1444. package/lib/starter/vendor/react-dom/cjs/react-dom-server.browser.development.js +10601 -0
  1445. package/lib/starter/vendor/react-dom/cjs/react-dom-server.browser.production.js +7410 -0
  1446. package/lib/starter/vendor/react-dom/cjs/react-dom-server.bun.development.js +9605 -0
  1447. package/lib/starter/vendor/react-dom/cjs/react-dom-server.bun.production.js +6745 -0
  1448. package/lib/starter/vendor/react-dom/cjs/react-dom-server.edge.development.js +10620 -0
  1449. package/lib/starter/vendor/react-dom/cjs/react-dom-server.edge.production.js +7512 -0
  1450. package/lib/starter/vendor/react-dom/cjs/react-dom-server.node.development.js +10802 -0
  1451. package/lib/starter/vendor/react-dom/cjs/react-dom-server.node.production.js +7707 -0
  1452. package/lib/starter/vendor/react-dom/cjs/react-dom-test-utils.development.js +24 -0
  1453. package/lib/starter/vendor/react-dom/cjs/react-dom-test-utils.production.js +21 -0
  1454. package/lib/starter/vendor/react-dom/cjs/react-dom.development.js +424 -0
  1455. package/lib/starter/vendor/react-dom/cjs/react-dom.production.js +210 -0
  1456. package/lib/starter/vendor/react-dom/cjs/react-dom.react-server.development.js +340 -0
  1457. package/lib/starter/vendor/react-dom/cjs/react-dom.react-server.production.js +152 -0
  1458. package/lib/starter/vendor/react-dom/client.js +38 -0
  1459. package/lib/starter/vendor/react-dom/client.react-server.js +5 -0
  1460. package/lib/starter/vendor/react-dom/index.js +38 -0
  1461. package/lib/starter/vendor/react-dom/package.json +117 -0
  1462. package/lib/starter/vendor/react-dom/profiling.js +38 -0
  1463. package/lib/starter/vendor/react-dom/profiling.react-server.js +5 -0
  1464. package/lib/starter/vendor/react-dom/react-dom.react-server.js +7 -0
  1465. package/lib/starter/vendor/react-dom/server.browser.js +16 -0
  1466. package/lib/starter/vendor/react-dom/server.bun.js +17 -0
  1467. package/lib/starter/vendor/react-dom/server.edge.js +17 -0
  1468. package/lib/starter/vendor/react-dom/server.js +3 -0
  1469. package/lib/starter/vendor/react-dom/server.node.js +18 -0
  1470. package/lib/starter/vendor/react-dom/server.react-server.js +5 -0
  1471. package/lib/starter/vendor/react-dom/static.browser.js +12 -0
  1472. package/lib/starter/vendor/react-dom/static.edge.js +12 -0
  1473. package/lib/starter/vendor/react-dom/static.js +3 -0
  1474. package/lib/starter/vendor/react-dom/static.node.js +14 -0
  1475. package/lib/starter/vendor/react-dom/static.react-server.js +5 -0
  1476. package/lib/starter/vendor/react-dom/test-utils.js +7 -0
  1477. package/lib/starter/vendor/scheduler/LICENSE +21 -0
  1478. package/lib/starter/vendor/scheduler/README.md +9 -0
  1479. package/lib/starter/vendor/scheduler/cjs/scheduler-unstable_mock.development.js +414 -0
  1480. package/lib/starter/vendor/scheduler/cjs/scheduler-unstable_mock.production.js +406 -0
  1481. package/lib/starter/vendor/scheduler/cjs/scheduler-unstable_post_task.development.js +150 -0
  1482. package/lib/starter/vendor/scheduler/cjs/scheduler-unstable_post_task.production.js +140 -0
  1483. package/lib/starter/vendor/scheduler/cjs/scheduler.development.js +364 -0
  1484. package/lib/starter/vendor/scheduler/cjs/scheduler.native.development.js +350 -0
  1485. package/lib/starter/vendor/scheduler/cjs/scheduler.native.production.js +330 -0
  1486. package/lib/starter/vendor/scheduler/cjs/scheduler.production.js +340 -0
  1487. package/lib/starter/vendor/scheduler/index.js +7 -0
  1488. package/lib/starter/vendor/scheduler/index.native.js +7 -0
  1489. package/lib/starter/vendor/scheduler/package.json +27 -0
  1490. package/lib/starter/vendor/scheduler/unstable_mock.js +7 -0
  1491. package/lib/starter/vendor/scheduler/unstable_post_task.js +7 -0
  1492. package/package.json +33 -3
  1493. package/release.json +5 -0
@@ -0,0 +1,4095 @@
1
+ /** @category Types */
2
+ import type { Maybe } from "../jsutils/Maybe.js";
3
+ import type { ObjMap } from "../jsutils/ObjMap.js";
4
+ import type { Path } from "../jsutils/Path.js";
5
+ import type { PromiseOrValue } from "../jsutils/PromiseOrValue.js";
6
+ import type { ConstValueNode, EnumTypeDefinitionNode, EnumTypeExtensionNode, EnumValueDefinitionNode, FieldDefinitionNode, FieldNode, FragmentDefinitionNode, InputObjectTypeDefinitionNode, InputObjectTypeExtensionNode, InputValueDefinitionNode, InterfaceTypeDefinitionNode, InterfaceTypeExtensionNode, ObjectTypeDefinitionNode, ObjectTypeExtensionNode, OperationDefinitionNode, ScalarTypeDefinitionNode, ScalarTypeExtensionNode, UnionTypeDefinitionNode, UnionTypeExtensionNode, ValueNode } from "../language/ast.js";
7
+ import type { GraphQLVariableSignature } from "../execution/getVariableSignature.js";
8
+ import type { VariableValues } from "../execution/values.js";
9
+ import type { GraphQLDirective } from "./directives.js";
10
+ import type { GraphQLSchema } from "./schema.js";
11
+ /** These are all of the possible kinds of types. */
12
+ export type GraphQLType = GraphQLNamedType | GraphQLWrappingType;
13
+ /**
14
+ * Returns true when the value is any GraphQL type.
15
+ * @param type - The GraphQL type to inspect.
16
+ * @returns True when the value is any GraphQL type.
17
+ * @example
18
+ * ```ts
19
+ * import { buildSchema } from 'graphql/utilities';
20
+ * import { GraphQLList, GraphQLString, isType } from 'graphql/type';
21
+ *
22
+ * const schema = buildSchema(`
23
+ * type Query {
24
+ * name: String
25
+ * }
26
+ * `);
27
+ *
28
+ * isType(GraphQLString); // => true
29
+ * isType(new GraphQLList(GraphQLString)); // => true
30
+ * isType(schema.getType('Query')); // => true
31
+ * isType('String'); // => false
32
+ * ```
33
+ */
34
+ export declare function isType(type: unknown): type is GraphQLType;
35
+ /**
36
+ * Returns the value as a GraphQL type, or throws if it is not one.
37
+ * @param type - The GraphQL type to inspect.
38
+ * @returns The value typed as a GraphQL type.
39
+ * @example
40
+ * ```ts
41
+ * import { buildSchema } from 'graphql/utilities';
42
+ * import { assertType } from 'graphql/type';
43
+ *
44
+ * const schema = buildSchema(`
45
+ * type Query {
46
+ * name: String
47
+ * }
48
+ * `);
49
+ *
50
+ * const queryType = assertType(schema.getType('Query'));
51
+ *
52
+ * queryType.toString(); // => 'Query'
53
+ * assertType('Query'); // throws an error
54
+ * ```
55
+ */
56
+ export declare function assertType(type: unknown): GraphQLType;
57
+ /**
58
+ * There are predicates for each kind of GraphQL type.
59
+ * @param type - The GraphQL type to inspect.
60
+ * @returns True when the value is a GraphQLScalarType.
61
+ * @example
62
+ * ```ts
63
+ * import { buildSchema } from 'graphql/utilities';
64
+ * import { isScalarType } from 'graphql/type';
65
+ *
66
+ * const schema = buildSchema(`
67
+ * scalar DateTime
68
+ *
69
+ * type Query {
70
+ * createdAt: DateTime
71
+ * }
72
+ * `);
73
+ *
74
+ * isScalarType(schema.getType('DateTime')); // => true
75
+ * isScalarType(schema.getType('Query')); // => false
76
+ * ```
77
+ */
78
+ export declare function isScalarType(type: unknown): type is GraphQLScalarType;
79
+ /**
80
+ * Returns the value as a GraphQLScalarType, or throws if it is not one.
81
+ * @param type - The GraphQL type to inspect.
82
+ * @returns The value typed as a GraphQLScalarType.
83
+ * @example
84
+ * ```ts
85
+ * import { buildSchema } from 'graphql/utilities';
86
+ * import { assertScalarType } from 'graphql/type';
87
+ *
88
+ * const schema = buildSchema(`
89
+ * scalar DateTime
90
+ *
91
+ * type Query {
92
+ * createdAt: DateTime
93
+ * }
94
+ * `);
95
+ *
96
+ * const dateTimeType = assertScalarType(schema.getType('DateTime'));
97
+ *
98
+ * dateTimeType.name; // => 'DateTime'
99
+ * assertScalarType(schema.getType('Query')); // throws an error
100
+ * ```
101
+ */
102
+ export declare function assertScalarType(type: unknown): GraphQLScalarType;
103
+ /**
104
+ * Returns true when the value is a GraphQLObjectType.
105
+ * @param type - The GraphQL type to inspect.
106
+ * @returns True when the value is a GraphQLObjectType.
107
+ * @example
108
+ * ```ts
109
+ * import { buildSchema } from 'graphql/utilities';
110
+ * import { isObjectType } from 'graphql/type';
111
+ *
112
+ * const schema = buildSchema(`
113
+ * input ReviewInput {
114
+ * stars: Int!
115
+ * }
116
+ *
117
+ * type User {
118
+ * name: String
119
+ * }
120
+ *
121
+ * type Query {
122
+ * user: User
123
+ * }
124
+ * `);
125
+ *
126
+ * isObjectType(schema.getType('User')); // => true
127
+ * isObjectType(schema.getType('ReviewInput')); // => false
128
+ * ```
129
+ */
130
+ export declare function isObjectType(type: unknown): type is GraphQLObjectType;
131
+ /**
132
+ * Returns the value as a GraphQLObjectType, or throws if it is not one.
133
+ * @param type - The GraphQL type to inspect.
134
+ * @returns The value typed as a GraphQLObjectType.
135
+ * @example
136
+ * ```ts
137
+ * import { buildSchema } from 'graphql/utilities';
138
+ * import { assertObjectType } from 'graphql/type';
139
+ *
140
+ * const schema = buildSchema(`
141
+ * input ReviewInput {
142
+ * stars: Int!
143
+ * }
144
+ *
145
+ * type User {
146
+ * name: String
147
+ * }
148
+ *
149
+ * type Query {
150
+ * user: User
151
+ * }
152
+ * `);
153
+ *
154
+ * const userType = assertObjectType(schema.getType('User'));
155
+ *
156
+ * Object.keys(userType.getFields()); // => ['name']
157
+ * assertObjectType(schema.getType('ReviewInput')); // throws an error
158
+ * ```
159
+ */
160
+ export declare function assertObjectType(type: unknown): GraphQLObjectType;
161
+ /**
162
+ * Returns true when the value is a resolved GraphQL field definition.
163
+ * @param field - Value to inspect.
164
+ * @returns True when the value is a GraphQLField.
165
+ * @example
166
+ * ```ts
167
+ * import { buildSchema } from 'graphql/utilities';
168
+ * import { isField } from 'graphql/type';
169
+ *
170
+ * const schema = buildSchema('type Query { greeting: String }');
171
+ * const field = schema.getQueryType().getFields().greeting;
172
+ *
173
+ * isField(field); // => true
174
+ * isField(schema.getQueryType()); // => false
175
+ * ```
176
+ */
177
+ export declare function isField(field: unknown): field is GraphQLField;
178
+ /**
179
+ * Returns the value as a GraphQLField, or throws if it is not one.
180
+ * @param field - Value to inspect.
181
+ * @returns The value typed as a GraphQLField.
182
+ * @example
183
+ * ```ts
184
+ * import { buildSchema } from 'graphql/utilities';
185
+ * import { assertField } from 'graphql/type';
186
+ *
187
+ * const schema = buildSchema('type Query { greeting: String }');
188
+ * const field = assertField(schema.getQueryType().getFields().greeting);
189
+ *
190
+ * field.name; // => 'greeting'
191
+ * assertField(schema.getQueryType()); // throws an error
192
+ * ```
193
+ */
194
+ export declare function assertField(field: unknown): GraphQLField;
195
+ /**
196
+ * Returns true when the value is a resolved GraphQL argument definition.
197
+ * @param arg - Value to inspect.
198
+ * @returns True when the value is a GraphQLArgument.
199
+ * @example
200
+ * ```ts
201
+ * import { buildSchema } from 'graphql/utilities';
202
+ * import { isArgument } from 'graphql/type';
203
+ *
204
+ * const schema = buildSchema('type Query { greeting(name: String): String }');
205
+ * const arg = schema.getQueryType().getFields().greeting.args[0];
206
+ *
207
+ * isArgument(arg); // => true
208
+ * isArgument(schema.getQueryType()); // => false
209
+ * ```
210
+ */
211
+ export declare function isArgument(arg: unknown): arg is GraphQLArgument;
212
+ /**
213
+ * Returns the value as a GraphQLArgument, or throws if it is not one.
214
+ * @param arg - Value to inspect.
215
+ * @returns The value typed as a GraphQLArgument.
216
+ * @example
217
+ * ```ts
218
+ * import { buildSchema } from 'graphql/utilities';
219
+ * import { assertArgument } from 'graphql/type';
220
+ *
221
+ * const schema = buildSchema('type Query { greeting(name: String): String }');
222
+ * const arg = assertArgument(schema.getQueryType().getFields().greeting.args[0]);
223
+ *
224
+ * arg.name; // => 'name'
225
+ * assertArgument(schema.getQueryType()); // throws an error
226
+ * ```
227
+ */
228
+ export declare function assertArgument(arg: unknown): GraphQLArgument;
229
+ /**
230
+ * Returns true when the value is a GraphQLInterfaceType.
231
+ * @param type - The GraphQL type to inspect.
232
+ * @returns True when the value is a GraphQLInterfaceType.
233
+ * @example
234
+ * ```ts
235
+ * import { buildSchema } from 'graphql/utilities';
236
+ * import { isInterfaceType } from 'graphql/type';
237
+ *
238
+ * const schema = buildSchema(`
239
+ * interface Node {
240
+ * id: ID!
241
+ * }
242
+ *
243
+ * type User implements Node {
244
+ * id: ID!
245
+ * }
246
+ *
247
+ * type Query {
248
+ * node: Node
249
+ * }
250
+ * `);
251
+ *
252
+ * isInterfaceType(schema.getType('Node')); // => true
253
+ * isInterfaceType(schema.getType('User')); // => false
254
+ * ```
255
+ */
256
+ export declare function isInterfaceType(type: unknown): type is GraphQLInterfaceType;
257
+ /**
258
+ * Returns the value as a GraphQLInterfaceType, or throws if it is not one.
259
+ * @param type - The GraphQL type to inspect.
260
+ * @returns The value typed as a GraphQLInterfaceType.
261
+ * @example
262
+ * ```ts
263
+ * import { buildSchema } from 'graphql/utilities';
264
+ * import { assertInterfaceType } from 'graphql/type';
265
+ *
266
+ * const schema = buildSchema(`
267
+ * interface Node {
268
+ * id: ID!
269
+ * }
270
+ *
271
+ * type User implements Node {
272
+ * id: ID!
273
+ * }
274
+ *
275
+ * type Query {
276
+ * node: Node
277
+ * }
278
+ * `);
279
+ *
280
+ * const nodeType = assertInterfaceType(schema.getType('Node'));
281
+ *
282
+ * nodeType.name; // => 'Node'
283
+ * assertInterfaceType(schema.getType('User')); // throws an error
284
+ * ```
285
+ */
286
+ export declare function assertInterfaceType(type: unknown): GraphQLInterfaceType;
287
+ /**
288
+ * Returns true when the value is a GraphQLUnionType.
289
+ * @param type - The GraphQL type to inspect.
290
+ * @returns True when the value is a GraphQLUnionType.
291
+ * @example
292
+ * ```ts
293
+ * import { buildSchema } from 'graphql/utilities';
294
+ * import { isUnionType } from 'graphql/type';
295
+ *
296
+ * const schema = buildSchema(`
297
+ * type Photo {
298
+ * url: String!
299
+ * }
300
+ *
301
+ * type Video {
302
+ * url: String!
303
+ * }
304
+ *
305
+ * union Media = Photo | Video
306
+ *
307
+ * type Query {
308
+ * media: [Media]
309
+ * }
310
+ * `);
311
+ *
312
+ * isUnionType(schema.getType('Media')); // => true
313
+ * isUnionType(schema.getType('Photo')); // => false
314
+ * ```
315
+ */
316
+ export declare function isUnionType(type: unknown): type is GraphQLUnionType;
317
+ /**
318
+ * Returns the value as a GraphQLUnionType, or throws if it is not one.
319
+ * @param type - The GraphQL type to inspect.
320
+ * @returns The value typed as a GraphQLUnionType.
321
+ * @example
322
+ * ```ts
323
+ * import { buildSchema } from 'graphql/utilities';
324
+ * import { assertUnionType } from 'graphql/type';
325
+ *
326
+ * const schema = buildSchema(`
327
+ * type Photo {
328
+ * url: String!
329
+ * }
330
+ *
331
+ * type Video {
332
+ * url: String!
333
+ * }
334
+ *
335
+ * union Media = Photo | Video
336
+ *
337
+ * type Query {
338
+ * media: [Media]
339
+ * }
340
+ * `);
341
+ *
342
+ * const mediaType = assertUnionType(schema.getType('Media'));
343
+ *
344
+ * mediaType.getTypes().map((type) => type.name); // => ['Photo', 'Video']
345
+ * assertUnionType(schema.getType('Photo')); // throws an error
346
+ * ```
347
+ */
348
+ export declare function assertUnionType(type: unknown): GraphQLUnionType;
349
+ /**
350
+ * Returns true when the value is a GraphQLEnumType.
351
+ * @param type - The GraphQL type to inspect.
352
+ * @returns True when the value is a GraphQLEnumType.
353
+ * @example
354
+ * ```ts
355
+ * import { buildSchema } from 'graphql/utilities';
356
+ * import { isEnumType } from 'graphql/type';
357
+ *
358
+ * const schema = buildSchema(`
359
+ * enum Episode {
360
+ * NEW_HOPE
361
+ * EMPIRE
362
+ * }
363
+ *
364
+ * type Query {
365
+ * favoriteEpisode: Episode
366
+ * }
367
+ * `);
368
+ *
369
+ * isEnumType(schema.getType('Episode')); // => true
370
+ * isEnumType(schema.getType('Query')); // => false
371
+ * ```
372
+ */
373
+ export declare function isEnumType(type: unknown): type is GraphQLEnumType;
374
+ /**
375
+ * Returns the value as a GraphQLEnumType, or throws if it is not one.
376
+ * @param type - The GraphQL type to inspect.
377
+ * @returns The value typed as a GraphQLEnumType.
378
+ * @example
379
+ * ```ts
380
+ * import { buildSchema } from 'graphql/utilities';
381
+ * import { assertEnumType } from 'graphql/type';
382
+ *
383
+ * const schema = buildSchema(`
384
+ * enum Episode {
385
+ * NEW_HOPE
386
+ * EMPIRE
387
+ * }
388
+ *
389
+ * type Query {
390
+ * favoriteEpisode: Episode
391
+ * }
392
+ * `);
393
+ *
394
+ * const episodeType = assertEnumType(schema.getType('Episode'));
395
+ *
396
+ * episodeType.getValues().map((value) => value.name); // => ['NEW_HOPE', 'EMPIRE']
397
+ * assertEnumType(schema.getType('Query')); // throws an error
398
+ * ```
399
+ */
400
+ export declare function assertEnumType(type: unknown): GraphQLEnumType;
401
+ /**
402
+ * Returns true when the value is a resolved GraphQL enum value definition.
403
+ * @param value - Value to inspect.
404
+ * @returns True when the value is a GraphQLEnumValue.
405
+ * @example
406
+ * ```ts
407
+ * import { buildSchema } from 'graphql/utilities';
408
+ * import { assertEnumType, isEnumValue } from 'graphql/type';
409
+ *
410
+ * const schema = buildSchema(
411
+ * 'enum Episode { NEW_HOPE } type Query { episode: Episode }',
412
+ * );
413
+ * const enumValue = assertEnumType(schema.getType('Episode')).getValues()[0];
414
+ *
415
+ * isEnumValue(enumValue); // => true
416
+ * isEnumValue(schema.getType('Episode')); // => false
417
+ * ```
418
+ */
419
+ export declare function isEnumValue(value: unknown): value is GraphQLEnumValue;
420
+ /**
421
+ * Returns the value as a GraphQLEnumValue, or throws if it is not one.
422
+ * @param value - Value to inspect.
423
+ * @returns The value typed as a GraphQLEnumValue.
424
+ * @example
425
+ * ```ts
426
+ * import { buildSchema } from 'graphql/utilities';
427
+ * import { assertEnumType, assertEnumValue } from 'graphql/type';
428
+ *
429
+ * const schema = buildSchema(
430
+ * 'enum Episode { NEW_HOPE } type Query { episode: Episode }',
431
+ * );
432
+ * const enumValue = assertEnumValue(
433
+ * assertEnumType(schema.getType('Episode')).getValues()[0],
434
+ * );
435
+ *
436
+ * enumValue.name; // => 'NEW_HOPE'
437
+ * assertEnumValue(schema.getType('Episode')); // throws an error
438
+ * ```
439
+ */
440
+ export declare function assertEnumValue(value: unknown): GraphQLEnumValue;
441
+ /**
442
+ * Returns true when the value is a GraphQLInputObjectType.
443
+ * @param type - The GraphQL type to inspect.
444
+ * @returns True when the value is a GraphQLInputObjectType.
445
+ * @example
446
+ * ```ts
447
+ * import { buildSchema } from 'graphql/utilities';
448
+ * import { isInputObjectType } from 'graphql/type';
449
+ *
450
+ * const schema = buildSchema(`
451
+ * input ReviewInput {
452
+ * stars: Int!
453
+ * }
454
+ *
455
+ * type Review {
456
+ * stars: Int!
457
+ * }
458
+ *
459
+ * type Query {
460
+ * review(input: ReviewInput): Review
461
+ * }
462
+ * `);
463
+ *
464
+ * isInputObjectType(schema.getType('ReviewInput')); // => true
465
+ * isInputObjectType(schema.getType('Review')); // => false
466
+ * ```
467
+ */
468
+ export declare function isInputObjectType(type: unknown): type is GraphQLInputObjectType;
469
+ /**
470
+ * Returns the value as a GraphQLInputObjectType, or throws if it is not one.
471
+ * @param type - The GraphQL type to inspect.
472
+ * @returns The value typed as a GraphQLInputObjectType.
473
+ * @example
474
+ * ```ts
475
+ * import { buildSchema } from 'graphql/utilities';
476
+ * import { assertInputObjectType } from 'graphql/type';
477
+ *
478
+ * const schema = buildSchema(`
479
+ * input ReviewInput {
480
+ * stars: Int!
481
+ * }
482
+ *
483
+ * type Review {
484
+ * stars: Int!
485
+ * }
486
+ *
487
+ * type Query {
488
+ * review(input: ReviewInput): Review
489
+ * }
490
+ * `);
491
+ *
492
+ * const inputType = assertInputObjectType(schema.getType('ReviewInput'));
493
+ *
494
+ * Object.keys(inputType.getFields()); // => ['stars']
495
+ * assertInputObjectType(schema.getType('Review')); // throws an error
496
+ * ```
497
+ */
498
+ export declare function assertInputObjectType(type: unknown): GraphQLInputObjectType;
499
+ /**
500
+ * Returns true when the value is a resolved GraphQL input field definition.
501
+ * @param field - Value to inspect.
502
+ * @returns True when the value is a GraphQLInputField.
503
+ * @example
504
+ * ```ts
505
+ * import { buildSchema } from 'graphql/utilities';
506
+ * import { assertInputObjectType, isInputField } from 'graphql/type';
507
+ *
508
+ * const schema = buildSchema(
509
+ * 'input ReviewInput { stars: Int } type Query { ok: Boolean }',
510
+ * );
511
+ * const inputField = assertInputObjectType(
512
+ * schema.getType('ReviewInput'),
513
+ * ).getFields().stars;
514
+ *
515
+ * isInputField(inputField); // => true
516
+ * isInputField(schema.getQueryType()); // => false
517
+ * ```
518
+ */
519
+ export declare function isInputField(field: unknown): field is GraphQLInputField;
520
+ /**
521
+ * Returns the value as a GraphQLInputField, or throws if it is not one.
522
+ * @param field - Value to inspect.
523
+ * @returns The value typed as a GraphQLInputField.
524
+ * @example
525
+ * ```ts
526
+ * import { buildSchema } from 'graphql/utilities';
527
+ * import { assertInputField, assertInputObjectType } from 'graphql/type';
528
+ *
529
+ * const schema = buildSchema(
530
+ * 'input ReviewInput { stars: Int } type Query { ok: Boolean }',
531
+ * );
532
+ * const inputField = assertInputField(
533
+ * assertInputObjectType(schema.getType('ReviewInput')).getFields().stars,
534
+ * );
535
+ *
536
+ * inputField.name; // => 'stars'
537
+ * assertInputField(schema.getQueryType()); // throws an error
538
+ * ```
539
+ */
540
+ export declare function assertInputField(field: unknown): GraphQLInputField;
541
+ /**
542
+ * Returns true when the value is a GraphQLList.
543
+ * @param type - The GraphQL type to inspect.
544
+ * @returns True when the value is a GraphQLList.
545
+ * @example
546
+ * ```ts
547
+ * import { buildSchema } from 'graphql/utilities';
548
+ * import { GraphQLList, GraphQLString, isListType } from 'graphql/type';
549
+ *
550
+ * const schema = buildSchema(`
551
+ * type Query {
552
+ * tags: [String!]!
553
+ * }
554
+ * `);
555
+ *
556
+ * const tagsField = schema.getQueryType()?.getFields().tags;
557
+ *
558
+ * isListType(new GraphQLList(GraphQLString)); // => true
559
+ * isListType(GraphQLString); // => false
560
+ * isListType(tagsField?.type); // => false
561
+ * ```
562
+ */
563
+ export declare function isListType(type: GraphQLInputType): type is GraphQLList<GraphQLInputType>;
564
+ /**
565
+ * Returns true when the output type is a GraphQLList.
566
+ * @param type - The GraphQL output type to inspect.
567
+ * @returns True when the output type is a list type.
568
+ * @example
569
+ * ```ts
570
+ * import { buildSchema } from 'graphql/utilities';
571
+ * import { getNullableType, isListType } from 'graphql/type';
572
+ *
573
+ * const schema = buildSchema(`
574
+ * type Query {
575
+ * tags: [String!]!
576
+ * }
577
+ * `);
578
+ *
579
+ * const tagsField = schema.getQueryType()?.getFields().tags;
580
+ * const nullableTagsType = getNullableType(tagsField?.type);
581
+ *
582
+ * isListType(nullableTagsType); // => true
583
+ * ```
584
+ */
585
+ export declare function isListType(type: GraphQLOutputType): type is GraphQLList<GraphQLOutputType>;
586
+ /**
587
+ * Returns true when the value is a GraphQLList.
588
+ * @param type - The value to inspect.
589
+ * @returns True when the value is a list type.
590
+ * @example
591
+ * ```ts
592
+ * import { isListType } from 'graphql/type';
593
+ *
594
+ * isListType('[String]'); // => false
595
+ * isListType(null); // => false
596
+ * ```
597
+ */
598
+ export declare function isListType(type: unknown): type is GraphQLList<GraphQLType>;
599
+ /**
600
+ * Returns the value as a GraphQLList, or throws if it is not one.
601
+ * @param type - The GraphQL type to inspect.
602
+ * @returns The value typed as a GraphQLList.
603
+ * @example
604
+ * ```ts
605
+ * import { GraphQLList, GraphQLString, assertListType } from 'graphql/type';
606
+ *
607
+ * const listType = assertListType(new GraphQLList(GraphQLString));
608
+ *
609
+ * listType.ofType; // => GraphQLString
610
+ * assertListType(GraphQLString); // throws an error
611
+ * ```
612
+ */
613
+ export declare function assertListType(type: unknown): GraphQLList<GraphQLType>;
614
+ /**
615
+ * Returns true when the value is a GraphQLNonNull.
616
+ * @param type - The GraphQL type to inspect.
617
+ * @returns True when the value is a GraphQLNonNull.
618
+ * @example
619
+ * ```ts
620
+ * import { buildSchema } from 'graphql/utilities';
621
+ * import { GraphQLNonNull, GraphQLString, isNonNullType } from 'graphql/type';
622
+ *
623
+ * const schema = buildSchema(`
624
+ * type Query {
625
+ * name: String!
626
+ * nickname: String
627
+ * }
628
+ * `);
629
+ *
630
+ * const fields = schema.getQueryType()?.getFields();
631
+ *
632
+ * isNonNullType(new GraphQLNonNull(GraphQLString)); // => true
633
+ * isNonNullType(fields?.name.type); // => true
634
+ * isNonNullType(fields?.nickname.type); // => false
635
+ * ```
636
+ */
637
+ export declare function isNonNullType(type: GraphQLInputType): type is GraphQLNonNull<GraphQLNullableInputType>;
638
+ /**
639
+ * Returns true when the output type is a GraphQLNonNull.
640
+ * @param type - The GraphQL output type to inspect.
641
+ * @returns True when the output type is a non-null type.
642
+ * @example
643
+ * ```ts
644
+ * import { buildSchema } from 'graphql/utilities';
645
+ * import { isNonNullType } from 'graphql/type';
646
+ *
647
+ * const schema = buildSchema(`
648
+ * type Query {
649
+ * name: String!
650
+ * nickname: String
651
+ * }
652
+ * `);
653
+ *
654
+ * const fields = schema.getQueryType()?.getFields();
655
+ *
656
+ * isNonNullType(fields?.name.type); // => true
657
+ * isNonNullType(fields?.nickname.type); // => false
658
+ * ```
659
+ */
660
+ export declare function isNonNullType(type: GraphQLOutputType): type is GraphQLNonNull<GraphQLNullableOutputType>;
661
+ /**
662
+ * Returns true when the value is a GraphQLNonNull.
663
+ * @param type - The value to inspect.
664
+ * @returns True when the value is a non-null type.
665
+ * @example
666
+ * ```ts
667
+ * import { isNonNullType } from 'graphql/type';
668
+ *
669
+ * isNonNullType('String!'); // => false
670
+ * isNonNullType(null); // => false
671
+ * ```
672
+ */
673
+ export declare function isNonNullType(type: unknown): type is GraphQLNonNull<GraphQLNullableType>;
674
+ /**
675
+ * Returns the value as a GraphQLNonNull, or throws if it is not one.
676
+ * @param type - The GraphQL type to inspect.
677
+ * @returns The value typed as a GraphQLNonNull.
678
+ * @example
679
+ * ```ts
680
+ * import { GraphQLNonNull, GraphQLString, assertNonNullType } from 'graphql/type';
681
+ *
682
+ * const nonNullType = assertNonNullType(new GraphQLNonNull(GraphQLString));
683
+ *
684
+ * nonNullType.ofType; // => GraphQLString
685
+ * assertNonNullType(GraphQLString); // throws an error
686
+ * ```
687
+ */
688
+ export declare function assertNonNullType(type: unknown): GraphQLNonNull<GraphQLNullableType>;
689
+ /** These types may be used as input types for arguments and directives. */
690
+ export type GraphQLNullableInputType = GraphQLNamedInputType | GraphQLList<GraphQLInputType>;
691
+ /** These types may be used as input types for arguments and directives. */
692
+ export type GraphQLInputType = GraphQLNullableInputType | GraphQLNonNull<GraphQLNullableInputType>;
693
+ /**
694
+ * Returns true when the value can be used as a GraphQL input type.
695
+ * @param type - The GraphQL type to inspect.
696
+ * @returns True when the value can be used as a GraphQL input type.
697
+ * @example
698
+ * ```ts
699
+ * import { buildSchema } from 'graphql/utilities';
700
+ * import { isInputType } from 'graphql/type';
701
+ *
702
+ * const schema = buildSchema(`
703
+ * input ReviewInput {
704
+ * stars: Int!
705
+ * }
706
+ *
707
+ * type Review {
708
+ * stars: Int!
709
+ * }
710
+ *
711
+ * type Query {
712
+ * review(input: ReviewInput): Review
713
+ * }
714
+ * `);
715
+ *
716
+ * isInputType(schema.getType('ReviewInput')); // => true
717
+ * isInputType(schema.getType('Review')); // => false
718
+ * ```
719
+ */
720
+ export declare function isInputType(type: unknown): type is GraphQLInputType;
721
+ /**
722
+ * Returns the value as a GraphQL input type, or throws if it is not one.
723
+ * @param type - The GraphQL type to inspect.
724
+ * @returns The value typed as a GraphQL input type.
725
+ * @example
726
+ * ```ts
727
+ * import { buildSchema } from 'graphql/utilities';
728
+ * import { assertInputType } from 'graphql/type';
729
+ *
730
+ * const schema = buildSchema(`
731
+ * input ReviewInput {
732
+ * stars: Int!
733
+ * }
734
+ *
735
+ * type Review {
736
+ * stars: Int!
737
+ * }
738
+ *
739
+ * type Query {
740
+ * review(input: ReviewInput): Review
741
+ * }
742
+ * `);
743
+ *
744
+ * const inputType = assertInputType(schema.getType('ReviewInput'));
745
+ *
746
+ * inputType.toString(); // => 'ReviewInput'
747
+ * assertInputType(schema.getType('Review')); // throws an error
748
+ * ```
749
+ */
750
+ export declare function assertInputType(type: unknown): GraphQLInputType;
751
+ /** These types may be used as output types as the result of fields. */
752
+ export type GraphQLNullableOutputType = GraphQLNamedOutputType | GraphQLList<GraphQLOutputType>;
753
+ /** These types may be used as output types as the result of fields. */
754
+ export type GraphQLOutputType = GraphQLNullableOutputType | GraphQLNonNull<GraphQLNullableOutputType>;
755
+ /**
756
+ * Returns true when the value can be used as a GraphQL output type.
757
+ * @param type - The GraphQL type to inspect.
758
+ * @returns True when the value can be used as a GraphQL output type.
759
+ * @example
760
+ * ```ts
761
+ * import { buildSchema } from 'graphql/utilities';
762
+ * import { isOutputType } from 'graphql/type';
763
+ *
764
+ * const schema = buildSchema(`
765
+ * input ReviewInput {
766
+ * stars: Int!
767
+ * }
768
+ *
769
+ * type Review {
770
+ * stars: Int!
771
+ * }
772
+ *
773
+ * type Query {
774
+ * review(input: ReviewInput): Review
775
+ * }
776
+ * `);
777
+ *
778
+ * isOutputType(schema.getType('Review')); // => true
779
+ * isOutputType(schema.getType('ReviewInput')); // => false
780
+ * ```
781
+ */
782
+ export declare function isOutputType(type: unknown): type is GraphQLOutputType;
783
+ /**
784
+ * Returns the value as a GraphQL output type, or throws if it is not one.
785
+ * @param type - The GraphQL type to inspect.
786
+ * @returns The value typed as a GraphQL output type.
787
+ * @example
788
+ * ```ts
789
+ * import { buildSchema } from 'graphql/utilities';
790
+ * import { assertOutputType } from 'graphql/type';
791
+ *
792
+ * const schema = buildSchema(`
793
+ * input ReviewInput {
794
+ * stars: Int!
795
+ * }
796
+ *
797
+ * type Review {
798
+ * stars: Int!
799
+ * }
800
+ *
801
+ * type Query {
802
+ * review(input: ReviewInput): Review
803
+ * }
804
+ * `);
805
+ *
806
+ * const outputType = assertOutputType(schema.getType('Review'));
807
+ *
808
+ * outputType.toString(); // => 'Review'
809
+ * assertOutputType(schema.getType('ReviewInput')); // throws an error
810
+ * ```
811
+ */
812
+ export declare function assertOutputType(type: unknown): GraphQLOutputType;
813
+ /** These types may describe types which may be leaf values. */
814
+ export type GraphQLLeafType = GraphQLScalarType | GraphQLEnumType;
815
+ /**
816
+ * Returns true when the value is a GraphQL scalar or enum type.
817
+ * @param type - The GraphQL type to inspect.
818
+ * @returns True when the value is a GraphQL scalar or enum type.
819
+ * @example
820
+ * ```ts
821
+ * import { buildSchema } from 'graphql/utilities';
822
+ * import { isLeafType } from 'graphql/type';
823
+ *
824
+ * const schema = buildSchema(`
825
+ * enum Episode {
826
+ * NEW_HOPE
827
+ * }
828
+ *
829
+ * type Review {
830
+ * stars: Int!
831
+ * }
832
+ *
833
+ * type Query {
834
+ * episode: Episode
835
+ * review: Review
836
+ * }
837
+ * `);
838
+ *
839
+ * isLeafType(schema.getType('Episode')); // => true
840
+ * isLeafType(schema.getType('String')); // => true
841
+ * isLeafType(schema.getType('Review')); // => false
842
+ * ```
843
+ */
844
+ export declare function isLeafType(type: unknown): type is GraphQLLeafType;
845
+ /**
846
+ * Returns the value as a GraphQL leaf type, or throws if it is not one.
847
+ * @param type - The GraphQL type to inspect.
848
+ * @returns The value typed as a GraphQL leaf type.
849
+ * @example
850
+ * ```ts
851
+ * import { buildSchema } from 'graphql/utilities';
852
+ * import { assertLeafType } from 'graphql/type';
853
+ *
854
+ * const schema = buildSchema(`
855
+ * enum Episode {
856
+ * NEW_HOPE
857
+ * }
858
+ *
859
+ * type Review {
860
+ * stars: Int!
861
+ * }
862
+ *
863
+ * type Query {
864
+ * episode: Episode
865
+ * review: Review
866
+ * }
867
+ * `);
868
+ *
869
+ * const episodeType = assertLeafType(schema.getType('Episode'));
870
+ *
871
+ * episodeType.toString(); // => 'Episode'
872
+ * assertLeafType(schema.getType('Review')); // throws an error
873
+ * ```
874
+ */
875
+ export declare function assertLeafType(type: unknown): GraphQLLeafType;
876
+ /** These types may describe the parent context of a selection set. */
877
+ export type GraphQLCompositeType = GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType;
878
+ /**
879
+ * Returns true when the value is a GraphQL object, interface, or union type.
880
+ * @param type - The GraphQL type to inspect.
881
+ * @returns True when the value is a GraphQL object, interface, or union type.
882
+ * @example
883
+ * ```ts
884
+ * import { buildSchema } from 'graphql/utilities';
885
+ * import { isCompositeType } from 'graphql/type';
886
+ *
887
+ * const schema = buildSchema(`
888
+ * interface Node {
889
+ * id: ID!
890
+ * }
891
+ *
892
+ * type User implements Node {
893
+ * id: ID!
894
+ * }
895
+ *
896
+ * union SearchResult = User
897
+ *
898
+ * type Query {
899
+ * node: Node
900
+ * search: [SearchResult]
901
+ * }
902
+ * `);
903
+ *
904
+ * isCompositeType(schema.getType('User')); // => true
905
+ * isCompositeType(schema.getType('Node')); // => true
906
+ * isCompositeType(schema.getType('SearchResult')); // => true
907
+ * isCompositeType(schema.getType('String')); // => false
908
+ * ```
909
+ */
910
+ export declare function isCompositeType(type: unknown): type is GraphQLCompositeType;
911
+ /**
912
+ * Returns the value as a GraphQL composite type, or throws if it is not one.
913
+ * @param type - The GraphQL type to inspect.
914
+ * @returns The value typed as a GraphQL composite type.
915
+ * @example
916
+ * ```ts
917
+ * import { buildSchema } from 'graphql/utilities';
918
+ * import { assertCompositeType } from 'graphql/type';
919
+ *
920
+ * const schema = buildSchema(`
921
+ * interface Node {
922
+ * id: ID!
923
+ * }
924
+ *
925
+ * type User implements Node {
926
+ * id: ID!
927
+ * }
928
+ *
929
+ * type Query {
930
+ * node: Node
931
+ * }
932
+ * `);
933
+ *
934
+ * const userType = assertCompositeType(schema.getType('User'));
935
+ *
936
+ * userType.toString(); // => 'User'
937
+ * assertCompositeType(schema.getType('String')); // throws an error
938
+ * ```
939
+ */
940
+ export declare function assertCompositeType(type: unknown): GraphQLCompositeType;
941
+ /** These types may describe the parent context of a selection set. */
942
+ export type GraphQLAbstractType = GraphQLInterfaceType | GraphQLUnionType;
943
+ /**
944
+ * Returns true when the value is a GraphQL interface or union type.
945
+ * @param type - The GraphQL type to inspect.
946
+ * @returns True when the value is a GraphQL interface or union type.
947
+ * @example
948
+ * ```ts
949
+ * import { buildSchema } from 'graphql/utilities';
950
+ * import { isAbstractType } from 'graphql/type';
951
+ *
952
+ * const schema = buildSchema(`
953
+ * interface Node {
954
+ * id: ID!
955
+ * }
956
+ *
957
+ * type User implements Node {
958
+ * id: ID!
959
+ * }
960
+ *
961
+ * union SearchResult = User
962
+ *
963
+ * type Query {
964
+ * node: Node
965
+ * search: [SearchResult]
966
+ * }
967
+ * `);
968
+ *
969
+ * isAbstractType(schema.getType('Node')); // => true
970
+ * isAbstractType(schema.getType('SearchResult')); // => true
971
+ * isAbstractType(schema.getType('User')); // => false
972
+ * ```
973
+ */
974
+ export declare function isAbstractType(type: unknown): type is GraphQLAbstractType;
975
+ /**
976
+ * Returns the value as a GraphQL abstract type, or throws if it is not one.
977
+ * @param type - The GraphQL type to inspect.
978
+ * @returns The value typed as a GraphQL abstract type.
979
+ * @example
980
+ * ```ts
981
+ * import { buildSchema } from 'graphql/utilities';
982
+ * import { assertAbstractType } from 'graphql/type';
983
+ *
984
+ * const schema = buildSchema(`
985
+ * interface Node {
986
+ * id: ID!
987
+ * }
988
+ *
989
+ * type User implements Node {
990
+ * id: ID!
991
+ * }
992
+ *
993
+ * type Query {
994
+ * node: Node
995
+ * }
996
+ * `);
997
+ *
998
+ * const nodeType = assertAbstractType(schema.getType('Node'));
999
+ *
1000
+ * nodeType.toString(); // => 'Node'
1001
+ * assertAbstractType(schema.getType('User')); // throws an error
1002
+ * ```
1003
+ */
1004
+ export declare function assertAbstractType(type: unknown): GraphQLAbstractType;
1005
+ /**
1006
+ * List Type Wrapper
1007
+ *
1008
+ * A list is a wrapping type which points to another type.
1009
+ * Lists are often created within the context of defining the fields of
1010
+ * an object type.
1011
+ * @typeParam T - The GraphQL type wrapped by this list type.
1012
+ * @example
1013
+ * ```ts
1014
+ * const PersonType = new GraphQLObjectType({
1015
+ * name: 'Person',
1016
+ * fields: () => ({
1017
+ * parents: { type: new GraphQLList(PersonType) },
1018
+ * children: { type: new GraphQLList(PersonType) },
1019
+ * }),
1020
+ * });
1021
+ * ```
1022
+ */
1023
+ export declare class GraphQLList<T extends GraphQLType> implements GraphQLSchemaElement {
1024
+ /** The type wrapped by this list or non-null type. */
1025
+ readonly ofType: T;
1026
+ private readonly __GraphQLListTypeBrand;
1027
+ /**
1028
+ * Creates a GraphQLList instance.
1029
+ * @param ofType - The type to wrap.
1030
+ * @example
1031
+ * ```ts
1032
+ * import { GraphQLList, GraphQLString } from 'graphql/type';
1033
+ *
1034
+ * const stringList = new GraphQLList(GraphQLString);
1035
+ *
1036
+ * stringList.ofType; // => GraphQLString
1037
+ * String(stringList); // => '[String]'
1038
+ * ```
1039
+ */
1040
+ constructor(ofType: T);
1041
+ /**
1042
+ * Returns the value used by `Object.prototype.toString`.
1043
+ * @returns The built-in string tag for this object.
1044
+ */
1045
+ get [Symbol.toStringTag](): string;
1046
+ /**
1047
+ * Returns this wrapping type as a GraphQL type-reference string.
1048
+ * @returns The GraphQL type-reference string.
1049
+ * @example
1050
+ * ```ts
1051
+ * import { GraphQLList, GraphQLNonNull, GraphQLString } from 'graphql/type';
1052
+ *
1053
+ * const stringList = new GraphQLList(GraphQLString);
1054
+ * const requiredStringList = new GraphQLList(new GraphQLNonNull(GraphQLString));
1055
+ *
1056
+ * stringList.toString(); // => '[String]'
1057
+ * requiredStringList.toString(); // => '[String!]'
1058
+ * ```
1059
+ */
1060
+ toString(): string;
1061
+ /**
1062
+ * Returns the JSON representation used when this object is serialized.
1063
+ * @returns The JSON-serializable representation.
1064
+ * @example
1065
+ * ```ts
1066
+ * import { GraphQLList, GraphQLString } from 'graphql/type';
1067
+ *
1068
+ * const stringList = new GraphQLList(GraphQLString);
1069
+ *
1070
+ * stringList.toJSON(); // => '[String]'
1071
+ * JSON.stringify({ type: stringList }); // => '{"type":"[String]"}'
1072
+ * ```
1073
+ */
1074
+ toJSON(): string;
1075
+ }
1076
+ /**
1077
+ * Non-Null Type Wrapper
1078
+ *
1079
+ * A non-null is a wrapping type which points to another type.
1080
+ * Non-null types enforce that their values are never null and can ensure
1081
+ * an error is raised if this ever occurs during a request. It is useful for
1082
+ * fields which you can make a strong guarantee on non-nullability, for example
1083
+ * usually the id field of a database row will never be null.
1084
+ * @typeParam T - The nullable GraphQL type wrapped by this non-null type.
1085
+ * @example
1086
+ * ```ts
1087
+ * const RowType = new GraphQLObjectType({
1088
+ * name: 'Row',
1089
+ * fields: () => ({
1090
+ * id: { type: new GraphQLNonNull(GraphQLString) },
1091
+ * }),
1092
+ * });
1093
+ * ```
1094
+ *
1095
+ * Note: the enforcement of non-nullability occurs within the executor.
1096
+ */
1097
+ export declare class GraphQLNonNull<T extends GraphQLNullableType> implements GraphQLSchemaElement {
1098
+ /** The type wrapped by this list or non-null type. */
1099
+ readonly ofType: T;
1100
+ private readonly __GraphQLNonNullTypeBrand;
1101
+ /**
1102
+ * Creates a GraphQLNonNull instance.
1103
+ * @param ofType - The type to wrap.
1104
+ * @example
1105
+ * ```ts
1106
+ * import { GraphQLNonNull, GraphQLString } from 'graphql/type';
1107
+ *
1108
+ * const requiredString = new GraphQLNonNull(GraphQLString);
1109
+ *
1110
+ * requiredString.ofType; // => GraphQLString
1111
+ * String(requiredString); // => 'String!'
1112
+ * ```
1113
+ */
1114
+ constructor(ofType: T);
1115
+ /**
1116
+ * Returns the value used by `Object.prototype.toString`.
1117
+ * @returns The built-in string tag for this object.
1118
+ */
1119
+ get [Symbol.toStringTag](): string;
1120
+ /**
1121
+ * Returns this wrapping type as a GraphQL type-reference string.
1122
+ * @returns The GraphQL type-reference string.
1123
+ * @example
1124
+ * ```ts
1125
+ * import { GraphQLList, GraphQLNonNull, GraphQLString } from 'graphql/type';
1126
+ *
1127
+ * const requiredString = new GraphQLNonNull(GraphQLString);
1128
+ * const requiredStringList = new GraphQLNonNull(new GraphQLList(GraphQLString));
1129
+ *
1130
+ * requiredString.toString(); // => 'String!'
1131
+ * requiredStringList.toString(); // => '[String]!'
1132
+ * ```
1133
+ */
1134
+ toString(): string;
1135
+ /**
1136
+ * Returns the JSON representation used when this object is serialized.
1137
+ * @returns The JSON-serializable representation.
1138
+ * @example
1139
+ * ```ts
1140
+ * import { GraphQLNonNull, GraphQLString } from 'graphql/type';
1141
+ *
1142
+ * const requiredString = new GraphQLNonNull(GraphQLString);
1143
+ *
1144
+ * requiredString.toJSON(); // => 'String!'
1145
+ * JSON.stringify({ type: requiredString }); // => '{"type":"String!"}'
1146
+ * ```
1147
+ */
1148
+ toJSON(): string;
1149
+ }
1150
+ /** These types wrap and modify other types */
1151
+ export type GraphQLWrappingType = GraphQLList<GraphQLType> | GraphQLNonNull<GraphQLNullableType>;
1152
+ /**
1153
+ * Returns true when the value is a GraphQL list or non-null wrapper type.
1154
+ * @param type - The GraphQL type to inspect.
1155
+ * @returns True when the value is a GraphQL list or non-null wrapper type.
1156
+ * @example
1157
+ * ```ts
1158
+ * import {
1159
+ * GraphQLList,
1160
+ * GraphQLNonNull,
1161
+ * GraphQLString,
1162
+ * isWrappingType,
1163
+ * } from 'graphql/type';
1164
+ *
1165
+ * isWrappingType(new GraphQLList(GraphQLString)); // => true
1166
+ * isWrappingType(new GraphQLNonNull(GraphQLString)); // => true
1167
+ * isWrappingType(GraphQLString); // => false
1168
+ * ```
1169
+ */
1170
+ export declare function isWrappingType(type: unknown): type is GraphQLWrappingType;
1171
+ /**
1172
+ * Returns the value as a GraphQL wrapping type, or throws if it is not one.
1173
+ * @param type - The GraphQL type to inspect.
1174
+ * @returns The value typed as a GraphQL wrapping type.
1175
+ * @example
1176
+ * ```ts
1177
+ * import { GraphQLList, GraphQLString, assertWrappingType } from 'graphql/type';
1178
+ *
1179
+ * const wrappingType = assertWrappingType(new GraphQLList(GraphQLString));
1180
+ *
1181
+ * wrappingType.toString(); // => '[String]'
1182
+ * assertWrappingType(GraphQLString); // throws an error
1183
+ * ```
1184
+ */
1185
+ export declare function assertWrappingType(type: unknown): GraphQLWrappingType;
1186
+ /** These types can all accept null as a value. */
1187
+ export type GraphQLNullableType = GraphQLNamedType | GraphQLList<GraphQLType>;
1188
+ /**
1189
+ * Returns true when the value is a GraphQL type that can accept null.
1190
+ * @param type - The GraphQL type to inspect.
1191
+ * @returns True when the value is a GraphQL type that can accept null.
1192
+ * @example
1193
+ * ```ts
1194
+ * import { GraphQLNonNull, GraphQLString, isNullableType } from 'graphql/type';
1195
+ *
1196
+ * isNullableType(GraphQLString); // => true
1197
+ * isNullableType(new GraphQLNonNull(GraphQLString)); // => false
1198
+ * isNullableType(null); // => false
1199
+ * ```
1200
+ */
1201
+ export declare function isNullableType(type: unknown): type is GraphQLNullableType;
1202
+ /**
1203
+ * Returns the value as a nullable GraphQL type, or throws if it is not one.
1204
+ * @param type - The GraphQL type to inspect.
1205
+ * @returns The value typed as a nullable GraphQL type.
1206
+ * @example
1207
+ * ```ts
1208
+ * import {
1209
+ * GraphQLNonNull,
1210
+ * GraphQLString,
1211
+ * assertNullableType,
1212
+ * } from 'graphql/type';
1213
+ *
1214
+ * const nullableType = assertNullableType(GraphQLString);
1215
+ *
1216
+ * nullableType; // => GraphQLString
1217
+ * assertNullableType(new GraphQLNonNull(GraphQLString)); // throws an error
1218
+ * ```
1219
+ */
1220
+ export declare function assertNullableType(type: unknown): GraphQLNullableType;
1221
+ /**
1222
+ * Returns the nullable type.
1223
+ * @param type - The GraphQL type to inspect.
1224
+ * @returns The nullable type after removing one non-null wrapper, if present.
1225
+ * @example
1226
+ * ```ts
1227
+ * import { getNullableType } from 'graphql/type';
1228
+ *
1229
+ * getNullableType(null); // => undefined
1230
+ * getNullableType(undefined); // => undefined
1231
+ * ```
1232
+ */
1233
+ export declare function getNullableType(type: undefined | null): void;
1234
+ /**
1235
+ * Returns the nullable type after removing one non-null wrapper.
1236
+ * @param type - A nullable type or non-null wrapper.
1237
+ * @returns The nullable type after removing one non-null wrapper, if present.
1238
+ * @typeParam T - The nullable GraphQL type returned after removing one non-null wrapper.
1239
+ * @example
1240
+ * ```ts
1241
+ * import {
1242
+ * GraphQLList,
1243
+ * GraphQLNonNull,
1244
+ * GraphQLString,
1245
+ * getNullableType,
1246
+ * } from 'graphql/type';
1247
+ *
1248
+ * const requiredString = new GraphQLNonNull(GraphQLString);
1249
+ * const stringList = new GraphQLList(GraphQLString);
1250
+ *
1251
+ * getNullableType(requiredString); // => GraphQLString
1252
+ * getNullableType(stringList); // => stringList
1253
+ * ```
1254
+ */
1255
+ export declare function getNullableType<T extends GraphQLNullableType>(type: T | GraphQLNonNull<T>): T;
1256
+ /**
1257
+ * Returns the nullable type after removing one non-null wrapper.
1258
+ * @param type - The GraphQL type to inspect.
1259
+ * @returns The nullable type after removing one non-null wrapper, if present.
1260
+ * @example
1261
+ * ```ts
1262
+ * import {
1263
+ * GraphQLList,
1264
+ * GraphQLNonNull,
1265
+ * GraphQLString,
1266
+ * getNullableType,
1267
+ * } from 'graphql/type';
1268
+ *
1269
+ * const requiredStringList = new GraphQLNonNull(new GraphQLList(GraphQLString));
1270
+ *
1271
+ * getNullableType(requiredStringList).toString(); // => '[String]'
1272
+ * getNullableType(GraphQLString); // => GraphQLString
1273
+ * ```
1274
+ */
1275
+ export declare function getNullableType(type: Maybe<GraphQLType>): GraphQLNullableType | undefined;
1276
+ /** These named types do not include modifiers like List or NonNull. */
1277
+ export type GraphQLNamedType = GraphQLNamedInputType | GraphQLNamedOutputType;
1278
+ /** A named GraphQL type that can be used as an input type. */
1279
+ export type GraphQLNamedInputType = GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType;
1280
+ /** A named GraphQL type that can be used as an output type. */
1281
+ export type GraphQLNamedOutputType = GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType;
1282
+ /**
1283
+ * Returns true when the value is a GraphQL named type.
1284
+ * @param type - The GraphQL type to inspect.
1285
+ * @returns True when the value is a GraphQL named type.
1286
+ * @example
1287
+ * ```ts
1288
+ * import { GraphQLList, GraphQLString, isNamedType } from 'graphql/type';
1289
+ *
1290
+ * isNamedType(GraphQLString); // => true
1291
+ * isNamedType(new GraphQLList(GraphQLString)); // => false
1292
+ * isNamedType(null); // => false
1293
+ * ```
1294
+ */
1295
+ export declare function isNamedType(type: unknown): type is GraphQLNamedType;
1296
+ /**
1297
+ * Returns the value as a GraphQL named type, or throws if it is not one.
1298
+ * @param type - The GraphQL type to inspect.
1299
+ * @returns The value typed as a GraphQL named type.
1300
+ * @example
1301
+ * ```ts
1302
+ * import { GraphQLList, GraphQLString, assertNamedType } from 'graphql/type';
1303
+ *
1304
+ * const namedType = assertNamedType(GraphQLString);
1305
+ *
1306
+ * namedType.name; // => 'String'
1307
+ * assertNamedType(new GraphQLList(GraphQLString)); // throws an error
1308
+ * ```
1309
+ */
1310
+ export declare function assertNamedType(type: unknown): GraphQLNamedType;
1311
+ /**
1312
+ * Returns the named type.
1313
+ * @param type - The GraphQL type to inspect.
1314
+ * @returns The named type after unwrapping all list and non-null wrappers.
1315
+ * @example
1316
+ * ```ts
1317
+ * import { getNamedType } from 'graphql/type';
1318
+ *
1319
+ * getNamedType(null); // => undefined
1320
+ * getNamedType(undefined); // => undefined
1321
+ * ```
1322
+ */
1323
+ export declare function getNamedType(type: undefined | null): void;
1324
+ /**
1325
+ * Returns the named input type after unwrapping all list and non-null wrappers.
1326
+ * @param type - The GraphQL input type to inspect.
1327
+ * @returns The named input type after unwrapping all wrappers.
1328
+ * @example
1329
+ * ```ts
1330
+ * import { buildSchema } from 'graphql/utilities';
1331
+ * import { getNamedType } from 'graphql/type';
1332
+ *
1333
+ * const schema = buildSchema(`
1334
+ * input ReviewInput {
1335
+ * stars: Int!
1336
+ * }
1337
+ *
1338
+ * type Query {
1339
+ * review(input: [ReviewInput!]!): Boolean
1340
+ * }
1341
+ * `);
1342
+ *
1343
+ * const inputArg = schema.getQueryType()?.getFields().review.args[0];
1344
+ *
1345
+ * getNamedType(inputArg?.type).toString(); // => 'ReviewInput'
1346
+ * ```
1347
+ */
1348
+ export declare function getNamedType(type: GraphQLInputType): GraphQLNamedInputType;
1349
+ /**
1350
+ * Returns the named output type after unwrapping all list and non-null wrappers.
1351
+ * @param type - The GraphQL output type to inspect.
1352
+ * @returns The named output type after unwrapping all wrappers.
1353
+ * @example
1354
+ * ```ts
1355
+ * import { buildSchema } from 'graphql/utilities';
1356
+ * import { getNamedType } from 'graphql/type';
1357
+ *
1358
+ * const schema = buildSchema(`
1359
+ * type User {
1360
+ * name: String
1361
+ * }
1362
+ *
1363
+ * type Query {
1364
+ * users: [User!]!
1365
+ * }
1366
+ * `);
1367
+ *
1368
+ * const usersField = schema.getQueryType()?.getFields().users;
1369
+ *
1370
+ * getNamedType(usersField?.type).toString(); // => 'User'
1371
+ * ```
1372
+ */
1373
+ export declare function getNamedType(type: GraphQLOutputType): GraphQLNamedOutputType;
1374
+ /**
1375
+ * Returns the named type after unwrapping all list and non-null wrappers.
1376
+ * @param type - The GraphQL type to inspect.
1377
+ * @returns The named type after unwrapping all wrappers.
1378
+ * @example
1379
+ * ```ts
1380
+ * import {
1381
+ * GraphQLList,
1382
+ * GraphQLNonNull,
1383
+ * GraphQLString,
1384
+ * getNamedType,
1385
+ * } from 'graphql/type';
1386
+ *
1387
+ * const nestedType = new GraphQLNonNull(
1388
+ * new GraphQLList(new GraphQLNonNull(GraphQLString)),
1389
+ * );
1390
+ *
1391
+ * getNamedType(nestedType); // => GraphQLString
1392
+ * ```
1393
+ */
1394
+ export declare function getNamedType(type: GraphQLType): GraphQLNamedType;
1395
+ /**
1396
+ * Returns the named type after unwrapping all list and non-null wrappers.
1397
+ * @param type - The GraphQL type to inspect.
1398
+ * @returns The named type after unwrapping all wrappers, or undefined for nullish input.
1399
+ * @example
1400
+ * ```ts
1401
+ * import { GraphQLList, GraphQLString, getNamedType } from 'graphql/type';
1402
+ *
1403
+ * getNamedType(new GraphQLList(GraphQLString)); // => GraphQLString
1404
+ * getNamedType(undefined); // => undefined
1405
+ * ```
1406
+ */
1407
+ export declare function getNamedType(type: Maybe<GraphQLType>): GraphQLNamedType | undefined;
1408
+ /**
1409
+ * An interface for all Schema Elements.
1410
+ *
1411
+ * @internal
1412
+ */
1413
+ export interface GraphQLSchemaElement {
1414
+ toString: () => string;
1415
+ toJSON: () => string;
1416
+ }
1417
+ /**
1418
+ * Used while defining GraphQL types to allow for circular references in
1419
+ * otherwise immutable type definitions.
1420
+ * @typeParam T - The element type returned by the thunk or array.
1421
+ */
1422
+ export type ThunkReadonlyArray<T> = (() => ReadonlyArray<T>) | ReadonlyArray<T>;
1423
+ /**
1424
+ * A thunk that resolves to an object map.
1425
+ * @typeParam T - Value type stored in the object map.
1426
+ */
1427
+ export type ThunkObjMap<T> = (() => ObjMap<T>) | ObjMap<T>;
1428
+ /**
1429
+ * Resolves a thunked readonly array.
1430
+ * @param thunk - The thunk or value to resolve.
1431
+ * @returns The resolved readonly array.
1432
+ * @typeParam T - The element type resolved from the thunk or array.
1433
+ * @example
1434
+ * ```ts
1435
+ * import { GraphQLString, resolveReadonlyArrayThunk } from 'graphql/type';
1436
+ *
1437
+ * const lazyFields = resolveReadonlyArrayThunk(() => [GraphQLString]);
1438
+ * const fields = resolveReadonlyArrayThunk([GraphQLString]);
1439
+ *
1440
+ * lazyFields; // => [GraphQLString]
1441
+ * fields; // => [GraphQLString]
1442
+ * ```
1443
+ */
1444
+ export declare function resolveReadonlyArrayThunk<T>(thunk: ThunkReadonlyArray<T>): ReadonlyArray<T>;
1445
+ /**
1446
+ * Resolves a thunked object map.
1447
+ * @param thunk - The thunk or value to resolve.
1448
+ * @returns The resolved object map.
1449
+ * @typeParam T - The object-map value type resolved from the thunk or map.
1450
+ * @example
1451
+ * ```ts
1452
+ * import { GraphQLString, resolveObjMapThunk } from 'graphql/type';
1453
+ *
1454
+ * const lazyFields = resolveObjMapThunk(() => ({ name: GraphQLString }));
1455
+ * const fields = resolveObjMapThunk({ name: GraphQLString });
1456
+ *
1457
+ * lazyFields.name; // => GraphQLString
1458
+ * fields.name; // => GraphQLString
1459
+ * ```
1460
+ */
1461
+ export declare function resolveObjMapThunk<T>(thunk: ThunkObjMap<T>): ObjMap<T>;
1462
+ /**
1463
+ * Custom extensions
1464
+ * @remarks
1465
+ * Use a unique identifier name for your extension, for example the name of
1466
+ * your library or project. Do not use a shortened identifier as this increases
1467
+ * the risk of conflicts. We recommend you add at most one extension field,
1468
+ * an object which can contain all the values you need.
1469
+ */
1470
+ export interface GraphQLScalarTypeExtensions {
1471
+ [attributeName: string | symbol]: unknown;
1472
+ }
1473
+ /**
1474
+ * Scalar Type Definition
1475
+ *
1476
+ * Scalar types define the leaf values of a GraphQL response and the input
1477
+ * values accepted by arguments and input object fields. A scalar type has a
1478
+ * name and coercion functions that validate and convert runtime values and
1479
+ * GraphQL literals.
1480
+ *
1481
+ * If a type's coerceOutputValue function returns `null` or does not return a
1482
+ * value (i.e. it returns `undefined`) then an error will be raised and a
1483
+ * `null` value will be returned in the response. Prefer validating inputs
1484
+ * before execution so clients receive input diagnostics before result coercion
1485
+ * fails.
1486
+ * Custom scalar behavior is defined via the following functions:
1487
+ *
1488
+ * - coerceOutputValue(value): Implements "Result Coercion". Given an internal value,
1489
+ * produces an external value valid for this type. Returns undefined or
1490
+ * throws an error to indicate invalid values.
1491
+ *
1492
+ * - coerceInputValue(value): Implements "Input Coercion" for values. Given an
1493
+ * external value (for example, variable values), produces an internal value
1494
+ * valid for this type. Returns undefined or throws an error to indicate
1495
+ * invalid values.
1496
+ *
1497
+ * - coerceInputLiteral(ast): Implements "Input Coercion" for constant literals.
1498
+ * Given a GraphQL literal (AST) (for example, an argument value), produces
1499
+ * an internal value valid for this type. Returns undefined or throws an
1500
+ * error to indicate invalid values.
1501
+ *
1502
+ * - valueToLiteral(value): Converts an external value to a GraphQL
1503
+ * literal (AST). Returns undefined or throws an error to indicate
1504
+ * invalid values.
1505
+ *
1506
+ * Deprecated, to be removed in v18:
1507
+ *
1508
+ * - serialize(value): Implements "Result Coercion". Renamed to
1509
+ * `coerceOutputValue()`.
1510
+ *
1511
+ * - parseValue(value): Implements "Input Coercion" for values. Renamed to
1512
+ * `coerceInputValue()`.
1513
+ *
1514
+ * - parseLiteral(ast): Implements "Input Coercion" for literals including
1515
+ * non-specified replacement of variables embedded within complex scalars.
1516
+ * Replaced by the combination of the `replaceVariables()` utility and the
1517
+ * `coerceInputLiteral()` method.
1518
+ * @typeParam TInternal - Internal runtime representation for this scalar.
1519
+ * @typeParam TExternal - External representation accepted from or returned to callers.
1520
+ * @example
1521
+ * ```ts
1522
+ * import { GraphQLScalarType, Kind } from 'graphql';
1523
+ *
1524
+ * const ensureOdd = (value) => {
1525
+ * if (!Number.isFinite(value)) {
1526
+ * throw new Error(
1527
+ * `Scalar "Odd" cannot represent "${value}" since it is not a finite number.`,
1528
+ * );
1529
+ * }
1530
+ *
1531
+ * if (value % 2 === 0) {
1532
+ * throw new Error(
1533
+ * `Scalar "Odd" cannot represent "${value}" since it is even.`,
1534
+ * );
1535
+ * }
1536
+ *
1537
+ * return value;
1538
+ * };
1539
+ *
1540
+ * const OddType = new GraphQLScalarType({
1541
+ * name: 'Odd',
1542
+ * coerceOutputValue: (value) => {
1543
+ * return ensureOdd(value);
1544
+ * },
1545
+ * coerceInputValue: (value) => {
1546
+ * return ensureOdd(value);
1547
+ * },
1548
+ * valueToLiteral: (value) => {
1549
+ * return { kind: Kind.INT, value: String(ensureOdd(value)) };
1550
+ * },
1551
+ * });
1552
+ * ```
1553
+ */
1554
+ export declare class GraphQLScalarType<TInternal = unknown, TExternal = TInternal> implements GraphQLSchemaElement {
1555
+ /** The GraphQL name for this schema element. */
1556
+ name: string;
1557
+ /** Human-readable description for this schema element, if provided. */
1558
+ description: Maybe<string>;
1559
+ /** URL identifying the behavior specified for this custom scalar. */
1560
+ specifiedByURL: Maybe<string>;
1561
+ /**
1562
+ * Deprecated legacy serializer used to convert internal values for response
1563
+ * output. Use `coerceOutputValue()` instead.
1564
+ * @deprecated use `coerceOutputValue()` instead, `serialize()` will be removed in v18
1565
+ */
1566
+ serialize: GraphQLScalarSerializer<TExternal>;
1567
+ /**
1568
+ * Deprecated legacy parser used to convert externally provided input values.
1569
+ * Use `coerceInputValue()` instead.
1570
+ * @deprecated use `coerceInputValue()` instead, `parseValue()` will be removed in v18
1571
+ */
1572
+ parseValue: GraphQLScalarValueParser<TInternal>;
1573
+ /**
1574
+ * Deprecated legacy parser used to convert externally provided input
1575
+ * literals. Use `replaceVariables()` and `coerceInputLiteral()` instead.
1576
+ * @deprecated use `replaceVariables()` and `coerceInputLiteral()` instead, `parseLiteral()` will be removed in v18
1577
+ */
1578
+ parseLiteral: GraphQLScalarLiteralParser<TInternal>;
1579
+ /** Coercer used to convert internal scalar values for response output. */
1580
+ coerceOutputValue: GraphQLScalarOutputValueCoercer<TExternal>;
1581
+ /** Coercer used to convert externally provided scalar input values. */
1582
+ coerceInputValue: GraphQLScalarInputValueCoercer<TInternal>;
1583
+ /** Coercer used to convert GraphQL scalar input literals. */
1584
+ coerceInputLiteral: GraphQLScalarInputLiteralCoercer<TInternal> | undefined;
1585
+ /** Converter used to produce GraphQL literals from runtime input values. */
1586
+ valueToLiteral: GraphQLScalarValueToLiteral | undefined;
1587
+ /** Custom extension fields reserved for users. */
1588
+ extensions: Readonly<GraphQLScalarTypeExtensions>;
1589
+ /** AST node from which this schema element was built, if available. */
1590
+ astNode: Maybe<ScalarTypeDefinitionNode>;
1591
+ /** AST extension nodes applied to this schema element. */
1592
+ extensionASTNodes: ReadonlyArray<ScalarTypeExtensionNode>;
1593
+ /**
1594
+ * Creates a GraphQLScalarType instance.
1595
+ * @param config - Configuration describing this object.
1596
+ * @example
1597
+ * ```ts
1598
+ * import { Kind, parse } from 'graphql/language';
1599
+ * import { GraphQLScalarType } from 'graphql/type';
1600
+ *
1601
+ * const document = parse(`
1602
+ * "Odd integer values."
1603
+ * scalar Odd @specifiedBy(url: "https://example.com/odd")
1604
+ *
1605
+ * extend scalar Odd @specifiedBy(url: "https://example.com/odd-v2")
1606
+ * `);
1607
+ *
1608
+ * const Odd = new GraphQLScalarType({
1609
+ * name: 'Odd',
1610
+ * description: 'Odd integer values.',
1611
+ * specifiedByURL: 'https://example.com/odd',
1612
+ * coerceOutputValue: (value) => {
1613
+ * if (typeof value !== 'number' || value % 2 === 0) {
1614
+ * throw new TypeError('Odd can only produce odd numbers.');
1615
+ * }
1616
+ * return value;
1617
+ * },
1618
+ * coerceInputValue: (value) => {
1619
+ * if (typeof value !== 'number' || value % 2 === 0) {
1620
+ * throw new TypeError('Odd can only accept odd numbers.');
1621
+ * }
1622
+ * return value;
1623
+ * },
1624
+ * coerceInputLiteral: (ast) => {
1625
+ * if (ast.kind !== Kind.INT) {
1626
+ * throw new TypeError('Odd can only accept integer literals.');
1627
+ * }
1628
+ * const value = Number(ast.value);
1629
+ * if (value % 2 === 0) {
1630
+ * throw new TypeError('Odd can only accept odd integer literals.');
1631
+ * }
1632
+ * return value;
1633
+ * },
1634
+ * valueToLiteral: (value) => {
1635
+ * return { kind: Kind.INT, value: String(ensureOdd(value)) };
1636
+ * },
1637
+ * extensions: { numeric: true },
1638
+ * astNode: document.definitions[0],
1639
+ * extensionASTNodes: [document.definitions[1]],
1640
+ * });
1641
+ *
1642
+ * Odd.description; // => 'Odd integer values.'
1643
+ * Odd.specifiedByURL; // => 'https://example.com/odd'
1644
+ * Odd.coerceOutputValue(3); // => 3
1645
+ * Odd.coerceInputValue(5); // => 5
1646
+ * Odd.extensions; // => { numeric: true }
1647
+ * ```
1648
+ */
1649
+ constructor(config: Readonly<GraphQLScalarTypeConfig<TInternal, TExternal>>);
1650
+ /**
1651
+ * Returns the value used by `Object.prototype.toString`.
1652
+ * @returns The built-in string tag for this object.
1653
+ */
1654
+ get [Symbol.toStringTag](): string;
1655
+ /**
1656
+ * Returns a normalized configuration object for this object.
1657
+ * @returns A configuration object that can be used to recreate this object.
1658
+ * @example
1659
+ * ```ts
1660
+ * import { GraphQLScalarType } from 'graphql/type';
1661
+ *
1662
+ * const Url = new GraphQLScalarType({
1663
+ * name: 'Url',
1664
+ * description: 'An absolute URL string.',
1665
+ * specifiedByURL: 'https://url.spec.whatwg.org/',
1666
+ * });
1667
+ *
1668
+ * const config = Url.toConfig();
1669
+ * const UrlCopy = new GraphQLScalarType(config);
1670
+ *
1671
+ * config.name; // => 'Url'
1672
+ * config.specifiedByURL; // => 'https://url.spec.whatwg.org/'
1673
+ * UrlCopy.name; // => Url.name
1674
+ * ```
1675
+ */
1676
+ toConfig(): GraphQLScalarTypeNormalizedConfig<TInternal, TExternal>;
1677
+ /**
1678
+ * Returns the schema coordinate identifying this scalar type.
1679
+ * @returns The schema coordinate for this scalar type.
1680
+ * @example
1681
+ * ```ts
1682
+ * import { GraphQLScalarType } from 'graphql/type';
1683
+ *
1684
+ * const DateTime = new GraphQLScalarType({ name: 'DateTime' });
1685
+ *
1686
+ * DateTime.toString(); // => 'DateTime'
1687
+ * String(DateTime); // => 'DateTime'
1688
+ * ```
1689
+ */
1690
+ toString(): string;
1691
+ /**
1692
+ * Returns the JSON representation used when this object is serialized.
1693
+ * @returns The JSON-serializable representation.
1694
+ * @example
1695
+ * ```ts
1696
+ * import { GraphQLScalarType } from 'graphql/type';
1697
+ *
1698
+ * const DateTime = new GraphQLScalarType({ name: 'DateTime' });
1699
+ *
1700
+ * DateTime.toJSON(); // => 'DateTime'
1701
+ * JSON.stringify({ type: DateTime }); // => '{"type":"DateTime"}'
1702
+ * ```
1703
+ */
1704
+ toJSON(): string;
1705
+ }
1706
+ /**
1707
+ * Deprecated function type that serializes a runtime value as a scalar output
1708
+ * value. Use `GraphQLScalarOutputValueCoercer` instead.
1709
+ * @typeParam TExternal - External representation accepted from or returned to callers.
1710
+ * @deprecated Use GraphQLScalarOutputValueCoercer instead. Will be removed in v18.
1711
+ */
1712
+ export type GraphQLScalarSerializer<TExternal> = (outputValue: unknown) => TExternal;
1713
+ /**
1714
+ * Function used to coerce internal scalar values for response output.
1715
+ * @typeParam TExternal - External representation accepted from or returned to callers.
1716
+ */
1717
+ export type GraphQLScalarOutputValueCoercer<TExternal> = (outputValue: unknown) => TExternal;
1718
+ /**
1719
+ * Deprecated function type that parses a runtime input value as a scalar input
1720
+ * value. Use `GraphQLScalarInputValueCoercer` instead.
1721
+ * @typeParam TInternal - Internal runtime representation for this scalar.
1722
+ * @deprecated Use GraphQLScalarInputValueCoercer instead. Will be removed in v18.
1723
+ */
1724
+ export type GraphQLScalarValueParser<TInternal> = (inputValue: unknown) => TInternal;
1725
+ /**
1726
+ * Function used to coerce externally provided scalar input values.
1727
+ * @typeParam TInternal - Internal runtime representation for this scalar.
1728
+ */
1729
+ export type GraphQLScalarInputValueCoercer<TInternal> = (inputValue: unknown) => TInternal;
1730
+ /**
1731
+ * Deprecated function type that parses a GraphQL value literal as a scalar
1732
+ * input value. Use `GraphQLScalarInputLiteralCoercer` instead.
1733
+ * @typeParam TInternal - Internal runtime representation for this scalar.
1734
+ * @deprecated Use GraphQLScalarInputLiteralCoercer instead. Will be removed in v18.
1735
+ */
1736
+ export type GraphQLScalarLiteralParser<TInternal> = (valueNode: ValueNode, variables: Maybe<ObjMap<unknown>>) => Maybe<TInternal>;
1737
+ /**
1738
+ * Function used to coerce GraphQL scalar input literals.
1739
+ * @typeParam TInternal - Internal runtime representation for this scalar.
1740
+ */
1741
+ export type GraphQLScalarInputLiteralCoercer<TInternal> = (valueNode: ConstValueNode) => Maybe<TInternal>;
1742
+ /** @internal */
1743
+ export type GraphQLScalarValueToLiteral = (inputValue: unknown) => ConstValueNode | undefined;
1744
+ /**
1745
+ * Configuration used to construct a GraphQLScalarType.
1746
+ * @typeParam TInternal - Internal runtime representation for this scalar.
1747
+ * @typeParam TExternal - External representation accepted from or returned to callers.
1748
+ */
1749
+ export interface GraphQLScalarTypeConfig<TInternal, TExternal> {
1750
+ /** The GraphQL name for this schema element. */
1751
+ name: string;
1752
+ /** Human-readable description for this schema element, if provided. */
1753
+ description?: Maybe<string>;
1754
+ /** URL identifying the behavior specified for this custom scalar. */
1755
+ specifiedByURL?: Maybe<string>;
1756
+ /**
1757
+ * Deprecated legacy serializer used to convert internal values for response
1758
+ * output. Use `coerceOutputValue()` instead.
1759
+ * @deprecated use `coerceOutputValue()` instead, `serialize()` will be removed in v18
1760
+ */
1761
+ serialize?: GraphQLScalarSerializer<TExternal> | undefined;
1762
+ /**
1763
+ * Deprecated legacy parser used to convert externally provided input values.
1764
+ * Use `coerceInputValue()` instead.
1765
+ * @deprecated use `coerceInputValue()` instead, `parseValue()` will be removed in v18
1766
+ */
1767
+ parseValue?: GraphQLScalarValueParser<TInternal> | undefined;
1768
+ /**
1769
+ * Deprecated legacy parser used to convert externally provided input
1770
+ * literals. Use `replaceVariables()` and `coerceInputLiteral()` instead.
1771
+ * @deprecated use `replaceVariables()` and `coerceInputLiteral()` instead, `parseLiteral()` will be removed in v18
1772
+ */
1773
+ parseLiteral?: GraphQLScalarLiteralParser<TInternal> | undefined;
1774
+ /** Coerces an internal value to include in a response. */
1775
+ coerceOutputValue?: GraphQLScalarOutputValueCoercer<TExternal> | undefined;
1776
+ /** Coerces an externally provided value to use as an input. */
1777
+ coerceInputValue?: GraphQLScalarInputValueCoercer<TInternal> | undefined;
1778
+ /** Coerces an externally provided const literal value to use as an input. */
1779
+ coerceInputLiteral?: GraphQLScalarInputLiteralCoercer<TInternal> | undefined;
1780
+ /** Translates an externally provided value to a literal (AST). */
1781
+ valueToLiteral?: GraphQLScalarValueToLiteral | undefined;
1782
+ /** Custom extension fields reserved for users. */
1783
+ extensions?: Maybe<Readonly<GraphQLScalarTypeExtensions>>;
1784
+ /** AST node from which this schema element was built, if available. */
1785
+ astNode?: Maybe<ScalarTypeDefinitionNode>;
1786
+ /** AST extension nodes applied to this schema element. */
1787
+ extensionASTNodes?: Maybe<ReadonlyArray<ScalarTypeExtensionNode>>;
1788
+ }
1789
+ /** @internal */
1790
+ export interface GraphQLScalarTypeNormalizedConfig<TInternal, TExternal> extends GraphQLScalarTypeConfig<TInternal, TExternal> {
1791
+ serialize: GraphQLScalarSerializer<TExternal>;
1792
+ parseValue: GraphQLScalarValueParser<TInternal>;
1793
+ parseLiteral: GraphQLScalarLiteralParser<TInternal>;
1794
+ coerceOutputValue: GraphQLScalarOutputValueCoercer<TExternal>;
1795
+ coerceInputValue: GraphQLScalarInputValueCoercer<TInternal>;
1796
+ coerceInputLiteral: GraphQLScalarInputLiteralCoercer<TInternal> | undefined;
1797
+ extensions: Readonly<GraphQLScalarTypeExtensions>;
1798
+ extensionASTNodes: ReadonlyArray<ScalarTypeExtensionNode>;
1799
+ }
1800
+ /**
1801
+ * Custom extensions
1802
+ * @remarks
1803
+ * Use a unique identifier name for your extension, for example the name of
1804
+ * your library or project. Do not use a shortened identifier as this increases
1805
+ * the risk of conflicts. We recommend you add at most one extension field,
1806
+ * an object which can contain all the values you need.
1807
+ * We've provided these template arguments because this is an open type and
1808
+ * you may find them useful.
1809
+ * @typeParam _TSource - Reserved source type parameter for extension typing.
1810
+ * @typeParam _TContext - Reserved context type parameter for extension typing.
1811
+ */
1812
+ export interface GraphQLObjectTypeExtensions<_TSource = any, _TContext = any> {
1813
+ [attributeName: string | symbol]: unknown;
1814
+ }
1815
+ /**
1816
+ * Object Type Definition
1817
+ *
1818
+ * Almost all of the GraphQL types you define will be object types. Object types
1819
+ * have a name, but most importantly describe their fields.
1820
+ * @typeParam TSource - Source object type passed to resolvers.
1821
+ * @typeParam TContext - Context object type passed to resolvers.
1822
+ * @typeParam TAbstract - Runtime value type used for abstract type resolution.
1823
+ * @example
1824
+ * ```ts
1825
+ * const AddressType = new GraphQLObjectType({
1826
+ * name: 'Address',
1827
+ * fields: {
1828
+ * street: { type: GraphQLString },
1829
+ * number: { type: GraphQLInt },
1830
+ * formatted: {
1831
+ * type: GraphQLString,
1832
+ * resolve: (obj) => {
1833
+ * return obj.number + ' ' + obj.street;
1834
+ * },
1835
+ * },
1836
+ * },
1837
+ * });
1838
+ * ```
1839
+ * @example
1840
+ * When two types need to refer to each other, or a type needs to refer to
1841
+ * itself in a field, you can use a function expression (aka a closure or a
1842
+ * thunk) to supply the fields lazily.
1843
+ *
1844
+ * ```ts
1845
+ * const PersonType = new GraphQLObjectType({
1846
+ * name: 'Person',
1847
+ * fields: () => ({
1848
+ * name: { type: GraphQLString },
1849
+ * bestFriend: { type: PersonType },
1850
+ * }),
1851
+ * });
1852
+ * ```
1853
+ */
1854
+ export declare class GraphQLObjectType<TSource = any, TContext = any, TAbstract = any> implements GraphQLSchemaElement {
1855
+ /** The GraphQL name for this schema element. */
1856
+ name: string;
1857
+ /** Human-readable description for this schema element, if provided. */
1858
+ description: Maybe<string>;
1859
+ /** Predicate used to determine whether a runtime value belongs to this object type. */
1860
+ isTypeOf: Maybe<GraphQLIsTypeOfFn<TAbstract, TContext>>;
1861
+ /** Custom extension fields reserved for users. */
1862
+ extensions: Readonly<GraphQLObjectTypeExtensions<TSource, TContext>>;
1863
+ /** AST node from which this schema element was built, if available. */
1864
+ astNode: Maybe<ObjectTypeDefinitionNode>;
1865
+ /** AST extension nodes applied to this schema element. */
1866
+ extensionASTNodes: ReadonlyArray<ObjectTypeExtensionNode>;
1867
+ private _fields;
1868
+ private _interfaces;
1869
+ /**
1870
+ * Creates a GraphQLObjectType instance.
1871
+ * @param config - Configuration describing this object.
1872
+ * @example
1873
+ * ```ts
1874
+ * // Configure an object type with interfaces, fields, arguments, and metadata.
1875
+ * import { parse } from 'graphql/language';
1876
+ * import {
1877
+ * GraphQLID,
1878
+ * GraphQLInterfaceType,
1879
+ * GraphQLNonNull,
1880
+ * GraphQLObjectType,
1881
+ * GraphQLString,
1882
+ * } from 'graphql/type';
1883
+ *
1884
+ * const document = parse(`
1885
+ * type User implements Node {
1886
+ * id: ID!
1887
+ * name(format: String = "short"): String
1888
+ * }
1889
+ *
1890
+ * extend type User {
1891
+ * displayName: String
1892
+ * }
1893
+ * `);
1894
+ * const definition = document.definitions[0];
1895
+ * const nameField = definition.fields[1];
1896
+ * const formatArg = nameField.arguments[0];
1897
+ *
1898
+ * const Node = new GraphQLInterfaceType({
1899
+ * name: 'Node',
1900
+ * fields: {
1901
+ * id: { type: new GraphQLNonNull(GraphQLID) },
1902
+ * },
1903
+ * });
1904
+ *
1905
+ * const User = new GraphQLObjectType({
1906
+ * name: 'User',
1907
+ * description: 'A registered user.',
1908
+ * interfaces: [Node],
1909
+ * fields: {
1910
+ * id: { type: new GraphQLNonNull(GraphQLID) },
1911
+ * name: {
1912
+ * description: 'The formatted user name.',
1913
+ * type: GraphQLString,
1914
+ * args: {
1915
+ * format: {
1916
+ * description: 'Controls the name format.',
1917
+ * type: GraphQLString,
1918
+ * default: { value: 'short' },
1919
+ * deprecationReason: 'Use locale instead.',
1920
+ * extensions: { public: true },
1921
+ * astNode: formatArg,
1922
+ * },
1923
+ * },
1924
+ * resolve: (user, { format }) => {
1925
+ * return format === 'long' ? user.fullName : user.name;
1926
+ * },
1927
+ * deprecationReason: 'Use displayName.',
1928
+ * extensions: { cacheSeconds: 60 },
1929
+ * astNode: nameField,
1930
+ * },
1931
+ * },
1932
+ * isTypeOf: (value) => {
1933
+ * return typeof value === 'object' && value != null && 'id' in value;
1934
+ * },
1935
+ * extensions: { entity: 'User' },
1936
+ * astNode: definition,
1937
+ * extensionASTNodes: [document.definitions[1]],
1938
+ * });
1939
+ *
1940
+ * User.name; // => 'User'
1941
+ * User.getInterfaces(); // => [Node]
1942
+ * Object.keys(User.getFields()); // => ['id', 'name']
1943
+ * User.getFields().name.args[0].default.value; // => 'short'
1944
+ * User.extensions; // => { entity: 'User' }
1945
+ * ```
1946
+ * @example
1947
+ * ```ts
1948
+ * // This variant configures a subscription field with subscribe and resolve functions.
1949
+ * import { GraphQLObjectType, GraphQLString } from 'graphql/type';
1950
+ *
1951
+ * const Subscription = new GraphQLObjectType({
1952
+ * name: 'Subscription',
1953
+ * fields: {
1954
+ * greeting: {
1955
+ * type: GraphQLString,
1956
+ * subscribe: async function* () {
1957
+ * yield { greeting: 'Hello!' };
1958
+ * },
1959
+ * resolve: (event) => {
1960
+ * return event.greeting;
1961
+ * },
1962
+ * },
1963
+ * },
1964
+ * });
1965
+ *
1966
+ * typeof Subscription.getFields().greeting.subscribe; // => 'function'
1967
+ * ```
1968
+ */
1969
+ constructor(config: Readonly<GraphQLObjectTypeConfig<TSource, TContext, TAbstract>>);
1970
+ /**
1971
+ * Returns the value used by `Object.prototype.toString`.
1972
+ * @returns The built-in string tag for this object.
1973
+ */
1974
+ get [Symbol.toStringTag](): string;
1975
+ /**
1976
+ * Returns the fields defined by this type.
1977
+ * @returns The fields keyed by field name.
1978
+ * @example
1979
+ * ```ts
1980
+ * import { buildSchema } from 'graphql/utilities';
1981
+ * import { assertObjectType } from 'graphql/type';
1982
+ *
1983
+ * const schema = buildSchema(`
1984
+ * type User {
1985
+ * id: ID!
1986
+ * name: String
1987
+ * }
1988
+ *
1989
+ * type Query {
1990
+ * viewer: User
1991
+ * }
1992
+ * `);
1993
+ *
1994
+ * const User = assertObjectType(schema.getType('User'));
1995
+ * const fields = User.getFields();
1996
+ *
1997
+ * Object.keys(fields); // => ['id', 'name']
1998
+ * String(fields.id.type); // => 'ID!'
1999
+ * ```
2000
+ */
2001
+ getFields(): GraphQLFieldMap<TSource, TContext>;
2002
+ /**
2003
+ * Returns the interfaces implemented by this type.
2004
+ * @returns The implemented interfaces.
2005
+ * @example
2006
+ * ```ts
2007
+ * import { buildSchema } from 'graphql/utilities';
2008
+ * import { assertObjectType } from 'graphql/type';
2009
+ *
2010
+ * const schema = buildSchema(`
2011
+ * interface Node {
2012
+ * id: ID!
2013
+ * }
2014
+ *
2015
+ * type User implements Node {
2016
+ * id: ID!
2017
+ * }
2018
+ *
2019
+ * type Query {
2020
+ * viewer: User
2021
+ * }
2022
+ * `);
2023
+ *
2024
+ * const User = assertObjectType(schema.getType('User'));
2025
+ *
2026
+ * User.getInterfaces().map((type) => type.name); // => ['Node']
2027
+ * ```
2028
+ */
2029
+ getInterfaces(): ReadonlyArray<GraphQLInterfaceType>;
2030
+ /**
2031
+ * Returns a normalized configuration object for this object.
2032
+ * @returns A configuration object that can be used to recreate this object.
2033
+ * @example
2034
+ * ```ts
2035
+ * import { GraphQLObjectType, GraphQLString } from 'graphql/type';
2036
+ *
2037
+ * const User = new GraphQLObjectType({
2038
+ * name: 'User',
2039
+ * fields: {
2040
+ * name: { type: GraphQLString },
2041
+ * },
2042
+ * });
2043
+ *
2044
+ * const config = User.toConfig();
2045
+ * const UserCopy = new GraphQLObjectType(config);
2046
+ *
2047
+ * config.fields.name.type; // => GraphQLString
2048
+ * UserCopy.getFields().name.type; // => GraphQLString
2049
+ * ```
2050
+ */
2051
+ toConfig(): GraphQLObjectTypeNormalizedConfig<TSource, TContext, TAbstract>;
2052
+ /**
2053
+ * Returns the schema coordinate identifying this object type.
2054
+ * @returns The schema coordinate for this object type.
2055
+ * @example
2056
+ * ```ts
2057
+ * import { buildSchema } from 'graphql/utilities';
2058
+ * import { assertObjectType } from 'graphql/type';
2059
+ *
2060
+ * const schema = buildSchema(`
2061
+ * type User {
2062
+ * name: String
2063
+ * }
2064
+ *
2065
+ * type Query {
2066
+ * viewer: User
2067
+ * }
2068
+ * `);
2069
+ *
2070
+ * const User = assertObjectType(schema.getType('User'));
2071
+ *
2072
+ * User.toString(); // => 'User'
2073
+ * ```
2074
+ */
2075
+ toString(): string;
2076
+ /**
2077
+ * Returns the JSON representation used when this object is serialized.
2078
+ * @returns The JSON-serializable representation.
2079
+ * @example
2080
+ * ```ts
2081
+ * import { GraphQLObjectType, GraphQLString } from 'graphql/type';
2082
+ *
2083
+ * const User = new GraphQLObjectType({
2084
+ * name: 'User',
2085
+ * fields: { name: { type: GraphQLString } },
2086
+ * });
2087
+ *
2088
+ * User.toJSON(); // => 'User'
2089
+ * JSON.stringify({ type: User }); // => '{"type":"User"}'
2090
+ * ```
2091
+ */
2092
+ toJSON(): string;
2093
+ }
2094
+ /**
2095
+ * Configuration used to construct a GraphQLObjectType.
2096
+ * @typeParam TSource - Source object type passed to resolvers.
2097
+ * @typeParam TContext - Context object type passed to resolvers.
2098
+ * @typeParam TAbstract - Runtime value type used for abstract type resolution.
2099
+ */
2100
+ export interface GraphQLObjectTypeConfig<TSource, TContext, TAbstract = unknown> {
2101
+ /** The GraphQL name for this schema element. */
2102
+ name: string;
2103
+ /** Human-readable description for this schema element, if provided. */
2104
+ description?: Maybe<string>;
2105
+ /** Interfaces implemented by this object or interface type. */
2106
+ interfaces?: ThunkReadonlyArray<GraphQLInterfaceType> | undefined;
2107
+ /** Fields declared by this object, interface, input object, or literal. */
2108
+ fields: ThunkObjMap<GraphQLFieldConfig<TSource, TContext>>;
2109
+ /** Predicate used to determine whether a runtime value belongs to this object type. */
2110
+ isTypeOf?: Maybe<GraphQLIsTypeOfFn<TAbstract, TContext>>;
2111
+ /** Custom extension fields reserved for users. */
2112
+ extensions?: Maybe<Readonly<GraphQLObjectTypeExtensions<TSource, TContext>>>;
2113
+ /** AST node from which this schema element was built, if available. */
2114
+ astNode?: Maybe<ObjectTypeDefinitionNode>;
2115
+ /** AST extension nodes applied to this schema element. */
2116
+ extensionASTNodes?: Maybe<ReadonlyArray<ObjectTypeExtensionNode>>;
2117
+ }
2118
+ /** @internal */
2119
+ export interface GraphQLObjectTypeNormalizedConfig<TSource, TContext, TAbstract = unknown> extends GraphQLObjectTypeConfig<TSource, TContext, TAbstract> {
2120
+ interfaces: ReadonlyArray<GraphQLInterfaceType>;
2121
+ fields: GraphQLFieldNormalizedConfigMap<TSource, TContext>;
2122
+ extensions: Readonly<GraphQLObjectTypeExtensions<TSource, TContext>>;
2123
+ extensionASTNodes: ReadonlyArray<ObjectTypeExtensionNode>;
2124
+ }
2125
+ /**
2126
+ * Resolves the concrete object type for an abstract GraphQL type.
2127
+ * @typeParam TSource - Source object type passed to resolvers.
2128
+ * @typeParam TContext - Context object type passed to resolvers.
2129
+ */
2130
+ export type GraphQLTypeResolver<TSource, TContext> = (value: TSource, context: TContext, info: GraphQLResolveInfo, abstractType: GraphQLAbstractType) => PromiseOrValue<string | undefined>;
2131
+ /**
2132
+ * Checks whether a runtime value belongs to a GraphQL object type.
2133
+ * @typeParam TAbstract - Runtime value type used for abstract type resolution.
2134
+ * @typeParam TContext - Context object type passed to resolvers.
2135
+ */
2136
+ export type GraphQLIsTypeOfFn<TAbstract, TContext> = (value: TAbstract, context: TContext, info: GraphQLResolveInfo) => PromiseOrValue<boolean>;
2137
+ /**
2138
+ * Resolves the runtime value for a GraphQL field.
2139
+ * @typeParam TSource - Source object type passed to resolvers.
2140
+ * @typeParam TContext - Context object type passed to resolvers.
2141
+ * @typeParam TArgs - Argument object type passed to resolvers.
2142
+ * @typeParam TResult - Result value type.
2143
+ */
2144
+ export type GraphQLFieldResolver<TSource, TContext, TArgs = any, TResult = unknown> = (source: TSource, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult;
2145
+ /** Utilities available from resolver info for tracking asynchronous work. */
2146
+ export interface GraphQLResolveInfoHelpers {
2147
+ /**
2148
+ * Promise.all wrapper that allows rejected branches to be tracked
2149
+ * as execution async work.
2150
+ *
2151
+ * Intended use: return or await this promise from resolver work.
2152
+ * Un-awaited async side effects are an anti-pattern:
2153
+ *
2154
+ * const { promiseAll } = info.getAsyncHelpers();
2155
+ * promiseAll([someAsyncWork(), someOtherAsyncWork()]).catch(() => undefined);
2156
+ *
2157
+ * In that anti-pattern, tracking starts only after rejection (on a
2158
+ * later microtask), so this work is not guaranteed to delay
2159
+ * `hooks.asyncWorkFinished`.
2160
+ *
2161
+ * Use `track(...)` for un-awaited async side effects:
2162
+ *
2163
+ * const { track } = info.getAsyncHelpers();
2164
+ * track([
2165
+ * someAsyncWork().catch(() => undefined),
2166
+ * someOtherAsyncWork().catch(() => undefined)
2167
+ * ]);
2168
+ */
2169
+ readonly promiseAll: <T>(values: ReadonlyArray<PromiseLike<T> | T>) => Promise<Array<T>>;
2170
+ /** Tracks asynchronous work that should delay execution completion hooks. */
2171
+ readonly track: (maybePromises: ReadonlyArray<unknown>) => void;
2172
+ }
2173
+ /** Information about the currently executing GraphQL field. */
2174
+ export interface GraphQLResolveInfo {
2175
+ /** The field name referenced by this schema coordinate. */
2176
+ readonly fieldName: string;
2177
+ /** AST field nodes that contributed to the current field execution. */
2178
+ readonly fieldNodes: ReadonlyArray<FieldNode>;
2179
+ /** GraphQL output type declared for the current field. */
2180
+ readonly returnType: GraphQLOutputType;
2181
+ /** Object type that owns the current field. */
2182
+ readonly parentType: GraphQLObjectType;
2183
+ /** Response path where this error occurred during execution. */
2184
+ readonly path: Path;
2185
+ /** The schema used for validation or execution. */
2186
+ readonly schema: GraphQLSchema;
2187
+ /** Fragment definitions in the operation document keyed by fragment name. */
2188
+ readonly fragments: ObjMap<FragmentDefinitionNode>;
2189
+ /** Initial root value passed to the operation. */
2190
+ readonly rootValue: unknown;
2191
+ /** The operation selected for execution. */
2192
+ readonly operation: OperationDefinitionNode;
2193
+ /**
2194
+ * Coerced variable values and source metadata for this operation. Resolver
2195
+ * code that needs runtime variable values should read `variableValues.coerced`.
2196
+ */
2197
+ readonly variableValues: VariableValues;
2198
+ /** Returns the AbortSignal supplied for this execution, if any. */
2199
+ readonly getAbortSignal: () => AbortSignal | undefined;
2200
+ /** Returns helper functions for tracking asynchronous resolver work. */
2201
+ readonly getAsyncHelpers: () => GraphQLResolveInfoHelpers;
2202
+ }
2203
+ /**
2204
+ * Custom extensions
2205
+ * @remarks
2206
+ * Use a unique identifier name for your extension, for example the name of
2207
+ * your library or project. Do not use a shortened identifier as this increases
2208
+ * the risk of conflicts. We recommend you add at most one extension field,
2209
+ * an object which can contain all the values you need.
2210
+ * We've provided these template arguments because this is an open type and
2211
+ * you may find them useful.
2212
+ * @typeParam _TSource - Reserved source type parameter for extension typing.
2213
+ * @typeParam _TContext - Reserved context type parameter for extension typing.
2214
+ * @typeParam _TArgs - Reserved argument type parameter for extension typing.
2215
+ */
2216
+ export interface GraphQLFieldExtensions<_TSource, _TContext, _TArgs = any> {
2217
+ [attributeName: string | symbol]: unknown;
2218
+ }
2219
+ /**
2220
+ * Configuration used to define a GraphQL field.
2221
+ * @typeParam TSource - Source object type passed to resolvers.
2222
+ * @typeParam TContext - Context object type passed to resolvers.
2223
+ * @typeParam TArgs - Argument object type passed to resolvers.
2224
+ */
2225
+ export interface GraphQLFieldConfig<TSource, TContext, TArgs = any> {
2226
+ /** Human-readable description for this schema element, if provided. */
2227
+ description?: Maybe<string>;
2228
+ /** The GraphQL type reference or runtime type for this element. */
2229
+ type: GraphQLOutputType;
2230
+ /** Arguments accepted by this field or directive. */
2231
+ args?: GraphQLFieldConfigArgumentMap | undefined;
2232
+ /** Resolver function used to produce this field value. */
2233
+ resolve?: GraphQLFieldResolver<TSource, TContext, TArgs> | undefined;
2234
+ /** Resolver function used to create a subscription event stream for this field. */
2235
+ subscribe?: GraphQLFieldResolver<TSource, TContext, TArgs> | undefined;
2236
+ /** Reason this element is deprecated, if one was provided. */
2237
+ deprecationReason?: Maybe<string>;
2238
+ /** Custom extension fields reserved for users. */
2239
+ extensions?: Maybe<Readonly<GraphQLFieldExtensions<TSource, TContext, TArgs>>>;
2240
+ /** AST node from which this schema element was built, if available. */
2241
+ astNode?: Maybe<FieldDefinitionNode>;
2242
+ }
2243
+ /** @internal */
2244
+ export interface GraphQLFieldNormalizedConfig<TSource, TContext, TArgs = any> extends GraphQLFieldConfig<TSource, TContext, TArgs> {
2245
+ args: GraphQLFieldNormalizedConfigArgumentMap;
2246
+ extensions: Readonly<GraphQLFieldExtensions<TSource, TContext, TArgs>>;
2247
+ }
2248
+ /** A map of argument names to argument configuration objects. */
2249
+ export type GraphQLFieldConfigArgumentMap = ObjMap<GraphQLArgumentConfig>;
2250
+ /** @internal */
2251
+ export type GraphQLFieldNormalizedConfigArgumentMap = ObjMap<GraphQLArgumentNormalizedConfig>;
2252
+ /**
2253
+ * Custom extensions
2254
+ * @remarks
2255
+ * Use a unique identifier name for your extension, for example the name of
2256
+ * your library or project. Do not use a shortened identifier as this increases
2257
+ * the risk of conflicts. We recommend you add at most one extension field,
2258
+ * an object which can contain all the values you need.
2259
+ */
2260
+ export interface GraphQLArgumentExtensions {
2261
+ [attributeName: string | symbol]: unknown;
2262
+ }
2263
+ /** Configuration used to define a GraphQL argument. */
2264
+ export interface GraphQLArgumentConfig {
2265
+ /** Human-readable description for this schema element, if provided. */
2266
+ description?: Maybe<string>;
2267
+ /** The GraphQL type reference or runtime type for this element. */
2268
+ type: GraphQLInputType;
2269
+ /**
2270
+ * Deprecated legacy default value for this argument. Use `default` instead.
2271
+ * @deprecated use `default` instead, `defaultValue` will be removed in v18
2272
+ */
2273
+ defaultValue?: unknown;
2274
+ /** Default value represented as either a runtime value or a GraphQL literal. */
2275
+ default?: GraphQLDefaultInput | undefined;
2276
+ /** Reason this element is deprecated, if one was provided. */
2277
+ deprecationReason?: Maybe<string>;
2278
+ /** Custom extension fields reserved for users. */
2279
+ extensions?: Maybe<Readonly<GraphQLArgumentExtensions>>;
2280
+ /** AST node from which this schema element was built, if available. */
2281
+ astNode?: Maybe<InputValueDefinitionNode>;
2282
+ }
2283
+ /** @internal */
2284
+ export interface GraphQLArgumentNormalizedConfig extends GraphQLArgumentConfig {
2285
+ default: GraphQLDefaultInput | undefined;
2286
+ extensions: Readonly<GraphQLArgumentExtensions>;
2287
+ }
2288
+ /**
2289
+ * A map of field names to field configuration objects.
2290
+ * @typeParam TSource - Source object type passed to resolvers.
2291
+ * @typeParam TContext - Context object type passed to resolvers.
2292
+ */
2293
+ export type GraphQLFieldConfigMap<TSource, TContext> = ObjMap<GraphQLFieldConfig<TSource, TContext>>;
2294
+ /** @internal */
2295
+ export type GraphQLFieldNormalizedConfigMap<TSource, TContext> = ObjMap<GraphQLFieldNormalizedConfig<TSource, TContext>>;
2296
+ /**
2297
+ * A resolved GraphQL field definition.
2298
+ * @typeParam TSource - Source object type passed to resolvers.
2299
+ * @typeParam TContext - Context object type passed to resolvers.
2300
+ * @typeParam TArgs - Argument object type passed to resolvers.
2301
+ */
2302
+ export declare class GraphQLField<TSource = any, TContext = any, TArgs = any> implements GraphQLSchemaElement {
2303
+ /** Object or interface type that owns this field, if known. */
2304
+ parentType: GraphQLObjectType<TSource, TContext> | GraphQLInterfaceType<TSource, TContext> | undefined;
2305
+ /** The GraphQL name for this schema element. */
2306
+ name: string;
2307
+ /** Human-readable description for this schema element, if provided. */
2308
+ description: Maybe<string>;
2309
+ /** The GraphQL type reference or runtime type for this element. */
2310
+ type: GraphQLOutputType;
2311
+ /** Arguments accepted by this field or directive. */
2312
+ args: ReadonlyArray<GraphQLArgument>;
2313
+ /** Resolver function used to produce this field value. */
2314
+ resolve?: GraphQLFieldResolver<TSource, TContext, TArgs> | undefined;
2315
+ /** Resolver function used to create a subscription event stream for this field. */
2316
+ subscribe?: GraphQLFieldResolver<TSource, TContext, TArgs> | undefined;
2317
+ /** Reason this element is deprecated, if one was provided. */
2318
+ deprecationReason: Maybe<string>;
2319
+ /** Custom extension fields reserved for users. */
2320
+ extensions: Readonly<GraphQLFieldExtensions<TSource, TContext, TArgs>>;
2321
+ /** AST node from which this schema element was built, if available. */
2322
+ astNode: Maybe<FieldDefinitionNode>;
2323
+ /**
2324
+ * Creates a resolved GraphQL field definition.
2325
+ * @param parentType - Object or interface type that owns this field, if known.
2326
+ * @param name - Field name.
2327
+ * @param config - Field configuration.
2328
+ * @example
2329
+ * ```ts
2330
+ * import { parse } from 'graphql/language';
2331
+ * import { GraphQLField, GraphQLObjectType, GraphQLString } from 'graphql/type';
2332
+ *
2333
+ * const Query = new GraphQLObjectType({ name: 'Query', fields: {} });
2334
+ * const document = parse('type Query { greeting: String }');
2335
+ * const fieldNode = document.definitions[0].fields[0];
2336
+ * const field = new GraphQLField(Query, 'greeting', {
2337
+ * description: 'Greeting text.',
2338
+ * type: GraphQLString,
2339
+ * args: {
2340
+ * name: { type: GraphQLString, default: { value: 'world' } },
2341
+ * },
2342
+ * resolve: (_source, { name }) => `Hello, ${name}!`,
2343
+ * subscribe: async function* () {
2344
+ * yield { greeting: 'Hello!' };
2345
+ * },
2346
+ * deprecationReason: 'Use hello.',
2347
+ * extensions: { cacheSeconds: 60 },
2348
+ * astNode: fieldNode,
2349
+ * });
2350
+ *
2351
+ * field.parentType; // => Query
2352
+ * field.name; // => 'greeting'
2353
+ * field.args[0].default.value; // => 'world'
2354
+ * typeof field.subscribe; // => 'function'
2355
+ * field.deprecationReason; // => 'Use hello.'
2356
+ * field.astNode; // => fieldNode
2357
+ * ```
2358
+ */
2359
+ constructor(parentType: GraphQLObjectType<TSource, TContext> | GraphQLInterfaceType<TSource, TContext> | undefined, name: string, config: GraphQLFieldConfig<TSource, TContext, TArgs>);
2360
+ /**
2361
+ * Returns the value used by `Object.prototype.toString`.
2362
+ * @returns The built-in string tag for this object.
2363
+ */
2364
+ get [Symbol.toStringTag](): string;
2365
+ /**
2366
+ * Returns a normalized configuration object for this field.
2367
+ * @returns A configuration object that can be used to recreate this field.
2368
+ * @example
2369
+ * ```ts
2370
+ * import { GraphQLField, GraphQLObjectType, GraphQLString } from 'graphql/type';
2371
+ *
2372
+ * const Query = new GraphQLObjectType({ name: 'Query', fields: {} });
2373
+ * const field = new GraphQLField(Query, 'greeting', {
2374
+ * type: GraphQLString,
2375
+ * extensions: { cacheSeconds: 60 },
2376
+ * });
2377
+ *
2378
+ * field.toConfig().type; // => GraphQLString
2379
+ * field.toConfig().extensions; // => { cacheSeconds: 60 }
2380
+ * ```
2381
+ */
2382
+ toConfig(): GraphQLFieldNormalizedConfig<TSource, TContext, TArgs>;
2383
+ /**
2384
+ * Returns this field as a schema coordinate string.
2385
+ * @returns The field coordinate.
2386
+ * @example
2387
+ * ```ts
2388
+ * import { GraphQLField, GraphQLObjectType, GraphQLString } from 'graphql/type';
2389
+ *
2390
+ * const Query = new GraphQLObjectType({ name: 'Query', fields: {} });
2391
+ * const field = new GraphQLField(Query, 'greeting', { type: GraphQLString });
2392
+ *
2393
+ * field.toString(); // => 'Query.greeting'
2394
+ * ```
2395
+ */
2396
+ toString(): string;
2397
+ /**
2398
+ * Returns the JSON representation used when this object is serialized.
2399
+ * @returns The field coordinate.
2400
+ * @example
2401
+ * ```ts
2402
+ * import { GraphQLField, GraphQLObjectType, GraphQLString } from 'graphql/type';
2403
+ *
2404
+ * const Query = new GraphQLObjectType({ name: 'Query', fields: {} });
2405
+ * const field = new GraphQLField(Query, 'greeting', { type: GraphQLString });
2406
+ *
2407
+ * JSON.stringify(field); // => '"Query.greeting"'
2408
+ * ```
2409
+ */
2410
+ toJSON(): string;
2411
+ }
2412
+ /** A resolved GraphQL argument definition. */
2413
+ export declare class GraphQLArgument implements GraphQLSchemaElement {
2414
+ /** Field or directive that owns this argument. */
2415
+ parent: GraphQLField | GraphQLDirective;
2416
+ /** The GraphQL name for this schema element. */
2417
+ name: string;
2418
+ /** Human-readable description for this schema element, if provided. */
2419
+ description: Maybe<string>;
2420
+ /** The GraphQL type reference or runtime type for this element. */
2421
+ type: GraphQLInputType;
2422
+ /**
2423
+ * Deprecated legacy default value used when no explicit value is supplied.
2424
+ * Use `default` instead.
2425
+ * @deprecated use `default` instead, `defaultValue` will be removed in v18
2426
+ */
2427
+ defaultValue: unknown;
2428
+ /** Default value represented as either a runtime value or a GraphQL literal. */
2429
+ default: GraphQLDefaultInput | undefined;
2430
+ /** Reason this element is deprecated, if one was provided. */
2431
+ deprecationReason: Maybe<string>;
2432
+ /** Custom extension fields reserved for users. */
2433
+ extensions: Readonly<GraphQLArgumentExtensions>;
2434
+ /** AST node from which this schema element was built, if available. */
2435
+ astNode: Maybe<InputValueDefinitionNode>;
2436
+ /**
2437
+ * Creates a resolved GraphQL argument definition.
2438
+ * @param parent - Field or directive that owns this argument.
2439
+ * @param name - Argument name.
2440
+ * @param config - Argument configuration.
2441
+ * @example
2442
+ * ```ts
2443
+ * import {
2444
+ * GraphQLArgument,
2445
+ * GraphQLField,
2446
+ * GraphQLObjectType,
2447
+ * GraphQLString,
2448
+ * } from 'graphql/type';
2449
+ *
2450
+ * const Query = new GraphQLObjectType({ name: 'Query', fields: {} });
2451
+ * const field = new GraphQLField(Query, 'greeting', { type: GraphQLString });
2452
+ * const arg = new GraphQLArgument(field, 'name', {
2453
+ * type: GraphQLString,
2454
+ * default: { value: 'world' },
2455
+ * });
2456
+ *
2457
+ * arg.parent; // => field
2458
+ * arg.name; // => 'name'
2459
+ * arg.default.value; // => 'world'
2460
+ * ```
2461
+ */
2462
+ constructor(parent: GraphQLField | GraphQLDirective, name: string, config: GraphQLArgumentConfig);
2463
+ /**
2464
+ * Returns the value used by `Object.prototype.toString`.
2465
+ * @returns The built-in string tag for this object.
2466
+ */
2467
+ get [Symbol.toStringTag](): string;
2468
+ /**
2469
+ * Returns a normalized configuration object for this argument.
2470
+ * @returns A configuration object that can be used to recreate this argument.
2471
+ * @example
2472
+ * ```ts
2473
+ * import {
2474
+ * GraphQLArgument,
2475
+ * GraphQLField,
2476
+ * GraphQLObjectType,
2477
+ * GraphQLString,
2478
+ * } from 'graphql/type';
2479
+ *
2480
+ * const Query = new GraphQLObjectType({ name: 'Query', fields: {} });
2481
+ * const field = new GraphQLField(Query, 'greeting', { type: GraphQLString });
2482
+ * const arg = new GraphQLArgument(field, 'name', {
2483
+ * type: GraphQLString,
2484
+ * default: { value: 'world' },
2485
+ * });
2486
+ *
2487
+ * arg.toConfig().default.value; // => 'world'
2488
+ * ```
2489
+ */
2490
+ toConfig(): GraphQLArgumentNormalizedConfig;
2491
+ /**
2492
+ * Returns this argument as a schema coordinate string.
2493
+ * @returns The argument coordinate.
2494
+ * @example
2495
+ * ```ts
2496
+ * import {
2497
+ * GraphQLArgument,
2498
+ * GraphQLField,
2499
+ * GraphQLObjectType,
2500
+ * GraphQLString,
2501
+ * } from 'graphql/type';
2502
+ *
2503
+ * const Query = new GraphQLObjectType({ name: 'Query', fields: {} });
2504
+ * const field = new GraphQLField(Query, 'greeting', { type: GraphQLString });
2505
+ * const arg = new GraphQLArgument(field, 'name', { type: GraphQLString });
2506
+ *
2507
+ * arg.toString(); // => 'Query.greeting(name:)'
2508
+ * ```
2509
+ */
2510
+ toString(): string;
2511
+ /**
2512
+ * Returns the JSON representation used when this object is serialized.
2513
+ * @returns The argument coordinate.
2514
+ * @example
2515
+ * ```ts
2516
+ * import {
2517
+ * GraphQLArgument,
2518
+ * GraphQLField,
2519
+ * GraphQLObjectType,
2520
+ * GraphQLString,
2521
+ * } from 'graphql/type';
2522
+ *
2523
+ * const Query = new GraphQLObjectType({ name: 'Query', fields: {} });
2524
+ * const field = new GraphQLField(Query, 'greeting', { type: GraphQLString });
2525
+ * const arg = new GraphQLArgument(field, 'name', { type: GraphQLString });
2526
+ *
2527
+ * JSON.stringify(arg); // => '"Query.greeting(name:)"'
2528
+ * ```
2529
+ */
2530
+ toJSON(): string;
2531
+ }
2532
+ /**
2533
+ * Returns true when the argument is non-null and has no default value.
2534
+ * @param arg - The argument definition to inspect.
2535
+ * @returns True when the argument is non-null and has no default value.
2536
+ * @example
2537
+ * ```ts
2538
+ * import {
2539
+ * GraphQLArgument,
2540
+ * GraphQLField,
2541
+ * GraphQLInt,
2542
+ * GraphQLNonNull,
2543
+ * GraphQLObjectType,
2544
+ * GraphQLString,
2545
+ * isRequiredArgument,
2546
+ * } from 'graphql/type';
2547
+ *
2548
+ * const Query = new GraphQLObjectType({ name: 'Query', fields: {} });
2549
+ * const field = new GraphQLField(Query, 'reviews', { type: GraphQLString });
2550
+ * const requiredArgument = new GraphQLArgument(field, 'id', {
2551
+ * type: new GraphQLNonNull(GraphQLInt),
2552
+ * });
2553
+ * const optionalArgument = new GraphQLArgument(field, 'name', {
2554
+ * type: GraphQLString,
2555
+ * });
2556
+ * const argumentWithDefault = new GraphQLArgument(field, 'limit', {
2557
+ * type: new GraphQLNonNull(GraphQLInt),
2558
+ * default: { value: 10 },
2559
+ * });
2560
+ *
2561
+ * isRequiredArgument(requiredArgument); // => true
2562
+ * isRequiredArgument(optionalArgument); // => false
2563
+ * isRequiredArgument(argumentWithDefault); // => false
2564
+ * ```
2565
+ */
2566
+ export declare function isRequiredArgument(arg: GraphQLArgument | GraphQLVariableSignature): boolean;
2567
+ /**
2568
+ * A map of field names to resolved field definitions.
2569
+ * @typeParam TSource - Source object type passed to resolvers.
2570
+ * @typeParam TContext - Context object type passed to resolvers.
2571
+ */
2572
+ export type GraphQLFieldMap<TSource, TContext> = ObjMap<GraphQLField<TSource, TContext>>;
2573
+ /** Default input represented as either a runtime value or a GraphQL literal. */
2574
+ export type GraphQLDefaultInput = {
2575
+ /** Runtime default value. */
2576
+ value: unknown;
2577
+ /** GraphQL literal default value is not provided in this variant. */
2578
+ literal?: never;
2579
+ } | {
2580
+ /** GraphQL literal default value. */
2581
+ literal: ConstValueNode;
2582
+ /** Runtime default value is not provided in this variant. */
2583
+ value?: never;
2584
+ };
2585
+ /**
2586
+ * Custom extensions
2587
+ * @remarks
2588
+ * Use a unique identifier name for your extension, for example the name of
2589
+ * your library or project. Do not use a shortened identifier as this increases
2590
+ * the risk of conflicts. We recommend you add at most one extension field,
2591
+ * an object which can contain all the values you need.
2592
+ */
2593
+ export interface GraphQLInterfaceTypeExtensions {
2594
+ [attributeName: string | symbol]: unknown;
2595
+ }
2596
+ /**
2597
+ * Interface Type Definition
2598
+ *
2599
+ * When a field can return one of a heterogeneous set of types, a Interface type
2600
+ * is used to describe what types are possible, what fields are in common across
2601
+ * all types, as well as a function to determine which type is actually used
2602
+ * when the field is resolved.
2603
+ * @typeParam TSource - Source object type passed to resolvers.
2604
+ * @typeParam TContext - Context object type passed to resolvers.
2605
+ * @example
2606
+ * ```ts
2607
+ * const EntityType = new GraphQLInterfaceType({
2608
+ * name: 'Entity',
2609
+ * fields: {
2610
+ * name: { type: GraphQLString },
2611
+ * },
2612
+ * });
2613
+ * ```
2614
+ */
2615
+ export declare class GraphQLInterfaceType<TSource = any, TContext = any> implements GraphQLSchemaElement {
2616
+ /** The GraphQL name for this schema element. */
2617
+ name: string;
2618
+ /** Human-readable description for this schema element, if provided. */
2619
+ description: Maybe<string>;
2620
+ /** Function that resolves the concrete object type for this abstract type. */
2621
+ resolveType: Maybe<GraphQLTypeResolver<TSource, TContext>>;
2622
+ /** Custom extension fields reserved for users. */
2623
+ extensions: Readonly<GraphQLInterfaceTypeExtensions>;
2624
+ /** AST node from which this schema element was built, if available. */
2625
+ astNode: Maybe<InterfaceTypeDefinitionNode>;
2626
+ /** AST extension nodes applied to this schema element. */
2627
+ extensionASTNodes: ReadonlyArray<InterfaceTypeExtensionNode>;
2628
+ private _fields;
2629
+ private _interfaces;
2630
+ /**
2631
+ * Creates a GraphQLInterfaceType instance.
2632
+ * @param config - Configuration describing this object.
2633
+ * @example
2634
+ * ```ts
2635
+ * import { parse } from 'graphql/language';
2636
+ * import { GraphQLID, GraphQLInterfaceType, GraphQLNonNull } from 'graphql/type';
2637
+ *
2638
+ * const document = parse(`
2639
+ * interface Node {
2640
+ * id: ID!
2641
+ * }
2642
+ *
2643
+ * interface Resource implements Node {
2644
+ * id: ID!
2645
+ * }
2646
+ *
2647
+ * extend interface Resource {
2648
+ * url: String
2649
+ * }
2650
+ * `);
2651
+ *
2652
+ * const Node = new GraphQLInterfaceType({
2653
+ * name: 'Node',
2654
+ * fields: {
2655
+ * id: { type: new GraphQLNonNull(GraphQLID) },
2656
+ * },
2657
+ * });
2658
+ *
2659
+ * const Resource = new GraphQLInterfaceType({
2660
+ * name: 'Resource',
2661
+ * description: 'An addressable resource.',
2662
+ * interfaces: [Node],
2663
+ * fields: {
2664
+ * id: { type: new GraphQLNonNull(GraphQLID) },
2665
+ * },
2666
+ * resolveType: (value) => {
2667
+ * return typeof value === 'object' && value != null && 'url' in value
2668
+ * ? 'WebPage'
2669
+ * : null;
2670
+ * },
2671
+ * extensions: { abstract: true },
2672
+ * astNode: document.definitions[1],
2673
+ * extensionASTNodes: [document.definitions[2]],
2674
+ * });
2675
+ *
2676
+ * Resource.name; // => 'Resource'
2677
+ * Resource.getInterfaces(); // => [Node]
2678
+ * Object.keys(Resource.getFields()); // => ['id']
2679
+ * Resource.extensions; // => { abstract: true }
2680
+ * ```
2681
+ */
2682
+ constructor(config: Readonly<GraphQLInterfaceTypeConfig<TSource, TContext>>);
2683
+ /**
2684
+ * Returns the value used by `Object.prototype.toString`.
2685
+ * @returns The built-in string tag for this object.
2686
+ */
2687
+ get [Symbol.toStringTag](): string;
2688
+ /**
2689
+ * Returns the fields defined by this type.
2690
+ * @returns The fields keyed by field name.
2691
+ * @example
2692
+ * ```ts
2693
+ * import { buildSchema } from 'graphql/utilities';
2694
+ * import { assertInterfaceType } from 'graphql/type';
2695
+ *
2696
+ * const schema = buildSchema(`
2697
+ * interface Node {
2698
+ * id: ID!
2699
+ * }
2700
+ *
2701
+ * type User implements Node {
2702
+ * id: ID!
2703
+ * }
2704
+ *
2705
+ * type Query {
2706
+ * node: Node
2707
+ * }
2708
+ * `);
2709
+ *
2710
+ * const Node = assertInterfaceType(schema.getType('Node'));
2711
+ * const fields = Node.getFields();
2712
+ *
2713
+ * Object.keys(fields); // => ['id']
2714
+ * String(fields.id.type); // => 'ID!'
2715
+ * ```
2716
+ */
2717
+ getFields(): GraphQLFieldMap<TSource, TContext>;
2718
+ /**
2719
+ * Returns the interfaces implemented by this type.
2720
+ * @returns The implemented interfaces.
2721
+ * @example
2722
+ * ```ts
2723
+ * import { buildSchema } from 'graphql/utilities';
2724
+ * import { assertInterfaceType } from 'graphql/type';
2725
+ *
2726
+ * const schema = buildSchema(`
2727
+ * interface Resource {
2728
+ * url: String!
2729
+ * }
2730
+ *
2731
+ * interface Image implements Resource {
2732
+ * url: String!
2733
+ * width: Int
2734
+ * }
2735
+ *
2736
+ * type Photo implements Resource & Image {
2737
+ * url: String!
2738
+ * width: Int
2739
+ * }
2740
+ *
2741
+ * type Query {
2742
+ * image: Image
2743
+ * }
2744
+ * `);
2745
+ *
2746
+ * const Image = assertInterfaceType(schema.getType('Image'));
2747
+ *
2748
+ * Image.getInterfaces().map((type) => type.name); // => ['Resource']
2749
+ * ```
2750
+ */
2751
+ getInterfaces(): ReadonlyArray<GraphQLInterfaceType>;
2752
+ /**
2753
+ * Returns a normalized configuration object for this object.
2754
+ * @returns A configuration object that can be used to recreate this object.
2755
+ * @example
2756
+ * ```ts
2757
+ * import { GraphQLID, GraphQLInterfaceType, GraphQLNonNull } from 'graphql/type';
2758
+ *
2759
+ * const Node = new GraphQLInterfaceType({
2760
+ * name: 'Node',
2761
+ * fields: {
2762
+ * id: { type: new GraphQLNonNull(GraphQLID) },
2763
+ * },
2764
+ * });
2765
+ *
2766
+ * const config = Node.toConfig();
2767
+ * const NodeCopy = new GraphQLInterfaceType(config);
2768
+ *
2769
+ * String(config.fields.id.type); // => 'ID!'
2770
+ * String(NodeCopy.getFields().id.type); // => 'ID!'
2771
+ * ```
2772
+ */
2773
+ toConfig(): GraphQLInterfaceTypeNormalizedConfig<TSource, TContext>;
2774
+ /**
2775
+ * Returns the schema coordinate identifying this interface type.
2776
+ * @returns The schema coordinate for this interface type.
2777
+ * @example
2778
+ * ```ts
2779
+ * import { buildSchema } from 'graphql/utilities';
2780
+ * import { assertInterfaceType } from 'graphql/type';
2781
+ *
2782
+ * const schema = buildSchema(`
2783
+ * interface Node {
2784
+ * id: ID!
2785
+ * }
2786
+ *
2787
+ * type User implements Node {
2788
+ * id: ID!
2789
+ * }
2790
+ *
2791
+ * type Query {
2792
+ * node: Node
2793
+ * }
2794
+ * `);
2795
+ *
2796
+ * const Node = assertInterfaceType(schema.getType('Node'));
2797
+ *
2798
+ * Node.toString(); // => 'Node'
2799
+ * ```
2800
+ */
2801
+ toString(): string;
2802
+ /**
2803
+ * Returns the JSON representation used when this object is serialized.
2804
+ * @returns The JSON-serializable representation.
2805
+ * @example
2806
+ * ```ts
2807
+ * import { GraphQLInterfaceType, GraphQLString } from 'graphql/type';
2808
+ *
2809
+ * const Named = new GraphQLInterfaceType({
2810
+ * name: 'Named',
2811
+ * fields: { name: { type: GraphQLString } },
2812
+ * });
2813
+ *
2814
+ * Named.toJSON(); // => 'Named'
2815
+ * JSON.stringify({ type: Named }); // => '{"type":"Named"}'
2816
+ * ```
2817
+ */
2818
+ toJSON(): string;
2819
+ }
2820
+ /**
2821
+ * Configuration used to construct a GraphQLInterfaceType.
2822
+ * @typeParam TSource - Source object type passed to resolvers.
2823
+ * @typeParam TContext - Context object type passed to resolvers.
2824
+ */
2825
+ export interface GraphQLInterfaceTypeConfig<TSource, TContext> {
2826
+ /** The GraphQL name for this schema element. */
2827
+ name: string;
2828
+ /** Human-readable description for this schema element, if provided. */
2829
+ description?: Maybe<string>;
2830
+ /** Interfaces implemented by this object or interface type. */
2831
+ interfaces?: ThunkReadonlyArray<GraphQLInterfaceType> | undefined;
2832
+ /** Fields declared by this object, interface, input object, or literal. */
2833
+ fields: ThunkObjMap<GraphQLFieldConfig<TSource, TContext>>;
2834
+ /**
2835
+ * Optionally provide a custom type resolver function. If one is not provided,
2836
+ * the default implementation will call `isTypeOf` on each implementing
2837
+ * Object type.
2838
+ */
2839
+ resolveType?: Maybe<GraphQLTypeResolver<TSource, TContext>>;
2840
+ /** Custom extension fields reserved for users. */
2841
+ extensions?: Maybe<Readonly<GraphQLInterfaceTypeExtensions>>;
2842
+ /** AST node from which this schema element was built, if available. */
2843
+ astNode?: Maybe<InterfaceTypeDefinitionNode>;
2844
+ /** AST extension nodes applied to this schema element. */
2845
+ extensionASTNodes?: Maybe<ReadonlyArray<InterfaceTypeExtensionNode>>;
2846
+ }
2847
+ /** @internal */
2848
+ export interface GraphQLInterfaceTypeNormalizedConfig<TSource, TContext> extends GraphQLInterfaceTypeConfig<TSource, TContext> {
2849
+ interfaces: ReadonlyArray<GraphQLInterfaceType>;
2850
+ fields: GraphQLFieldNormalizedConfigMap<TSource, TContext>;
2851
+ extensions: Readonly<GraphQLInterfaceTypeExtensions>;
2852
+ extensionASTNodes: ReadonlyArray<InterfaceTypeExtensionNode>;
2853
+ }
2854
+ /**
2855
+ * Custom extensions
2856
+ * @remarks
2857
+ * Use a unique identifier name for your extension, for example the name of
2858
+ * your library or project. Do not use a shortened identifier as this increases
2859
+ * the risk of conflicts. We recommend you add at most one extension field,
2860
+ * an object which can contain all the values you need.
2861
+ */
2862
+ export interface GraphQLUnionTypeExtensions {
2863
+ [attributeName: string | symbol]: unknown;
2864
+ }
2865
+ /**
2866
+ * Union Type Definition
2867
+ *
2868
+ * When a field can return one of a heterogeneous set of types, a Union type
2869
+ * is used to describe what types are possible as well as providing a function
2870
+ * to determine which type is actually used when the field is resolved.
2871
+ * @typeParam TSource - Source object type passed to resolvers.
2872
+ * @typeParam TContext - Context object type passed to resolvers.
2873
+ * @example
2874
+ * ```ts
2875
+ * const PetType = new GraphQLUnionType({
2876
+ * name: 'Pet',
2877
+ * types: [DogType, CatType],
2878
+ * resolveType: (value) => {
2879
+ * if (value instanceof Dog) {
2880
+ * return DogType;
2881
+ * }
2882
+ * if (value instanceof Cat) {
2883
+ * return CatType;
2884
+ * }
2885
+ * },
2886
+ * });
2887
+ * ```
2888
+ */
2889
+ export declare class GraphQLUnionType<TSource = any, TContext = any> implements GraphQLSchemaElement {
2890
+ /** The GraphQL name for this schema element. */
2891
+ name: string;
2892
+ /** Human-readable description for this schema element, if provided. */
2893
+ description: Maybe<string>;
2894
+ /** Function that resolves the concrete object type for this abstract type. */
2895
+ resolveType: Maybe<GraphQLTypeResolver<TSource, TContext>>;
2896
+ /** Custom extension fields reserved for users. */
2897
+ extensions: Readonly<GraphQLUnionTypeExtensions>;
2898
+ /** AST node from which this schema element was built, if available. */
2899
+ astNode: Maybe<UnionTypeDefinitionNode>;
2900
+ /** AST extension nodes applied to this schema element. */
2901
+ extensionASTNodes: ReadonlyArray<UnionTypeExtensionNode>;
2902
+ private _types;
2903
+ /**
2904
+ * Creates a GraphQLUnionType instance.
2905
+ * @param config - Configuration describing this object.
2906
+ * @example
2907
+ * ```ts
2908
+ * import { parse } from 'graphql/language';
2909
+ * import {
2910
+ * GraphQLObjectType,
2911
+ * GraphQLString,
2912
+ * GraphQLUnionType,
2913
+ * } from 'graphql/type';
2914
+ *
2915
+ * const document = parse(`
2916
+ * union Media = Photo | Video
2917
+ *
2918
+ * extend union Media = Audio
2919
+ * `);
2920
+ *
2921
+ * const Photo = new GraphQLObjectType({
2922
+ * name: 'Photo',
2923
+ * fields: { url: { type: GraphQLString } },
2924
+ * });
2925
+ * const Video = new GraphQLObjectType({
2926
+ * name: 'Video',
2927
+ * fields: { url: { type: GraphQLString } },
2928
+ * });
2929
+ *
2930
+ * const Media = new GraphQLUnionType({
2931
+ * name: 'Media',
2932
+ * description: 'Media that can appear in a search result.',
2933
+ * types: [Photo, Video],
2934
+ * resolveType: (value) => {
2935
+ * return typeof value === 'object' && value != null && 'duration' in value
2936
+ * ? 'Video'
2937
+ * : 'Photo';
2938
+ * },
2939
+ * extensions: { searchable: true },
2940
+ * astNode: document.definitions[0],
2941
+ * extensionASTNodes: [document.definitions[1]],
2942
+ * });
2943
+ *
2944
+ * Media.description; // => 'Media that can appear in a search result.'
2945
+ * Media.getTypes().map((type) => type.name); // => ['Photo', 'Video']
2946
+ * Media.extensions; // => { searchable: true }
2947
+ * ```
2948
+ */
2949
+ constructor(config: Readonly<GraphQLUnionTypeConfig<TSource, TContext>>);
2950
+ /**
2951
+ * Returns the value used by `Object.prototype.toString`.
2952
+ * @returns The built-in string tag for this object.
2953
+ */
2954
+ get [Symbol.toStringTag](): string;
2955
+ /**
2956
+ * Returns the object types included in this union.
2957
+ * @returns The union member object types.
2958
+ * @example
2959
+ * ```ts
2960
+ * import { buildSchema } from 'graphql/utilities';
2961
+ * import { assertUnionType } from 'graphql/type';
2962
+ *
2963
+ * const schema = buildSchema(`
2964
+ * type Photo {
2965
+ * url: String!
2966
+ * }
2967
+ *
2968
+ * type Video {
2969
+ * url: String!
2970
+ * }
2971
+ *
2972
+ * union Media = Photo | Video
2973
+ *
2974
+ * type Query {
2975
+ * media: [Media]
2976
+ * }
2977
+ * `);
2978
+ *
2979
+ * const Media = assertUnionType(schema.getType('Media'));
2980
+ *
2981
+ * Media.getTypes().map((type) => type.name); // => ['Photo', 'Video']
2982
+ * ```
2983
+ */
2984
+ getTypes(): ReadonlyArray<GraphQLObjectType>;
2985
+ /**
2986
+ * Returns a normalized configuration object for this object.
2987
+ * @returns A configuration object that can be used to recreate this object.
2988
+ * @example
2989
+ * ```ts
2990
+ * import {
2991
+ * GraphQLObjectType,
2992
+ * GraphQLString,
2993
+ * GraphQLUnionType,
2994
+ * } from 'graphql/type';
2995
+ *
2996
+ * const Photo = new GraphQLObjectType({
2997
+ * name: 'Photo',
2998
+ * fields: { url: { type: GraphQLString } },
2999
+ * });
3000
+ * const Video = new GraphQLObjectType({
3001
+ * name: 'Video',
3002
+ * fields: { url: { type: GraphQLString } },
3003
+ * });
3004
+ * const Media = new GraphQLUnionType({
3005
+ * name: 'Media',
3006
+ * types: [Photo, Video],
3007
+ * });
3008
+ *
3009
+ * const config = Media.toConfig();
3010
+ * const MediaCopy = new GraphQLUnionType(config);
3011
+ *
3012
+ * MediaCopy.getTypes().map((type) => type.name); // => ['Photo', 'Video']
3013
+ * ```
3014
+ */
3015
+ toConfig(): GraphQLUnionTypeNormalizedConfig<TSource, TContext>;
3016
+ /**
3017
+ * Returns the schema coordinate identifying this union type.
3018
+ * @returns The schema coordinate for this union type.
3019
+ * @example
3020
+ * ```ts
3021
+ * import { buildSchema } from 'graphql/utilities';
3022
+ * import { assertUnionType } from 'graphql/type';
3023
+ *
3024
+ * const schema = buildSchema(`
3025
+ * type Photo {
3026
+ * url: String!
3027
+ * }
3028
+ *
3029
+ * union SearchResult = Photo
3030
+ *
3031
+ * type Query {
3032
+ * search: [SearchResult]
3033
+ * }
3034
+ * `);
3035
+ *
3036
+ * const SearchResult = assertUnionType(schema.getType('SearchResult'));
3037
+ *
3038
+ * SearchResult.toString(); // => 'SearchResult'
3039
+ * ```
3040
+ */
3041
+ toString(): string;
3042
+ /**
3043
+ * Returns the JSON representation used when this object is serialized.
3044
+ * @returns The JSON-serializable representation.
3045
+ * @example
3046
+ * ```ts
3047
+ * import {
3048
+ * GraphQLObjectType,
3049
+ * GraphQLString,
3050
+ * GraphQLUnionType,
3051
+ * } from 'graphql/type';
3052
+ *
3053
+ * const Photo = new GraphQLObjectType({
3054
+ * name: 'Photo',
3055
+ * fields: { url: { type: GraphQLString } },
3056
+ * });
3057
+ * const SearchResult = new GraphQLUnionType({
3058
+ * name: 'SearchResult',
3059
+ * types: [Photo],
3060
+ * });
3061
+ *
3062
+ * SearchResult.toJSON(); // => 'SearchResult'
3063
+ * JSON.stringify({ type: SearchResult }); // => '{"type":"SearchResult"}'
3064
+ * ```
3065
+ */
3066
+ toJSON(): string;
3067
+ }
3068
+ /**
3069
+ * Configuration used to construct a GraphQLUnionType.
3070
+ * @typeParam TSource - Source object type passed to resolvers.
3071
+ * @typeParam TContext - Context object type passed to resolvers.
3072
+ */
3073
+ export interface GraphQLUnionTypeConfig<TSource, TContext> {
3074
+ /** The GraphQL name for this schema element. */
3075
+ name: string;
3076
+ /** Human-readable description for this schema element, if provided. */
3077
+ description?: Maybe<string>;
3078
+ /** Object types that belong to this union type. */
3079
+ types: ThunkReadonlyArray<GraphQLObjectType>;
3080
+ /**
3081
+ * Optionally provide a custom type resolver function. If one is not provided,
3082
+ * the default implementation will call `isTypeOf` on each implementing
3083
+ * Object type.
3084
+ */
3085
+ resolveType?: Maybe<GraphQLTypeResolver<TSource, TContext>>;
3086
+ /** Custom extension fields reserved for users. */
3087
+ extensions?: Maybe<Readonly<GraphQLUnionTypeExtensions>>;
3088
+ /** AST node from which this schema element was built, if available. */
3089
+ astNode?: Maybe<UnionTypeDefinitionNode>;
3090
+ /** AST extension nodes applied to this schema element. */
3091
+ extensionASTNodes?: Maybe<ReadonlyArray<UnionTypeExtensionNode>>;
3092
+ }
3093
+ /** @internal */
3094
+ export interface GraphQLUnionTypeNormalizedConfig<TSource, TContext> extends GraphQLUnionTypeConfig<TSource, TContext> {
3095
+ types: ReadonlyArray<GraphQLObjectType>;
3096
+ extensions: Readonly<GraphQLUnionTypeExtensions>;
3097
+ extensionASTNodes: ReadonlyArray<UnionTypeExtensionNode>;
3098
+ }
3099
+ /**
3100
+ * Custom extensions
3101
+ * @remarks
3102
+ * Use a unique identifier name for your extension, for example the name of
3103
+ * your library or project. Do not use a shortened identifier as this increases
3104
+ * the risk of conflicts. We recommend you add at most one extension field,
3105
+ * an object which can contain all the values you need.
3106
+ */
3107
+ export interface GraphQLEnumTypeExtensions {
3108
+ [attributeName: string | symbol]: unknown;
3109
+ }
3110
+ /**
3111
+ * Enum Type Definition
3112
+ *
3113
+ * Enum types define leaf values whose serialized form is one of a fixed set
3114
+ * of GraphQL enum names. Internally, enum values can map to any runtime value,
3115
+ * often integers.
3116
+ * @example
3117
+ * ```ts
3118
+ * import { GraphQLEnumType } from 'graphql/type';
3119
+ *
3120
+ * const RGBType = new GraphQLEnumType({
3121
+ * name: 'RGB',
3122
+ * values: {
3123
+ * RED: { value: 0 },
3124
+ * GREEN: { value: 1 },
3125
+ * BLUE: { value: 2 },
3126
+ * },
3127
+ * });
3128
+ *
3129
+ * RGBType.getValue('GREEN')?.value; // => 1
3130
+ * ```
3131
+ *
3132
+ * Note: If a value is not provided in a definition, the name of the enum value
3133
+ * will be used as its internal value.
3134
+ */
3135
+ export declare class GraphQLEnumType/* <T> */ implements GraphQLSchemaElement {
3136
+ /** The GraphQL name for this schema element. */
3137
+ name: string;
3138
+ /** Human-readable description for this schema element, if provided. */
3139
+ description: Maybe<string>;
3140
+ /** Custom extension fields reserved for users. */
3141
+ extensions: Readonly<GraphQLEnumTypeExtensions>;
3142
+ /** AST node from which this schema element was built, if available. */
3143
+ astNode: Maybe<EnumTypeDefinitionNode>;
3144
+ /** AST extension nodes applied to this schema element. */
3145
+ extensionASTNodes: ReadonlyArray<EnumTypeExtensionNode>;
3146
+ private _values;
3147
+ private _valueLookup;
3148
+ private _nameLookup;
3149
+ /**
3150
+ * Creates a GraphQLEnumType instance.
3151
+ * @param config - Configuration describing this object.
3152
+ * @example
3153
+ * ```ts
3154
+ * import { parse } from 'graphql/language';
3155
+ * import { GraphQLEnumType } from 'graphql/type';
3156
+ *
3157
+ * const document = parse(`
3158
+ * enum Episode {
3159
+ * NEW_HOPE
3160
+ * EMPIRE
3161
+ * JEDI
3162
+ * }
3163
+ *
3164
+ * extend enum Episode {
3165
+ * FORCE_AWAKENS
3166
+ * }
3167
+ * `);
3168
+ * const definition = document.definitions[0];
3169
+ *
3170
+ * const Episode = new GraphQLEnumType({
3171
+ * name: 'Episode',
3172
+ * description: 'A Star Wars film episode.',
3173
+ * values: {
3174
+ * NEW_HOPE: {
3175
+ * value: 4,
3176
+ * description: 'Released in 1977.',
3177
+ * extensions: { trilogy: 'original' },
3178
+ * astNode: definition.values[0],
3179
+ * },
3180
+ * EMPIRE: { value: 5, astNode: definition.values[1] },
3181
+ * JEDI: {
3182
+ * value: 6,
3183
+ * deprecationReason: 'Use RETURN_OF_THE_JEDI.',
3184
+ * astNode: definition.values[2],
3185
+ * },
3186
+ * },
3187
+ * extensions: { catalog: 'films' },
3188
+ * astNode: definition,
3189
+ * extensionASTNodes: [document.definitions[1]],
3190
+ * });
3191
+ *
3192
+ * Episode.description; // => 'A Star Wars film episode.'
3193
+ * Episode.coerceOutputValue(5); // => 'EMPIRE'
3194
+ * Episode.coerceInputValue('JEDI'); // => 6
3195
+ * Episode.getValue('JEDI').deprecationReason; // => 'Use RETURN_OF_THE_JEDI.'
3196
+ * Episode.extensions; // => { catalog: 'films' }
3197
+ * ```
3198
+ */
3199
+ constructor(config: Readonly<GraphQLEnumTypeConfig>);
3200
+ /**
3201
+ * Returns the value used by `Object.prototype.toString`.
3202
+ * @returns The built-in string tag for this object.
3203
+ */
3204
+ get [Symbol.toStringTag](): string;
3205
+ /**
3206
+ * Returns the values defined by this enum type.
3207
+ * @returns Enum value definitions in schema order.
3208
+ * @example
3209
+ * ```ts
3210
+ * import { buildSchema } from 'graphql/utilities';
3211
+ * import { assertEnumType } from 'graphql/type';
3212
+ *
3213
+ * const schema = buildSchema(`
3214
+ * enum Episode {
3215
+ * NEW_HOPE
3216
+ * EMPIRE
3217
+ * JEDI
3218
+ * }
3219
+ *
3220
+ * type Query {
3221
+ * episode: Episode
3222
+ * }
3223
+ * `);
3224
+ *
3225
+ * const Episode = assertEnumType(schema.getType('Episode'));
3226
+ *
3227
+ * Episode.getValues().map((value) => value.name); // => ['NEW_HOPE', 'EMPIRE', 'JEDI']
3228
+ * ```
3229
+ */
3230
+ getValues(): ReadonlyArray<GraphQLEnumValue>;
3231
+ /**
3232
+ * Returns the enum value definition for a value name.
3233
+ * @param name - The GraphQL name to look up.
3234
+ * @returns The matching enum value definition, if it exists.
3235
+ * @example
3236
+ * ```ts
3237
+ * import { buildSchema } from 'graphql/utilities';
3238
+ * import { assertEnumType } from 'graphql/type';
3239
+ *
3240
+ * const schema = buildSchema(`
3241
+ * enum Episode {
3242
+ * NEW_HOPE
3243
+ * EMPIRE
3244
+ * }
3245
+ *
3246
+ * type Query {
3247
+ * episode: Episode
3248
+ * }
3249
+ * `);
3250
+ *
3251
+ * const Episode = assertEnumType(schema.getType('Episode'));
3252
+ *
3253
+ * Episode.getValue('EMPIRE')?.name; // => 'EMPIRE'
3254
+ * Episode.getValue('JEDI'); // => undefined
3255
+ * ```
3256
+ */
3257
+ getValue(name: string): Maybe<GraphQLEnumValue>;
3258
+ /**
3259
+ * Serializes a runtime enum value as a GraphQL enum name.
3260
+ * @param outputValue - Runtime enum value to serialize.
3261
+ * @returns The GraphQL enum name for the runtime value.
3262
+ *
3263
+ * This deprecated method delegates to `coerceOutputValue()`; call
3264
+ * `coerceOutputValue()` directly instead.
3265
+ * @example
3266
+ * ```ts
3267
+ * import { GraphQLEnumType } from 'graphql/type';
3268
+ *
3269
+ * const RGB = new GraphQLEnumType({
3270
+ * name: 'RGB',
3271
+ * values: {
3272
+ * RED: { value: 0 },
3273
+ * GREEN: { value: 1 },
3274
+ * BLUE: { value: 2 },
3275
+ * },
3276
+ * });
3277
+ *
3278
+ * RGB.serialize(1); // => 'GREEN'
3279
+ * RGB.serialize(3); // throws an error
3280
+ * ```
3281
+ * @deprecated use `coerceOutputValue()` instead, `serialize()` will be removed in v18
3282
+ */
3283
+ serialize(outputValue: unknown): Maybe<string>;
3284
+ /**
3285
+ * Coerces a runtime enum value to a GraphQL enum name.
3286
+ * @param outputValue - Runtime enum value to coerce.
3287
+ * @returns The GraphQL enum name for the runtime value.
3288
+ * @example
3289
+ * ```ts
3290
+ * import { GraphQLEnumType } from 'graphql/type';
3291
+ *
3292
+ * const RGB = new GraphQLEnumType({
3293
+ * name: 'RGB',
3294
+ * values: {
3295
+ * RED: { value: 0 },
3296
+ * GREEN: { value: 1 },
3297
+ * BLUE: { value: 2 },
3298
+ * },
3299
+ * });
3300
+ *
3301
+ * RGB.coerceOutputValue(1); // => 'GREEN'
3302
+ * RGB.coerceOutputValue(3); // throws an error
3303
+ * ```
3304
+ */
3305
+ coerceOutputValue(outputValue: unknown): Maybe<string>;
3306
+ /**
3307
+ * Deprecated legacy enum parser for externally provided input values. Use
3308
+ * `coerceInputValue()` instead.
3309
+ * @param inputValue - External enum name to parse.
3310
+ * @param hideSuggestions - Whether suggestion text should be omitted from errors.
3311
+ * @returns The internal runtime value for the enum name.
3312
+ * @example
3313
+ * ```ts
3314
+ * import { GraphQLEnumType } from 'graphql/type';
3315
+ *
3316
+ * const RGB = new GraphQLEnumType({
3317
+ * name: 'RGB',
3318
+ * values: {
3319
+ * RED: { value: 0 },
3320
+ * GREEN: { value: 1 },
3321
+ * BLUE: { value: 2 },
3322
+ * },
3323
+ * });
3324
+ *
3325
+ * RGB.parseValue('BLUE'); // => 2
3326
+ * RGB.parseValue('PURPLE', true); // throws an error
3327
+ * ```
3328
+ * @deprecated use `coerceInputValue()` instead, `parseValue()` will be removed in v18
3329
+ */
3330
+ parseValue(inputValue: unknown, hideSuggestions?: Maybe<boolean>): Maybe<any>;
3331
+ /**
3332
+ * Coerces an external enum name to its internal runtime value.
3333
+ * @param inputValue - External enum name to coerce.
3334
+ * @param hideSuggestions - Whether suggestion text should be omitted from errors.
3335
+ * @returns The internal runtime value for the enum name.
3336
+ * @example
3337
+ * ```ts
3338
+ * import { GraphQLEnumType } from 'graphql/type';
3339
+ *
3340
+ * const RGB = new GraphQLEnumType({
3341
+ * name: 'RGB',
3342
+ * values: {
3343
+ * RED: { value: 0 },
3344
+ * GREEN: { value: 1 },
3345
+ * BLUE: { value: 2 },
3346
+ * },
3347
+ * });
3348
+ *
3349
+ * RGB.coerceInputValue('BLUE'); // => 2
3350
+ * RGB.coerceInputValue('PURPLE'); // throws an error
3351
+ * RGB.coerceInputValue(2); // throws an error
3352
+ * ```
3353
+ */
3354
+ coerceInputValue(inputValue: unknown, hideSuggestions?: Maybe<boolean>): Maybe<any>;
3355
+ /**
3356
+ * Deprecated legacy enum parser for externally provided input literals. Use
3357
+ * `coerceInputLiteral()` instead.
3358
+ * @param valueNode - Enum value AST node to parse.
3359
+ * @param _variables - Deprecated variable values parameter that is no longer used.
3360
+ * @param hideSuggestions - Whether suggestion text should be omitted from errors.
3361
+ * @returns The internal runtime value for the enum literal.
3362
+ * @example
3363
+ * ```ts
3364
+ * import { parseValue } from 'graphql/language';
3365
+ * import { GraphQLEnumType } from 'graphql/type';
3366
+ *
3367
+ * const RGB = new GraphQLEnumType({
3368
+ * name: 'RGB',
3369
+ * values: {
3370
+ * RED: { value: 0 },
3371
+ * GREEN: { value: 1 },
3372
+ * BLUE: { value: 2 },
3373
+ * },
3374
+ * });
3375
+ *
3376
+ * RGB.parseLiteral(parseValue('RED')); // => 0
3377
+ * RGB.parseLiteral(parseValue('"RED"')); // throws an error
3378
+ * ```
3379
+ * @deprecated use `coerceInputLiteral()` instead, `parseLiteral()` will be removed in v18
3380
+ */
3381
+ parseLiteral(valueNode: ValueNode, _variables: Maybe<ObjMap<unknown>>, hideSuggestions?: Maybe<boolean>): Maybe<any>;
3382
+ /**
3383
+ * Coerces an enum value AST node to its internal runtime value.
3384
+ * @param valueNode - Enum value AST node to coerce.
3385
+ * @param hideSuggestions - Whether suggestion text should be omitted from errors.
3386
+ * @returns The internal runtime value for the enum literal.
3387
+ * @example
3388
+ * ```ts
3389
+ * import { parseConstValue } from 'graphql/language';
3390
+ * import { GraphQLEnumType } from 'graphql/type';
3391
+ *
3392
+ * const RGB = new GraphQLEnumType({
3393
+ * name: 'RGB',
3394
+ * values: {
3395
+ * RED: { value: 0 },
3396
+ * GREEN: { value: 1 },
3397
+ * BLUE: { value: 2 },
3398
+ * },
3399
+ * });
3400
+ *
3401
+ * RGB.coerceInputLiteral(parseConstValue('RED')); // => 0
3402
+ * RGB.coerceInputLiteral(parseConstValue('"RED"'), true); // throws an error
3403
+ * ```
3404
+ */
3405
+ coerceInputLiteral(valueNode: ConstValueNode, hideSuggestions?: Maybe<boolean>): Maybe<any>;
3406
+ /**
3407
+ * Converts a runtime enum value to a GraphQL enum value AST node.
3408
+ * @param value - Runtime enum value to convert.
3409
+ * @returns Enum value AST node, or undefined if the value is invalid.
3410
+ * @example
3411
+ * ```ts
3412
+ * import { print } from 'graphql/language';
3413
+ * import { GraphQLEnumType } from 'graphql/type';
3414
+ *
3415
+ * const RGB = new GraphQLEnumType({
3416
+ * name: 'RGB',
3417
+ * values: {
3418
+ * RED: { value: 0 },
3419
+ * GREEN: { value: 1 },
3420
+ * BLUE: { value: 2 },
3421
+ * },
3422
+ * });
3423
+ *
3424
+ * print(RGB.valueToLiteral(2)); // => 'BLUE'
3425
+ * RGB.valueToLiteral(3); // => undefined
3426
+ * ```
3427
+ */
3428
+ valueToLiteral(value: unknown): ConstValueNode | undefined;
3429
+ /**
3430
+ * Returns a normalized configuration object for this object.
3431
+ * @returns A configuration object that can be used to recreate this object.
3432
+ * @example
3433
+ * ```ts
3434
+ * import { GraphQLEnumType } from 'graphql/type';
3435
+ *
3436
+ * const RGB = new GraphQLEnumType({
3437
+ * name: 'RGB',
3438
+ * values: {
3439
+ * RED: { value: 0 },
3440
+ * GREEN: { value: 1 },
3441
+ * BLUE: { value: 2 },
3442
+ * },
3443
+ * });
3444
+ *
3445
+ * const config = RGB.toConfig();
3446
+ * const RGBCopy = new GraphQLEnumType(config);
3447
+ *
3448
+ * config.values.GREEN.value; // => 1
3449
+ * RGBCopy.coerceOutputValue(2); // => 'BLUE'
3450
+ * ```
3451
+ */
3452
+ toConfig(): GraphQLEnumTypeNormalizedConfig;
3453
+ /**
3454
+ * Returns the schema coordinate identifying this enum type.
3455
+ * @returns The schema coordinate for this enum type.
3456
+ * @example
3457
+ * ```ts
3458
+ * import { buildSchema } from 'graphql/utilities';
3459
+ * import { assertEnumType } from 'graphql/type';
3460
+ *
3461
+ * const schema = buildSchema(`
3462
+ * enum Episode {
3463
+ * NEW_HOPE
3464
+ * }
3465
+ *
3466
+ * type Query {
3467
+ * episode: Episode
3468
+ * }
3469
+ * `);
3470
+ *
3471
+ * const Episode = assertEnumType(schema.getType('Episode'));
3472
+ *
3473
+ * Episode.toString(); // => 'Episode'
3474
+ * ```
3475
+ */
3476
+ toString(): string;
3477
+ /**
3478
+ * Returns the JSON representation used when this object is serialized.
3479
+ * @returns The JSON-serializable representation.
3480
+ * @example
3481
+ * ```ts
3482
+ * import { GraphQLEnumType } from 'graphql/type';
3483
+ *
3484
+ * const Episode = new GraphQLEnumType({
3485
+ * name: 'Episode',
3486
+ * values: {
3487
+ * NEW_HOPE: {},
3488
+ * },
3489
+ * });
3490
+ *
3491
+ * Episode.toJSON(); // => 'Episode'
3492
+ * JSON.stringify({ type: Episode }); // => '{"type":"Episode"}'
3493
+ * ```
3494
+ */
3495
+ toJSON(): string;
3496
+ }
3497
+ /** Configuration used to construct a GraphQLEnumType. */
3498
+ export interface GraphQLEnumTypeConfig {
3499
+ /** The GraphQL name for this schema element. */
3500
+ name: string;
3501
+ /** Human-readable description for this schema element, if provided. */
3502
+ description?: Maybe<string>;
3503
+ /** Values contained in this enum, list, or input-object definition. */
3504
+ values: ThunkObjMap<GraphQLEnumValueConfig>;
3505
+ /** Custom extension fields reserved for users. */
3506
+ extensions?: Maybe<Readonly<GraphQLEnumTypeExtensions>>;
3507
+ /** AST node from which this schema element was built, if available. */
3508
+ astNode?: Maybe<EnumTypeDefinitionNode>;
3509
+ /** AST extension nodes applied to this schema element. */
3510
+ extensionASTNodes?: Maybe<ReadonlyArray<EnumTypeExtensionNode>>;
3511
+ }
3512
+ /** @internal */
3513
+ export interface GraphQLEnumTypeNormalizedConfig extends GraphQLEnumTypeConfig {
3514
+ values: GraphQLEnumValueNormalizedConfigMap;
3515
+ extensions: Readonly<GraphQLEnumTypeExtensions>;
3516
+ extensionASTNodes: ReadonlyArray<EnumTypeExtensionNode>;
3517
+ }
3518
+ /** A map of enum value names to enum value configuration objects. */
3519
+ export type GraphQLEnumValueConfigMap = ObjMap<GraphQLEnumValueConfig>;
3520
+ /** @internal */
3521
+ export type GraphQLEnumValueNormalizedConfigMap = ObjMap<GraphQLEnumValueNormalizedConfig>;
3522
+ /**
3523
+ * Custom extensions
3524
+ * @remarks
3525
+ * Use a unique identifier name for your extension, for example the name of
3526
+ * your library or project. Do not use a shortened identifier as this increases
3527
+ * the risk of conflicts. We recommend you add at most one extension field,
3528
+ * an object which can contain all the values you need.
3529
+ */
3530
+ export interface GraphQLEnumValueExtensions {
3531
+ [attributeName: string | symbol]: unknown;
3532
+ }
3533
+ /** Configuration used to define a GraphQL enum value. */
3534
+ export interface GraphQLEnumValueConfig {
3535
+ /** Human-readable description for this schema element, if provided. */
3536
+ description?: Maybe<string>;
3537
+ /** Parsed value represented by this node. */
3538
+ value?: any;
3539
+ /** Reason this element is deprecated, if one was provided. */
3540
+ deprecationReason?: Maybe<string>;
3541
+ /** Custom extension fields reserved for users. */
3542
+ extensions?: Maybe<Readonly<GraphQLEnumValueExtensions>>;
3543
+ /** AST node from which this schema element was built, if available. */
3544
+ astNode?: Maybe<EnumValueDefinitionNode>;
3545
+ }
3546
+ /** @internal */
3547
+ export interface GraphQLEnumValueNormalizedConfig extends GraphQLEnumValueConfig {
3548
+ extensions: Readonly<GraphQLEnumValueExtensions>;
3549
+ }
3550
+ /** A resolved GraphQL enum value definition. */
3551
+ export declare class GraphQLEnumValue implements GraphQLSchemaElement {
3552
+ /** Enum type that owns this enum value. */
3553
+ parentEnum: GraphQLEnumType;
3554
+ /** The GraphQL name for this schema element. */
3555
+ name: string;
3556
+ /** Human-readable description for this schema element, if provided. */
3557
+ description: Maybe<string>;
3558
+ /** Parsed value represented by this node. */
3559
+ value: any;
3560
+ /** Reason this element is deprecated, if one was provided. */
3561
+ deprecationReason: Maybe<string>;
3562
+ /** Custom extension fields reserved for users. */
3563
+ extensions: Readonly<GraphQLEnumValueExtensions>;
3564
+ /** AST node from which this schema element was built, if available. */
3565
+ astNode: Maybe<EnumValueDefinitionNode>;
3566
+ /**
3567
+ * Creates a resolved GraphQL enum value definition.
3568
+ * @param parentEnum - Enum type that owns this enum value.
3569
+ * @param name - Enum value name.
3570
+ * @param config - Enum value configuration.
3571
+ * @example
3572
+ * ```ts
3573
+ * import { GraphQLEnumType, GraphQLEnumValue } from 'graphql/type';
3574
+ *
3575
+ * const Episode = new GraphQLEnumType({
3576
+ * name: 'Episode',
3577
+ * values: { NEW_HOPE: { value: 4 } },
3578
+ * });
3579
+ * const enumValue = new GraphQLEnumValue(Episode, 'EMPIRE', {
3580
+ * value: 5,
3581
+ * description: 'Released in 1980.',
3582
+ * });
3583
+ *
3584
+ * enumValue.parentEnum; // => Episode
3585
+ * enumValue.name; // => 'EMPIRE'
3586
+ * enumValue.value; // => 5
3587
+ * ```
3588
+ */
3589
+ constructor(parentEnum: GraphQLEnumType, name: string, config: GraphQLEnumValueConfig);
3590
+ /**
3591
+ * Returns the value used by `Object.prototype.toString`.
3592
+ * @returns The built-in string tag for this object.
3593
+ */
3594
+ get [Symbol.toStringTag](): string;
3595
+ /**
3596
+ * Returns a normalized configuration object for this enum value.
3597
+ * @returns A configuration object that can be used to recreate this enum value.
3598
+ * @example
3599
+ * ```ts
3600
+ * import { GraphQLEnumType, GraphQLEnumValue } from 'graphql/type';
3601
+ *
3602
+ * const Episode = new GraphQLEnumType({
3603
+ * name: 'Episode',
3604
+ * values: { NEW_HOPE: { value: 4 } },
3605
+ * });
3606
+ * const enumValue = new GraphQLEnumValue(Episode, 'EMPIRE', {
3607
+ * value: 5,
3608
+ * extensions: { trilogy: 'original' },
3609
+ * });
3610
+ *
3611
+ * enumValue.toConfig(); // => { description: undefined, value: 5, deprecationReason: undefined, extensions: { trilogy: 'original' }, astNode: undefined }
3612
+ * ```
3613
+ */
3614
+ toConfig(): GraphQLEnumValueNormalizedConfig;
3615
+ /**
3616
+ * Returns this enum value as a schema coordinate string.
3617
+ * @returns Enum value coordinate.
3618
+ * @example
3619
+ * ```ts
3620
+ * import { GraphQLEnumType, GraphQLEnumValue } from 'graphql/type';
3621
+ *
3622
+ * const Episode = new GraphQLEnumType({
3623
+ * name: 'Episode',
3624
+ * values: { NEW_HOPE: { value: 4 } },
3625
+ * });
3626
+ * const enumValue = new GraphQLEnumValue(Episode, 'EMPIRE', { value: 5 });
3627
+ *
3628
+ * enumValue.toString(); // => 'Episode.EMPIRE'
3629
+ * ```
3630
+ */
3631
+ toString(): string;
3632
+ /**
3633
+ * Returns the JSON representation used when this object is serialized.
3634
+ * @returns Enum value coordinate.
3635
+ * @example
3636
+ * ```ts
3637
+ * import { GraphQLEnumType, GraphQLEnumValue } from 'graphql/type';
3638
+ *
3639
+ * const Episode = new GraphQLEnumType({
3640
+ * name: 'Episode',
3641
+ * values: { NEW_HOPE: { value: 4 } },
3642
+ * });
3643
+ * const enumValue = new GraphQLEnumValue(Episode, 'EMPIRE', { value: 5 });
3644
+ *
3645
+ * JSON.stringify(enumValue); // => '"Episode.EMPIRE"'
3646
+ * ```
3647
+ */
3648
+ toJSON(): string;
3649
+ }
3650
+ /**
3651
+ * Custom extensions
3652
+ * @remarks
3653
+ * Use a unique identifier name for your extension, for example the name of
3654
+ * your library or project. Do not use a shortened identifier as this increases
3655
+ * the risk of conflicts. We recommend you add at most one extension field,
3656
+ * an object which can contain all the values you need.
3657
+ */
3658
+ export interface GraphQLInputObjectTypeExtensions {
3659
+ [attributeName: string | symbol]: unknown;
3660
+ }
3661
+ /**
3662
+ * Input Object Type Definition
3663
+ *
3664
+ * An input object defines a structured collection of fields which may be
3665
+ * supplied to a field argument.
3666
+ *
3667
+ * Using `NonNull` will ensure that a value must be provided by the query
3668
+ * @example
3669
+ * ```ts
3670
+ * const GeoPoint = new GraphQLInputObjectType({
3671
+ * name: 'GeoPoint',
3672
+ * fields: {
3673
+ * lat: { type: new GraphQLNonNull(GraphQLFloat) },
3674
+ * lon: { type: new GraphQLNonNull(GraphQLFloat) },
3675
+ * alt: { type: GraphQLFloat, default: { value: 0 } },
3676
+ * },
3677
+ * });
3678
+ * ```
3679
+ */
3680
+ export declare class GraphQLInputObjectType implements GraphQLSchemaElement {
3681
+ /** The GraphQL name for this schema element. */
3682
+ name: string;
3683
+ /** Human-readable description for this schema element, if provided. */
3684
+ description: Maybe<string>;
3685
+ /** Custom extension fields reserved for users. */
3686
+ extensions: Readonly<GraphQLInputObjectTypeExtensions>;
3687
+ /** AST node from which this schema element was built, if available. */
3688
+ astNode: Maybe<InputObjectTypeDefinitionNode>;
3689
+ /** AST extension nodes applied to this schema element. */
3690
+ extensionASTNodes: ReadonlyArray<InputObjectTypeExtensionNode>;
3691
+ /** Whether this input object uses the experimental OneOf input object semantics. */
3692
+ isOneOf: boolean;
3693
+ private _fields;
3694
+ /**
3695
+ * Creates a GraphQLInputObjectType instance.
3696
+ * @param config - Configuration describing this object.
3697
+ * @example
3698
+ * ```ts
3699
+ * import { parse } from 'graphql/language';
3700
+ * import {
3701
+ * GraphQLID,
3702
+ * GraphQLInputObjectType,
3703
+ * GraphQLInt,
3704
+ * GraphQLNonNull,
3705
+ * GraphQLString,
3706
+ * } from 'graphql/type';
3707
+ *
3708
+ * const document = parse(`
3709
+ * input ReviewInput {
3710
+ * stars: Int!
3711
+ * commentary: String
3712
+ * }
3713
+ *
3714
+ * extend input ReviewInput {
3715
+ * body: String
3716
+ * }
3717
+ * `);
3718
+ * const definition = document.definitions[0];
3719
+ *
3720
+ * const ReviewInput = new GraphQLInputObjectType({
3721
+ * name: 'ReviewInput',
3722
+ * description: 'Input collected when reviewing a product.',
3723
+ * fields: {
3724
+ * stars: {
3725
+ * description: 'Star rating from one to five.',
3726
+ * type: new GraphQLNonNull(GraphQLInt),
3727
+ * extensions: { min: 1, max: 5 },
3728
+ * astNode: definition.fields[0],
3729
+ * },
3730
+ * commentary: {
3731
+ * type: GraphQLString,
3732
+ * default: { value: '' },
3733
+ * deprecationReason: 'Use body.',
3734
+ * astNode: definition.fields[1],
3735
+ * },
3736
+ * },
3737
+ * extensions: { form: 'review' },
3738
+ * astNode: definition,
3739
+ * extensionASTNodes: [document.definitions[1]],
3740
+ * isOneOf: false,
3741
+ * });
3742
+ * const SearchBy = new GraphQLInputObjectType({
3743
+ * name: 'SearchBy',
3744
+ * fields: {
3745
+ * id: { type: GraphQLID },
3746
+ * slug: { type: GraphQLString },
3747
+ * },
3748
+ * isOneOf: true,
3749
+ * });
3750
+ *
3751
+ * const fields = ReviewInput.getFields();
3752
+ *
3753
+ * ReviewInput.description; // => 'Input collected when reviewing a product.'
3754
+ * String(fields.stars.type); // => 'Int!'
3755
+ * fields.stars.extensions; // => { min: 1, max: 5 }
3756
+ * fields.commentary.default.value; // => ''
3757
+ * fields.commentary.deprecationReason; // => 'Use body.'
3758
+ * ReviewInput.isOneOf; // => false
3759
+ * SearchBy.isOneOf; // => true
3760
+ * ```
3761
+ */
3762
+ constructor(config: Readonly<GraphQLInputObjectTypeConfig>);
3763
+ /**
3764
+ * Returns the value used by `Object.prototype.toString`.
3765
+ * @returns The built-in string tag for this object.
3766
+ */
3767
+ get [Symbol.toStringTag](): string;
3768
+ /**
3769
+ * Returns the fields defined by this type.
3770
+ * @returns The fields keyed by field name.
3771
+ * @example
3772
+ * ```ts
3773
+ * import { buildSchema } from 'graphql/utilities';
3774
+ * import { assertInputObjectType } from 'graphql/type';
3775
+ *
3776
+ * const schema = buildSchema(`
3777
+ * input ReviewInput {
3778
+ * stars: Int!
3779
+ * commentary: String = ""
3780
+ * }
3781
+ *
3782
+ * type Query {
3783
+ * reviews(filter: ReviewInput): [String]
3784
+ * }
3785
+ * `);
3786
+ *
3787
+ * const ReviewInput = assertInputObjectType(schema.getType('ReviewInput'));
3788
+ * const fields = ReviewInput.getFields();
3789
+ *
3790
+ * Object.keys(fields); // => ['stars', 'commentary']
3791
+ * fields.commentary.default; // => { literal: { kind: 'StringValue', value: '' } }
3792
+ * ```
3793
+ */
3794
+ getFields(): GraphQLInputFieldMap;
3795
+ /**
3796
+ * Returns a normalized configuration object for this object.
3797
+ * @returns A configuration object that can be used to recreate this object.
3798
+ * @example
3799
+ * ```ts
3800
+ * import {
3801
+ * GraphQLInputObjectType,
3802
+ * GraphQLInt,
3803
+ * GraphQLNonNull,
3804
+ * } from 'graphql/type';
3805
+ *
3806
+ * const ReviewInput = new GraphQLInputObjectType({
3807
+ * name: 'ReviewInput',
3808
+ * fields: {
3809
+ * stars: { type: new GraphQLNonNull(GraphQLInt) },
3810
+ * },
3811
+ * });
3812
+ *
3813
+ * const config = ReviewInput.toConfig();
3814
+ * const ReviewInputCopy = new GraphQLInputObjectType(config);
3815
+ *
3816
+ * String(config.fields.stars.type); // => 'Int!'
3817
+ * String(ReviewInputCopy.getFields().stars.type); // => 'Int!'
3818
+ * ```
3819
+ */
3820
+ toConfig(): GraphQLInputObjectTypeNormalizedConfig;
3821
+ /**
3822
+ * Returns the schema coordinate identifying this input object type.
3823
+ * @returns The schema coordinate for this input object type.
3824
+ * @example
3825
+ * ```ts
3826
+ * import { buildSchema } from 'graphql/utilities';
3827
+ * import { assertInputObjectType } from 'graphql/type';
3828
+ *
3829
+ * const schema = buildSchema(`
3830
+ * input ReviewInput {
3831
+ * stars: Int!
3832
+ * }
3833
+ *
3834
+ * type Query {
3835
+ * reviews(filter: ReviewInput): [String]
3836
+ * }
3837
+ * `);
3838
+ *
3839
+ * const ReviewInput = assertInputObjectType(schema.getType('ReviewInput'));
3840
+ *
3841
+ * ReviewInput.toString(); // => 'ReviewInput'
3842
+ * ```
3843
+ */
3844
+ toString(): string;
3845
+ /**
3846
+ * Returns the JSON representation used when this object is serialized.
3847
+ * @returns The JSON-serializable representation.
3848
+ * @example
3849
+ * ```ts
3850
+ * import { GraphQLInputObjectType, GraphQLString } from 'graphql/type';
3851
+ *
3852
+ * const ReviewInput = new GraphQLInputObjectType({
3853
+ * name: 'ReviewInput',
3854
+ * fields: {
3855
+ * commentary: { type: GraphQLString },
3856
+ * },
3857
+ * });
3858
+ *
3859
+ * ReviewInput.toJSON(); // => 'ReviewInput'
3860
+ * JSON.stringify({ type: ReviewInput }); // => '{"type":"ReviewInput"}'
3861
+ * ```
3862
+ */
3863
+ toJSON(): string;
3864
+ }
3865
+ /** Configuration used to construct a GraphQLInputObjectType. */
3866
+ export interface GraphQLInputObjectTypeConfig {
3867
+ /** The GraphQL name for this schema element. */
3868
+ name: string;
3869
+ /** Human-readable description for this schema element, if provided. */
3870
+ description?: Maybe<string>;
3871
+ /** Fields declared by this object, interface, input object, or literal. */
3872
+ fields: ThunkObjMap<GraphQLInputFieldConfig>;
3873
+ /** Custom extension fields reserved for users. */
3874
+ extensions?: Maybe<Readonly<GraphQLInputObjectTypeExtensions>>;
3875
+ /** AST node from which this schema element was built, if available. */
3876
+ astNode?: Maybe<InputObjectTypeDefinitionNode>;
3877
+ /** AST extension nodes applied to this schema element. */
3878
+ extensionASTNodes?: Maybe<ReadonlyArray<InputObjectTypeExtensionNode>>;
3879
+ /** Whether this input object uses the experimental OneOf input object semantics. */
3880
+ isOneOf?: boolean;
3881
+ }
3882
+ /** @internal */
3883
+ export interface GraphQLInputObjectTypeNormalizedConfig extends GraphQLInputObjectTypeConfig {
3884
+ fields: GraphQLInputFieldNormalizedConfigMap;
3885
+ extensions: Readonly<GraphQLInputObjectTypeExtensions>;
3886
+ extensionASTNodes: ReadonlyArray<InputObjectTypeExtensionNode>;
3887
+ }
3888
+ /**
3889
+ * Custom extensions
3890
+ * @remarks
3891
+ * Use a unique identifier name for your extension, for example the name of
3892
+ * your library or project. Do not use a shortened identifier as this increases
3893
+ * the risk of conflicts. We recommend you add at most one extension field,
3894
+ * an object which can contain all the values you need.
3895
+ */
3896
+ export interface GraphQLInputFieldExtensions {
3897
+ [attributeName: string | symbol]: unknown;
3898
+ }
3899
+ /** Configuration used to define a GraphQL input field. */
3900
+ export interface GraphQLInputFieldConfig {
3901
+ /** Human-readable description for this schema element, if provided. */
3902
+ description?: Maybe<string>;
3903
+ /** The GraphQL type reference or runtime type for this element. */
3904
+ type: GraphQLInputType;
3905
+ /**
3906
+ * Deprecated legacy default value for this input field. Use `default`
3907
+ * instead.
3908
+ * @deprecated use `default` instead, `defaultValue` will be removed in v18
3909
+ */
3910
+ defaultValue?: unknown;
3911
+ /** Default value represented as either a runtime value or a GraphQL literal. */
3912
+ default?: GraphQLDefaultInput | undefined;
3913
+ /** Reason this element is deprecated, if one was provided. */
3914
+ deprecationReason?: Maybe<string>;
3915
+ /** Custom extension fields reserved for users. */
3916
+ extensions?: Maybe<Readonly<GraphQLInputFieldExtensions>>;
3917
+ /** AST node from which this schema element was built, if available. */
3918
+ astNode?: Maybe<InputValueDefinitionNode>;
3919
+ }
3920
+ /** A map of input field names to input field configuration objects. */
3921
+ export type GraphQLInputFieldConfigMap = ObjMap<GraphQLInputFieldConfig>;
3922
+ /** @internal */
3923
+ export interface GraphQLInputFieldNormalizedConfig extends GraphQLInputFieldConfig {
3924
+ default: GraphQLDefaultInput | undefined;
3925
+ extensions: Readonly<GraphQLInputFieldExtensions>;
3926
+ }
3927
+ /** @internal */
3928
+ export type GraphQLInputFieldNormalizedConfigMap = ObjMap<GraphQLInputFieldNormalizedConfig>;
3929
+ /** A resolved GraphQL input field definition. */
3930
+ export declare class GraphQLInputField implements GraphQLSchemaElement {
3931
+ /** Input object type that owns this input field. */
3932
+ parentType: GraphQLInputObjectType;
3933
+ /** The GraphQL name for this schema element. */
3934
+ name: string;
3935
+ /** Human-readable description for this schema element, if provided. */
3936
+ description: Maybe<string>;
3937
+ /** The GraphQL type reference or runtime type for this element. */
3938
+ type: GraphQLInputType;
3939
+ /**
3940
+ * Deprecated legacy default value used when no explicit value is supplied.
3941
+ * Use `default` instead.
3942
+ * @deprecated use `default` instead, `defaultValue` will be removed in v18
3943
+ */
3944
+ defaultValue: unknown;
3945
+ /** Default value represented as either a runtime value or a GraphQL literal. */
3946
+ default: GraphQLDefaultInput | undefined;
3947
+ /** Reason this element is deprecated, if one was provided. */
3948
+ deprecationReason: Maybe<string>;
3949
+ /** Custom extension fields reserved for users. */
3950
+ extensions: Readonly<GraphQLInputFieldExtensions>;
3951
+ /** AST node from which this schema element was built, if available. */
3952
+ astNode: Maybe<InputValueDefinitionNode>;
3953
+ /**
3954
+ * Creates a resolved GraphQL input field definition.
3955
+ * @param parentType - Input object type that owns this field.
3956
+ * @param name - Input field name.
3957
+ * @param config - Input field configuration.
3958
+ * @example
3959
+ * ```ts
3960
+ * import {
3961
+ * GraphQLInputField,
3962
+ * GraphQLInputObjectType,
3963
+ * GraphQLString,
3964
+ * } from 'graphql/type';
3965
+ *
3966
+ * const ReviewInput = new GraphQLInputObjectType({
3967
+ * name: 'ReviewInput',
3968
+ * fields: {},
3969
+ * });
3970
+ * const field = new GraphQLInputField(ReviewInput, 'commentary', {
3971
+ * type: GraphQLString,
3972
+ * default: { value: '' },
3973
+ * });
3974
+ *
3975
+ * field.parentType; // => ReviewInput
3976
+ * field.name; // => 'commentary'
3977
+ * field.default.value; // => ''
3978
+ * ```
3979
+ */
3980
+ constructor(parentType: GraphQLInputObjectType, name: string, config: GraphQLInputFieldConfig);
3981
+ /**
3982
+ * Returns the value used by `Object.prototype.toString`.
3983
+ * @returns The built-in string tag for this object.
3984
+ */
3985
+ get [Symbol.toStringTag](): string;
3986
+ /**
3987
+ * Returns a normalized configuration object for this input field.
3988
+ * @returns A configuration object that can be used to recreate this input field.
3989
+ * @example
3990
+ * ```ts
3991
+ * import {
3992
+ * GraphQLInputField,
3993
+ * GraphQLInputObjectType,
3994
+ * GraphQLString,
3995
+ * } from 'graphql/type';
3996
+ *
3997
+ * const ReviewInput = new GraphQLInputObjectType({
3998
+ * name: 'ReviewInput',
3999
+ * fields: {},
4000
+ * });
4001
+ * const field = new GraphQLInputField(ReviewInput, 'commentary', {
4002
+ * type: GraphQLString,
4003
+ * extensions: { form: 'review' },
4004
+ * });
4005
+ *
4006
+ * field.toConfig().extensions; // => { form: 'review' }
4007
+ * ```
4008
+ */
4009
+ toConfig(): GraphQLInputFieldNormalizedConfig;
4010
+ /**
4011
+ * Returns this input field as a schema coordinate string.
4012
+ * @returns The input field coordinate.
4013
+ * @example
4014
+ * ```ts
4015
+ * import {
4016
+ * GraphQLInputField,
4017
+ * GraphQLInputObjectType,
4018
+ * GraphQLString,
4019
+ * } from 'graphql/type';
4020
+ *
4021
+ * const ReviewInput = new GraphQLInputObjectType({
4022
+ * name: 'ReviewInput',
4023
+ * fields: {},
4024
+ * });
4025
+ * const field = new GraphQLInputField(ReviewInput, 'commentary', {
4026
+ * type: GraphQLString,
4027
+ * });
4028
+ *
4029
+ * field.toString(); // => 'ReviewInput.commentary'
4030
+ * ```
4031
+ */
4032
+ toString(): string;
4033
+ /**
4034
+ * Returns the JSON representation used when this object is serialized.
4035
+ * @returns The input field coordinate.
4036
+ * @example
4037
+ * ```ts
4038
+ * import {
4039
+ * GraphQLInputField,
4040
+ * GraphQLInputObjectType,
4041
+ * GraphQLString,
4042
+ * } from 'graphql/type';
4043
+ *
4044
+ * const ReviewInput = new GraphQLInputObjectType({
4045
+ * name: 'ReviewInput',
4046
+ * fields: {},
4047
+ * });
4048
+ * const field = new GraphQLInputField(ReviewInput, 'commentary', {
4049
+ * type: GraphQLString,
4050
+ * });
4051
+ *
4052
+ * JSON.stringify(field); // => '"ReviewInput.commentary"'
4053
+ * ```
4054
+ */
4055
+ toJSON(): string;
4056
+ }
4057
+ /**
4058
+ * Returns true when the input field is non-null and has no default value.
4059
+ * @param field - The input field definition to inspect.
4060
+ * @returns True when the input field is non-null and has no default value.
4061
+ * @example
4062
+ * ```ts
4063
+ * import {
4064
+ * GraphQLInputField,
4065
+ * GraphQLInputObjectType,
4066
+ * GraphQLInt,
4067
+ * GraphQLNonNull,
4068
+ * GraphQLString,
4069
+ * isRequiredInputField,
4070
+ * } from 'graphql/type';
4071
+ *
4072
+ * const ReviewInput = new GraphQLInputObjectType({
4073
+ * name: 'ReviewInput',
4074
+ * fields: {},
4075
+ * });
4076
+ * const requiredField = new GraphQLInputField(ReviewInput, 'id', {
4077
+ * type: new GraphQLNonNull(GraphQLInt),
4078
+ * });
4079
+ * const optionalField = new GraphQLInputField(ReviewInput, 'name', {
4080
+ * type: GraphQLString,
4081
+ * });
4082
+ * const fieldWithDefault = new GraphQLInputField(ReviewInput, 'limit', {
4083
+ * type: new GraphQLNonNull(GraphQLInt),
4084
+ * default: { value: 10 },
4085
+ * });
4086
+ *
4087
+ * isRequiredInputField(requiredField); // => true
4088
+ * isRequiredInputField(optionalField); // => false
4089
+ * isRequiredInputField(fieldWithDefault); // => false
4090
+ * ```
4091
+ */
4092
+ export declare function isRequiredInputField(field: GraphQLInputField): boolean;
4093
+ /** A map of input field names to resolved input field definitions. */
4094
+ export type GraphQLInputFieldMap = ObjMap<GraphQLInputField>;
4095
+ export {};