graphql 17.0.0-alpha.8 → 17.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -10
- package/__dev__/devMode.d.mts +1 -0
- package/__dev__/devMode.d.ts +1 -0
- package/__dev__/devMode.js +3 -0
- package/__dev__/devMode.mjs +3 -0
- package/__dev__/error/GraphQLError.d.mts +1 -0
- package/__dev__/error/GraphQLError.d.ts +1 -0
- package/__dev__/error/GraphQLError.js +3 -0
- package/__dev__/error/GraphQLError.mjs +3 -0
- package/__dev__/error/ensureGraphQLError.d.mts +1 -0
- package/__dev__/error/ensureGraphQLError.d.ts +1 -0
- package/__dev__/error/ensureGraphQLError.js +3 -0
- package/__dev__/error/ensureGraphQLError.mjs +3 -0
- package/__dev__/error/index.d.mts +1 -0
- package/__dev__/error/index.d.ts +1 -0
- package/__dev__/error/index.js +3 -0
- package/__dev__/error/index.mjs +3 -0
- package/__dev__/error/locatedError.d.mts +1 -0
- package/__dev__/error/locatedError.d.ts +1 -0
- package/__dev__/error/locatedError.js +3 -0
- package/__dev__/error/locatedError.mjs +3 -0
- package/__dev__/error/syntaxError.d.mts +1 -0
- package/__dev__/error/syntaxError.d.ts +1 -0
- package/__dev__/error/syntaxError.js +3 -0
- package/__dev__/error/syntaxError.mjs +3 -0
- package/__dev__/execution/AbortedGraphQLExecutionError.d.mts +1 -0
- package/__dev__/execution/AbortedGraphQLExecutionError.d.ts +1 -0
- package/__dev__/execution/AbortedGraphQLExecutionError.js +3 -0
- package/__dev__/execution/AbortedGraphQLExecutionError.mjs +3 -0
- package/__dev__/execution/AsyncWorkTracker.d.mts +1 -0
- package/__dev__/execution/AsyncWorkTracker.d.ts +1 -0
- package/__dev__/execution/AsyncWorkTracker.js +3 -0
- package/__dev__/execution/AsyncWorkTracker.mjs +3 -0
- package/__dev__/execution/Executor.d.mts +1 -0
- package/__dev__/execution/Executor.d.ts +1 -0
- package/__dev__/execution/Executor.js +3 -0
- package/__dev__/execution/Executor.mjs +3 -0
- package/__dev__/execution/ExecutorThrowingOnIncremental.d.mts +1 -0
- package/__dev__/execution/ExecutorThrowingOnIncremental.d.ts +1 -0
- package/__dev__/execution/ExecutorThrowingOnIncremental.js +3 -0
- package/__dev__/execution/ExecutorThrowingOnIncremental.mjs +3 -0
- package/__dev__/execution/cancellablePromise.d.mts +1 -0
- package/__dev__/execution/cancellablePromise.d.ts +1 -0
- package/__dev__/execution/cancellablePromise.js +3 -0
- package/__dev__/execution/cancellablePromise.mjs +3 -0
- package/__dev__/execution/collectFields.d.mts +1 -0
- package/__dev__/execution/collectFields.d.ts +1 -0
- package/__dev__/execution/collectFields.js +3 -0
- package/__dev__/execution/collectFields.mjs +3 -0
- package/__dev__/execution/collectIteratorPromises.d.mts +1 -0
- package/__dev__/execution/collectIteratorPromises.d.ts +1 -0
- package/__dev__/execution/collectIteratorPromises.js +3 -0
- package/__dev__/execution/collectIteratorPromises.mjs +3 -0
- package/__dev__/execution/createSharedExecutionContext.d.mts +1 -0
- package/__dev__/execution/createSharedExecutionContext.d.ts +1 -0
- package/__dev__/execution/createSharedExecutionContext.js +3 -0
- package/__dev__/execution/createSharedExecutionContext.mjs +3 -0
- package/__dev__/execution/execute.d.mts +1 -0
- package/__dev__/execution/execute.d.ts +1 -0
- package/__dev__/execution/execute.js +3 -0
- package/__dev__/execution/execute.mjs +3 -0
- package/__dev__/execution/getStreamUsage.d.mts +1 -0
- package/__dev__/execution/getStreamUsage.d.ts +1 -0
- package/__dev__/execution/getStreamUsage.js +3 -0
- package/__dev__/execution/getStreamUsage.mjs +3 -0
- package/__dev__/execution/getVariableSignature.d.mts +1 -0
- package/__dev__/execution/getVariableSignature.d.ts +1 -0
- package/__dev__/execution/getVariableSignature.js +3 -0
- package/__dev__/execution/getVariableSignature.mjs +3 -0
- package/__dev__/execution/hooks.d.mts +1 -0
- package/__dev__/execution/hooks.d.ts +1 -0
- package/__dev__/execution/hooks.js +3 -0
- package/__dev__/execution/hooks.mjs +3 -0
- package/__dev__/execution/incremental/Computation.d.mts +1 -0
- package/__dev__/execution/incremental/Computation.d.ts +1 -0
- package/__dev__/execution/incremental/Computation.js +3 -0
- package/__dev__/execution/incremental/Computation.mjs +3 -0
- package/__dev__/execution/incremental/IncrementalExecutor.d.mts +1 -0
- package/__dev__/execution/incremental/IncrementalExecutor.d.ts +1 -0
- package/__dev__/execution/incremental/IncrementalExecutor.js +3 -0
- package/__dev__/execution/incremental/IncrementalExecutor.mjs +3 -0
- package/__dev__/execution/incremental/IncrementalPublisher.d.mts +1 -0
- package/__dev__/execution/incremental/IncrementalPublisher.d.ts +1 -0
- package/__dev__/execution/incremental/IncrementalPublisher.js +3 -0
- package/__dev__/execution/incremental/IncrementalPublisher.mjs +3 -0
- package/__dev__/execution/incremental/Queue.d.mts +1 -0
- package/__dev__/execution/incremental/Queue.d.ts +1 -0
- package/__dev__/execution/incremental/Queue.js +3 -0
- package/__dev__/execution/incremental/Queue.mjs +3 -0
- package/__dev__/execution/incremental/WorkQueue.d.mts +1 -0
- package/__dev__/execution/incremental/WorkQueue.d.ts +1 -0
- package/__dev__/execution/incremental/WorkQueue.js +3 -0
- package/__dev__/execution/incremental/WorkQueue.mjs +3 -0
- package/__dev__/execution/incremental/buildExecutionPlan.d.mts +1 -0
- package/__dev__/execution/incremental/buildExecutionPlan.d.ts +1 -0
- package/__dev__/execution/incremental/buildExecutionPlan.js +3 -0
- package/__dev__/execution/incremental/buildExecutionPlan.mjs +3 -0
- package/__dev__/execution/index.d.mts +1 -0
- package/__dev__/execution/index.d.ts +1 -0
- package/__dev__/execution/index.js +3 -0
- package/__dev__/execution/index.mjs +3 -0
- package/__dev__/execution/mapAsyncIterable.d.mts +1 -0
- package/__dev__/execution/mapAsyncIterable.d.ts +1 -0
- package/__dev__/execution/mapAsyncIterable.js +3 -0
- package/__dev__/execution/mapAsyncIterable.mjs +3 -0
- package/__dev__/execution/returnIteratorCatchingErrors.d.mts +1 -0
- package/__dev__/execution/returnIteratorCatchingErrors.d.ts +1 -0
- package/__dev__/execution/returnIteratorCatchingErrors.js +3 -0
- package/__dev__/execution/returnIteratorCatchingErrors.mjs +3 -0
- package/__dev__/execution/values.d.mts +1 -0
- package/__dev__/execution/values.d.ts +1 -0
- package/__dev__/execution/values.js +3 -0
- package/__dev__/execution/values.mjs +3 -0
- package/__dev__/execution/withConcurrentAbruptClose.d.mts +1 -0
- package/__dev__/execution/withConcurrentAbruptClose.d.ts +1 -0
- package/__dev__/execution/withConcurrentAbruptClose.js +3 -0
- package/__dev__/execution/withConcurrentAbruptClose.mjs +3 -0
- package/__dev__/graphql.d.mts +1 -0
- package/__dev__/graphql.d.ts +1 -0
- package/__dev__/graphql.js +3 -0
- package/__dev__/graphql.mjs +3 -0
- package/__dev__/harness.d.mts +1 -0
- package/__dev__/harness.d.ts +1 -0
- package/__dev__/harness.js +3 -0
- package/__dev__/harness.mjs +3 -0
- package/__dev__/index.d.mts +1 -0
- package/__dev__/index.d.ts +1 -0
- package/__dev__/index.js +3 -0
- package/__dev__/index.mjs +3 -0
- package/__dev__/jsutils/AccumulatorMap.d.mts +1 -0
- package/__dev__/jsutils/AccumulatorMap.d.ts +1 -0
- package/__dev__/jsutils/AccumulatorMap.js +3 -0
- package/__dev__/jsutils/AccumulatorMap.mjs +3 -0
- package/__dev__/jsutils/Maybe.d.mts +1 -0
- package/__dev__/jsutils/Maybe.d.ts +1 -0
- package/__dev__/jsutils/Maybe.js +3 -0
- package/__dev__/jsutils/Maybe.mjs +3 -0
- package/__dev__/jsutils/ObjMap.d.mts +1 -0
- package/__dev__/jsutils/ObjMap.d.ts +1 -0
- package/__dev__/jsutils/ObjMap.js +3 -0
- package/__dev__/jsutils/ObjMap.mjs +3 -0
- package/__dev__/jsutils/Path.d.mts +1 -0
- package/__dev__/jsutils/Path.d.ts +1 -0
- package/__dev__/jsutils/Path.js +3 -0
- package/__dev__/jsutils/Path.mjs +3 -0
- package/__dev__/jsutils/PromiseOrValue.d.mts +1 -0
- package/__dev__/jsutils/PromiseOrValue.d.ts +1 -0
- package/__dev__/jsutils/PromiseOrValue.js +3 -0
- package/__dev__/jsutils/PromiseOrValue.mjs +3 -0
- package/__dev__/jsutils/capitalize.d.mts +1 -0
- package/__dev__/jsutils/capitalize.d.ts +1 -0
- package/__dev__/jsutils/capitalize.js +3 -0
- package/__dev__/jsutils/capitalize.mjs +3 -0
- package/__dev__/jsutils/devAssert.d.mts +1 -0
- package/__dev__/jsutils/devAssert.d.ts +1 -0
- package/__dev__/jsutils/devAssert.js +3 -0
- package/__dev__/jsutils/devAssert.mjs +3 -0
- package/__dev__/jsutils/didYouMean.d.mts +1 -0
- package/__dev__/jsutils/didYouMean.d.ts +1 -0
- package/__dev__/jsutils/didYouMean.js +3 -0
- package/__dev__/jsutils/didYouMean.mjs +3 -0
- package/__dev__/jsutils/formatList.d.mts +1 -0
- package/__dev__/jsutils/formatList.d.ts +1 -0
- package/__dev__/jsutils/formatList.js +3 -0
- package/__dev__/jsutils/formatList.mjs +3 -0
- package/__dev__/jsutils/getBySet.d.mts +1 -0
- package/__dev__/jsutils/getBySet.d.ts +1 -0
- package/__dev__/jsutils/getBySet.js +3 -0
- package/__dev__/jsutils/getBySet.mjs +3 -0
- package/__dev__/jsutils/groupBy.d.mts +1 -0
- package/__dev__/jsutils/groupBy.d.ts +1 -0
- package/__dev__/jsutils/groupBy.js +3 -0
- package/__dev__/jsutils/groupBy.mjs +3 -0
- package/__dev__/jsutils/identityFunc.d.mts +1 -0
- package/__dev__/jsutils/identityFunc.d.ts +1 -0
- package/__dev__/jsutils/identityFunc.js +3 -0
- package/__dev__/jsutils/identityFunc.mjs +3 -0
- package/__dev__/jsutils/inspect.d.mts +1 -0
- package/__dev__/jsutils/inspect.d.ts +1 -0
- package/__dev__/jsutils/inspect.js +3 -0
- package/__dev__/jsutils/inspect.mjs +3 -0
- package/__dev__/jsutils/instanceOf.d.mts +1 -0
- package/__dev__/jsutils/instanceOf.d.ts +1 -0
- package/__dev__/jsutils/instanceOf.js +3 -0
- package/__dev__/jsutils/instanceOf.mjs +3 -0
- package/__dev__/jsutils/invariant.d.mts +1 -0
- package/__dev__/jsutils/invariant.d.ts +1 -0
- package/__dev__/jsutils/invariant.js +3 -0
- package/__dev__/jsutils/invariant.mjs +3 -0
- package/__dev__/jsutils/isAsyncIterable.d.mts +1 -0
- package/__dev__/jsutils/isAsyncIterable.d.ts +1 -0
- package/__dev__/jsutils/isAsyncIterable.js +3 -0
- package/__dev__/jsutils/isAsyncIterable.mjs +3 -0
- package/__dev__/jsutils/isIterableObject.d.mts +1 -0
- package/__dev__/jsutils/isIterableObject.d.ts +1 -0
- package/__dev__/jsutils/isIterableObject.js +3 -0
- package/__dev__/jsutils/isIterableObject.mjs +3 -0
- package/__dev__/jsutils/isObjectLike.d.mts +1 -0
- package/__dev__/jsutils/isObjectLike.d.ts +1 -0
- package/__dev__/jsutils/isObjectLike.js +3 -0
- package/__dev__/jsutils/isObjectLike.mjs +3 -0
- package/__dev__/jsutils/isPromise.d.mts +1 -0
- package/__dev__/jsutils/isPromise.d.ts +1 -0
- package/__dev__/jsutils/isPromise.js +3 -0
- package/__dev__/jsutils/isPromise.mjs +3 -0
- package/__dev__/jsutils/isSameSet.d.mts +1 -0
- package/__dev__/jsutils/isSameSet.d.ts +1 -0
- package/__dev__/jsutils/isSameSet.js +3 -0
- package/__dev__/jsutils/isSameSet.mjs +3 -0
- package/__dev__/jsutils/keyMap.d.mts +1 -0
- package/__dev__/jsutils/keyMap.d.ts +1 -0
- package/__dev__/jsutils/keyMap.js +3 -0
- package/__dev__/jsutils/keyMap.mjs +3 -0
- package/__dev__/jsutils/keyValMap.d.mts +1 -0
- package/__dev__/jsutils/keyValMap.d.ts +1 -0
- package/__dev__/jsutils/keyValMap.js +3 -0
- package/__dev__/jsutils/keyValMap.mjs +3 -0
- package/__dev__/jsutils/mapValue.d.mts +1 -0
- package/__dev__/jsutils/mapValue.d.ts +1 -0
- package/__dev__/jsutils/mapValue.js +3 -0
- package/__dev__/jsutils/mapValue.mjs +3 -0
- package/__dev__/jsutils/memoize1.d.mts +1 -0
- package/__dev__/jsutils/memoize1.d.ts +1 -0
- package/__dev__/jsutils/memoize1.js +3 -0
- package/__dev__/jsutils/memoize1.mjs +3 -0
- package/__dev__/jsutils/memoize2.d.mts +1 -0
- package/__dev__/jsutils/memoize2.d.ts +1 -0
- package/__dev__/jsutils/memoize2.js +3 -0
- package/__dev__/jsutils/memoize2.mjs +3 -0
- package/__dev__/jsutils/memoize3.d.mts +1 -0
- package/__dev__/jsutils/memoize3.d.ts +1 -0
- package/__dev__/jsutils/memoize3.js +3 -0
- package/__dev__/jsutils/memoize3.mjs +3 -0
- package/__dev__/jsutils/naturalCompare.d.mts +1 -0
- package/__dev__/jsutils/naturalCompare.d.ts +1 -0
- package/__dev__/jsutils/naturalCompare.js +3 -0
- package/__dev__/jsutils/naturalCompare.mjs +3 -0
- package/__dev__/jsutils/printPathArray.d.mts +1 -0
- package/__dev__/jsutils/printPathArray.d.ts +1 -0
- package/__dev__/jsutils/printPathArray.js +3 -0
- package/__dev__/jsutils/printPathArray.mjs +3 -0
- package/__dev__/jsutils/promiseForObject.d.mts +1 -0
- package/__dev__/jsutils/promiseForObject.d.ts +1 -0
- package/__dev__/jsutils/promiseForObject.js +3 -0
- package/__dev__/jsutils/promiseForObject.mjs +3 -0
- package/__dev__/jsutils/promiseReduce.d.mts +1 -0
- package/__dev__/jsutils/promiseReduce.d.ts +1 -0
- package/__dev__/jsutils/promiseReduce.js +3 -0
- package/__dev__/jsutils/promiseReduce.mjs +3 -0
- package/__dev__/jsutils/promiseWithResolvers.d.mts +1 -0
- package/__dev__/jsutils/promiseWithResolvers.d.ts +1 -0
- package/__dev__/jsutils/promiseWithResolvers.js +3 -0
- package/__dev__/jsutils/promiseWithResolvers.mjs +3 -0
- package/__dev__/jsutils/suggestionList.d.mts +1 -0
- package/__dev__/jsutils/suggestionList.d.ts +1 -0
- package/__dev__/jsutils/suggestionList.js +3 -0
- package/__dev__/jsutils/suggestionList.mjs +3 -0
- package/__dev__/jsutils/toError.d.mts +1 -0
- package/__dev__/jsutils/toError.d.ts +1 -0
- package/__dev__/jsutils/toError.js +3 -0
- package/__dev__/jsutils/toError.mjs +3 -0
- package/__dev__/jsutils/toObjMap.d.mts +1 -0
- package/__dev__/jsutils/toObjMap.d.ts +1 -0
- package/__dev__/jsutils/toObjMap.js +3 -0
- package/__dev__/jsutils/toObjMap.mjs +3 -0
- package/__dev__/language/KindTypeMap.d.mts +1 -0
- package/__dev__/language/KindTypeMap.d.ts +1 -0
- package/__dev__/language/KindTypeMap.js +3 -0
- package/__dev__/language/KindTypeMap.mjs +3 -0
- package/__dev__/language/ast.d.mts +1 -0
- package/__dev__/language/ast.d.ts +1 -0
- package/__dev__/language/ast.js +3 -0
- package/__dev__/language/ast.mjs +3 -0
- package/__dev__/language/blockString.d.mts +1 -0
- package/__dev__/language/blockString.d.ts +1 -0
- package/__dev__/language/blockString.js +3 -0
- package/__dev__/language/blockString.mjs +3 -0
- package/__dev__/language/characterClasses.d.mts +1 -0
- package/__dev__/language/characterClasses.d.ts +1 -0
- package/__dev__/language/characterClasses.js +3 -0
- package/__dev__/language/characterClasses.mjs +3 -0
- package/__dev__/language/directiveLocation.d.mts +1 -0
- package/__dev__/language/directiveLocation.d.ts +1 -0
- package/__dev__/language/directiveLocation.js +3 -0
- package/__dev__/language/directiveLocation.mjs +3 -0
- package/__dev__/language/index.d.mts +1 -0
- package/__dev__/language/index.d.ts +1 -0
- package/__dev__/language/index.js +3 -0
- package/__dev__/language/index.mjs +3 -0
- package/__dev__/language/kinds.d.mts +1 -0
- package/__dev__/language/kinds.d.ts +1 -0
- package/__dev__/language/kinds.js +3 -0
- package/__dev__/language/kinds.mjs +3 -0
- package/__dev__/language/kinds_.d.mts +1 -0
- package/__dev__/language/kinds_.d.ts +1 -0
- package/__dev__/language/kinds_.js +3 -0
- package/__dev__/language/kinds_.mjs +3 -0
- package/__dev__/language/lexer.d.mts +1 -0
- package/__dev__/language/lexer.d.ts +1 -0
- package/__dev__/language/lexer.js +3 -0
- package/__dev__/language/lexer.mjs +3 -0
- package/__dev__/language/location.d.mts +1 -0
- package/__dev__/language/location.d.ts +1 -0
- package/__dev__/language/location.js +3 -0
- package/__dev__/language/location.mjs +3 -0
- package/__dev__/language/parser.d.mts +1 -0
- package/__dev__/language/parser.d.ts +1 -0
- package/__dev__/language/parser.js +3 -0
- package/__dev__/language/parser.mjs +3 -0
- package/__dev__/language/predicates.d.mts +1 -0
- package/__dev__/language/predicates.d.ts +1 -0
- package/__dev__/language/predicates.js +3 -0
- package/__dev__/language/predicates.mjs +3 -0
- package/__dev__/language/printLocation.d.mts +1 -0
- package/__dev__/language/printLocation.d.ts +1 -0
- package/__dev__/language/printLocation.js +3 -0
- package/__dev__/language/printLocation.mjs +3 -0
- package/__dev__/language/printString.d.mts +1 -0
- package/__dev__/language/printString.d.ts +1 -0
- package/__dev__/language/printString.js +3 -0
- package/__dev__/language/printString.mjs +3 -0
- package/__dev__/language/printer.d.mts +1 -0
- package/__dev__/language/printer.d.ts +1 -0
- package/__dev__/language/printer.js +3 -0
- package/__dev__/language/printer.mjs +3 -0
- package/__dev__/language/schemaCoordinateLexer.d.mts +1 -0
- package/__dev__/language/schemaCoordinateLexer.d.ts +1 -0
- package/__dev__/language/schemaCoordinateLexer.js +3 -0
- package/__dev__/language/schemaCoordinateLexer.mjs +3 -0
- package/__dev__/language/source.d.mts +1 -0
- package/__dev__/language/source.d.ts +1 -0
- package/__dev__/language/source.js +3 -0
- package/__dev__/language/source.mjs +3 -0
- package/__dev__/language/tokenKind.d.mts +1 -0
- package/__dev__/language/tokenKind.d.ts +1 -0
- package/__dev__/language/tokenKind.js +3 -0
- package/__dev__/language/tokenKind.mjs +3 -0
- package/__dev__/language/visitor.d.mts +1 -0
- package/__dev__/language/visitor.d.ts +1 -0
- package/__dev__/language/visitor.js +3 -0
- package/__dev__/language/visitor.mjs +3 -0
- package/__dev__/type/assertName.d.mts +1 -0
- package/__dev__/type/assertName.d.ts +1 -0
- package/__dev__/type/assertName.js +3 -0
- package/__dev__/type/assertName.mjs +3 -0
- package/__dev__/type/definition.d.mts +1 -0
- package/__dev__/type/definition.d.ts +1 -0
- package/__dev__/type/definition.js +3 -0
- package/__dev__/type/definition.mjs +3 -0
- package/__dev__/type/directives.d.mts +1 -0
- package/__dev__/type/directives.d.ts +1 -0
- package/__dev__/type/directives.js +3 -0
- package/__dev__/type/directives.mjs +3 -0
- package/__dev__/type/index.d.mts +1 -0
- package/__dev__/type/index.d.ts +1 -0
- package/__dev__/type/index.js +3 -0
- package/__dev__/type/index.mjs +3 -0
- package/__dev__/type/introspection.d.mts +1 -0
- package/__dev__/type/introspection.d.ts +1 -0
- package/__dev__/type/introspection.js +3 -0
- package/__dev__/type/introspection.mjs +3 -0
- package/__dev__/type/scalars.d.mts +1 -0
- package/__dev__/type/scalars.d.ts +1 -0
- package/__dev__/type/scalars.js +3 -0
- package/__dev__/type/scalars.mjs +3 -0
- package/__dev__/type/schema.d.mts +1 -0
- package/__dev__/type/schema.d.ts +1 -0
- package/__dev__/type/schema.js +3 -0
- package/__dev__/type/schema.mjs +3 -0
- package/__dev__/type/validate.d.mts +1 -0
- package/__dev__/type/validate.d.ts +1 -0
- package/__dev__/type/validate.js +3 -0
- package/__dev__/type/validate.mjs +3 -0
- package/__dev__/utilities/TypeInfo.d.mts +1 -0
- package/__dev__/utilities/TypeInfo.d.ts +1 -0
- package/__dev__/utilities/TypeInfo.js +3 -0
- package/__dev__/utilities/TypeInfo.mjs +3 -0
- package/__dev__/utilities/astFromValue.d.mts +1 -0
- package/__dev__/utilities/astFromValue.d.ts +1 -0
- package/__dev__/utilities/astFromValue.js +3 -0
- package/__dev__/utilities/astFromValue.mjs +3 -0
- package/__dev__/utilities/buildASTSchema.d.mts +1 -0
- package/__dev__/utilities/buildASTSchema.d.ts +1 -0
- package/__dev__/utilities/buildASTSchema.js +3 -0
- package/__dev__/utilities/buildASTSchema.mjs +3 -0
- package/__dev__/utilities/buildClientSchema.d.mts +1 -0
- package/__dev__/utilities/buildClientSchema.d.ts +1 -0
- package/__dev__/utilities/buildClientSchema.js +3 -0
- package/__dev__/utilities/buildClientSchema.mjs +3 -0
- package/__dev__/utilities/coerceInputValue.d.mts +1 -0
- package/__dev__/utilities/coerceInputValue.d.ts +1 -0
- package/__dev__/utilities/coerceInputValue.js +3 -0
- package/__dev__/utilities/coerceInputValue.mjs +3 -0
- package/__dev__/utilities/concatAST.d.mts +1 -0
- package/__dev__/utilities/concatAST.d.ts +1 -0
- package/__dev__/utilities/concatAST.js +3 -0
- package/__dev__/utilities/concatAST.mjs +3 -0
- package/__dev__/utilities/extendSchema.d.mts +1 -0
- package/__dev__/utilities/extendSchema.d.ts +1 -0
- package/__dev__/utilities/extendSchema.js +3 -0
- package/__dev__/utilities/extendSchema.mjs +3 -0
- package/__dev__/utilities/findSchemaChanges.d.mts +1 -0
- package/__dev__/utilities/findSchemaChanges.d.ts +1 -0
- package/__dev__/utilities/findSchemaChanges.js +3 -0
- package/__dev__/utilities/findSchemaChanges.mjs +3 -0
- package/__dev__/utilities/getDefaultValueAST.d.mts +1 -0
- package/__dev__/utilities/getDefaultValueAST.d.ts +1 -0
- package/__dev__/utilities/getDefaultValueAST.js +3 -0
- package/__dev__/utilities/getDefaultValueAST.mjs +3 -0
- package/__dev__/utilities/getIntrospectionQuery.d.mts +1 -0
- package/__dev__/utilities/getIntrospectionQuery.d.ts +1 -0
- package/__dev__/utilities/getIntrospectionQuery.js +3 -0
- package/__dev__/utilities/getIntrospectionQuery.mjs +3 -0
- package/__dev__/utilities/getOperationAST.d.mts +1 -0
- package/__dev__/utilities/getOperationAST.d.ts +1 -0
- package/__dev__/utilities/getOperationAST.js +3 -0
- package/__dev__/utilities/getOperationAST.mjs +3 -0
- package/__dev__/utilities/index.d.mts +1 -0
- package/__dev__/utilities/index.d.ts +1 -0
- package/__dev__/utilities/index.js +3 -0
- package/__dev__/utilities/index.mjs +3 -0
- package/__dev__/utilities/introspectionFromSchema.d.mts +1 -0
- package/__dev__/utilities/introspectionFromSchema.d.ts +1 -0
- package/__dev__/utilities/introspectionFromSchema.js +3 -0
- package/__dev__/utilities/introspectionFromSchema.mjs +3 -0
- package/__dev__/utilities/lexicographicSortSchema.d.mts +1 -0
- package/__dev__/utilities/lexicographicSortSchema.d.ts +1 -0
- package/__dev__/utilities/lexicographicSortSchema.js +3 -0
- package/__dev__/utilities/lexicographicSortSchema.mjs +3 -0
- package/__dev__/utilities/mapSchemaConfig.d.mts +1 -0
- package/__dev__/utilities/mapSchemaConfig.d.ts +1 -0
- package/__dev__/utilities/mapSchemaConfig.js +3 -0
- package/__dev__/utilities/mapSchemaConfig.mjs +3 -0
- package/__dev__/utilities/printSchema.d.mts +1 -0
- package/__dev__/utilities/printSchema.d.ts +1 -0
- package/__dev__/utilities/printSchema.js +3 -0
- package/__dev__/utilities/printSchema.mjs +3 -0
- package/__dev__/utilities/replaceVariables.d.mts +1 -0
- package/__dev__/utilities/replaceVariables.d.ts +1 -0
- package/__dev__/utilities/replaceVariables.js +3 -0
- package/__dev__/utilities/replaceVariables.mjs +3 -0
- package/__dev__/utilities/resolveSchemaCoordinate.d.mts +1 -0
- package/__dev__/utilities/resolveSchemaCoordinate.d.ts +1 -0
- package/__dev__/utilities/resolveSchemaCoordinate.js +3 -0
- package/__dev__/utilities/resolveSchemaCoordinate.mjs +3 -0
- package/__dev__/utilities/separateOperations.d.mts +1 -0
- package/__dev__/utilities/separateOperations.d.ts +1 -0
- package/__dev__/utilities/separateOperations.js +3 -0
- package/__dev__/utilities/separateOperations.mjs +3 -0
- package/__dev__/utilities/sortValueNode.d.mts +1 -0
- package/__dev__/utilities/sortValueNode.d.ts +1 -0
- package/__dev__/utilities/sortValueNode.js +3 -0
- package/__dev__/utilities/sortValueNode.mjs +3 -0
- package/__dev__/utilities/stripIgnoredCharacters.d.mts +1 -0
- package/__dev__/utilities/stripIgnoredCharacters.d.ts +1 -0
- package/__dev__/utilities/stripIgnoredCharacters.js +3 -0
- package/__dev__/utilities/stripIgnoredCharacters.mjs +3 -0
- package/__dev__/utilities/typeComparators.d.mts +1 -0
- package/__dev__/utilities/typeComparators.d.ts +1 -0
- package/__dev__/utilities/typeComparators.js +3 -0
- package/__dev__/utilities/typeComparators.mjs +3 -0
- package/__dev__/utilities/typeFromAST.d.mts +1 -0
- package/__dev__/utilities/typeFromAST.d.ts +1 -0
- package/__dev__/utilities/typeFromAST.js +3 -0
- package/__dev__/utilities/typeFromAST.mjs +3 -0
- package/__dev__/utilities/typedQueryDocumentNode.d.mts +1 -0
- package/__dev__/utilities/typedQueryDocumentNode.d.ts +1 -0
- package/__dev__/utilities/typedQueryDocumentNode.js +3 -0
- package/__dev__/utilities/typedQueryDocumentNode.mjs +3 -0
- package/__dev__/utilities/validateInputValue.d.mts +1 -0
- package/__dev__/utilities/validateInputValue.d.ts +1 -0
- package/__dev__/utilities/validateInputValue.js +3 -0
- package/__dev__/utilities/validateInputValue.mjs +3 -0
- package/__dev__/utilities/valueFromAST.d.mts +1 -0
- package/__dev__/utilities/valueFromAST.d.ts +1 -0
- package/__dev__/utilities/valueFromAST.js +3 -0
- package/__dev__/utilities/valueFromAST.mjs +3 -0
- package/__dev__/utilities/valueFromASTUntyped.d.mts +1 -0
- package/__dev__/utilities/valueFromASTUntyped.d.ts +1 -0
- package/__dev__/utilities/valueFromASTUntyped.js +3 -0
- package/__dev__/utilities/valueFromASTUntyped.mjs +3 -0
- package/__dev__/utilities/valueToLiteral.d.mts +1 -0
- package/__dev__/utilities/valueToLiteral.d.ts +1 -0
- package/__dev__/utilities/valueToLiteral.js +3 -0
- package/__dev__/utilities/valueToLiteral.mjs +3 -0
- package/__dev__/validation/ValidationContext.d.mts +1 -0
- package/__dev__/validation/ValidationContext.d.ts +1 -0
- package/__dev__/validation/ValidationContext.js +3 -0
- package/__dev__/validation/ValidationContext.mjs +3 -0
- package/__dev__/validation/index.d.mts +1 -0
- package/__dev__/validation/index.d.ts +1 -0
- package/__dev__/validation/index.js +3 -0
- package/__dev__/validation/index.mjs +3 -0
- package/__dev__/validation/rules/DeferStreamDirectiveLabelRule.d.mts +1 -0
- package/__dev__/validation/rules/DeferStreamDirectiveLabelRule.d.ts +1 -0
- package/__dev__/validation/rules/DeferStreamDirectiveLabelRule.js +3 -0
- package/__dev__/validation/rules/DeferStreamDirectiveLabelRule.mjs +3 -0
- package/__dev__/validation/rules/DeferStreamDirectiveOnRootFieldRule.d.mts +1 -0
- package/__dev__/validation/rules/DeferStreamDirectiveOnRootFieldRule.d.ts +1 -0
- package/__dev__/validation/rules/DeferStreamDirectiveOnRootFieldRule.js +3 -0
- package/__dev__/validation/rules/DeferStreamDirectiveOnRootFieldRule.mjs +3 -0
- package/__dev__/validation/rules/DeferStreamDirectiveOnValidOperationsRule.d.mts +1 -0
- package/__dev__/validation/rules/DeferStreamDirectiveOnValidOperationsRule.d.ts +1 -0
- package/__dev__/validation/rules/DeferStreamDirectiveOnValidOperationsRule.js +3 -0
- package/__dev__/validation/rules/DeferStreamDirectiveOnValidOperationsRule.mjs +3 -0
- package/__dev__/validation/rules/ExecutableDefinitionsRule.d.mts +1 -0
- package/__dev__/validation/rules/ExecutableDefinitionsRule.d.ts +1 -0
- package/__dev__/validation/rules/ExecutableDefinitionsRule.js +3 -0
- package/__dev__/validation/rules/ExecutableDefinitionsRule.mjs +3 -0
- package/__dev__/validation/rules/FieldsOnCorrectTypeRule.d.mts +1 -0
- package/__dev__/validation/rules/FieldsOnCorrectTypeRule.d.ts +1 -0
- package/__dev__/validation/rules/FieldsOnCorrectTypeRule.js +3 -0
- package/__dev__/validation/rules/FieldsOnCorrectTypeRule.mjs +3 -0
- package/__dev__/validation/rules/FragmentsOnCompositeTypesRule.d.mts +1 -0
- package/__dev__/validation/rules/FragmentsOnCompositeTypesRule.d.ts +1 -0
- package/__dev__/validation/rules/FragmentsOnCompositeTypesRule.js +3 -0
- package/__dev__/validation/rules/FragmentsOnCompositeTypesRule.mjs +3 -0
- package/__dev__/validation/rules/KnownArgumentNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/KnownArgumentNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/KnownArgumentNamesRule.js +3 -0
- package/__dev__/validation/rules/KnownArgumentNamesRule.mjs +3 -0
- package/__dev__/validation/rules/KnownDirectivesRule.d.mts +1 -0
- package/__dev__/validation/rules/KnownDirectivesRule.d.ts +1 -0
- package/__dev__/validation/rules/KnownDirectivesRule.js +3 -0
- package/__dev__/validation/rules/KnownDirectivesRule.mjs +3 -0
- package/__dev__/validation/rules/KnownFragmentNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/KnownFragmentNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/KnownFragmentNamesRule.js +3 -0
- package/__dev__/validation/rules/KnownFragmentNamesRule.mjs +3 -0
- package/__dev__/validation/rules/KnownOperationTypesRule.d.mts +1 -0
- package/__dev__/validation/rules/KnownOperationTypesRule.d.ts +1 -0
- package/__dev__/validation/rules/KnownOperationTypesRule.js +3 -0
- package/__dev__/validation/rules/KnownOperationTypesRule.mjs +3 -0
- package/__dev__/validation/rules/KnownTypeNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/KnownTypeNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/KnownTypeNamesRule.js +3 -0
- package/__dev__/validation/rules/KnownTypeNamesRule.mjs +3 -0
- package/__dev__/validation/rules/LoneAnonymousOperationRule.d.mts +1 -0
- package/__dev__/validation/rules/LoneAnonymousOperationRule.d.ts +1 -0
- package/__dev__/validation/rules/LoneAnonymousOperationRule.js +3 -0
- package/__dev__/validation/rules/LoneAnonymousOperationRule.mjs +3 -0
- package/__dev__/validation/rules/LoneSchemaDefinitionRule.d.mts +1 -0
- package/__dev__/validation/rules/LoneSchemaDefinitionRule.d.ts +1 -0
- package/__dev__/validation/rules/LoneSchemaDefinitionRule.js +3 -0
- package/__dev__/validation/rules/LoneSchemaDefinitionRule.mjs +3 -0
- package/__dev__/validation/rules/MaxIntrospectionDepthRule.d.mts +1 -0
- package/__dev__/validation/rules/MaxIntrospectionDepthRule.d.ts +1 -0
- package/__dev__/validation/rules/MaxIntrospectionDepthRule.js +3 -0
- package/__dev__/validation/rules/MaxIntrospectionDepthRule.mjs +3 -0
- package/__dev__/validation/rules/NoFragmentCyclesRule.d.mts +1 -0
- package/__dev__/validation/rules/NoFragmentCyclesRule.d.ts +1 -0
- package/__dev__/validation/rules/NoFragmentCyclesRule.js +3 -0
- package/__dev__/validation/rules/NoFragmentCyclesRule.mjs +3 -0
- package/__dev__/validation/rules/NoUndefinedVariablesRule.d.mts +1 -0
- package/__dev__/validation/rules/NoUndefinedVariablesRule.d.ts +1 -0
- package/__dev__/validation/rules/NoUndefinedVariablesRule.js +3 -0
- package/__dev__/validation/rules/NoUndefinedVariablesRule.mjs +3 -0
- package/__dev__/validation/rules/NoUnusedFragmentsRule.d.mts +1 -0
- package/__dev__/validation/rules/NoUnusedFragmentsRule.d.ts +1 -0
- package/__dev__/validation/rules/NoUnusedFragmentsRule.js +3 -0
- package/__dev__/validation/rules/NoUnusedFragmentsRule.mjs +3 -0
- package/__dev__/validation/rules/NoUnusedVariablesRule.d.mts +1 -0
- package/__dev__/validation/rules/NoUnusedVariablesRule.d.ts +1 -0
- package/__dev__/validation/rules/NoUnusedVariablesRule.js +3 -0
- package/__dev__/validation/rules/NoUnusedVariablesRule.mjs +3 -0
- package/__dev__/validation/rules/OverlappingFieldsCanBeMergedRule.d.mts +1 -0
- package/__dev__/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts +1 -0
- package/__dev__/validation/rules/OverlappingFieldsCanBeMergedRule.js +3 -0
- package/__dev__/validation/rules/OverlappingFieldsCanBeMergedRule.mjs +3 -0
- package/__dev__/validation/rules/PossibleFragmentSpreadsRule.d.mts +1 -0
- package/__dev__/validation/rules/PossibleFragmentSpreadsRule.d.ts +1 -0
- package/__dev__/validation/rules/PossibleFragmentSpreadsRule.js +3 -0
- package/__dev__/validation/rules/PossibleFragmentSpreadsRule.mjs +3 -0
- package/__dev__/validation/rules/PossibleTypeExtensionsRule.d.mts +1 -0
- package/__dev__/validation/rules/PossibleTypeExtensionsRule.d.ts +1 -0
- package/__dev__/validation/rules/PossibleTypeExtensionsRule.js +3 -0
- package/__dev__/validation/rules/PossibleTypeExtensionsRule.mjs +3 -0
- package/__dev__/validation/rules/ProvidedRequiredArgumentsRule.d.mts +1 -0
- package/__dev__/validation/rules/ProvidedRequiredArgumentsRule.d.ts +1 -0
- package/__dev__/validation/rules/ProvidedRequiredArgumentsRule.js +3 -0
- package/__dev__/validation/rules/ProvidedRequiredArgumentsRule.mjs +3 -0
- package/__dev__/validation/rules/ScalarLeafsRule.d.mts +1 -0
- package/__dev__/validation/rules/ScalarLeafsRule.d.ts +1 -0
- package/__dev__/validation/rules/ScalarLeafsRule.js +3 -0
- package/__dev__/validation/rules/ScalarLeafsRule.mjs +3 -0
- package/__dev__/validation/rules/SingleFieldSubscriptionsRule.d.mts +1 -0
- package/__dev__/validation/rules/SingleFieldSubscriptionsRule.d.ts +1 -0
- package/__dev__/validation/rules/SingleFieldSubscriptionsRule.js +3 -0
- package/__dev__/validation/rules/SingleFieldSubscriptionsRule.mjs +3 -0
- package/__dev__/validation/rules/StreamDirectiveOnListFieldRule.d.mts +1 -0
- package/__dev__/validation/rules/StreamDirectiveOnListFieldRule.d.ts +1 -0
- package/__dev__/validation/rules/StreamDirectiveOnListFieldRule.js +3 -0
- package/__dev__/validation/rules/StreamDirectiveOnListFieldRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueArgumentDefinitionNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueArgumentDefinitionNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueArgumentDefinitionNamesRule.js +3 -0
- package/__dev__/validation/rules/UniqueArgumentDefinitionNamesRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueArgumentNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueArgumentNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueArgumentNamesRule.js +3 -0
- package/__dev__/validation/rules/UniqueArgumentNamesRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueDirectiveNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueDirectiveNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueDirectiveNamesRule.js +3 -0
- package/__dev__/validation/rules/UniqueDirectiveNamesRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueDirectivesPerLocationRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueDirectivesPerLocationRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueDirectivesPerLocationRule.js +3 -0
- package/__dev__/validation/rules/UniqueDirectivesPerLocationRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueEnumValueNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueEnumValueNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueEnumValueNamesRule.js +3 -0
- package/__dev__/validation/rules/UniqueEnumValueNamesRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueFieldDefinitionNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueFieldDefinitionNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueFieldDefinitionNamesRule.js +3 -0
- package/__dev__/validation/rules/UniqueFieldDefinitionNamesRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueFragmentNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueFragmentNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueFragmentNamesRule.js +3 -0
- package/__dev__/validation/rules/UniqueFragmentNamesRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueInputFieldNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueInputFieldNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueInputFieldNamesRule.js +3 -0
- package/__dev__/validation/rules/UniqueInputFieldNamesRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueOperationNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueOperationNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueOperationNamesRule.js +3 -0
- package/__dev__/validation/rules/UniqueOperationNamesRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueOperationTypesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueOperationTypesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueOperationTypesRule.js +3 -0
- package/__dev__/validation/rules/UniqueOperationTypesRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueTypeNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueTypeNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueTypeNamesRule.js +3 -0
- package/__dev__/validation/rules/UniqueTypeNamesRule.mjs +3 -0
- package/__dev__/validation/rules/UniqueVariableNamesRule.d.mts +1 -0
- package/__dev__/validation/rules/UniqueVariableNamesRule.d.ts +1 -0
- package/__dev__/validation/rules/UniqueVariableNamesRule.js +3 -0
- package/__dev__/validation/rules/UniqueVariableNamesRule.mjs +3 -0
- package/__dev__/validation/rules/ValuesOfCorrectTypeRule.d.mts +1 -0
- package/__dev__/validation/rules/ValuesOfCorrectTypeRule.d.ts +1 -0
- package/__dev__/validation/rules/ValuesOfCorrectTypeRule.js +3 -0
- package/__dev__/validation/rules/ValuesOfCorrectTypeRule.mjs +3 -0
- package/__dev__/validation/rules/VariablesAreInputTypesRule.d.mts +1 -0
- package/__dev__/validation/rules/VariablesAreInputTypesRule.d.ts +1 -0
- package/__dev__/validation/rules/VariablesAreInputTypesRule.js +3 -0
- package/__dev__/validation/rules/VariablesAreInputTypesRule.mjs +3 -0
- package/__dev__/validation/rules/VariablesInAllowedPositionRule.d.mts +1 -0
- package/__dev__/validation/rules/VariablesInAllowedPositionRule.d.ts +1 -0
- package/__dev__/validation/rules/VariablesInAllowedPositionRule.js +3 -0
- package/__dev__/validation/rules/VariablesInAllowedPositionRule.mjs +3 -0
- package/__dev__/validation/rules/custom/NoDeprecatedCustomRule.d.mts +1 -0
- package/__dev__/validation/rules/custom/NoDeprecatedCustomRule.d.ts +1 -0
- package/__dev__/validation/rules/custom/NoDeprecatedCustomRule.js +3 -0
- package/__dev__/validation/rules/custom/NoDeprecatedCustomRule.mjs +3 -0
- package/__dev__/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.mts +1 -0
- package/__dev__/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts +1 -0
- package/__dev__/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +3 -0
- package/__dev__/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs +3 -0
- package/__dev__/validation/specifiedRules.d.mts +1 -0
- package/__dev__/validation/specifiedRules.d.ts +1 -0
- package/__dev__/validation/specifiedRules.js +3 -0
- package/__dev__/validation/specifiedRules.mjs +3 -0
- package/__dev__/validation/validate.d.mts +1 -0
- package/__dev__/validation/validate.d.ts +1 -0
- package/__dev__/validation/validate.js +3 -0
- package/__dev__/validation/validate.mjs +3 -0
- package/__dev__/version.d.mts +1 -0
- package/__dev__/version.d.ts +1 -0
- package/__dev__/version.js +3 -0
- package/__dev__/version.mjs +3 -0
- package/devMode.d.mts +2 -0
- package/devMode.d.ts +2 -0
- package/devMode.js +14 -0
- package/devMode.js.map +1 -0
- package/devMode.mjs +10 -0
- package/devMode.mjs.map +1 -0
- package/error/GraphQLError.d.mts +120 -0
- package/error/ensureGraphQLError.d.mts +5 -0
- package/error/ensureGraphQLError.d.ts +5 -0
- package/error/ensureGraphQLError.js +16 -0
- package/error/ensureGraphQLError.js.map +1 -0
- package/error/ensureGraphQLError.mjs +13 -0
- package/error/ensureGraphQLError.mjs.map +1 -0
- package/error/index.d.mts +4 -0
- package/error/locatedError.d.mts +9 -0
- package/error/syntaxError.d.mts +7 -0
- package/execution/AbortedGraphQLExecutionError.d.mts +6 -0
- package/execution/AbortedGraphQLExecutionError.d.ts +6 -0
- package/execution/AbortedGraphQLExecutionError.js +27 -0
- package/execution/AbortedGraphQLExecutionError.js.map +1 -0
- package/execution/AbortedGraphQLExecutionError.mjs +23 -0
- package/execution/AbortedGraphQLExecutionError.mjs.map +1 -0
- package/execution/AsyncWorkTracker.d.mts +10 -0
- package/execution/AsyncWorkTracker.d.ts +10 -0
- package/execution/AsyncWorkTracker.js +49 -0
- package/execution/AsyncWorkTracker.js.map +1 -0
- package/execution/AsyncWorkTracker.mjs +45 -0
- package/execution/AsyncWorkTracker.mjs.map +1 -0
- package/execution/Executor.d.mts +212 -0
- package/execution/Executor.d.ts +212 -0
- package/execution/Executor.js +655 -0
- package/execution/Executor.js.map +1 -0
- package/execution/Executor.mjs +651 -0
- package/execution/Executor.mjs.map +1 -0
- package/execution/ExecutorThrowingOnIncremental.d.mts +12 -0
- package/execution/ExecutorThrowingOnIncremental.d.ts +12 -0
- package/execution/ExecutorThrowingOnIncremental.js +47 -0
- package/execution/ExecutorThrowingOnIncremental.js.map +1 -0
- package/execution/ExecutorThrowingOnIncremental.mjs +43 -0
- package/execution/ExecutorThrowingOnIncremental.mjs.map +1 -0
- package/execution/cancellablePromise.d.mts +6 -0
- package/execution/cancellablePromise.d.ts +6 -0
- package/execution/cancellablePromise.js +49 -0
- package/execution/cancellablePromise.js.map +1 -0
- package/execution/cancellablePromise.mjs +45 -0
- package/execution/cancellablePromise.mjs.map +1 -0
- package/execution/collectFields.d.mts +59 -0
- package/execution/collectFields.d.ts +15 -4
- package/execution/collectFields.js +57 -22
- package/execution/collectFields.js.map +1 -1
- package/execution/collectFields.mjs +58 -23
- package/execution/collectFields.mjs.map +1 -1
- package/execution/collectIteratorPromises.d.mts +5 -0
- package/execution/collectIteratorPromises.d.ts +5 -0
- package/execution/collectIteratorPromises.js +27 -0
- package/execution/collectIteratorPromises.js.map +1 -0
- package/execution/collectIteratorPromises.mjs +24 -0
- package/execution/collectIteratorPromises.mjs.map +1 -0
- package/execution/createSharedExecutionContext.d.mts +10 -0
- package/execution/createSharedExecutionContext.d.ts +10 -0
- package/execution/createSharedExecutionContext.js +20 -0
- package/execution/createSharedExecutionContext.js.map +1 -0
- package/execution/createSharedExecutionContext.mjs +17 -0
- package/execution/createSharedExecutionContext.mjs.map +1 -0
- package/execution/execute.d.mts +180 -0
- package/execution/execute.d.ts +73 -118
- package/execution/execute.js +218 -1121
- package/execution/execute.js.map +1 -1
- package/execution/execute.mjs +213 -1119
- package/execution/execute.mjs.map +1 -1
- package/execution/getStreamUsage.d.mts +13 -0
- package/execution/getStreamUsage.d.ts +13 -0
- package/execution/getStreamUsage.js +41 -0
- package/execution/getStreamUsage.js.map +1 -0
- package/execution/getStreamUsage.mjs +38 -0
- package/execution/getStreamUsage.mjs.map +1 -0
- package/execution/getVariableSignature.d.mts +18 -0
- package/execution/hooks.d.mts +9 -0
- package/execution/hooks.d.ts +9 -0
- package/execution/hooks.js +24 -0
- package/execution/hooks.js.map +1 -0
- package/execution/hooks.mjs +21 -0
- package/execution/hooks.mjs.map +1 -0
- package/execution/incremental/Computation.d.mts +22 -0
- package/execution/incremental/Computation.d.ts +22 -0
- package/execution/incremental/Computation.js +68 -0
- package/execution/incremental/Computation.js.map +1 -0
- package/execution/incremental/Computation.mjs +64 -0
- package/execution/incremental/Computation.mjs.map +1 -0
- package/execution/incremental/IncrementalExecutor.d.mts +182 -0
- package/execution/incremental/IncrementalExecutor.d.ts +182 -0
- package/execution/incremental/IncrementalExecutor.js +390 -0
- package/execution/incremental/IncrementalExecutor.js.map +1 -0
- package/execution/incremental/IncrementalExecutor.mjs +386 -0
- package/execution/incremental/IncrementalExecutor.mjs.map +1 -0
- package/execution/incremental/IncrementalPublisher.d.mts +17 -0
- package/execution/incremental/IncrementalPublisher.d.ts +17 -0
- package/execution/incremental/IncrementalPublisher.js +201 -0
- package/execution/incremental/IncrementalPublisher.js.map +1 -0
- package/execution/incremental/IncrementalPublisher.mjs +197 -0
- package/execution/incremental/IncrementalPublisher.mjs.map +1 -0
- package/execution/incremental/Queue.d.mts +86 -0
- package/execution/incremental/Queue.d.ts +86 -0
- package/execution/incremental/Queue.js +330 -0
- package/execution/incremental/Queue.js.map +1 -0
- package/execution/incremental/Queue.mjs +325 -0
- package/execution/incremental/Queue.mjs.map +1 -0
- package/execution/incremental/WorkQueue.d.mts +67 -0
- package/execution/incremental/WorkQueue.d.ts +67 -0
- package/execution/incremental/WorkQueue.js +396 -0
- package/execution/incremental/WorkQueue.js.map +1 -0
- package/execution/incremental/WorkQueue.mjs +393 -0
- package/execution/incremental/WorkQueue.mjs.map +1 -0
- package/execution/incremental/buildExecutionPlan.d.mts +7 -0
- package/execution/{buildExecutionPlan.d.ts → incremental/buildExecutionPlan.d.ts} +1 -1
- package/execution/{buildExecutionPlan.js → incremental/buildExecutionPlan.js} +2 -2
- package/execution/incremental/buildExecutionPlan.js.map +1 -0
- package/execution/{buildExecutionPlan.mjs → incremental/buildExecutionPlan.mjs} +2 -2
- package/execution/incremental/buildExecutionPlan.mjs.map +1 -0
- package/execution/index.d.mts +8 -0
- package/execution/index.d.ts +6 -3
- package/execution/index.js +8 -4
- package/execution/index.js.map +1 -1
- package/execution/index.mjs +2 -1
- package/execution/index.mjs.map +1 -1
- package/execution/mapAsyncIterable.d.mts +6 -0
- package/execution/mapAsyncIterable.d.ts +1 -1
- package/execution/mapAsyncIterable.js +28 -51
- package/execution/mapAsyncIterable.js.map +1 -1
- package/execution/mapAsyncIterable.mjs +28 -51
- package/execution/mapAsyncIterable.mjs.map +1 -1
- package/execution/returnIteratorCatchingErrors.d.mts +1 -0
- package/execution/returnIteratorCatchingErrors.d.ts +1 -0
- package/execution/returnIteratorCatchingErrors.js +12 -0
- package/execution/returnIteratorCatchingErrors.js.map +1 -0
- package/execution/returnIteratorCatchingErrors.mjs +9 -0
- package/execution/returnIteratorCatchingErrors.mjs.map +1 -0
- package/execution/values.d.mts +61 -0
- package/execution/values.d.ts +12 -21
- package/execution/values.js +111 -74
- package/execution/values.js.map +1 -1
- package/execution/values.mjs +111 -73
- package/execution/values.mjs.map +1 -1
- package/execution/withConcurrentAbruptClose.d.mts +13 -0
- package/execution/withConcurrentAbruptClose.d.ts +13 -0
- package/execution/withConcurrentAbruptClose.js +72 -0
- package/execution/withConcurrentAbruptClose.js.map +1 -0
- package/execution/withConcurrentAbruptClose.mjs +69 -0
- package/execution/withConcurrentAbruptClose.mjs.map +1 -0
- package/graphql.d.mts +61 -0
- package/graphql.d.ts +9 -16
- package/graphql.js +22 -22
- package/graphql.js.map +1 -1
- package/graphql.mjs +22 -22
- package/graphql.mjs.map +1 -1
- package/harness.d.mts +15 -0
- package/harness.d.ts +15 -0
- package/harness.js +13 -0
- package/harness.js.map +1 -0
- package/harness.mjs +10 -0
- package/harness.mjs.map +1 -0
- package/index.d.mts +51 -0
- package/index.d.ts +10 -7
- package/index.js +25 -8
- package/index.js.map +1 -1
- package/index.mjs +11 -5
- package/index.mjs.map +1 -1
- package/jsutils/AccumulatorMap.d.mts +7 -0
- package/jsutils/AccumulatorMap.js +1 -0
- package/jsutils/AccumulatorMap.js.map +1 -1
- package/jsutils/AccumulatorMap.mjs +1 -0
- package/jsutils/AccumulatorMap.mjs.map +1 -1
- package/jsutils/Maybe.d.mts +2 -0
- package/jsutils/ObjMap.d.mts +18 -0
- package/jsutils/Path.d.mts +14 -0
- package/jsutils/PromiseOrValue.d.mts +1 -0
- package/jsutils/capitalize.d.mts +4 -0
- package/jsutils/devAssert.d.mts +1 -0
- package/jsutils/didYouMean.d.mts +5 -0
- package/jsutils/formatList.d.mts +8 -0
- package/jsutils/formatList.js +2 -1
- package/jsutils/formatList.js.map +1 -1
- package/jsutils/formatList.mjs +2 -1
- package/jsutils/formatList.mjs.map +1 -1
- package/jsutils/getBySet.d.mts +1 -0
- package/jsutils/groupBy.d.mts +4 -0
- package/jsutils/identityFunc.d.mts +4 -0
- package/jsutils/inspect.d.mts +4 -0
- package/jsutils/instanceOf.d.mts +15 -0
- package/jsutils/instanceOf.d.ts +8 -7
- package/jsutils/instanceOf.js +29 -30
- package/jsutils/instanceOf.js.map +1 -1
- package/jsutils/instanceOf.mjs +28 -30
- package/jsutils/instanceOf.mjs.map +1 -1
- package/jsutils/invariant.d.mts +1 -0
- package/jsutils/isAsyncIterable.d.mts +5 -0
- package/jsutils/isIterableObject.d.mts +18 -0
- package/jsutils/isObjectLike.d.mts +7 -0
- package/jsutils/isPromise.d.mts +6 -0
- package/jsutils/isPromise.d.ts +2 -1
- package/jsutils/isPromise.js +5 -1
- package/jsutils/isPromise.js.map +1 -1
- package/jsutils/isPromise.mjs +4 -1
- package/jsutils/isPromise.mjs.map +1 -1
- package/jsutils/isSameSet.d.mts +1 -0
- package/jsutils/keyMap.d.mts +29 -0
- package/jsutils/keyValMap.d.mts +19 -0
- package/jsutils/mapValue.d.mts +6 -0
- package/jsutils/memoize1.d.mts +4 -0
- package/jsutils/memoize1.d.ts +4 -0
- package/jsutils/memoize1.js +19 -0
- package/jsutils/memoize1.js.map +1 -0
- package/jsutils/memoize1.mjs +16 -0
- package/jsutils/memoize1.mjs.map +1 -0
- package/jsutils/memoize2.d.mts +4 -0
- package/jsutils/memoize2.d.ts +4 -0
- package/jsutils/memoize2.js +24 -0
- package/jsutils/memoize2.js.map +1 -0
- package/jsutils/memoize2.mjs +21 -0
- package/jsutils/memoize2.mjs.map +1 -0
- package/jsutils/memoize3.d.mts +4 -0
- package/jsutils/memoize3.js +1 -3
- package/jsutils/memoize3.js.map +1 -1
- package/jsutils/memoize3.mjs +1 -3
- package/jsutils/memoize3.mjs.map +1 -1
- package/jsutils/naturalCompare.d.mts +8 -0
- package/jsutils/printPathArray.d.mts +4 -0
- package/jsutils/promiseForObject.d.mts +10 -0
- package/jsutils/promiseForObject.d.ts +2 -1
- package/jsutils/promiseForObject.js +8 -7
- package/jsutils/promiseForObject.js.map +1 -1
- package/jsutils/promiseForObject.mjs +8 -7
- package/jsutils/promiseForObject.mjs.map +1 -1
- package/jsutils/promiseReduce.d.mts +9 -0
- package/jsutils/promiseWithResolvers.d.mts +10 -0
- package/jsutils/suggestionList.d.mts +5 -0
- package/jsutils/toError.d.mts +4 -0
- package/jsutils/toObjMap.d.mts +4 -0
- package/language/KindTypeMap.d.mts +2 -0
- package/language/KindTypeMap.d.ts +2 -0
- package/language/KindTypeMap.js +3 -0
- package/language/KindTypeMap.js.map +1 -0
- package/language/KindTypeMap.mjs +2 -0
- package/language/KindTypeMap.mjs.map +1 -0
- package/language/ast.d.mts +495 -0
- package/language/ast.d.ts +94 -51
- package/language/ast.js +15 -2
- package/language/ast.js.map +1 -1
- package/language/ast.mjs +15 -2
- package/language/ast.mjs.map +1 -1
- package/language/blockString.d.mts +23 -0
- package/language/characterClasses.d.mts +47 -0
- package/language/directiveLocation.d.mts +28 -0
- package/language/index.d.mts +16 -0
- package/language/index.d.ts +3 -3
- package/language/index.js +7 -2
- package/language/index.js.map +1 -1
- package/language/index.mjs +5 -3
- package/language/index.mjs.map +1 -1
- package/language/kinds.d.mts +3 -0
- package/language/kinds.js +34 -1
- package/language/kinds.js.map +1 -1
- package/language/kinds_.d.mts +109 -0
- package/language/kinds_.d.ts +11 -0
- package/language/kinds_.js +7 -1
- package/language/kinds_.js.map +1 -1
- package/language/kinds_.mjs +6 -0
- package/language/kinds_.mjs.map +1 -1
- package/language/lexer.d.mts +87 -0
- package/language/lexer.d.ts +43 -1
- package/language/lexer.js +10 -0
- package/language/lexer.js.map +1 -1
- package/language/lexer.mjs +10 -3
- package/language/lexer.mjs.map +1 -1
- package/language/location.d.mts +13 -0
- package/language/location.js +2 -1
- package/language/location.js.map +1 -1
- package/language/location.mjs +2 -1
- package/language/location.mjs.map +1 -1
- package/language/parser.d.mts +522 -0
- package/language/parser.d.ts +28 -4
- package/language/parser.js +101 -6
- package/language/parser.js.map +1 -1
- package/language/parser.mjs +100 -6
- package/language/parser.mjs.map +1 -1
- package/language/predicates.d.mts +19 -0
- package/language/predicates.d.ts +9 -1
- package/language/predicates.js +19 -0
- package/language/predicates.js.map +1 -1
- package/language/predicates.mjs +17 -0
- package/language/predicates.mjs.map +1 -1
- package/language/printLocation.d.mts +11 -0
- package/language/printString.d.mts +5 -0
- package/language/printer.d.mts +6 -0
- package/language/printer.js +28 -12
- package/language/printer.js.map +1 -1
- package/language/printer.mjs +28 -12
- package/language/printer.mjs.map +1 -1
- package/language/schemaCoordinateLexer.d.mts +43 -0
- package/language/schemaCoordinateLexer.d.ts +43 -0
- package/language/schemaCoordinateLexer.js +93 -0
- package/language/schemaCoordinateLexer.js.map +1 -0
- package/language/schemaCoordinateLexer.mjs +89 -0
- package/language/schemaCoordinateLexer.mjs.map +1 -0
- package/language/source.d.mts +26 -0
- package/language/source.d.ts +1 -0
- package/language/source.js +7 -3
- package/language/source.js.map +1 -1
- package/language/source.mjs +7 -3
- package/language/source.mjs.map +1 -1
- package/language/tokenKind.d.mts +30 -0
- package/language/tokenKind.d.ts +1 -0
- package/language/tokenKind.js +1 -0
- package/language/tokenKind.js.map +1 -1
- package/language/tokenKind.mjs +1 -0
- package/language/tokenKind.mjs.map +1 -1
- package/language/visitor.d.mts +160 -0
- package/language/visitor.js +3 -2
- package/language/visitor.js.map +1 -1
- package/language/visitor.mjs +3 -2
- package/language/visitor.mjs.map +1 -1
- package/package.json +174 -7
- package/type/assertName.d.mts +10 -0
- package/type/definition.d.mts +933 -0
- package/type/definition.d.ts +58 -16
- package/type/definition.js +53 -28
- package/type/definition.js.map +1 -1
- package/type/definition.mjs +53 -28
- package/type/definition.mjs.map +1 -1
- package/type/directives.d.mts +97 -0
- package/type/directives.d.ts +5 -0
- package/type/directives.js +20 -4
- package/type/directives.js.map +1 -1
- package/type/directives.mjs +19 -3
- package/type/directives.mjs.map +1 -1
- package/type/index.d.mts +12 -0
- package/type/index.d.ts +1 -1
- package/type/index.js.map +1 -1
- package/type/index.mjs.map +1 -1
- package/type/introspection.d.mts +26 -0
- package/type/introspection.d.ts +3 -3
- package/type/introspection.js +9 -7
- package/type/introspection.js.map +1 -1
- package/type/introspection.mjs +9 -7
- package/type/introspection.mjs.map +1 -1
- package/type/scalars.d.mts +19 -0
- package/type/scalars.d.ts +5 -5
- package/type/scalars.js +130 -38
- package/type/scalars.js.map +1 -1
- package/type/scalars.mjs +130 -38
- package/type/scalars.mjs.map +1 -1
- package/type/schema.d.mts +172 -0
- package/type/schema.d.ts +2 -0
- package/type/schema.js +11 -13
- package/type/schema.js.map +1 -1
- package/type/schema.mjs +11 -13
- package/type/schema.mjs.map +1 -1
- package/type/validate.d.mts +21 -0
- package/type/validate.d.ts +6 -0
- package/type/validate.js +48 -30
- package/type/validate.js.map +1 -1
- package/type/validate.mjs +47 -30
- package/type/validate.mjs.map +1 -1
- package/utilities/TypeInfo.d.mts +55 -0
- package/utilities/TypeInfo.js +3 -1
- package/utilities/TypeInfo.js.map +1 -1
- package/utilities/TypeInfo.mjs +3 -1
- package/utilities/TypeInfo.mjs.map +1 -1
- package/utilities/astFromValue.d.mts +27 -0
- package/utilities/astFromValue.d.ts +1 -0
- package/utilities/astFromValue.js +8 -2
- package/utilities/astFromValue.js.map +1 -1
- package/utilities/astFromValue.mjs +8 -2
- package/utilities/astFromValue.mjs.map +1 -1
- package/utilities/buildASTSchema.d.mts +29 -0
- package/utilities/buildClientSchema.d.mts +16 -0
- package/utilities/buildClientSchema.js +10 -6
- package/utilities/buildClientSchema.js.map +1 -1
- package/utilities/buildClientSchema.mjs +9 -6
- package/utilities/buildClientSchema.mjs.map +1 -1
- package/utilities/coerceInputValue.d.mts +34 -0
- package/utilities/coerceInputValue.d.ts +7 -1
- package/utilities/coerceInputValue.js +36 -13
- package/utilities/coerceInputValue.js.map +1 -1
- package/utilities/coerceInputValue.mjs +36 -13
- package/utilities/coerceInputValue.mjs.map +1 -1
- package/utilities/concatAST.d.mts +7 -0
- package/utilities/extendSchema.d.mts +29 -0
- package/utilities/extendSchema.js +2 -1
- package/utilities/extendSchema.js.map +1 -1
- package/utilities/extendSchema.mjs +2 -1
- package/utilities/extendSchema.mjs.map +1 -1
- package/utilities/findSchemaChanges.d.mts +72 -0
- package/utilities/findSchemaChanges.d.ts +18 -18
- package/utilities/findSchemaChanges.js +4 -2
- package/utilities/findSchemaChanges.js.map +1 -1
- package/utilities/findSchemaChanges.mjs +4 -2
- package/utilities/findSchemaChanges.mjs.map +1 -1
- package/utilities/getDefaultValueAST.d.mts +3 -0
- package/utilities/getDefaultValueAST.js +4 -2
- package/utilities/getDefaultValueAST.js.map +1 -1
- package/utilities/getDefaultValueAST.mjs +4 -2
- package/utilities/getDefaultValueAST.mjs.map +1 -1
- package/utilities/getIntrospectionQuery.d.mts +138 -0
- package/utilities/getOperationAST.d.mts +8 -0
- package/utilities/index.d.mts +32 -0
- package/utilities/index.d.ts +2 -0
- package/utilities/index.js +5 -1
- package/utilities/index.js.map +1 -1
- package/utilities/index.mjs +2 -0
- package/utilities/index.mjs.map +1 -1
- package/utilities/introspectionFromSchema.d.mts +12 -0
- package/utilities/introspectionFromSchema.js +2 -1
- package/utilities/introspectionFromSchema.js.map +1 -1
- package/utilities/introspectionFromSchema.mjs +2 -1
- package/utilities/introspectionFromSchema.mjs.map +1 -1
- package/utilities/lexicographicSortSchema.d.mts +7 -0
- package/utilities/mapSchemaConfig.d.mts +66 -0
- package/utilities/mapSchemaConfig.d.ts +1 -1
- package/utilities/mapSchemaConfig.js +6 -3
- package/utilities/mapSchemaConfig.js.map +1 -1
- package/utilities/mapSchemaConfig.mjs +6 -3
- package/utilities/mapSchemaConfig.mjs.map +1 -1
- package/utilities/printSchema.d.mts +7 -0
- package/utilities/printSchema.js +4 -2
- package/utilities/printSchema.js.map +1 -1
- package/utilities/printSchema.mjs +4 -2
- package/utilities/printSchema.mjs.map +1 -1
- package/utilities/replaceVariables.d.mts +13 -0
- package/utilities/replaceVariables.d.ts +2 -1
- package/utilities/replaceVariables.js +17 -8
- package/utilities/replaceVariables.js.map +1 -1
- package/utilities/replaceVariables.mjs +17 -8
- package/utilities/replaceVariables.mjs.map +1 -1
- package/utilities/resolveSchemaCoordinate.d.mts +57 -0
- package/utilities/resolveSchemaCoordinate.d.ts +57 -0
- package/utilities/resolveSchemaCoordinate.js +167 -0
- package/utilities/resolveSchemaCoordinate.js.map +1 -0
- package/utilities/resolveSchemaCoordinate.mjs +163 -0
- package/utilities/resolveSchemaCoordinate.mjs.map +1 -0
- package/utilities/separateOperations.d.mts +9 -0
- package/utilities/sortValueNode.d.mts +9 -0
- package/utilities/stripIgnoredCharacters.d.mts +62 -0
- package/utilities/typeComparators.d.mts +21 -0
- package/utilities/typeFromAST.d.mts +15 -0
- package/utilities/typedQueryDocumentNode.d.mts +17 -0
- package/utilities/validateInputValue.d.mts +19 -0
- package/utilities/validateInputValue.d.ts +2 -1
- package/utilities/validateInputValue.js +42 -17
- package/utilities/validateInputValue.js.map +1 -1
- package/utilities/validateInputValue.mjs +42 -17
- package/utilities/validateInputValue.mjs.map +1 -1
- package/utilities/valueFromAST.d.mts +26 -0
- package/utilities/valueFromAST.js +24 -9
- package/utilities/valueFromAST.js.map +1 -1
- package/utilities/valueFromAST.mjs +24 -9
- package/utilities/valueFromAST.mjs.map +1 -1
- package/utilities/valueFromASTUntyped.d.mts +20 -0
- package/utilities/valueToLiteral.d.mts +31 -0
- package/utilities/valueToLiteral.d.ts +1 -0
- package/utilities/valueToLiteral.js +4 -1
- package/utilities/valueToLiteral.js.map +1 -1
- package/utilities/valueToLiteral.mjs +4 -1
- package/utilities/valueToLiteral.mjs.map +1 -1
- package/validation/ValidationContext.d.mts +70 -0
- package/validation/ValidationContext.js +2 -0
- package/validation/ValidationContext.js.map +1 -1
- package/validation/ValidationContext.mjs +2 -0
- package/validation/ValidationContext.mjs.map +1 -1
- package/validation/index.d.mts +46 -0
- package/validation/rules/DeferStreamDirectiveLabelRule.d.mts +8 -0
- package/validation/rules/DeferStreamDirectiveLabelRule.js +1 -1
- package/validation/rules/DeferStreamDirectiveLabelRule.js.map +1 -1
- package/validation/rules/DeferStreamDirectiveLabelRule.mjs +1 -1
- package/validation/rules/DeferStreamDirectiveLabelRule.mjs.map +1 -1
- package/validation/rules/DeferStreamDirectiveOnRootFieldRule.d.mts +8 -0
- package/validation/rules/DeferStreamDirectiveOnValidOperationsRule.d.mts +8 -0
- package/validation/rules/ExecutableDefinitionsRule.d.mts +11 -0
- package/validation/rules/FieldsOnCorrectTypeRule.d.mts +11 -0
- package/validation/rules/FragmentsOnCompositeTypesRule.d.mts +12 -0
- package/validation/rules/KnownArgumentNamesRule.d.mts +16 -0
- package/validation/rules/KnownDirectivesRule.d.mts +11 -0
- package/validation/rules/KnownDirectivesRule.js +7 -4
- package/validation/rules/KnownDirectivesRule.js.map +1 -1
- package/validation/rules/KnownDirectivesRule.mjs +7 -4
- package/validation/rules/KnownDirectivesRule.mjs.map +1 -1
- package/validation/rules/KnownFragmentNamesRule.d.mts +11 -0
- package/validation/rules/KnownOperationTypesRule.d.mts +11 -0
- package/validation/rules/KnownTypeNamesRule.d.mts +11 -0
- package/validation/rules/LoneAnonymousOperationRule.d.mts +11 -0
- package/validation/rules/LoneSchemaDefinitionRule.d.mts +8 -0
- package/validation/rules/MaxIntrospectionDepthRule.d.mts +3 -0
- package/validation/rules/MaxIntrospectionDepthRule.d.ts +2 -2
- package/validation/rules/MaxIntrospectionDepthRule.js +1 -2
- package/validation/rules/MaxIntrospectionDepthRule.js.map +1 -1
- package/validation/rules/MaxIntrospectionDepthRule.mjs +1 -2
- package/validation/rules/MaxIntrospectionDepthRule.mjs.map +1 -1
- package/validation/rules/NoFragmentCyclesRule.d.mts +11 -0
- package/validation/rules/NoUndefinedVariablesRule.d.mts +11 -0
- package/validation/rules/NoUnusedFragmentsRule.d.mts +11 -0
- package/validation/rules/NoUnusedVariablesRule.d.mts +11 -0
- package/validation/rules/OverlappingFieldsCanBeMergedRule.d.mts +12 -0
- package/validation/rules/OverlappingFieldsCanBeMergedRule.js +15 -14
- package/validation/rules/OverlappingFieldsCanBeMergedRule.js.map +1 -1
- package/validation/rules/OverlappingFieldsCanBeMergedRule.mjs +15 -14
- package/validation/rules/OverlappingFieldsCanBeMergedRule.mjs.map +1 -1
- package/validation/rules/PossibleFragmentSpreadsRule.d.mts +10 -0
- package/validation/rules/PossibleTypeExtensionsRule.d.mts +8 -0
- package/validation/rules/PossibleTypeExtensionsRule.js +5 -3
- package/validation/rules/PossibleTypeExtensionsRule.js.map +1 -1
- package/validation/rules/PossibleTypeExtensionsRule.mjs +5 -3
- package/validation/rules/PossibleTypeExtensionsRule.mjs.map +1 -1
- package/validation/rules/ProvidedRequiredArgumentsRule.d.mts +13 -0
- package/validation/rules/ScalarLeafsRule.d.mts +9 -0
- package/validation/rules/SingleFieldSubscriptionsRule.d.mts +12 -0
- package/validation/rules/SingleFieldSubscriptionsRule.d.ts +2 -1
- package/validation/rules/SingleFieldSubscriptionsRule.js +9 -2
- package/validation/rules/SingleFieldSubscriptionsRule.js.map +1 -1
- package/validation/rules/SingleFieldSubscriptionsRule.mjs +9 -2
- package/validation/rules/SingleFieldSubscriptionsRule.mjs.map +1 -1
- package/validation/rules/StreamDirectiveOnListFieldRule.d.mts +8 -0
- package/validation/rules/UniqueArgumentDefinitionNamesRule.d.mts +9 -0
- package/validation/rules/UniqueArgumentNamesRule.d.mts +11 -0
- package/validation/rules/UniqueDirectiveNamesRule.d.mts +8 -0
- package/validation/rules/UniqueDirectivesPerLocationRule.d.mts +11 -0
- package/validation/rules/UniqueEnumValueNamesRule.d.mts +8 -0
- package/validation/rules/UniqueFieldDefinitionNamesRule.d.mts +8 -0
- package/validation/rules/UniqueFragmentNamesRule.d.mts +10 -0
- package/validation/rules/UniqueInputFieldNamesRule.d.mts +11 -0
- package/validation/rules/UniqueInputFieldNamesRule.js +2 -1
- package/validation/rules/UniqueInputFieldNamesRule.js.map +1 -1
- package/validation/rules/UniqueInputFieldNamesRule.mjs +2 -1
- package/validation/rules/UniqueInputFieldNamesRule.mjs.map +1 -1
- package/validation/rules/UniqueOperationNamesRule.d.mts +10 -0
- package/validation/rules/UniqueOperationTypesRule.d.mts +8 -0
- package/validation/rules/UniqueTypeNamesRule.d.mts +8 -0
- package/validation/rules/UniqueVariableNamesRule.d.mts +8 -0
- package/validation/rules/ValuesOfCorrectTypeRule.d.mts +11 -0
- package/validation/rules/ValuesOfCorrectTypeRule.js +5 -0
- package/validation/rules/ValuesOfCorrectTypeRule.js.map +1 -1
- package/validation/rules/ValuesOfCorrectTypeRule.mjs +5 -0
- package/validation/rules/ValuesOfCorrectTypeRule.mjs.map +1 -1
- package/validation/rules/VariablesAreInputTypesRule.d.mts +11 -0
- package/validation/rules/VariablesInAllowedPositionRule.d.mts +10 -0
- package/validation/rules/VariablesInAllowedPositionRule.js +1 -3
- package/validation/rules/VariablesInAllowedPositionRule.js.map +1 -1
- package/validation/rules/VariablesInAllowedPositionRule.mjs +1 -3
- package/validation/rules/VariablesInAllowedPositionRule.mjs.map +1 -1
- package/validation/rules/custom/NoDeprecatedCustomRule.d.mts +13 -0
- package/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.mts +13 -0
- package/validation/specifiedRules.d.mts +17 -0
- package/validation/specifiedRules.d.ts +1 -2
- package/validation/specifiedRules.js +3 -1
- package/validation/specifiedRules.js.map +1 -1
- package/validation/specifiedRules.mjs +3 -1
- package/validation/specifiedRules.mjs.map +1 -1
- package/validation/validate.d.mts +48 -0
- package/validation/validate.d.ts +5 -4
- package/validation/validate.js +10 -5
- package/validation/validate.js.map +1 -1
- package/validation/validate.mjs +10 -5
- package/validation/validate.mjs.map +1 -1
- package/version.d.mts +13 -0
- package/version.js +2 -2
- package/version.js.map +1 -1
- package/version.mjs +2 -2
- package/version.mjs.map +1 -1
- package/execution/AbortSignalListener.d.ts +0 -17
- package/execution/AbortSignalListener.js +0 -71
- package/execution/AbortSignalListener.js.map +0 -1
- package/execution/AbortSignalListener.mjs +0 -65
- package/execution/AbortSignalListener.mjs.map +0 -1
- package/execution/IncrementalGraph.d.ts +0 -29
- package/execution/IncrementalGraph.js +0 -232
- package/execution/IncrementalGraph.js.map +0 -1
- package/execution/IncrementalGraph.mjs +0 -228
- package/execution/IncrementalGraph.mjs.map +0 -1
- package/execution/IncrementalPublisher.d.ts +0 -10
- package/execution/IncrementalPublisher.js +0 -259
- package/execution/IncrementalPublisher.js.map +0 -1
- package/execution/IncrementalPublisher.mjs +0 -256
- package/execution/IncrementalPublisher.mjs.map +0 -1
- package/execution/buildExecutionPlan.js.map +0 -1
- package/execution/buildExecutionPlan.mjs.map +0 -1
- package/execution/types.d.ts +0 -161
- package/execution/types.js +0 -36
- package/execution/types.js.map +0 -1
- package/execution/types.mjs +0 -27
- package/execution/types.mjs.map +0 -1
- package/jsutils/BoxedPromiseOrValue.d.ts +0 -15
- package/jsutils/BoxedPromiseOrValue.js +0 -27
- package/jsutils/BoxedPromiseOrValue.js.map +0 -1
- package/jsutils/BoxedPromiseOrValue.mjs +0 -23
- package/jsutils/BoxedPromiseOrValue.mjs.map +0 -1
package/language/ast.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { KindTypeMap } from './KindTypeMap.js';
|
|
2
2
|
import type { Source } from './source.js';
|
|
3
3
|
import type { TokenKind } from './tokenKind.js';
|
|
4
4
|
/**
|
|
@@ -84,7 +84,7 @@ export declare class Token {
|
|
|
84
84
|
/**
|
|
85
85
|
* The list of all possible AST node types.
|
|
86
86
|
*/
|
|
87
|
-
export type ASTNode = NameNode | DocumentNode | OperationDefinitionNode | VariableDefinitionNode | VariableNode | SelectionSetNode | FieldNode | ArgumentNode | FragmentArgumentNode | FragmentSpreadNode | InlineFragmentNode | FragmentDefinitionNode | IntValueNode | FloatValueNode | StringValueNode | BooleanValueNode | NullValueNode | EnumValueNode | ListValueNode | ObjectValueNode | ObjectFieldNode | DirectiveNode | NamedTypeNode | ListTypeNode | NonNullTypeNode | SchemaDefinitionNode | OperationTypeDefinitionNode | ScalarTypeDefinitionNode | ObjectTypeDefinitionNode | FieldDefinitionNode | InputValueDefinitionNode | InterfaceTypeDefinitionNode | UnionTypeDefinitionNode | EnumTypeDefinitionNode | EnumValueDefinitionNode | InputObjectTypeDefinitionNode | DirectiveDefinitionNode | SchemaExtensionNode | ScalarTypeExtensionNode | ObjectTypeExtensionNode | InterfaceTypeExtensionNode | UnionTypeExtensionNode | EnumTypeExtensionNode | InputObjectTypeExtensionNode;
|
|
87
|
+
export type ASTNode = NameNode | DocumentNode | OperationDefinitionNode | VariableDefinitionNode | VariableNode | SelectionSetNode | FieldNode | ArgumentNode | FragmentArgumentNode | FragmentSpreadNode | InlineFragmentNode | FragmentDefinitionNode | IntValueNode | FloatValueNode | StringValueNode | BooleanValueNode | NullValueNode | EnumValueNode | ListValueNode | ObjectValueNode | ObjectFieldNode | DirectiveNode | NamedTypeNode | ListTypeNode | NonNullTypeNode | SchemaDefinitionNode | OperationTypeDefinitionNode | ScalarTypeDefinitionNode | ObjectTypeDefinitionNode | FieldDefinitionNode | InputValueDefinitionNode | InterfaceTypeDefinitionNode | UnionTypeDefinitionNode | EnumTypeDefinitionNode | EnumValueDefinitionNode | InputObjectTypeDefinitionNode | DirectiveDefinitionNode | SchemaExtensionNode | ScalarTypeExtensionNode | ObjectTypeExtensionNode | InterfaceTypeExtensionNode | UnionTypeExtensionNode | EnumTypeExtensionNode | InputObjectTypeExtensionNode | TypeCoordinateNode | MemberCoordinateNode | ArgumentCoordinateNode | DirectiveCoordinateNode | DirectiveArgumentCoordinateNode;
|
|
88
88
|
/**
|
|
89
89
|
* Utility type listing all nodes indexed by their kind.
|
|
90
90
|
*/
|
|
@@ -103,13 +103,13 @@ export declare const QueryDocumentKeys: {
|
|
|
103
103
|
export declare function isNode(maybeNode: any): maybeNode is ASTNode;
|
|
104
104
|
/** Name */
|
|
105
105
|
export interface NameNode {
|
|
106
|
-
readonly kind:
|
|
106
|
+
readonly kind: KindTypeMap['NAME'];
|
|
107
107
|
readonly loc?: Location | undefined;
|
|
108
108
|
readonly value: string;
|
|
109
109
|
}
|
|
110
110
|
/** Document */
|
|
111
111
|
export interface DocumentNode {
|
|
112
|
-
readonly kind:
|
|
112
|
+
readonly kind: KindTypeMap['DOCUMENT'];
|
|
113
113
|
readonly loc?: Location | undefined;
|
|
114
114
|
readonly definitions: ReadonlyArray<DefinitionNode>;
|
|
115
115
|
readonly tokenCount?: number | undefined;
|
|
@@ -117,14 +117,24 @@ export interface DocumentNode {
|
|
|
117
117
|
export type DefinitionNode = ExecutableDefinitionNode | TypeSystemDefinitionNode | TypeSystemExtensionNode;
|
|
118
118
|
export type ExecutableDefinitionNode = OperationDefinitionNode | FragmentDefinitionNode;
|
|
119
119
|
export interface OperationDefinitionNode {
|
|
120
|
-
readonly kind:
|
|
120
|
+
readonly kind: KindTypeMap['OPERATION_DEFINITION'];
|
|
121
121
|
readonly loc?: Location | undefined;
|
|
122
|
+
readonly description?: StringValueNode | undefined;
|
|
122
123
|
readonly operation: OperationTypeNode;
|
|
123
124
|
readonly name?: NameNode | undefined;
|
|
124
125
|
readonly variableDefinitions?: ReadonlyArray<VariableDefinitionNode> | undefined;
|
|
125
126
|
readonly directives?: ReadonlyArray<DirectiveNode> | undefined;
|
|
126
127
|
readonly selectionSet: SelectionSetNode;
|
|
127
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* A narrowed OperationDefinitionNode for subscription operations.
|
|
131
|
+
* Subscription operations go through a distinct execution pipeline
|
|
132
|
+
* (source event stream + per-event execution), so narrowing the operation
|
|
133
|
+
* type allows functions in that pipeline to accept only valid input.
|
|
134
|
+
*/
|
|
135
|
+
export interface SubscriptionOperationDefinitionNode extends OperationDefinitionNode {
|
|
136
|
+
readonly operation: (typeof OperationTypeNode)['SUBSCRIPTION'];
|
|
137
|
+
}
|
|
128
138
|
export declare const OperationTypeNode: {
|
|
129
139
|
readonly QUERY: "query";
|
|
130
140
|
readonly MUTATION: "mutation";
|
|
@@ -132,26 +142,27 @@ export declare const OperationTypeNode: {
|
|
|
132
142
|
};
|
|
133
143
|
export type OperationTypeNode = (typeof OperationTypeNode)[keyof typeof OperationTypeNode];
|
|
134
144
|
export interface VariableDefinitionNode {
|
|
135
|
-
readonly kind:
|
|
145
|
+
readonly kind: KindTypeMap['VARIABLE_DEFINITION'];
|
|
136
146
|
readonly loc?: Location | undefined;
|
|
147
|
+
readonly description?: StringValueNode | undefined;
|
|
137
148
|
readonly variable: VariableNode;
|
|
138
149
|
readonly type: TypeNode;
|
|
139
150
|
readonly defaultValue?: ConstValueNode | undefined;
|
|
140
151
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
141
152
|
}
|
|
142
153
|
export interface VariableNode {
|
|
143
|
-
readonly kind:
|
|
154
|
+
readonly kind: KindTypeMap['VARIABLE'];
|
|
144
155
|
readonly loc?: Location | undefined;
|
|
145
156
|
readonly name: NameNode;
|
|
146
157
|
}
|
|
147
158
|
export interface SelectionSetNode {
|
|
148
|
-
kind:
|
|
159
|
+
kind: KindTypeMap['SELECTION_SET'];
|
|
149
160
|
loc?: Location | undefined;
|
|
150
161
|
selections: ReadonlyArray<SelectionNode>;
|
|
151
162
|
}
|
|
152
163
|
export type SelectionNode = FieldNode | FragmentSpreadNode | InlineFragmentNode;
|
|
153
164
|
export interface FieldNode {
|
|
154
|
-
readonly kind:
|
|
165
|
+
readonly kind: KindTypeMap['FIELD'];
|
|
155
166
|
readonly loc?: Location | undefined;
|
|
156
167
|
readonly alias?: NameNode | undefined;
|
|
157
168
|
readonly name: NameNode;
|
|
@@ -160,41 +171,42 @@ export interface FieldNode {
|
|
|
160
171
|
readonly selectionSet?: SelectionSetNode | undefined;
|
|
161
172
|
}
|
|
162
173
|
export interface ArgumentNode {
|
|
163
|
-
readonly kind:
|
|
174
|
+
readonly kind: KindTypeMap['ARGUMENT'];
|
|
164
175
|
readonly loc?: Location | undefined;
|
|
165
176
|
readonly name: NameNode;
|
|
166
177
|
readonly value: ValueNode;
|
|
167
178
|
}
|
|
168
179
|
export interface ConstArgumentNode {
|
|
169
|
-
readonly kind:
|
|
180
|
+
readonly kind: KindTypeMap['ARGUMENT'];
|
|
170
181
|
readonly loc?: Location | undefined;
|
|
171
182
|
readonly name: NameNode;
|
|
172
183
|
readonly value: ConstValueNode;
|
|
173
184
|
}
|
|
174
185
|
export interface FragmentArgumentNode {
|
|
175
|
-
readonly kind:
|
|
186
|
+
readonly kind: KindTypeMap['FRAGMENT_ARGUMENT'];
|
|
176
187
|
readonly loc?: Location | undefined;
|
|
177
188
|
readonly name: NameNode;
|
|
178
189
|
readonly value: ValueNode;
|
|
179
190
|
}
|
|
180
191
|
/** Fragments */
|
|
181
192
|
export interface FragmentSpreadNode {
|
|
182
|
-
readonly kind:
|
|
193
|
+
readonly kind: KindTypeMap['FRAGMENT_SPREAD'];
|
|
183
194
|
readonly loc?: Location | undefined;
|
|
184
195
|
readonly name: NameNode;
|
|
185
196
|
readonly arguments?: ReadonlyArray<FragmentArgumentNode> | undefined;
|
|
186
197
|
readonly directives?: ReadonlyArray<DirectiveNode> | undefined;
|
|
187
198
|
}
|
|
188
199
|
export interface InlineFragmentNode {
|
|
189
|
-
readonly kind:
|
|
200
|
+
readonly kind: KindTypeMap['INLINE_FRAGMENT'];
|
|
190
201
|
readonly loc?: Location | undefined;
|
|
191
202
|
readonly typeCondition?: NamedTypeNode | undefined;
|
|
192
203
|
readonly directives?: ReadonlyArray<DirectiveNode> | undefined;
|
|
193
204
|
readonly selectionSet: SelectionSetNode;
|
|
194
205
|
}
|
|
195
206
|
export interface FragmentDefinitionNode {
|
|
196
|
-
readonly kind:
|
|
207
|
+
readonly kind: KindTypeMap['FRAGMENT_DEFINITION'];
|
|
197
208
|
readonly loc?: Location | undefined;
|
|
209
|
+
readonly description?: StringValueNode | undefined;
|
|
198
210
|
readonly name: NameNode;
|
|
199
211
|
readonly variableDefinitions?: ReadonlyArray<VariableDefinitionNode> | undefined;
|
|
200
212
|
readonly typeCondition: NamedTypeNode;
|
|
@@ -205,76 +217,76 @@ export interface FragmentDefinitionNode {
|
|
|
205
217
|
export type ValueNode = VariableNode | IntValueNode | FloatValueNode | StringValueNode | BooleanValueNode | NullValueNode | EnumValueNode | ListValueNode | ObjectValueNode;
|
|
206
218
|
export type ConstValueNode = IntValueNode | FloatValueNode | StringValueNode | BooleanValueNode | NullValueNode | EnumValueNode | ConstListValueNode | ConstObjectValueNode;
|
|
207
219
|
export interface IntValueNode {
|
|
208
|
-
readonly kind:
|
|
220
|
+
readonly kind: KindTypeMap['INT'];
|
|
209
221
|
readonly loc?: Location | undefined;
|
|
210
222
|
readonly value: string;
|
|
211
223
|
}
|
|
212
224
|
export interface FloatValueNode {
|
|
213
|
-
readonly kind:
|
|
225
|
+
readonly kind: KindTypeMap['FLOAT'];
|
|
214
226
|
readonly loc?: Location | undefined;
|
|
215
227
|
readonly value: string;
|
|
216
228
|
}
|
|
217
229
|
export interface StringValueNode {
|
|
218
|
-
readonly kind:
|
|
230
|
+
readonly kind: KindTypeMap['STRING'];
|
|
219
231
|
readonly loc?: Location | undefined;
|
|
220
232
|
readonly value: string;
|
|
221
233
|
readonly block?: boolean | undefined;
|
|
222
234
|
}
|
|
223
235
|
export interface BooleanValueNode {
|
|
224
|
-
readonly kind:
|
|
236
|
+
readonly kind: KindTypeMap['BOOLEAN'];
|
|
225
237
|
readonly loc?: Location | undefined;
|
|
226
238
|
readonly value: boolean;
|
|
227
239
|
}
|
|
228
240
|
export interface NullValueNode {
|
|
229
|
-
readonly kind:
|
|
241
|
+
readonly kind: KindTypeMap['NULL'];
|
|
230
242
|
readonly loc?: Location | undefined;
|
|
231
243
|
}
|
|
232
244
|
export interface EnumValueNode {
|
|
233
|
-
readonly kind:
|
|
245
|
+
readonly kind: KindTypeMap['ENUM'];
|
|
234
246
|
readonly loc?: Location | undefined;
|
|
235
247
|
readonly value: string;
|
|
236
248
|
}
|
|
237
249
|
export interface ListValueNode {
|
|
238
|
-
readonly kind:
|
|
250
|
+
readonly kind: KindTypeMap['LIST'];
|
|
239
251
|
readonly loc?: Location | undefined;
|
|
240
252
|
readonly values: ReadonlyArray<ValueNode>;
|
|
241
253
|
}
|
|
242
254
|
export interface ConstListValueNode {
|
|
243
|
-
readonly kind:
|
|
255
|
+
readonly kind: KindTypeMap['LIST'];
|
|
244
256
|
readonly loc?: Location | undefined;
|
|
245
257
|
readonly values: ReadonlyArray<ConstValueNode>;
|
|
246
258
|
}
|
|
247
259
|
export interface ObjectValueNode {
|
|
248
|
-
readonly kind:
|
|
260
|
+
readonly kind: KindTypeMap['OBJECT'];
|
|
249
261
|
readonly loc?: Location | undefined;
|
|
250
262
|
readonly fields: ReadonlyArray<ObjectFieldNode>;
|
|
251
263
|
}
|
|
252
264
|
export interface ConstObjectValueNode {
|
|
253
|
-
readonly kind:
|
|
265
|
+
readonly kind: KindTypeMap['OBJECT'];
|
|
254
266
|
readonly loc?: Location | undefined;
|
|
255
267
|
readonly fields: ReadonlyArray<ConstObjectFieldNode>;
|
|
256
268
|
}
|
|
257
269
|
export interface ObjectFieldNode {
|
|
258
|
-
readonly kind:
|
|
270
|
+
readonly kind: KindTypeMap['OBJECT_FIELD'];
|
|
259
271
|
readonly loc?: Location | undefined;
|
|
260
272
|
readonly name: NameNode;
|
|
261
273
|
readonly value: ValueNode;
|
|
262
274
|
}
|
|
263
275
|
export interface ConstObjectFieldNode {
|
|
264
|
-
readonly kind:
|
|
276
|
+
readonly kind: KindTypeMap['OBJECT_FIELD'];
|
|
265
277
|
readonly loc?: Location | undefined;
|
|
266
278
|
readonly name: NameNode;
|
|
267
279
|
readonly value: ConstValueNode;
|
|
268
280
|
}
|
|
269
281
|
/** Directives */
|
|
270
282
|
export interface DirectiveNode {
|
|
271
|
-
readonly kind:
|
|
283
|
+
readonly kind: KindTypeMap['DIRECTIVE'];
|
|
272
284
|
readonly loc?: Location | undefined;
|
|
273
285
|
readonly name: NameNode;
|
|
274
286
|
readonly arguments?: ReadonlyArray<ArgumentNode> | undefined;
|
|
275
287
|
}
|
|
276
288
|
export interface ConstDirectiveNode {
|
|
277
|
-
readonly kind:
|
|
289
|
+
readonly kind: KindTypeMap['DIRECTIVE'];
|
|
278
290
|
readonly loc?: Location | undefined;
|
|
279
291
|
readonly name: NameNode;
|
|
280
292
|
readonly arguments?: ReadonlyArray<ConstArgumentNode> | undefined;
|
|
@@ -282,31 +294,31 @@ export interface ConstDirectiveNode {
|
|
|
282
294
|
/** Type Reference */
|
|
283
295
|
export type TypeNode = NamedTypeNode | ListTypeNode | NonNullTypeNode;
|
|
284
296
|
export interface NamedTypeNode {
|
|
285
|
-
readonly kind:
|
|
297
|
+
readonly kind: KindTypeMap['NAMED_TYPE'];
|
|
286
298
|
readonly loc?: Location | undefined;
|
|
287
299
|
readonly name: NameNode;
|
|
288
300
|
}
|
|
289
301
|
export interface ListTypeNode {
|
|
290
|
-
readonly kind:
|
|
302
|
+
readonly kind: KindTypeMap['LIST_TYPE'];
|
|
291
303
|
readonly loc?: Location | undefined;
|
|
292
304
|
readonly type: TypeNode;
|
|
293
305
|
}
|
|
294
306
|
export interface NonNullTypeNode {
|
|
295
|
-
readonly kind:
|
|
307
|
+
readonly kind: KindTypeMap['NON_NULL_TYPE'];
|
|
296
308
|
readonly loc?: Location | undefined;
|
|
297
309
|
readonly type: NamedTypeNode | ListTypeNode;
|
|
298
310
|
}
|
|
299
311
|
/** Type System Definition */
|
|
300
312
|
export type TypeSystemDefinitionNode = SchemaDefinitionNode | TypeDefinitionNode | DirectiveDefinitionNode;
|
|
301
313
|
export interface SchemaDefinitionNode {
|
|
302
|
-
readonly kind:
|
|
314
|
+
readonly kind: KindTypeMap['SCHEMA_DEFINITION'];
|
|
303
315
|
readonly loc?: Location | undefined;
|
|
304
316
|
readonly description?: StringValueNode | undefined;
|
|
305
317
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
306
318
|
readonly operationTypes: ReadonlyArray<OperationTypeDefinitionNode>;
|
|
307
319
|
}
|
|
308
320
|
export interface OperationTypeDefinitionNode {
|
|
309
|
-
readonly kind:
|
|
321
|
+
readonly kind: KindTypeMap['OPERATION_TYPE_DEFINITION'];
|
|
310
322
|
readonly loc?: Location | undefined;
|
|
311
323
|
readonly operation: OperationTypeNode;
|
|
312
324
|
readonly type: NamedTypeNode;
|
|
@@ -314,14 +326,14 @@ export interface OperationTypeDefinitionNode {
|
|
|
314
326
|
/** Type Definition */
|
|
315
327
|
export type TypeDefinitionNode = ScalarTypeDefinitionNode | ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | UnionTypeDefinitionNode | EnumTypeDefinitionNode | InputObjectTypeDefinitionNode;
|
|
316
328
|
export interface ScalarTypeDefinitionNode {
|
|
317
|
-
readonly kind:
|
|
329
|
+
readonly kind: KindTypeMap['SCALAR_TYPE_DEFINITION'];
|
|
318
330
|
readonly loc?: Location | undefined;
|
|
319
331
|
readonly description?: StringValueNode | undefined;
|
|
320
332
|
readonly name: NameNode;
|
|
321
333
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
322
334
|
}
|
|
323
335
|
export interface ObjectTypeDefinitionNode {
|
|
324
|
-
readonly kind:
|
|
336
|
+
readonly kind: KindTypeMap['OBJECT_TYPE_DEFINITION'];
|
|
325
337
|
readonly loc?: Location | undefined;
|
|
326
338
|
readonly description?: StringValueNode | undefined;
|
|
327
339
|
readonly name: NameNode;
|
|
@@ -330,7 +342,7 @@ export interface ObjectTypeDefinitionNode {
|
|
|
330
342
|
readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;
|
|
331
343
|
}
|
|
332
344
|
export interface FieldDefinitionNode {
|
|
333
|
-
readonly kind:
|
|
345
|
+
readonly kind: KindTypeMap['FIELD_DEFINITION'];
|
|
334
346
|
readonly loc?: Location | undefined;
|
|
335
347
|
readonly description?: StringValueNode | undefined;
|
|
336
348
|
readonly name: NameNode;
|
|
@@ -339,7 +351,7 @@ export interface FieldDefinitionNode {
|
|
|
339
351
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
340
352
|
}
|
|
341
353
|
export interface InputValueDefinitionNode {
|
|
342
|
-
readonly kind:
|
|
354
|
+
readonly kind: KindTypeMap['INPUT_VALUE_DEFINITION'];
|
|
343
355
|
readonly loc?: Location | undefined;
|
|
344
356
|
readonly description?: StringValueNode | undefined;
|
|
345
357
|
readonly name: NameNode;
|
|
@@ -348,7 +360,7 @@ export interface InputValueDefinitionNode {
|
|
|
348
360
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
349
361
|
}
|
|
350
362
|
export interface InterfaceTypeDefinitionNode {
|
|
351
|
-
readonly kind:
|
|
363
|
+
readonly kind: KindTypeMap['INTERFACE_TYPE_DEFINITION'];
|
|
352
364
|
readonly loc?: Location | undefined;
|
|
353
365
|
readonly description?: StringValueNode | undefined;
|
|
354
366
|
readonly name: NameNode;
|
|
@@ -357,7 +369,7 @@ export interface InterfaceTypeDefinitionNode {
|
|
|
357
369
|
readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;
|
|
358
370
|
}
|
|
359
371
|
export interface UnionTypeDefinitionNode {
|
|
360
|
-
readonly kind:
|
|
372
|
+
readonly kind: KindTypeMap['UNION_TYPE_DEFINITION'];
|
|
361
373
|
readonly loc?: Location | undefined;
|
|
362
374
|
readonly description?: StringValueNode | undefined;
|
|
363
375
|
readonly name: NameNode;
|
|
@@ -365,7 +377,7 @@ export interface UnionTypeDefinitionNode {
|
|
|
365
377
|
readonly types?: ReadonlyArray<NamedTypeNode> | undefined;
|
|
366
378
|
}
|
|
367
379
|
export interface EnumTypeDefinitionNode {
|
|
368
|
-
readonly kind:
|
|
380
|
+
readonly kind: KindTypeMap['ENUM_TYPE_DEFINITION'];
|
|
369
381
|
readonly loc?: Location | undefined;
|
|
370
382
|
readonly description?: StringValueNode | undefined;
|
|
371
383
|
readonly name: NameNode;
|
|
@@ -373,14 +385,14 @@ export interface EnumTypeDefinitionNode {
|
|
|
373
385
|
readonly values?: ReadonlyArray<EnumValueDefinitionNode> | undefined;
|
|
374
386
|
}
|
|
375
387
|
export interface EnumValueDefinitionNode {
|
|
376
|
-
readonly kind:
|
|
388
|
+
readonly kind: KindTypeMap['ENUM_VALUE_DEFINITION'];
|
|
377
389
|
readonly loc?: Location | undefined;
|
|
378
390
|
readonly description?: StringValueNode | undefined;
|
|
379
391
|
readonly name: NameNode;
|
|
380
392
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
381
393
|
}
|
|
382
394
|
export interface InputObjectTypeDefinitionNode {
|
|
383
|
-
readonly kind:
|
|
395
|
+
readonly kind: KindTypeMap['INPUT_OBJECT_TYPE_DEFINITION'];
|
|
384
396
|
readonly loc?: Location | undefined;
|
|
385
397
|
readonly description?: StringValueNode | undefined;
|
|
386
398
|
readonly name: NameNode;
|
|
@@ -389,7 +401,7 @@ export interface InputObjectTypeDefinitionNode {
|
|
|
389
401
|
}
|
|
390
402
|
/** Directive Definitions */
|
|
391
403
|
export interface DirectiveDefinitionNode {
|
|
392
|
-
readonly kind:
|
|
404
|
+
readonly kind: KindTypeMap['DIRECTIVE_DEFINITION'];
|
|
393
405
|
readonly loc?: Location | undefined;
|
|
394
406
|
readonly description?: StringValueNode | undefined;
|
|
395
407
|
readonly name: NameNode;
|
|
@@ -400,7 +412,7 @@ export interface DirectiveDefinitionNode {
|
|
|
400
412
|
/** Type System Extensions */
|
|
401
413
|
export type TypeSystemExtensionNode = SchemaExtensionNode | TypeExtensionNode;
|
|
402
414
|
export interface SchemaExtensionNode {
|
|
403
|
-
readonly kind:
|
|
415
|
+
readonly kind: KindTypeMap['SCHEMA_EXTENSION'];
|
|
404
416
|
readonly loc?: Location | undefined;
|
|
405
417
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
406
418
|
readonly operationTypes?: ReadonlyArray<OperationTypeDefinitionNode> | undefined;
|
|
@@ -408,13 +420,13 @@ export interface SchemaExtensionNode {
|
|
|
408
420
|
/** Type Extensions */
|
|
409
421
|
export type TypeExtensionNode = ScalarTypeExtensionNode | ObjectTypeExtensionNode | InterfaceTypeExtensionNode | UnionTypeExtensionNode | EnumTypeExtensionNode | InputObjectTypeExtensionNode;
|
|
410
422
|
export interface ScalarTypeExtensionNode {
|
|
411
|
-
readonly kind:
|
|
423
|
+
readonly kind: KindTypeMap['SCALAR_TYPE_EXTENSION'];
|
|
412
424
|
readonly loc?: Location | undefined;
|
|
413
425
|
readonly name: NameNode;
|
|
414
426
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
415
427
|
}
|
|
416
428
|
export interface ObjectTypeExtensionNode {
|
|
417
|
-
readonly kind:
|
|
429
|
+
readonly kind: KindTypeMap['OBJECT_TYPE_EXTENSION'];
|
|
418
430
|
readonly loc?: Location | undefined;
|
|
419
431
|
readonly name: NameNode;
|
|
420
432
|
readonly interfaces?: ReadonlyArray<NamedTypeNode> | undefined;
|
|
@@ -422,7 +434,7 @@ export interface ObjectTypeExtensionNode {
|
|
|
422
434
|
readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;
|
|
423
435
|
}
|
|
424
436
|
export interface InterfaceTypeExtensionNode {
|
|
425
|
-
readonly kind:
|
|
437
|
+
readonly kind: KindTypeMap['INTERFACE_TYPE_EXTENSION'];
|
|
426
438
|
readonly loc?: Location | undefined;
|
|
427
439
|
readonly name: NameNode;
|
|
428
440
|
readonly interfaces?: ReadonlyArray<NamedTypeNode> | undefined;
|
|
@@ -430,23 +442,54 @@ export interface InterfaceTypeExtensionNode {
|
|
|
430
442
|
readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;
|
|
431
443
|
}
|
|
432
444
|
export interface UnionTypeExtensionNode {
|
|
433
|
-
readonly kind:
|
|
445
|
+
readonly kind: KindTypeMap['UNION_TYPE_EXTENSION'];
|
|
434
446
|
readonly loc?: Location | undefined;
|
|
435
447
|
readonly name: NameNode;
|
|
436
448
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
437
449
|
readonly types?: ReadonlyArray<NamedTypeNode> | undefined;
|
|
438
450
|
}
|
|
439
451
|
export interface EnumTypeExtensionNode {
|
|
440
|
-
readonly kind:
|
|
452
|
+
readonly kind: KindTypeMap['ENUM_TYPE_EXTENSION'];
|
|
441
453
|
readonly loc?: Location | undefined;
|
|
442
454
|
readonly name: NameNode;
|
|
443
455
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
444
456
|
readonly values?: ReadonlyArray<EnumValueDefinitionNode> | undefined;
|
|
445
457
|
}
|
|
446
458
|
export interface InputObjectTypeExtensionNode {
|
|
447
|
-
readonly kind:
|
|
459
|
+
readonly kind: KindTypeMap['INPUT_OBJECT_TYPE_EXTENSION'];
|
|
448
460
|
readonly loc?: Location | undefined;
|
|
449
461
|
readonly name: NameNode;
|
|
450
462
|
readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;
|
|
451
463
|
readonly fields?: ReadonlyArray<InputValueDefinitionNode> | undefined;
|
|
452
464
|
}
|
|
465
|
+
/** Schema Coordinates */
|
|
466
|
+
export type SchemaCoordinateNode = TypeCoordinateNode | MemberCoordinateNode | ArgumentCoordinateNode | DirectiveCoordinateNode | DirectiveArgumentCoordinateNode;
|
|
467
|
+
export interface TypeCoordinateNode {
|
|
468
|
+
readonly kind: KindTypeMap['TYPE_COORDINATE'];
|
|
469
|
+
readonly loc?: Location;
|
|
470
|
+
readonly name: NameNode;
|
|
471
|
+
}
|
|
472
|
+
export interface MemberCoordinateNode {
|
|
473
|
+
readonly kind: KindTypeMap['MEMBER_COORDINATE'];
|
|
474
|
+
readonly loc?: Location;
|
|
475
|
+
readonly name: NameNode;
|
|
476
|
+
readonly memberName: NameNode;
|
|
477
|
+
}
|
|
478
|
+
export interface ArgumentCoordinateNode {
|
|
479
|
+
readonly kind: KindTypeMap['ARGUMENT_COORDINATE'];
|
|
480
|
+
readonly loc?: Location;
|
|
481
|
+
readonly name: NameNode;
|
|
482
|
+
readonly fieldName: NameNode;
|
|
483
|
+
readonly argumentName: NameNode;
|
|
484
|
+
}
|
|
485
|
+
export interface DirectiveCoordinateNode {
|
|
486
|
+
readonly kind: KindTypeMap['DIRECTIVE_COORDINATE'];
|
|
487
|
+
readonly loc?: Location;
|
|
488
|
+
readonly name: NameNode;
|
|
489
|
+
}
|
|
490
|
+
export interface DirectiveArgumentCoordinateNode {
|
|
491
|
+
readonly kind: KindTypeMap['DIRECTIVE_ARGUMENT_COORDINATE'];
|
|
492
|
+
readonly loc?: Location;
|
|
493
|
+
readonly name: NameNode;
|
|
494
|
+
readonly argumentName: NameNode;
|
|
495
|
+
}
|
package/language/ast.js
CHANGED
|
@@ -27,7 +27,7 @@ exports.Location = Location;
|
|
|
27
27
|
* within a Source.
|
|
28
28
|
*/
|
|
29
29
|
class Token {
|
|
30
|
-
// eslint-disable-next-line
|
|
30
|
+
// eslint-disable-next-line max-params
|
|
31
31
|
constructor(kind, start, end, line, column, value) {
|
|
32
32
|
this.kind = kind;
|
|
33
33
|
this.start = start;
|
|
@@ -59,12 +59,19 @@ exports.QueryDocumentKeys = {
|
|
|
59
59
|
Name: [],
|
|
60
60
|
Document: ['definitions'],
|
|
61
61
|
OperationDefinition: [
|
|
62
|
+
'description',
|
|
62
63
|
'name',
|
|
63
64
|
'variableDefinitions',
|
|
64
65
|
'directives',
|
|
65
66
|
'selectionSet',
|
|
66
67
|
],
|
|
67
|
-
VariableDefinition: [
|
|
68
|
+
VariableDefinition: [
|
|
69
|
+
'description',
|
|
70
|
+
'variable',
|
|
71
|
+
'type',
|
|
72
|
+
'defaultValue',
|
|
73
|
+
'directives',
|
|
74
|
+
],
|
|
68
75
|
Variable: ['name'],
|
|
69
76
|
SelectionSet: ['selections'],
|
|
70
77
|
Field: ['alias', 'name', 'arguments', 'directives', 'selectionSet'],
|
|
@@ -79,6 +86,7 @@ exports.QueryDocumentKeys = {
|
|
|
79
86
|
],
|
|
80
87
|
InlineFragment: ['typeCondition', 'directives', 'selectionSet'],
|
|
81
88
|
FragmentDefinition: [
|
|
89
|
+
'description',
|
|
82
90
|
'name',
|
|
83
91
|
// Note: Fragment variables are experimental and may be changed or removed
|
|
84
92
|
// in the future.
|
|
@@ -137,6 +145,11 @@ exports.QueryDocumentKeys = {
|
|
|
137
145
|
UnionTypeExtension: ['name', 'directives', 'types'],
|
|
138
146
|
EnumTypeExtension: ['name', 'directives', 'values'],
|
|
139
147
|
InputObjectTypeExtension: ['name', 'directives', 'fields'],
|
|
148
|
+
TypeCoordinate: ['name'],
|
|
149
|
+
MemberCoordinate: ['name', 'memberName'],
|
|
150
|
+
ArgumentCoordinate: ['name', 'fieldName', 'argumentName'],
|
|
151
|
+
DirectiveCoordinate: ['name'],
|
|
152
|
+
DirectiveArgumentCoordinate: ['name', 'argumentName'],
|
|
140
153
|
};
|
|
141
154
|
const kindValues = new Set(Object.keys(exports.QueryDocumentKeys));
|
|
142
155
|
/**
|
package/language/ast.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ast.js","sourceRoot":"","sources":["../../src/language/ast.ts"],"names":[],"mappings":"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","sourcesContent":["import type { Kind } from './kinds.js';\nimport type { Source } from './source.js';\nimport type { TokenKind } from './tokenKind.js';\n\n/**\n * Contains a range of UTF-8 character offsets and token references that\n * identify the region of the source from which the AST derived.\n */\nexport class Location {\n /**\n * The character offset at which this Node begins.\n */\n readonly start: number;\n\n /**\n * The character offset at which this Node ends.\n */\n readonly end: number;\n\n /**\n * The Token at which this Node begins.\n */\n readonly startToken: Token;\n\n /**\n * The Token at which this Node ends.\n */\n readonly endToken: Token;\n\n /**\n * The Source document the AST represents.\n */\n readonly source: Source;\n\n constructor(startToken: Token, endToken: Token, source: Source) {\n this.start = startToken.start;\n this.end = endToken.end;\n this.startToken = startToken;\n this.endToken = endToken;\n this.source = source;\n }\n\n get [Symbol.toStringTag]() {\n return 'Location';\n }\n\n toJSON(): { start: number; end: number } {\n return { start: this.start, end: this.end };\n }\n}\n\n/**\n * Represents a range of characters represented by a lexical token\n * within a Source.\n */\nexport class Token {\n /**\n * The kind of Token.\n */\n readonly kind: TokenKind;\n\n /**\n * The character offset at which this Node begins.\n */\n readonly start: number;\n\n /**\n * The character offset at which this Node ends.\n */\n readonly end: number;\n\n /**\n * The 1-indexed line number on which this Token appears.\n */\n readonly line: number;\n\n /**\n * The 1-indexed column number at which this Token begins.\n */\n readonly column: number;\n\n /**\n * For non-punctuation tokens, represents the interpreted value of the token.\n *\n * Note: is undefined for punctuation tokens, but typed as string for\n * convenience in the parser.\n */\n readonly value: string;\n\n /**\n * Tokens exist as nodes in a double-linked-list amongst all tokens\n * including ignored tokens. <SOF> is always the first node and <EOF>\n * the last.\n */\n readonly prev: Token | null;\n readonly next: Token | null;\n\n // eslint-disable-next-line @typescript-eslint/max-params\n constructor(\n kind: TokenKind,\n start: number,\n end: number,\n line: number,\n column: number,\n value?: string,\n ) {\n this.kind = kind;\n this.start = start;\n this.end = end;\n this.line = line;\n this.column = column;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n this.value = value!;\n this.prev = null;\n this.next = null;\n }\n\n get [Symbol.toStringTag]() {\n return 'Token';\n }\n\n toJSON(): {\n kind: TokenKind;\n value?: string;\n line: number;\n column: number;\n } {\n return {\n kind: this.kind,\n value: this.value,\n line: this.line,\n column: this.column,\n };\n }\n}\n\n/**\n * The list of all possible AST node types.\n */\nexport type ASTNode =\n | NameNode\n | DocumentNode\n | OperationDefinitionNode\n | VariableDefinitionNode\n | VariableNode\n | SelectionSetNode\n | FieldNode\n | ArgumentNode\n | FragmentArgumentNode\n | FragmentSpreadNode\n | InlineFragmentNode\n | FragmentDefinitionNode\n | IntValueNode\n | FloatValueNode\n | StringValueNode\n | BooleanValueNode\n | NullValueNode\n | EnumValueNode\n | ListValueNode\n | ObjectValueNode\n | ObjectFieldNode\n | DirectiveNode\n | NamedTypeNode\n | ListTypeNode\n | NonNullTypeNode\n | SchemaDefinitionNode\n | OperationTypeDefinitionNode\n | ScalarTypeDefinitionNode\n | ObjectTypeDefinitionNode\n | FieldDefinitionNode\n | InputValueDefinitionNode\n | InterfaceTypeDefinitionNode\n | UnionTypeDefinitionNode\n | EnumTypeDefinitionNode\n | EnumValueDefinitionNode\n | InputObjectTypeDefinitionNode\n | DirectiveDefinitionNode\n | SchemaExtensionNode\n | ScalarTypeExtensionNode\n | ObjectTypeExtensionNode\n | InterfaceTypeExtensionNode\n | UnionTypeExtensionNode\n | EnumTypeExtensionNode\n | InputObjectTypeExtensionNode;\n\n/**\n * Utility type listing all nodes indexed by their kind.\n */\nexport type ASTKindToNode = {\n [NodeT in ASTNode as NodeT['kind']]: NodeT;\n};\n\n/**\n * @internal\n */\nexport const QueryDocumentKeys: {\n [NodeT in ASTNode as NodeT['kind']]: ReadonlyArray<keyof NodeT>;\n} = {\n Name: [],\n\n Document: ['definitions'],\n OperationDefinition: [\n 'name',\n 'variableDefinitions',\n 'directives',\n 'selectionSet',\n ],\n VariableDefinition: ['variable', 'type', 'defaultValue', 'directives'],\n Variable: ['name'],\n SelectionSet: ['selections'],\n Field: ['alias', 'name', 'arguments', 'directives', 'selectionSet'],\n Argument: ['name', 'value'],\n FragmentArgument: ['name', 'value'],\n\n FragmentSpread: [\n 'name',\n // Note: Fragment arguments are experimental and may be changed or removed\n // in the future.\n 'arguments',\n 'directives',\n ],\n InlineFragment: ['typeCondition', 'directives', 'selectionSet'],\n FragmentDefinition: [\n 'name',\n // Note: Fragment variables are experimental and may be changed or removed\n // in the future.\n 'variableDefinitions',\n 'typeCondition',\n 'directives',\n 'selectionSet',\n ],\n\n IntValue: [],\n FloatValue: [],\n StringValue: [],\n BooleanValue: [],\n NullValue: [],\n EnumValue: [],\n ListValue: ['values'],\n ObjectValue: ['fields'],\n ObjectField: ['name', 'value'],\n\n Directive: ['name', 'arguments'],\n\n NamedType: ['name'],\n ListType: ['type'],\n NonNullType: ['type'],\n\n SchemaDefinition: ['description', 'directives', 'operationTypes'],\n OperationTypeDefinition: ['type'],\n\n ScalarTypeDefinition: ['description', 'name', 'directives'],\n ObjectTypeDefinition: [\n 'description',\n 'name',\n 'interfaces',\n 'directives',\n 'fields',\n ],\n FieldDefinition: ['description', 'name', 'arguments', 'type', 'directives'],\n InputValueDefinition: [\n 'description',\n 'name',\n 'type',\n 'defaultValue',\n 'directives',\n ],\n InterfaceTypeDefinition: [\n 'description',\n 'name',\n 'interfaces',\n 'directives',\n 'fields',\n ],\n UnionTypeDefinition: ['description', 'name', 'directives', 'types'],\n EnumTypeDefinition: ['description', 'name', 'directives', 'values'],\n EnumValueDefinition: ['description', 'name', 'directives'],\n InputObjectTypeDefinition: ['description', 'name', 'directives', 'fields'],\n\n DirectiveDefinition: ['description', 'name', 'arguments', 'locations'],\n\n SchemaExtension: ['directives', 'operationTypes'],\n\n ScalarTypeExtension: ['name', 'directives'],\n ObjectTypeExtension: ['name', 'interfaces', 'directives', 'fields'],\n InterfaceTypeExtension: ['name', 'interfaces', 'directives', 'fields'],\n UnionTypeExtension: ['name', 'directives', 'types'],\n EnumTypeExtension: ['name', 'directives', 'values'],\n InputObjectTypeExtension: ['name', 'directives', 'fields'],\n};\n\nconst kindValues = new Set<string>(Object.keys(QueryDocumentKeys));\n/**\n * @internal\n */\nexport function isNode(maybeNode: any): maybeNode is ASTNode {\n const maybeKind = maybeNode?.kind;\n return typeof maybeKind === 'string' && kindValues.has(maybeKind);\n}\n\n/** Name */\n\nexport interface NameNode {\n readonly kind: typeof Kind.NAME;\n readonly loc?: Location | undefined;\n readonly value: string;\n}\n\n/** Document */\n\nexport interface DocumentNode {\n readonly kind: typeof Kind.DOCUMENT;\n readonly loc?: Location | undefined;\n readonly definitions: ReadonlyArray<DefinitionNode>;\n readonly tokenCount?: number | undefined;\n}\n\nexport type DefinitionNode =\n | ExecutableDefinitionNode\n | TypeSystemDefinitionNode\n | TypeSystemExtensionNode;\n\nexport type ExecutableDefinitionNode =\n | OperationDefinitionNode\n | FragmentDefinitionNode;\n\nexport interface OperationDefinitionNode {\n readonly kind: typeof Kind.OPERATION_DEFINITION;\n readonly loc?: Location | undefined;\n readonly operation: OperationTypeNode;\n readonly name?: NameNode | undefined;\n readonly variableDefinitions?:\n | ReadonlyArray<VariableDefinitionNode>\n | undefined;\n readonly directives?: ReadonlyArray<DirectiveNode> | undefined;\n readonly selectionSet: SelectionSetNode;\n}\n\nexport const OperationTypeNode = {\n QUERY: 'query' as const,\n MUTATION: 'mutation' as const,\n SUBSCRIPTION: 'subscription' as const,\n} as const;\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type OperationTypeNode =\n (typeof OperationTypeNode)[keyof typeof OperationTypeNode];\n\nexport interface VariableDefinitionNode {\n readonly kind: typeof Kind.VARIABLE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly variable: VariableNode;\n readonly type: TypeNode;\n readonly defaultValue?: ConstValueNode | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface VariableNode {\n readonly kind: typeof Kind.VARIABLE;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n}\n\nexport interface SelectionSetNode {\n kind: typeof Kind.SELECTION_SET;\n loc?: Location | undefined;\n selections: ReadonlyArray<SelectionNode>;\n}\n\nexport type SelectionNode = FieldNode | FragmentSpreadNode | InlineFragmentNode;\n\nexport interface FieldNode {\n readonly kind: typeof Kind.FIELD;\n readonly loc?: Location | undefined;\n readonly alias?: NameNode | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<ArgumentNode> | undefined;\n readonly directives?: ReadonlyArray<DirectiveNode> | undefined;\n readonly selectionSet?: SelectionSetNode | undefined;\n}\n\nexport interface ArgumentNode {\n readonly kind: typeof Kind.ARGUMENT;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly value: ValueNode;\n}\n\nexport interface ConstArgumentNode {\n readonly kind: typeof Kind.ARGUMENT;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly value: ConstValueNode;\n}\n\nexport interface FragmentArgumentNode {\n readonly kind: typeof Kind.FRAGMENT_ARGUMENT;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly value: ValueNode;\n}\n\n/** Fragments */\n\nexport interface FragmentSpreadNode {\n readonly kind: typeof Kind.FRAGMENT_SPREAD;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<FragmentArgumentNode> | undefined;\n readonly directives?: ReadonlyArray<DirectiveNode> | undefined;\n}\n\nexport interface InlineFragmentNode {\n readonly kind: typeof Kind.INLINE_FRAGMENT;\n readonly loc?: Location | undefined;\n readonly typeCondition?: NamedTypeNode | undefined;\n readonly directives?: ReadonlyArray<DirectiveNode> | undefined;\n readonly selectionSet: SelectionSetNode;\n}\n\nexport interface FragmentDefinitionNode {\n readonly kind: typeof Kind.FRAGMENT_DEFINITION;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly variableDefinitions?:\n | ReadonlyArray<VariableDefinitionNode>\n | undefined;\n readonly typeCondition: NamedTypeNode;\n readonly directives?: ReadonlyArray<DirectiveNode> | undefined;\n readonly selectionSet: SelectionSetNode;\n}\n\n/** Values */\n\nexport type ValueNode =\n | VariableNode\n | IntValueNode\n | FloatValueNode\n | StringValueNode\n | BooleanValueNode\n | NullValueNode\n | EnumValueNode\n | ListValueNode\n | ObjectValueNode;\n\nexport type ConstValueNode =\n | IntValueNode\n | FloatValueNode\n | StringValueNode\n | BooleanValueNode\n | NullValueNode\n | EnumValueNode\n | ConstListValueNode\n | ConstObjectValueNode;\n\nexport interface IntValueNode {\n readonly kind: typeof Kind.INT;\n readonly loc?: Location | undefined;\n readonly value: string;\n}\n\nexport interface FloatValueNode {\n readonly kind: typeof Kind.FLOAT;\n readonly loc?: Location | undefined;\n readonly value: string;\n}\n\nexport interface StringValueNode {\n readonly kind: typeof Kind.STRING;\n readonly loc?: Location | undefined;\n readonly value: string;\n readonly block?: boolean | undefined;\n}\n\nexport interface BooleanValueNode {\n readonly kind: typeof Kind.BOOLEAN;\n readonly loc?: Location | undefined;\n readonly value: boolean;\n}\n\nexport interface NullValueNode {\n readonly kind: typeof Kind.NULL;\n readonly loc?: Location | undefined;\n}\n\nexport interface EnumValueNode {\n readonly kind: typeof Kind.ENUM;\n readonly loc?: Location | undefined;\n readonly value: string;\n}\n\nexport interface ListValueNode {\n readonly kind: typeof Kind.LIST;\n readonly loc?: Location | undefined;\n readonly values: ReadonlyArray<ValueNode>;\n}\n\nexport interface ConstListValueNode {\n readonly kind: typeof Kind.LIST;\n readonly loc?: Location | undefined;\n readonly values: ReadonlyArray<ConstValueNode>;\n}\n\nexport interface ObjectValueNode {\n readonly kind: typeof Kind.OBJECT;\n readonly loc?: Location | undefined;\n readonly fields: ReadonlyArray<ObjectFieldNode>;\n}\n\nexport interface ConstObjectValueNode {\n readonly kind: typeof Kind.OBJECT;\n readonly loc?: Location | undefined;\n readonly fields: ReadonlyArray<ConstObjectFieldNode>;\n}\n\nexport interface ObjectFieldNode {\n readonly kind: typeof Kind.OBJECT_FIELD;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly value: ValueNode;\n}\n\nexport interface ConstObjectFieldNode {\n readonly kind: typeof Kind.OBJECT_FIELD;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly value: ConstValueNode;\n}\n\n/** Directives */\n\nexport interface DirectiveNode {\n readonly kind: typeof Kind.DIRECTIVE;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<ArgumentNode> | undefined;\n}\n\nexport interface ConstDirectiveNode {\n readonly kind: typeof Kind.DIRECTIVE;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<ConstArgumentNode> | undefined;\n}\n\n/** Type Reference */\n\nexport type TypeNode = NamedTypeNode | ListTypeNode | NonNullTypeNode;\n\nexport interface NamedTypeNode {\n readonly kind: typeof Kind.NAMED_TYPE;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n}\n\nexport interface ListTypeNode {\n readonly kind: typeof Kind.LIST_TYPE;\n readonly loc?: Location | undefined;\n readonly type: TypeNode;\n}\n\nexport interface NonNullTypeNode {\n readonly kind: typeof Kind.NON_NULL_TYPE;\n readonly loc?: Location | undefined;\n readonly type: NamedTypeNode | ListTypeNode;\n}\n\n/** Type System Definition */\n\nexport type TypeSystemDefinitionNode =\n | SchemaDefinitionNode\n | TypeDefinitionNode\n | DirectiveDefinitionNode;\n\nexport interface SchemaDefinitionNode {\n readonly kind: typeof Kind.SCHEMA_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly operationTypes: ReadonlyArray<OperationTypeDefinitionNode>;\n}\n\nexport interface OperationTypeDefinitionNode {\n readonly kind: typeof Kind.OPERATION_TYPE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly operation: OperationTypeNode;\n readonly type: NamedTypeNode;\n}\n\n/** Type Definition */\n\nexport type TypeDefinitionNode =\n | ScalarTypeDefinitionNode\n | ObjectTypeDefinitionNode\n | InterfaceTypeDefinitionNode\n | UnionTypeDefinitionNode\n | EnumTypeDefinitionNode\n | InputObjectTypeDefinitionNode;\n\nexport interface ScalarTypeDefinitionNode {\n readonly kind: typeof Kind.SCALAR_TYPE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface ObjectTypeDefinitionNode {\n readonly kind: typeof Kind.OBJECT_TYPE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly interfaces?: ReadonlyArray<NamedTypeNode> | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;\n}\n\nexport interface FieldDefinitionNode {\n readonly kind: typeof Kind.FIELD_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<InputValueDefinitionNode> | undefined;\n readonly type: TypeNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface InputValueDefinitionNode {\n readonly kind: typeof Kind.INPUT_VALUE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly type: TypeNode;\n readonly defaultValue?: ConstValueNode | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface InterfaceTypeDefinitionNode {\n readonly kind: typeof Kind.INTERFACE_TYPE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly interfaces?: ReadonlyArray<NamedTypeNode> | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;\n}\n\nexport interface UnionTypeDefinitionNode {\n readonly kind: typeof Kind.UNION_TYPE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly types?: ReadonlyArray<NamedTypeNode> | undefined;\n}\n\nexport interface EnumTypeDefinitionNode {\n readonly kind: typeof Kind.ENUM_TYPE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly values?: ReadonlyArray<EnumValueDefinitionNode> | undefined;\n}\n\nexport interface EnumValueDefinitionNode {\n readonly kind: typeof Kind.ENUM_VALUE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface InputObjectTypeDefinitionNode {\n readonly kind: typeof Kind.INPUT_OBJECT_TYPE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<InputValueDefinitionNode> | undefined;\n}\n\n/** Directive Definitions */\n\nexport interface DirectiveDefinitionNode {\n readonly kind: typeof Kind.DIRECTIVE_DEFINITION;\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<InputValueDefinitionNode> | undefined;\n readonly repeatable: boolean;\n readonly locations: ReadonlyArray<NameNode>;\n}\n\n/** Type System Extensions */\n\nexport type TypeSystemExtensionNode = SchemaExtensionNode | TypeExtensionNode;\n\nexport interface SchemaExtensionNode {\n readonly kind: typeof Kind.SCHEMA_EXTENSION;\n readonly loc?: Location | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly operationTypes?:\n | ReadonlyArray<OperationTypeDefinitionNode>\n | undefined;\n}\n\n/** Type Extensions */\n\nexport type TypeExtensionNode =\n | ScalarTypeExtensionNode\n | ObjectTypeExtensionNode\n | InterfaceTypeExtensionNode\n | UnionTypeExtensionNode\n | EnumTypeExtensionNode\n | InputObjectTypeExtensionNode;\n\nexport interface ScalarTypeExtensionNode {\n readonly kind: typeof Kind.SCALAR_TYPE_EXTENSION;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface ObjectTypeExtensionNode {\n readonly kind: typeof Kind.OBJECT_TYPE_EXTENSION;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly interfaces?: ReadonlyArray<NamedTypeNode> | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;\n}\n\nexport interface InterfaceTypeExtensionNode {\n readonly kind: typeof Kind.INTERFACE_TYPE_EXTENSION;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly interfaces?: ReadonlyArray<NamedTypeNode> | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;\n}\n\nexport interface UnionTypeExtensionNode {\n readonly kind: typeof Kind.UNION_TYPE_EXTENSION;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly types?: ReadonlyArray<NamedTypeNode> | undefined;\n}\n\nexport interface EnumTypeExtensionNode {\n readonly kind: typeof Kind.ENUM_TYPE_EXTENSION;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly values?: ReadonlyArray<EnumValueDefinitionNode> | undefined;\n}\n\nexport interface InputObjectTypeExtensionNode {\n readonly kind: typeof Kind.INPUT_OBJECT_TYPE_EXTENSION;\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<InputValueDefinitionNode> | undefined;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ast.js","sourceRoot":"","sources":["../../src/language/ast.ts"],"names":[],"mappings":"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","sourcesContent":["import type { KindTypeMap } from './KindTypeMap.js';\nimport type { Source } from './source.js';\nimport type { TokenKind } from './tokenKind.js';\n\n/**\n * Contains a range of UTF-8 character offsets and token references that\n * identify the region of the source from which the AST derived.\n */\nexport class Location {\n /**\n * The character offset at which this Node begins.\n */\n readonly start: number;\n\n /**\n * The character offset at which this Node ends.\n */\n readonly end: number;\n\n /**\n * The Token at which this Node begins.\n */\n readonly startToken: Token;\n\n /**\n * The Token at which this Node ends.\n */\n readonly endToken: Token;\n\n /**\n * The Source document the AST represents.\n */\n readonly source: Source;\n\n constructor(startToken: Token, endToken: Token, source: Source) {\n this.start = startToken.start;\n this.end = endToken.end;\n this.startToken = startToken;\n this.endToken = endToken;\n this.source = source;\n }\n\n get [Symbol.toStringTag](): string {\n return 'Location';\n }\n\n toJSON(): { start: number; end: number } {\n return { start: this.start, end: this.end };\n }\n}\n\n/**\n * Represents a range of characters represented by a lexical token\n * within a Source.\n */\nexport class Token {\n /**\n * The kind of Token.\n */\n readonly kind: TokenKind;\n\n /**\n * The character offset at which this Node begins.\n */\n readonly start: number;\n\n /**\n * The character offset at which this Node ends.\n */\n readonly end: number;\n\n /**\n * The 1-indexed line number on which this Token appears.\n */\n readonly line: number;\n\n /**\n * The 1-indexed column number at which this Token begins.\n */\n readonly column: number;\n\n /**\n * For non-punctuation tokens, represents the interpreted value of the token.\n *\n * Note: is undefined for punctuation tokens, but typed as string for\n * convenience in the parser.\n */\n readonly value: string;\n\n /**\n * Tokens exist as nodes in a double-linked-list amongst all tokens\n * including ignored tokens. <SOF> is always the first node and <EOF>\n * the last.\n */\n readonly prev: Token | null;\n readonly next: Token | null;\n\n // eslint-disable-next-line max-params\n constructor(\n kind: TokenKind,\n start: number,\n end: number,\n line: number,\n column: number,\n value?: string,\n ) {\n this.kind = kind;\n this.start = start;\n this.end = end;\n this.line = line;\n this.column = column;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n this.value = value!;\n this.prev = null;\n this.next = null;\n }\n\n get [Symbol.toStringTag](): string {\n return 'Token';\n }\n\n toJSON(): {\n kind: TokenKind;\n value?: string;\n line: number;\n column: number;\n } {\n return {\n kind: this.kind,\n value: this.value,\n line: this.line,\n column: this.column,\n };\n }\n}\n\n/**\n * The list of all possible AST node types.\n */\nexport type ASTNode =\n | NameNode\n | DocumentNode\n | OperationDefinitionNode\n | VariableDefinitionNode\n | VariableNode\n | SelectionSetNode\n | FieldNode\n | ArgumentNode\n | FragmentArgumentNode\n | FragmentSpreadNode\n | InlineFragmentNode\n | FragmentDefinitionNode\n | IntValueNode\n | FloatValueNode\n | StringValueNode\n | BooleanValueNode\n | NullValueNode\n | EnumValueNode\n | ListValueNode\n | ObjectValueNode\n | ObjectFieldNode\n | DirectiveNode\n | NamedTypeNode\n | ListTypeNode\n | NonNullTypeNode\n | SchemaDefinitionNode\n | OperationTypeDefinitionNode\n | ScalarTypeDefinitionNode\n | ObjectTypeDefinitionNode\n | FieldDefinitionNode\n | InputValueDefinitionNode\n | InterfaceTypeDefinitionNode\n | UnionTypeDefinitionNode\n | EnumTypeDefinitionNode\n | EnumValueDefinitionNode\n | InputObjectTypeDefinitionNode\n | DirectiveDefinitionNode\n | SchemaExtensionNode\n | ScalarTypeExtensionNode\n | ObjectTypeExtensionNode\n | InterfaceTypeExtensionNode\n | UnionTypeExtensionNode\n | EnumTypeExtensionNode\n | InputObjectTypeExtensionNode\n | TypeCoordinateNode\n | MemberCoordinateNode\n | ArgumentCoordinateNode\n | DirectiveCoordinateNode\n | DirectiveArgumentCoordinateNode;\n\n/**\n * Utility type listing all nodes indexed by their kind.\n */\nexport type ASTKindToNode = {\n [NodeT in ASTNode as NodeT['kind']]: NodeT;\n};\n\n/**\n * @internal\n */\nexport const QueryDocumentKeys: {\n [NodeT in ASTNode as NodeT['kind']]: ReadonlyArray<keyof NodeT>;\n} = {\n Name: [],\n\n Document: ['definitions'],\n OperationDefinition: [\n 'description',\n 'name',\n 'variableDefinitions',\n 'directives',\n 'selectionSet',\n ],\n VariableDefinition: [\n 'description',\n 'variable',\n 'type',\n 'defaultValue',\n 'directives',\n ],\n Variable: ['name'],\n SelectionSet: ['selections'],\n Field: ['alias', 'name', 'arguments', 'directives', 'selectionSet'],\n Argument: ['name', 'value'],\n FragmentArgument: ['name', 'value'],\n\n FragmentSpread: [\n 'name',\n // Note: Fragment arguments are experimental and may be changed or removed\n // in the future.\n 'arguments',\n 'directives',\n ],\n InlineFragment: ['typeCondition', 'directives', 'selectionSet'],\n FragmentDefinition: [\n 'description',\n 'name',\n // Note: Fragment variables are experimental and may be changed or removed\n // in the future.\n 'variableDefinitions',\n 'typeCondition',\n 'directives',\n 'selectionSet',\n ],\n\n IntValue: [],\n FloatValue: [],\n StringValue: [],\n BooleanValue: [],\n NullValue: [],\n EnumValue: [],\n ListValue: ['values'],\n ObjectValue: ['fields'],\n ObjectField: ['name', 'value'],\n\n Directive: ['name', 'arguments'],\n\n NamedType: ['name'],\n ListType: ['type'],\n NonNullType: ['type'],\n\n SchemaDefinition: ['description', 'directives', 'operationTypes'],\n OperationTypeDefinition: ['type'],\n\n ScalarTypeDefinition: ['description', 'name', 'directives'],\n ObjectTypeDefinition: [\n 'description',\n 'name',\n 'interfaces',\n 'directives',\n 'fields',\n ],\n FieldDefinition: ['description', 'name', 'arguments', 'type', 'directives'],\n InputValueDefinition: [\n 'description',\n 'name',\n 'type',\n 'defaultValue',\n 'directives',\n ],\n InterfaceTypeDefinition: [\n 'description',\n 'name',\n 'interfaces',\n 'directives',\n 'fields',\n ],\n UnionTypeDefinition: ['description', 'name', 'directives', 'types'],\n EnumTypeDefinition: ['description', 'name', 'directives', 'values'],\n EnumValueDefinition: ['description', 'name', 'directives'],\n InputObjectTypeDefinition: ['description', 'name', 'directives', 'fields'],\n\n DirectiveDefinition: ['description', 'name', 'arguments', 'locations'],\n\n SchemaExtension: ['directives', 'operationTypes'],\n\n ScalarTypeExtension: ['name', 'directives'],\n ObjectTypeExtension: ['name', 'interfaces', 'directives', 'fields'],\n InterfaceTypeExtension: ['name', 'interfaces', 'directives', 'fields'],\n UnionTypeExtension: ['name', 'directives', 'types'],\n EnumTypeExtension: ['name', 'directives', 'values'],\n InputObjectTypeExtension: ['name', 'directives', 'fields'],\n\n TypeCoordinate: ['name'],\n MemberCoordinate: ['name', 'memberName'],\n ArgumentCoordinate: ['name', 'fieldName', 'argumentName'],\n DirectiveCoordinate: ['name'],\n DirectiveArgumentCoordinate: ['name', 'argumentName'],\n};\n\nconst kindValues = new Set<string>(Object.keys(QueryDocumentKeys));\n/**\n * @internal\n */\nexport function isNode(maybeNode: any): maybeNode is ASTNode {\n const maybeKind = maybeNode?.kind;\n return typeof maybeKind === 'string' && kindValues.has(maybeKind);\n}\n\n/** Name */\n\nexport interface NameNode {\n readonly kind: KindTypeMap['NAME'];\n readonly loc?: Location | undefined;\n readonly value: string;\n}\n\n/** Document */\n\nexport interface DocumentNode {\n readonly kind: KindTypeMap['DOCUMENT'];\n readonly loc?: Location | undefined;\n readonly definitions: ReadonlyArray<DefinitionNode>;\n readonly tokenCount?: number | undefined;\n}\n\nexport type DefinitionNode =\n | ExecutableDefinitionNode\n | TypeSystemDefinitionNode\n | TypeSystemExtensionNode;\n\nexport type ExecutableDefinitionNode =\n | OperationDefinitionNode\n | FragmentDefinitionNode;\n\nexport interface OperationDefinitionNode {\n readonly kind: KindTypeMap['OPERATION_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly operation: OperationTypeNode;\n readonly name?: NameNode | undefined;\n readonly variableDefinitions?:\n | ReadonlyArray<VariableDefinitionNode>\n | undefined;\n readonly directives?: ReadonlyArray<DirectiveNode> | undefined;\n readonly selectionSet: SelectionSetNode;\n}\n\n/**\n * A narrowed OperationDefinitionNode for subscription operations.\n * Subscription operations go through a distinct execution pipeline\n * (source event stream + per-event execution), so narrowing the operation\n * type allows functions in that pipeline to accept only valid input.\n */\nexport interface SubscriptionOperationDefinitionNode extends OperationDefinitionNode {\n readonly operation: (typeof OperationTypeNode)['SUBSCRIPTION'];\n}\n\nexport const OperationTypeNode = {\n QUERY: 'query' as const,\n MUTATION: 'mutation' as const,\n SUBSCRIPTION: 'subscription' as const,\n} as const;\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type OperationTypeNode =\n (typeof OperationTypeNode)[keyof typeof OperationTypeNode];\n\nexport interface VariableDefinitionNode {\n readonly kind: KindTypeMap['VARIABLE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly variable: VariableNode;\n readonly type: TypeNode;\n readonly defaultValue?: ConstValueNode | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface VariableNode {\n readonly kind: KindTypeMap['VARIABLE'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n}\n\nexport interface SelectionSetNode {\n kind: KindTypeMap['SELECTION_SET'];\n loc?: Location | undefined;\n selections: ReadonlyArray<SelectionNode>;\n}\n\nexport type SelectionNode = FieldNode | FragmentSpreadNode | InlineFragmentNode;\n\nexport interface FieldNode {\n readonly kind: KindTypeMap['FIELD'];\n readonly loc?: Location | undefined;\n readonly alias?: NameNode | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<ArgumentNode> | undefined;\n readonly directives?: ReadonlyArray<DirectiveNode> | undefined;\n readonly selectionSet?: SelectionSetNode | undefined;\n}\n\nexport interface ArgumentNode {\n readonly kind: KindTypeMap['ARGUMENT'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly value: ValueNode;\n}\n\nexport interface ConstArgumentNode {\n readonly kind: KindTypeMap['ARGUMENT'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly value: ConstValueNode;\n}\n\nexport interface FragmentArgumentNode {\n readonly kind: KindTypeMap['FRAGMENT_ARGUMENT'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly value: ValueNode;\n}\n\n/** Fragments */\n\nexport interface FragmentSpreadNode {\n readonly kind: KindTypeMap['FRAGMENT_SPREAD'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<FragmentArgumentNode> | undefined;\n readonly directives?: ReadonlyArray<DirectiveNode> | undefined;\n}\n\nexport interface InlineFragmentNode {\n readonly kind: KindTypeMap['INLINE_FRAGMENT'];\n readonly loc?: Location | undefined;\n readonly typeCondition?: NamedTypeNode | undefined;\n readonly directives?: ReadonlyArray<DirectiveNode> | undefined;\n readonly selectionSet: SelectionSetNode;\n}\n\nexport interface FragmentDefinitionNode {\n readonly kind: KindTypeMap['FRAGMENT_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly variableDefinitions?:\n | ReadonlyArray<VariableDefinitionNode>\n | undefined;\n readonly typeCondition: NamedTypeNode;\n readonly directives?: ReadonlyArray<DirectiveNode> | undefined;\n readonly selectionSet: SelectionSetNode;\n}\n\n/** Values */\n\nexport type ValueNode =\n | VariableNode\n | IntValueNode\n | FloatValueNode\n | StringValueNode\n | BooleanValueNode\n | NullValueNode\n | EnumValueNode\n | ListValueNode\n | ObjectValueNode;\n\nexport type ConstValueNode =\n | IntValueNode\n | FloatValueNode\n | StringValueNode\n | BooleanValueNode\n | NullValueNode\n | EnumValueNode\n | ConstListValueNode\n | ConstObjectValueNode;\n\nexport interface IntValueNode {\n readonly kind: KindTypeMap['INT'];\n readonly loc?: Location | undefined;\n readonly value: string;\n}\n\nexport interface FloatValueNode {\n readonly kind: KindTypeMap['FLOAT'];\n readonly loc?: Location | undefined;\n readonly value: string;\n}\n\nexport interface StringValueNode {\n readonly kind: KindTypeMap['STRING'];\n readonly loc?: Location | undefined;\n readonly value: string;\n readonly block?: boolean | undefined;\n}\n\nexport interface BooleanValueNode {\n readonly kind: KindTypeMap['BOOLEAN'];\n readonly loc?: Location | undefined;\n readonly value: boolean;\n}\n\nexport interface NullValueNode {\n readonly kind: KindTypeMap['NULL'];\n readonly loc?: Location | undefined;\n}\n\nexport interface EnumValueNode {\n readonly kind: KindTypeMap['ENUM'];\n readonly loc?: Location | undefined;\n readonly value: string;\n}\n\nexport interface ListValueNode {\n readonly kind: KindTypeMap['LIST'];\n readonly loc?: Location | undefined;\n readonly values: ReadonlyArray<ValueNode>;\n}\n\nexport interface ConstListValueNode {\n readonly kind: KindTypeMap['LIST'];\n readonly loc?: Location | undefined;\n readonly values: ReadonlyArray<ConstValueNode>;\n}\n\nexport interface ObjectValueNode {\n readonly kind: KindTypeMap['OBJECT'];\n readonly loc?: Location | undefined;\n readonly fields: ReadonlyArray<ObjectFieldNode>;\n}\n\nexport interface ConstObjectValueNode {\n readonly kind: KindTypeMap['OBJECT'];\n readonly loc?: Location | undefined;\n readonly fields: ReadonlyArray<ConstObjectFieldNode>;\n}\n\nexport interface ObjectFieldNode {\n readonly kind: KindTypeMap['OBJECT_FIELD'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly value: ValueNode;\n}\n\nexport interface ConstObjectFieldNode {\n readonly kind: KindTypeMap['OBJECT_FIELD'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly value: ConstValueNode;\n}\n\n/** Directives */\n\nexport interface DirectiveNode {\n readonly kind: KindTypeMap['DIRECTIVE'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<ArgumentNode> | undefined;\n}\n\nexport interface ConstDirectiveNode {\n readonly kind: KindTypeMap['DIRECTIVE'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<ConstArgumentNode> | undefined;\n}\n\n/** Type Reference */\n\nexport type TypeNode = NamedTypeNode | ListTypeNode | NonNullTypeNode;\n\nexport interface NamedTypeNode {\n readonly kind: KindTypeMap['NAMED_TYPE'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n}\n\nexport interface ListTypeNode {\n readonly kind: KindTypeMap['LIST_TYPE'];\n readonly loc?: Location | undefined;\n readonly type: TypeNode;\n}\n\nexport interface NonNullTypeNode {\n readonly kind: KindTypeMap['NON_NULL_TYPE'];\n readonly loc?: Location | undefined;\n readonly type: NamedTypeNode | ListTypeNode;\n}\n\n/** Type System Definition */\n\nexport type TypeSystemDefinitionNode =\n | SchemaDefinitionNode\n | TypeDefinitionNode\n | DirectiveDefinitionNode;\n\nexport interface SchemaDefinitionNode {\n readonly kind: KindTypeMap['SCHEMA_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly operationTypes: ReadonlyArray<OperationTypeDefinitionNode>;\n}\n\nexport interface OperationTypeDefinitionNode {\n readonly kind: KindTypeMap['OPERATION_TYPE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly operation: OperationTypeNode;\n readonly type: NamedTypeNode;\n}\n\n/** Type Definition */\n\nexport type TypeDefinitionNode =\n | ScalarTypeDefinitionNode\n | ObjectTypeDefinitionNode\n | InterfaceTypeDefinitionNode\n | UnionTypeDefinitionNode\n | EnumTypeDefinitionNode\n | InputObjectTypeDefinitionNode;\n\nexport interface ScalarTypeDefinitionNode {\n readonly kind: KindTypeMap['SCALAR_TYPE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface ObjectTypeDefinitionNode {\n readonly kind: KindTypeMap['OBJECT_TYPE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly interfaces?: ReadonlyArray<NamedTypeNode> | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;\n}\n\nexport interface FieldDefinitionNode {\n readonly kind: KindTypeMap['FIELD_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<InputValueDefinitionNode> | undefined;\n readonly type: TypeNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface InputValueDefinitionNode {\n readonly kind: KindTypeMap['INPUT_VALUE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly type: TypeNode;\n readonly defaultValue?: ConstValueNode | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface InterfaceTypeDefinitionNode {\n readonly kind: KindTypeMap['INTERFACE_TYPE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly interfaces?: ReadonlyArray<NamedTypeNode> | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;\n}\n\nexport interface UnionTypeDefinitionNode {\n readonly kind: KindTypeMap['UNION_TYPE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly types?: ReadonlyArray<NamedTypeNode> | undefined;\n}\n\nexport interface EnumTypeDefinitionNode {\n readonly kind: KindTypeMap['ENUM_TYPE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly values?: ReadonlyArray<EnumValueDefinitionNode> | undefined;\n}\n\nexport interface EnumValueDefinitionNode {\n readonly kind: KindTypeMap['ENUM_VALUE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface InputObjectTypeDefinitionNode {\n readonly kind: KindTypeMap['INPUT_OBJECT_TYPE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<InputValueDefinitionNode> | undefined;\n}\n\n/** Directive Definitions */\n\nexport interface DirectiveDefinitionNode {\n readonly kind: KindTypeMap['DIRECTIVE_DEFINITION'];\n readonly loc?: Location | undefined;\n readonly description?: StringValueNode | undefined;\n readonly name: NameNode;\n readonly arguments?: ReadonlyArray<InputValueDefinitionNode> | undefined;\n readonly repeatable: boolean;\n readonly locations: ReadonlyArray<NameNode>;\n}\n\n/** Type System Extensions */\n\nexport type TypeSystemExtensionNode = SchemaExtensionNode | TypeExtensionNode;\n\nexport interface SchemaExtensionNode {\n readonly kind: KindTypeMap['SCHEMA_EXTENSION'];\n readonly loc?: Location | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly operationTypes?:\n | ReadonlyArray<OperationTypeDefinitionNode>\n | undefined;\n}\n\n/** Type Extensions */\n\nexport type TypeExtensionNode =\n | ScalarTypeExtensionNode\n | ObjectTypeExtensionNode\n | InterfaceTypeExtensionNode\n | UnionTypeExtensionNode\n | EnumTypeExtensionNode\n | InputObjectTypeExtensionNode;\n\nexport interface ScalarTypeExtensionNode {\n readonly kind: KindTypeMap['SCALAR_TYPE_EXTENSION'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n}\n\nexport interface ObjectTypeExtensionNode {\n readonly kind: KindTypeMap['OBJECT_TYPE_EXTENSION'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly interfaces?: ReadonlyArray<NamedTypeNode> | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;\n}\n\nexport interface InterfaceTypeExtensionNode {\n readonly kind: KindTypeMap['INTERFACE_TYPE_EXTENSION'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly interfaces?: ReadonlyArray<NamedTypeNode> | undefined;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<FieldDefinitionNode> | undefined;\n}\n\nexport interface UnionTypeExtensionNode {\n readonly kind: KindTypeMap['UNION_TYPE_EXTENSION'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly types?: ReadonlyArray<NamedTypeNode> | undefined;\n}\n\nexport interface EnumTypeExtensionNode {\n readonly kind: KindTypeMap['ENUM_TYPE_EXTENSION'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly values?: ReadonlyArray<EnumValueDefinitionNode> | undefined;\n}\n\nexport interface InputObjectTypeExtensionNode {\n readonly kind: KindTypeMap['INPUT_OBJECT_TYPE_EXTENSION'];\n readonly loc?: Location | undefined;\n readonly name: NameNode;\n readonly directives?: ReadonlyArray<ConstDirectiveNode> | undefined;\n readonly fields?: ReadonlyArray<InputValueDefinitionNode> | undefined;\n}\n\n/** Schema Coordinates */\n\nexport type SchemaCoordinateNode =\n | TypeCoordinateNode\n | MemberCoordinateNode\n | ArgumentCoordinateNode\n | DirectiveCoordinateNode\n | DirectiveArgumentCoordinateNode;\n\nexport interface TypeCoordinateNode {\n readonly kind: KindTypeMap['TYPE_COORDINATE'];\n readonly loc?: Location;\n readonly name: NameNode;\n}\n\nexport interface MemberCoordinateNode {\n readonly kind: KindTypeMap['MEMBER_COORDINATE'];\n readonly loc?: Location;\n readonly name: NameNode;\n readonly memberName: NameNode;\n}\n\nexport interface ArgumentCoordinateNode {\n readonly kind: KindTypeMap['ARGUMENT_COORDINATE'];\n readonly loc?: Location;\n readonly name: NameNode;\n readonly fieldName: NameNode;\n readonly argumentName: NameNode;\n}\n\nexport interface DirectiveCoordinateNode {\n readonly kind: KindTypeMap['DIRECTIVE_COORDINATE'];\n readonly loc?: Location;\n readonly name: NameNode;\n}\n\nexport interface DirectiveArgumentCoordinateNode {\n readonly kind: KindTypeMap['DIRECTIVE_ARGUMENT_COORDINATE'];\n readonly loc?: Location;\n readonly name: NameNode;\n readonly argumentName: NameNode;\n}\n"]}
|