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/harness.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PromiseOrValue } from './jsutils/PromiseOrValue.js';
|
|
2
|
+
import { parse } from './language/parser.js';
|
|
3
|
+
import { validate } from './validation/validate.js';
|
|
4
|
+
import { execute, subscribe } from './execution/execute.js';
|
|
5
|
+
export type GraphQLParseFn = (...args: Parameters<typeof parse>) => PromiseOrValue<ReturnType<typeof parse>>;
|
|
6
|
+
export type GraphQLValidateFn = (...args: Parameters<typeof validate>) => PromiseOrValue<ReturnType<typeof validate>>;
|
|
7
|
+
export type GraphQLExecuteFn = (...args: Parameters<typeof execute>) => ReturnType<typeof execute>;
|
|
8
|
+
export type GraphQLSubscribeFn = (...args: Parameters<typeof subscribe>) => ReturnType<typeof subscribe>;
|
|
9
|
+
export interface GraphQLHarness {
|
|
10
|
+
parse: GraphQLParseFn;
|
|
11
|
+
validate: GraphQLValidateFn;
|
|
12
|
+
execute: GraphQLExecuteFn;
|
|
13
|
+
subscribe: GraphQLSubscribeFn;
|
|
14
|
+
}
|
|
15
|
+
export declare const defaultHarness: GraphQLHarness;
|
package/harness.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultHarness = void 0;
|
|
4
|
+
const parser_js_1 = require("./language/parser.js");
|
|
5
|
+
const validate_js_1 = require("./validation/validate.js");
|
|
6
|
+
const execute_js_1 = require("./execution/execute.js");
|
|
7
|
+
exports.defaultHarness = {
|
|
8
|
+
parse: parser_js_1.parse,
|
|
9
|
+
validate: validate_js_1.validate,
|
|
10
|
+
execute: execute_js_1.execute,
|
|
11
|
+
subscribe: execute_js_1.subscribe,
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=harness.js.map
|
package/harness.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"harness.js","sourceRoot":"","sources":["../src/harness.ts"],"names":[],"mappings":";;;AAEA,oDAA6C;AAE7C,0DAAoD;AAEpD,uDAA4D;AAyB/C,QAAA,cAAc,GAAmB;IAC5C,KAAK,EAAL,iBAAK;IACL,QAAQ,EAAR,sBAAQ;IACR,OAAO,EAAP,oBAAO;IACP,SAAS,EAAT,sBAAS;CACV,CAAC","sourcesContent":["import type { PromiseOrValue } from './jsutils/PromiseOrValue.js';\n\nimport { parse } from './language/parser.js';\n\nimport { validate } from './validation/validate.js';\n\nimport { execute, subscribe } from './execution/execute.js';\n\nexport type GraphQLParseFn = (\n ...args: Parameters<typeof parse>\n) => PromiseOrValue<ReturnType<typeof parse>>;\n\nexport type GraphQLValidateFn = (\n ...args: Parameters<typeof validate>\n) => PromiseOrValue<ReturnType<typeof validate>>;\n\nexport type GraphQLExecuteFn = (\n ...args: Parameters<typeof execute>\n) => ReturnType<typeof execute>;\n\nexport type GraphQLSubscribeFn = (\n ...args: Parameters<typeof subscribe>\n) => ReturnType<typeof subscribe>;\n\nexport interface GraphQLHarness {\n parse: GraphQLParseFn;\n validate: GraphQLValidateFn;\n execute: GraphQLExecuteFn;\n subscribe: GraphQLSubscribeFn;\n}\n\nexport const defaultHarness: GraphQLHarness = {\n parse,\n validate,\n execute,\n subscribe,\n};\n"]}
|
package/harness.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { parse } from "./language/parser.mjs";
|
|
2
|
+
import { validate } from "./validation/validate.mjs";
|
|
3
|
+
import { execute, subscribe } from "./execution/execute.mjs";
|
|
4
|
+
export const defaultHarness = {
|
|
5
|
+
parse,
|
|
6
|
+
validate,
|
|
7
|
+
execute,
|
|
8
|
+
subscribe,
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=harness.js.map
|
package/harness.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"harness.js","sourceRoot":"","sources":["../src/harness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,8BAA6B;AAE7C,OAAO,EAAE,QAAQ,EAAE,kCAAiC;AAEpD,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,gCAA+B;AAyB5D,MAAM,CAAC,MAAM,cAAc,GAAmB;IAC5C,KAAK;IACL,QAAQ;IACR,OAAO;IACP,SAAS;CACV,CAAC","sourcesContent":["import type { PromiseOrValue } from './jsutils/PromiseOrValue.js';\n\nimport { parse } from './language/parser.js';\n\nimport { validate } from './validation/validate.js';\n\nimport { execute, subscribe } from './execution/execute.js';\n\nexport type GraphQLParseFn = (\n ...args: Parameters<typeof parse>\n) => PromiseOrValue<ReturnType<typeof parse>>;\n\nexport type GraphQLValidateFn = (\n ...args: Parameters<typeof validate>\n) => PromiseOrValue<ReturnType<typeof validate>>;\n\nexport type GraphQLExecuteFn = (\n ...args: Parameters<typeof execute>\n) => ReturnType<typeof execute>;\n\nexport type GraphQLSubscribeFn = (\n ...args: Parameters<typeof subscribe>\n) => ReturnType<typeof subscribe>;\n\nexport interface GraphQLHarness {\n parse: GraphQLParseFn;\n validate: GraphQLValidateFn;\n execute: GraphQLExecuteFn;\n subscribe: GraphQLSubscribeFn;\n}\n\nexport const defaultHarness: GraphQLHarness = {\n parse,\n validate,\n execute,\n subscribe,\n};\n"]}
|
package/index.d.mts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GraphQL.js provides a reference implementation for the GraphQL specification
|
|
3
|
+
* but is also a useful utility for operating on GraphQL files and building
|
|
4
|
+
* sophisticated tools.
|
|
5
|
+
*
|
|
6
|
+
* This primary module exports a general purpose function for fulfilling all
|
|
7
|
+
* steps of the GraphQL specification in a single operation, but also includes
|
|
8
|
+
* utilities for every part of the GraphQL specification:
|
|
9
|
+
*
|
|
10
|
+
* - Parsing the GraphQL language.
|
|
11
|
+
* - Building a GraphQL type schema.
|
|
12
|
+
* - Validating a GraphQL request against a type schema.
|
|
13
|
+
* - Executing a GraphQL request against a type schema.
|
|
14
|
+
*
|
|
15
|
+
* This also includes utility functions for operating on GraphQL types and
|
|
16
|
+
* GraphQL documents to facilitate building tools.
|
|
17
|
+
*
|
|
18
|
+
* You may also import from each sub-directory directly. For example, the
|
|
19
|
+
* following two import statements are equivalent:
|
|
20
|
+
*
|
|
21
|
+
* ```ts
|
|
22
|
+
* import { parse } from 'graphql';
|
|
23
|
+
* import { parse } from 'graphql/language';
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @packageDocumentation
|
|
27
|
+
*/
|
|
28
|
+
export { version, versionInfo } from './version.js';
|
|
29
|
+
export { enableDevMode, isDevModeEnabled } from './devMode.js';
|
|
30
|
+
export type { GraphQLArgs } from './graphql.js';
|
|
31
|
+
export { graphql, graphqlSync } from './graphql.js';
|
|
32
|
+
export { defaultHarness } from './harness.js';
|
|
33
|
+
export type { GraphQLHarness, GraphQLParseFn, GraphQLValidateFn, GraphQLExecuteFn, GraphQLSubscribeFn, } from './harness.js';
|
|
34
|
+
export type { GraphQLField, GraphQLArgument, GraphQLEnumValue, GraphQLInputField, } from './type/index.js';
|
|
35
|
+
export { resolveObjMapThunk, resolveReadonlyArrayThunk, GraphQLSchema, GraphQLDirective, GraphQLScalarType, GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType, GraphQLEnumType, GraphQLInputObjectType, GraphQLList, GraphQLNonNull, specifiedScalarTypes, GraphQLInt, GraphQLFloat, GraphQLString, GraphQLBoolean, GraphQLID, GRAPHQL_MAX_INT, GRAPHQL_MIN_INT, specifiedDirectives, GraphQLIncludeDirective, GraphQLSkipDirective, GraphQLDeferDirective, GraphQLStreamDirective, GraphQLDeprecatedDirective, GraphQLSpecifiedByDirective, GraphQLOneOfDirective, TypeKind, DEFAULT_DEPRECATION_REASON, introspectionTypes, __Schema, __Directive, __DirectiveLocation, __Type, __Field, __InputValue, __EnumValue, __TypeKind, SchemaMetaFieldDef, TypeMetaFieldDef, TypeNameMetaFieldDef, isSchema, isDirective, isType, isScalarType, isObjectType, isField, isArgument, isInterfaceType, isUnionType, isEnumType, isEnumValue, isInputObjectType, isInputField, isListType, isNonNullType, isInputType, isOutputType, isLeafType, isCompositeType, isAbstractType, isWrappingType, isNullableType, isNamedType, isRequiredArgument, isRequiredInputField, isSpecifiedScalarType, isIntrospectionType, isSpecifiedDirective, assertSchema, assertDirective, assertType, assertScalarType, assertObjectType, assertField, assertArgument, assertInterfaceType, assertUnionType, assertEnumType, assertEnumValue, assertInputObjectType, assertInputField, assertListType, assertNonNullType, assertInputType, assertOutputType, assertLeafType, assertCompositeType, assertAbstractType, assertWrappingType, assertNullableType, assertNamedType, getNullableType, getNamedType, validateSchema, assertValidSchema, assertName, assertEnumValueName, } from './type/index.js';
|
|
36
|
+
export type { GraphQLType, GraphQLInputType, GraphQLOutputType, GraphQLLeafType, GraphQLCompositeType, GraphQLAbstractType, GraphQLWrappingType, GraphQLNullableType, GraphQLNullableInputType, GraphQLNullableOutputType, GraphQLNamedType, GraphQLNamedInputType, GraphQLNamedOutputType, ThunkReadonlyArray, ThunkObjMap, GraphQLSchemaConfig, GraphQLSchemaExtensions, GraphQLDirectiveConfig, GraphQLDirectiveExtensions, GraphQLArgumentConfig, GraphQLArgumentExtensions, GraphQLEnumTypeConfig, GraphQLEnumTypeExtensions, GraphQLEnumValueConfig, GraphQLEnumValueConfigMap, GraphQLEnumValueExtensions, GraphQLFieldConfig, GraphQLFieldConfigArgumentMap, GraphQLFieldConfigMap, GraphQLFieldExtensions, GraphQLFieldMap, GraphQLFieldResolver, GraphQLInputFieldConfig, GraphQLInputFieldConfigMap, GraphQLInputFieldExtensions, GraphQLInputFieldMap, GraphQLInputObjectTypeConfig, GraphQLInputObjectTypeExtensions, GraphQLInterfaceTypeConfig, GraphQLInterfaceTypeExtensions, GraphQLIsTypeOfFn, GraphQLObjectTypeConfig, GraphQLObjectTypeExtensions, GraphQLResolveInfo, GraphQLResolveInfoHelpers, ResponsePath, GraphQLScalarTypeConfig, GraphQLScalarTypeExtensions, GraphQLTypeResolver, GraphQLUnionTypeConfig, GraphQLUnionTypeExtensions, GraphQLScalarSerializer, GraphQLScalarValueParser, GraphQLScalarLiteralParser, GraphQLScalarOutputValueCoercer, GraphQLScalarInputValueCoercer, GraphQLScalarInputLiteralCoercer, GraphQLDefaultInput, } from './type/index.js';
|
|
37
|
+
export { Kind } from './language/kinds.js';
|
|
38
|
+
export { Token, Source, Location, OperationTypeNode, getLocation, printLocation, printSourceLocation, Lexer, TokenKind, parse, parseValue, parseConstValue, parseType, parseSchemaCoordinate, print, visit, visitInParallel, getEnterLeaveForKind, BREAK, DirectiveLocation, isDefinitionNode, isExecutableDefinitionNode, isSelectionNode, isValueNode, isConstValueNode, isTypeNode, isTypeSystemDefinitionNode, isTypeDefinitionNode, isTypeSystemExtensionNode, isTypeExtensionNode, isSchemaCoordinateNode, isSubscriptionOperationDefinitionNode, } from './language/index.js';
|
|
39
|
+
export type { ParseOptions, SourceLocation, ASTVisitor, ASTVisitFn, ASTVisitorKeyMap, ASTNode, ASTKindToNode, NameNode, DocumentNode, DefinitionNode, ExecutableDefinitionNode, OperationDefinitionNode, SubscriptionOperationDefinitionNode, VariableDefinitionNode, VariableNode, SelectionSetNode, SelectionNode, FieldNode, ArgumentNode, FragmentArgumentNode, ConstArgumentNode, FragmentSpreadNode, InlineFragmentNode, FragmentDefinitionNode, ValueNode, ConstValueNode, IntValueNode, FloatValueNode, StringValueNode, BooleanValueNode, NullValueNode, EnumValueNode, ListValueNode, ConstListValueNode, ObjectValueNode, ConstObjectValueNode, ObjectFieldNode, ConstObjectFieldNode, DirectiveNode, ConstDirectiveNode, TypeNode, NamedTypeNode, ListTypeNode, NonNullTypeNode, TypeSystemDefinitionNode, SchemaDefinitionNode, OperationTypeDefinitionNode, TypeDefinitionNode, ScalarTypeDefinitionNode, ObjectTypeDefinitionNode, FieldDefinitionNode, InputValueDefinitionNode, InterfaceTypeDefinitionNode, UnionTypeDefinitionNode, EnumTypeDefinitionNode, EnumValueDefinitionNode, InputObjectTypeDefinitionNode, DirectiveDefinitionNode, TypeSystemExtensionNode, SchemaExtensionNode, TypeExtensionNode, ScalarTypeExtensionNode, ObjectTypeExtensionNode, InterfaceTypeExtensionNode, UnionTypeExtensionNode, EnumTypeExtensionNode, InputObjectTypeExtensionNode, SchemaCoordinateNode, TypeCoordinateNode, MemberCoordinateNode, ArgumentCoordinateNode, DirectiveCoordinateNode, DirectiveArgumentCoordinateNode, } from './language/index.js';
|
|
40
|
+
export { AbortedGraphQLExecutionError, execute, executeRootSelectionSet, executeSubscriptionEvent, experimentalExecuteIncrementally, experimentalExecuteRootSelectionSet, executeSync, defaultFieldResolver, defaultTypeResolver, responsePathAsArray, getArgumentValues, getVariableValues, getDirectiveValues, subscribe, createSourceEventStream, validateExecutionArgs, validateSubscriptionArgs, } from './execution/index.js';
|
|
41
|
+
export type { ExecutionArgs, AsyncWorkFinishedInfo, ExecutionHooks, ValidatedExecutionArgs, ValidatedSubscriptionArgs, ExecutionResult, ExperimentalIncrementalExecutionResults, InitialIncrementalExecutionResult, SubsequentIncrementalExecutionResult, IncrementalDeferResult, IncrementalStreamResult, IncrementalResult, FormattedExecutionResult, FormattedExperimentalIncrementalExecutionResults, FormattedInitialIncrementalExecutionResult, FormattedSubsequentIncrementalExecutionResult, FormattedIncrementalDeferResult, FormattedIncrementalStreamResult, FormattedIncrementalResult, } from './execution/index.js';
|
|
42
|
+
export { validate, ValidationContext, specifiedRules, recommendedRules, ExecutableDefinitionsRule, FieldsOnCorrectTypeRule, FragmentsOnCompositeTypesRule, KnownArgumentNamesRule, KnownDirectivesRule, KnownFragmentNamesRule, KnownOperationTypesRule, KnownTypeNamesRule, LoneAnonymousOperationRule, NoFragmentCyclesRule, NoUndefinedVariablesRule, NoUnusedFragmentsRule, NoUnusedVariablesRule, OverlappingFieldsCanBeMergedRule, PossibleFragmentSpreadsRule, ProvidedRequiredArgumentsRule, ScalarLeafsRule, SingleFieldSubscriptionsRule, UniqueArgumentNamesRule, UniqueDirectivesPerLocationRule, UniqueFragmentNamesRule, UniqueInputFieldNamesRule, UniqueOperationNamesRule, UniqueVariableNamesRule, ValuesOfCorrectTypeRule, VariablesAreInputTypesRule, VariablesInAllowedPositionRule, MaxIntrospectionDepthRule, LoneSchemaDefinitionRule, UniqueOperationTypesRule, UniqueTypeNamesRule, UniqueEnumValueNamesRule, UniqueFieldDefinitionNamesRule, UniqueArgumentDefinitionNamesRule, UniqueDirectiveNamesRule, PossibleTypeExtensionsRule, NoDeprecatedCustomRule, NoSchemaIntrospectionCustomRule, } from './validation/index.js';
|
|
43
|
+
export type { ValidationRule } from './validation/index.js';
|
|
44
|
+
export { GraphQLError, syntaxError, locatedError } from './error/index.js';
|
|
45
|
+
export type { GraphQLErrorOptions, GraphQLFormattedError, GraphQLErrorExtensions, GraphQLFormattedErrorExtensions, } from './error/index.js';
|
|
46
|
+
export { getIntrospectionQuery, getOperationAST, introspectionFromSchema, buildClientSchema, buildASTSchema, buildSchema, extendSchema, lexicographicSortSchema, printSchema, printType, printDirective, printIntrospectionSchema, typeFromAST,
|
|
47
|
+
/** @deprecated use `coerceInputLiteral()` instead - will be removed in v18 */
|
|
48
|
+
valueFromAST, valueFromASTUntyped,
|
|
49
|
+
/** @deprecated use `valueToLiteral()` instead with care to operate on external values - `astFromValue()` will be removed in v18 */
|
|
50
|
+
astFromValue, TypeInfo, visitWithTypeInfo, replaceVariables, valueToLiteral, coerceInputValue, coerceInputLiteral, validateInputValue, validateInputLiteral, concatAST, separateOperations, stripIgnoredCharacters, isEqualType, isTypeSubTypeOf, doTypesOverlap, BreakingChangeType, DangerousChangeType, SafeChangeType, findBreakingChanges, findDangerousChanges, findSchemaChanges, resolveSchemaCoordinate, resolveASTSchemaCoordinate, } from './utilities/index.js';
|
|
51
|
+
export type { IntrospectionOptions, IntrospectionQuery, IntrospectionSchema, IntrospectionType, IntrospectionInputType, IntrospectionOutputType, IntrospectionScalarType, IntrospectionObjectType, IntrospectionInterfaceType, IntrospectionUnionType, IntrospectionEnumType, IntrospectionInputObjectType, IntrospectionTypeRef, IntrospectionInputTypeRef, IntrospectionOutputTypeRef, IntrospectionNamedTypeRef, IntrospectionListTypeRef, IntrospectionNonNullTypeRef, IntrospectionField, IntrospectionInputValue, IntrospectionEnumValue, IntrospectionDirective, BuildSchemaOptions, BreakingChange, SafeChange, DangerousChange, TypedQueryDocumentNode, ResolvedSchemaElement, } from './utilities/index.js';
|
package/index.d.ts
CHANGED
|
@@ -26,16 +26,19 @@
|
|
|
26
26
|
* @packageDocumentation
|
|
27
27
|
*/
|
|
28
28
|
export { version, versionInfo } from './version.js';
|
|
29
|
+
export { enableDevMode, isDevModeEnabled } from './devMode.js';
|
|
29
30
|
export type { GraphQLArgs } from './graphql.js';
|
|
30
31
|
export { graphql, graphqlSync } from './graphql.js';
|
|
32
|
+
export { defaultHarness } from './harness.js';
|
|
33
|
+
export type { GraphQLHarness, GraphQLParseFn, GraphQLValidateFn, GraphQLExecuteFn, GraphQLSubscribeFn, } from './harness.js';
|
|
31
34
|
export type { GraphQLField, GraphQLArgument, GraphQLEnumValue, GraphQLInputField, } from './type/index.js';
|
|
32
35
|
export { resolveObjMapThunk, resolveReadonlyArrayThunk, GraphQLSchema, GraphQLDirective, GraphQLScalarType, GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType, GraphQLEnumType, GraphQLInputObjectType, GraphQLList, GraphQLNonNull, specifiedScalarTypes, GraphQLInt, GraphQLFloat, GraphQLString, GraphQLBoolean, GraphQLID, GRAPHQL_MAX_INT, GRAPHQL_MIN_INT, specifiedDirectives, GraphQLIncludeDirective, GraphQLSkipDirective, GraphQLDeferDirective, GraphQLStreamDirective, GraphQLDeprecatedDirective, GraphQLSpecifiedByDirective, GraphQLOneOfDirective, TypeKind, DEFAULT_DEPRECATION_REASON, introspectionTypes, __Schema, __Directive, __DirectiveLocation, __Type, __Field, __InputValue, __EnumValue, __TypeKind, SchemaMetaFieldDef, TypeMetaFieldDef, TypeNameMetaFieldDef, isSchema, isDirective, isType, isScalarType, isObjectType, isField, isArgument, isInterfaceType, isUnionType, isEnumType, isEnumValue, isInputObjectType, isInputField, isListType, isNonNullType, isInputType, isOutputType, isLeafType, isCompositeType, isAbstractType, isWrappingType, isNullableType, isNamedType, isRequiredArgument, isRequiredInputField, isSpecifiedScalarType, isIntrospectionType, isSpecifiedDirective, assertSchema, assertDirective, assertType, assertScalarType, assertObjectType, assertField, assertArgument, assertInterfaceType, assertUnionType, assertEnumType, assertEnumValue, assertInputObjectType, assertInputField, assertListType, assertNonNullType, assertInputType, assertOutputType, assertLeafType, assertCompositeType, assertAbstractType, assertWrappingType, assertNullableType, assertNamedType, getNullableType, getNamedType, validateSchema, assertValidSchema, assertName, assertEnumValueName, } from './type/index.js';
|
|
33
|
-
export type { GraphQLType, GraphQLInputType, GraphQLOutputType, GraphQLLeafType, GraphQLCompositeType, GraphQLAbstractType, GraphQLWrappingType, GraphQLNullableType, GraphQLNullableInputType, GraphQLNullableOutputType, GraphQLNamedType, GraphQLNamedInputType, GraphQLNamedOutputType, ThunkReadonlyArray, ThunkObjMap, GraphQLSchemaConfig, GraphQLSchemaExtensions, GraphQLDirectiveConfig, GraphQLDirectiveExtensions, GraphQLArgumentConfig, GraphQLArgumentExtensions, GraphQLEnumTypeConfig, GraphQLEnumTypeExtensions, GraphQLEnumValueConfig, GraphQLEnumValueConfigMap, GraphQLEnumValueExtensions, GraphQLFieldConfig, GraphQLFieldConfigArgumentMap, GraphQLFieldConfigMap, GraphQLFieldExtensions, GraphQLFieldMap, GraphQLFieldResolver, GraphQLInputFieldConfig, GraphQLInputFieldConfigMap, GraphQLInputFieldExtensions, GraphQLInputFieldMap, GraphQLInputObjectTypeConfig, GraphQLInputObjectTypeExtensions, GraphQLInterfaceTypeConfig, GraphQLInterfaceTypeExtensions, GraphQLIsTypeOfFn, GraphQLObjectTypeConfig, GraphQLObjectTypeExtensions, GraphQLResolveInfo, ResponsePath, GraphQLScalarTypeConfig, GraphQLScalarTypeExtensions, GraphQLTypeResolver, GraphQLUnionTypeConfig, GraphQLUnionTypeExtensions, GraphQLScalarSerializer, GraphQLScalarValueParser, GraphQLScalarLiteralParser, GraphQLScalarOutputValueCoercer, GraphQLScalarInputValueCoercer, GraphQLScalarInputLiteralCoercer, GraphQLDefaultInput, } from './type/index.js';
|
|
36
|
+
export type { GraphQLType, GraphQLInputType, GraphQLOutputType, GraphQLLeafType, GraphQLCompositeType, GraphQLAbstractType, GraphQLWrappingType, GraphQLNullableType, GraphQLNullableInputType, GraphQLNullableOutputType, GraphQLNamedType, GraphQLNamedInputType, GraphQLNamedOutputType, ThunkReadonlyArray, ThunkObjMap, GraphQLSchemaConfig, GraphQLSchemaExtensions, GraphQLDirectiveConfig, GraphQLDirectiveExtensions, GraphQLArgumentConfig, GraphQLArgumentExtensions, GraphQLEnumTypeConfig, GraphQLEnumTypeExtensions, GraphQLEnumValueConfig, GraphQLEnumValueConfigMap, GraphQLEnumValueExtensions, GraphQLFieldConfig, GraphQLFieldConfigArgumentMap, GraphQLFieldConfigMap, GraphQLFieldExtensions, GraphQLFieldMap, GraphQLFieldResolver, GraphQLInputFieldConfig, GraphQLInputFieldConfigMap, GraphQLInputFieldExtensions, GraphQLInputFieldMap, GraphQLInputObjectTypeConfig, GraphQLInputObjectTypeExtensions, GraphQLInterfaceTypeConfig, GraphQLInterfaceTypeExtensions, GraphQLIsTypeOfFn, GraphQLObjectTypeConfig, GraphQLObjectTypeExtensions, GraphQLResolveInfo, GraphQLResolveInfoHelpers, ResponsePath, GraphQLScalarTypeConfig, GraphQLScalarTypeExtensions, GraphQLTypeResolver, GraphQLUnionTypeConfig, GraphQLUnionTypeExtensions, GraphQLScalarSerializer, GraphQLScalarValueParser, GraphQLScalarLiteralParser, GraphQLScalarOutputValueCoercer, GraphQLScalarInputValueCoercer, GraphQLScalarInputLiteralCoercer, GraphQLDefaultInput, } from './type/index.js';
|
|
34
37
|
export { Kind } from './language/kinds.js';
|
|
35
|
-
export { Token, Source, Location, OperationTypeNode, getLocation, printLocation, printSourceLocation, Lexer, TokenKind, parse, parseValue, parseConstValue, parseType, print, visit, visitInParallel, getEnterLeaveForKind, BREAK, DirectiveLocation, isDefinitionNode, isExecutableDefinitionNode, isSelectionNode, isValueNode, isConstValueNode, isTypeNode, isTypeSystemDefinitionNode, isTypeDefinitionNode, isTypeSystemExtensionNode, isTypeExtensionNode, } from './language/index.js';
|
|
36
|
-
export type { ParseOptions, SourceLocation, ASTVisitor, ASTVisitFn, ASTVisitorKeyMap, ASTNode, ASTKindToNode, NameNode, DocumentNode, DefinitionNode, ExecutableDefinitionNode, OperationDefinitionNode, VariableDefinitionNode, VariableNode, SelectionSetNode, SelectionNode, FieldNode, ArgumentNode, FragmentArgumentNode, ConstArgumentNode, FragmentSpreadNode, InlineFragmentNode, FragmentDefinitionNode, ValueNode, ConstValueNode, IntValueNode, FloatValueNode, StringValueNode, BooleanValueNode, NullValueNode, EnumValueNode, ListValueNode, ConstListValueNode, ObjectValueNode, ConstObjectValueNode, ObjectFieldNode, ConstObjectFieldNode, DirectiveNode, ConstDirectiveNode, TypeNode, NamedTypeNode, ListTypeNode, NonNullTypeNode, TypeSystemDefinitionNode, SchemaDefinitionNode, OperationTypeDefinitionNode, TypeDefinitionNode, ScalarTypeDefinitionNode, ObjectTypeDefinitionNode, FieldDefinitionNode, InputValueDefinitionNode, InterfaceTypeDefinitionNode, UnionTypeDefinitionNode, EnumTypeDefinitionNode, EnumValueDefinitionNode, InputObjectTypeDefinitionNode, DirectiveDefinitionNode, TypeSystemExtensionNode, SchemaExtensionNode, TypeExtensionNode, ScalarTypeExtensionNode, ObjectTypeExtensionNode, InterfaceTypeExtensionNode, UnionTypeExtensionNode, EnumTypeExtensionNode, InputObjectTypeExtensionNode, } from './language/index.js';
|
|
37
|
-
export { execute,
|
|
38
|
-
export type { ExecutionArgs, ValidatedExecutionArgs, ExecutionResult, ExperimentalIncrementalExecutionResults, InitialIncrementalExecutionResult, SubsequentIncrementalExecutionResult, IncrementalDeferResult, IncrementalStreamResult, IncrementalResult, FormattedExecutionResult, FormattedInitialIncrementalExecutionResult, FormattedSubsequentIncrementalExecutionResult, FormattedIncrementalDeferResult, FormattedIncrementalStreamResult, FormattedIncrementalResult, } from './execution/index.js';
|
|
38
|
+
export { Token, Source, Location, OperationTypeNode, getLocation, printLocation, printSourceLocation, Lexer, TokenKind, parse, parseValue, parseConstValue, parseType, parseSchemaCoordinate, print, visit, visitInParallel, getEnterLeaveForKind, BREAK, DirectiveLocation, isDefinitionNode, isExecutableDefinitionNode, isSelectionNode, isValueNode, isConstValueNode, isTypeNode, isTypeSystemDefinitionNode, isTypeDefinitionNode, isTypeSystemExtensionNode, isTypeExtensionNode, isSchemaCoordinateNode, isSubscriptionOperationDefinitionNode, } from './language/index.js';
|
|
39
|
+
export type { ParseOptions, SourceLocation, ASTVisitor, ASTVisitFn, ASTVisitorKeyMap, ASTNode, ASTKindToNode, NameNode, DocumentNode, DefinitionNode, ExecutableDefinitionNode, OperationDefinitionNode, SubscriptionOperationDefinitionNode, VariableDefinitionNode, VariableNode, SelectionSetNode, SelectionNode, FieldNode, ArgumentNode, FragmentArgumentNode, ConstArgumentNode, FragmentSpreadNode, InlineFragmentNode, FragmentDefinitionNode, ValueNode, ConstValueNode, IntValueNode, FloatValueNode, StringValueNode, BooleanValueNode, NullValueNode, EnumValueNode, ListValueNode, ConstListValueNode, ObjectValueNode, ConstObjectValueNode, ObjectFieldNode, ConstObjectFieldNode, DirectiveNode, ConstDirectiveNode, TypeNode, NamedTypeNode, ListTypeNode, NonNullTypeNode, TypeSystemDefinitionNode, SchemaDefinitionNode, OperationTypeDefinitionNode, TypeDefinitionNode, ScalarTypeDefinitionNode, ObjectTypeDefinitionNode, FieldDefinitionNode, InputValueDefinitionNode, InterfaceTypeDefinitionNode, UnionTypeDefinitionNode, EnumTypeDefinitionNode, EnumValueDefinitionNode, InputObjectTypeDefinitionNode, DirectiveDefinitionNode, TypeSystemExtensionNode, SchemaExtensionNode, TypeExtensionNode, ScalarTypeExtensionNode, ObjectTypeExtensionNode, InterfaceTypeExtensionNode, UnionTypeExtensionNode, EnumTypeExtensionNode, InputObjectTypeExtensionNode, SchemaCoordinateNode, TypeCoordinateNode, MemberCoordinateNode, ArgumentCoordinateNode, DirectiveCoordinateNode, DirectiveArgumentCoordinateNode, } from './language/index.js';
|
|
40
|
+
export { AbortedGraphQLExecutionError, execute, executeRootSelectionSet, executeSubscriptionEvent, experimentalExecuteIncrementally, experimentalExecuteRootSelectionSet, executeSync, defaultFieldResolver, defaultTypeResolver, responsePathAsArray, getArgumentValues, getVariableValues, getDirectiveValues, subscribe, createSourceEventStream, validateExecutionArgs, validateSubscriptionArgs, } from './execution/index.js';
|
|
41
|
+
export type { ExecutionArgs, AsyncWorkFinishedInfo, ExecutionHooks, ValidatedExecutionArgs, ValidatedSubscriptionArgs, ExecutionResult, ExperimentalIncrementalExecutionResults, InitialIncrementalExecutionResult, SubsequentIncrementalExecutionResult, IncrementalDeferResult, IncrementalStreamResult, IncrementalResult, FormattedExecutionResult, FormattedExperimentalIncrementalExecutionResults, FormattedInitialIncrementalExecutionResult, FormattedSubsequentIncrementalExecutionResult, FormattedIncrementalDeferResult, FormattedIncrementalStreamResult, FormattedIncrementalResult, } from './execution/index.js';
|
|
39
42
|
export { validate, ValidationContext, specifiedRules, recommendedRules, ExecutableDefinitionsRule, FieldsOnCorrectTypeRule, FragmentsOnCompositeTypesRule, KnownArgumentNamesRule, KnownDirectivesRule, KnownFragmentNamesRule, KnownOperationTypesRule, KnownTypeNamesRule, LoneAnonymousOperationRule, NoFragmentCyclesRule, NoUndefinedVariablesRule, NoUnusedFragmentsRule, NoUnusedVariablesRule, OverlappingFieldsCanBeMergedRule, PossibleFragmentSpreadsRule, ProvidedRequiredArgumentsRule, ScalarLeafsRule, SingleFieldSubscriptionsRule, UniqueArgumentNamesRule, UniqueDirectivesPerLocationRule, UniqueFragmentNamesRule, UniqueInputFieldNamesRule, UniqueOperationNamesRule, UniqueVariableNamesRule, ValuesOfCorrectTypeRule, VariablesAreInputTypesRule, VariablesInAllowedPositionRule, MaxIntrospectionDepthRule, LoneSchemaDefinitionRule, UniqueOperationTypesRule, UniqueTypeNamesRule, UniqueEnumValueNamesRule, UniqueFieldDefinitionNamesRule, UniqueArgumentDefinitionNamesRule, UniqueDirectiveNamesRule, PossibleTypeExtensionsRule, NoDeprecatedCustomRule, NoSchemaIntrospectionCustomRule, } from './validation/index.js';
|
|
40
43
|
export type { ValidationRule } from './validation/index.js';
|
|
41
44
|
export { GraphQLError, syntaxError, locatedError } from './error/index.js';
|
|
@@ -44,5 +47,5 @@ export { getIntrospectionQuery, getOperationAST, introspectionFromSchema, buildC
|
|
|
44
47
|
/** @deprecated use `coerceInputLiteral()` instead - will be removed in v18 */
|
|
45
48
|
valueFromAST, valueFromASTUntyped,
|
|
46
49
|
/** @deprecated use `valueToLiteral()` instead with care to operate on external values - `astFromValue()` will be removed in v18 */
|
|
47
|
-
astFromValue, TypeInfo, visitWithTypeInfo, replaceVariables, valueToLiteral, coerceInputValue, coerceInputLiteral, validateInputValue, validateInputLiteral, concatAST, separateOperations, stripIgnoredCharacters, isEqualType, isTypeSubTypeOf, doTypesOverlap, BreakingChangeType, DangerousChangeType, SafeChangeType, findBreakingChanges, findDangerousChanges, findSchemaChanges, } from './utilities/index.js';
|
|
48
|
-
export type { IntrospectionOptions, IntrospectionQuery, IntrospectionSchema, IntrospectionType, IntrospectionInputType, IntrospectionOutputType, IntrospectionScalarType, IntrospectionObjectType, IntrospectionInterfaceType, IntrospectionUnionType, IntrospectionEnumType, IntrospectionInputObjectType, IntrospectionTypeRef, IntrospectionInputTypeRef, IntrospectionOutputTypeRef, IntrospectionNamedTypeRef, IntrospectionListTypeRef, IntrospectionNonNullTypeRef, IntrospectionField, IntrospectionInputValue, IntrospectionEnumValue, IntrospectionDirective, BuildSchemaOptions, BreakingChange, SafeChange, DangerousChange, TypedQueryDocumentNode, } from './utilities/index.js';
|
|
50
|
+
astFromValue, TypeInfo, visitWithTypeInfo, replaceVariables, valueToLiteral, coerceInputValue, coerceInputLiteral, validateInputValue, validateInputLiteral, concatAST, separateOperations, stripIgnoredCharacters, isEqualType, isTypeSubTypeOf, doTypesOverlap, BreakingChangeType, DangerousChangeType, SafeChangeType, findBreakingChanges, findDangerousChanges, findSchemaChanges, resolveSchemaCoordinate, resolveASTSchemaCoordinate, } from './utilities/index.js';
|
|
51
|
+
export type { IntrospectionOptions, IntrospectionQuery, IntrospectionSchema, IntrospectionType, IntrospectionInputType, IntrospectionOutputType, IntrospectionScalarType, IntrospectionObjectType, IntrospectionInterfaceType, IntrospectionUnionType, IntrospectionEnumType, IntrospectionInputObjectType, IntrospectionTypeRef, IntrospectionInputTypeRef, IntrospectionOutputTypeRef, IntrospectionNamedTypeRef, IntrospectionListTypeRef, IntrospectionNonNullTypeRef, IntrospectionField, IntrospectionInputValue, IntrospectionEnumValue, IntrospectionDirective, BuildSchemaOptions, BreakingChange, SafeChange, DangerousChange, TypedQueryDocumentNode, ResolvedSchemaElement, } from './utilities/index.js';
|
package/index.js
CHANGED
|
@@ -27,18 +27,25 @@
|
|
|
27
27
|
* @packageDocumentation
|
|
28
28
|
*/
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.findSchemaChanges = exports.findDangerousChanges = exports.findBreakingChanges = exports.SafeChangeType = exports.DangerousChangeType = exports.BreakingChangeType = exports.doTypesOverlap = exports.isTypeSubTypeOf = exports.isEqualType = exports.stripIgnoredCharacters = exports.separateOperations = exports.concatAST = exports.validateInputLiteral = exports.validateInputValue = exports.coerceInputLiteral = exports.coerceInputValue = exports.valueToLiteral = exports.replaceVariables = exports.visitWithTypeInfo = exports.TypeInfo = exports.astFromValue = exports.valueFromASTUntyped = exports.valueFromAST = exports.typeFromAST = exports.printIntrospectionSchema = exports.printDirective = exports.printType = void 0;
|
|
30
|
+
exports.isSchema = exports.TypeNameMetaFieldDef = exports.TypeMetaFieldDef = exports.SchemaMetaFieldDef = exports.__TypeKind = exports.__EnumValue = exports.__InputValue = exports.__Field = exports.__Type = exports.__DirectiveLocation = exports.__Directive = exports.__Schema = exports.introspectionTypes = exports.DEFAULT_DEPRECATION_REASON = exports.TypeKind = exports.GraphQLOneOfDirective = exports.GraphQLSpecifiedByDirective = exports.GraphQLDeprecatedDirective = exports.GraphQLStreamDirective = exports.GraphQLDeferDirective = exports.GraphQLSkipDirective = exports.GraphQLIncludeDirective = exports.specifiedDirectives = exports.GRAPHQL_MIN_INT = exports.GRAPHQL_MAX_INT = exports.GraphQLID = exports.GraphQLBoolean = exports.GraphQLString = exports.GraphQLFloat = exports.GraphQLInt = exports.specifiedScalarTypes = exports.GraphQLNonNull = exports.GraphQLList = exports.GraphQLInputObjectType = exports.GraphQLEnumType = exports.GraphQLUnionType = exports.GraphQLInterfaceType = exports.GraphQLObjectType = exports.GraphQLScalarType = exports.GraphQLDirective = exports.GraphQLSchema = exports.resolveReadonlyArrayThunk = exports.resolveObjMapThunk = exports.defaultHarness = exports.graphqlSync = exports.graphql = exports.isDevModeEnabled = exports.enableDevMode = exports.versionInfo = exports.version = void 0;
|
|
31
|
+
exports.assertNamedType = exports.assertNullableType = exports.assertWrappingType = exports.assertAbstractType = exports.assertCompositeType = exports.assertLeafType = exports.assertOutputType = exports.assertInputType = exports.assertNonNullType = exports.assertListType = exports.assertInputField = exports.assertInputObjectType = exports.assertEnumValue = exports.assertEnumType = exports.assertUnionType = exports.assertInterfaceType = exports.assertArgument = exports.assertField = exports.assertObjectType = exports.assertScalarType = exports.assertType = exports.assertDirective = exports.assertSchema = exports.isSpecifiedDirective = exports.isIntrospectionType = exports.isSpecifiedScalarType = exports.isRequiredInputField = exports.isRequiredArgument = exports.isNamedType = exports.isNullableType = exports.isWrappingType = exports.isAbstractType = exports.isCompositeType = exports.isLeafType = exports.isOutputType = exports.isInputType = exports.isNonNullType = exports.isListType = exports.isInputField = exports.isInputObjectType = exports.isEnumValue = exports.isEnumType = exports.isUnionType = exports.isInterfaceType = exports.isArgument = exports.isField = exports.isObjectType = exports.isScalarType = exports.isType = exports.isDirective = void 0;
|
|
32
|
+
exports.getArgumentValues = exports.responsePathAsArray = exports.defaultTypeResolver = exports.defaultFieldResolver = exports.executeSync = exports.experimentalExecuteRootSelectionSet = exports.experimentalExecuteIncrementally = exports.executeSubscriptionEvent = exports.executeRootSelectionSet = exports.execute = exports.AbortedGraphQLExecutionError = exports.isSubscriptionOperationDefinitionNode = exports.isSchemaCoordinateNode = exports.isTypeExtensionNode = exports.isTypeSystemExtensionNode = exports.isTypeDefinitionNode = exports.isTypeSystemDefinitionNode = exports.isTypeNode = exports.isConstValueNode = exports.isValueNode = exports.isSelectionNode = exports.isExecutableDefinitionNode = exports.isDefinitionNode = exports.DirectiveLocation = exports.BREAK = exports.getEnterLeaveForKind = exports.visitInParallel = exports.visit = exports.print = exports.parseSchemaCoordinate = exports.parseType = exports.parseConstValue = exports.parseValue = exports.parse = exports.TokenKind = exports.Lexer = exports.printSourceLocation = exports.printLocation = exports.getLocation = exports.OperationTypeNode = exports.Location = exports.Source = exports.Token = exports.Kind = exports.assertEnumValueName = exports.assertName = exports.assertValidSchema = exports.validateSchema = exports.getNamedType = exports.getNullableType = void 0;
|
|
33
|
+
exports.syntaxError = exports.GraphQLError = exports.NoSchemaIntrospectionCustomRule = exports.NoDeprecatedCustomRule = exports.PossibleTypeExtensionsRule = exports.UniqueDirectiveNamesRule = exports.UniqueArgumentDefinitionNamesRule = exports.UniqueFieldDefinitionNamesRule = exports.UniqueEnumValueNamesRule = exports.UniqueTypeNamesRule = exports.UniqueOperationTypesRule = exports.LoneSchemaDefinitionRule = exports.MaxIntrospectionDepthRule = exports.VariablesInAllowedPositionRule = exports.VariablesAreInputTypesRule = exports.ValuesOfCorrectTypeRule = exports.UniqueVariableNamesRule = exports.UniqueOperationNamesRule = exports.UniqueInputFieldNamesRule = exports.UniqueFragmentNamesRule = exports.UniqueDirectivesPerLocationRule = exports.UniqueArgumentNamesRule = exports.SingleFieldSubscriptionsRule = exports.ScalarLeafsRule = exports.ProvidedRequiredArgumentsRule = exports.PossibleFragmentSpreadsRule = exports.OverlappingFieldsCanBeMergedRule = exports.NoUnusedVariablesRule = exports.NoUnusedFragmentsRule = exports.NoUndefinedVariablesRule = exports.NoFragmentCyclesRule = exports.LoneAnonymousOperationRule = exports.KnownTypeNamesRule = exports.KnownOperationTypesRule = exports.KnownFragmentNamesRule = exports.KnownDirectivesRule = exports.KnownArgumentNamesRule = exports.FragmentsOnCompositeTypesRule = exports.FieldsOnCorrectTypeRule = exports.ExecutableDefinitionsRule = exports.recommendedRules = exports.specifiedRules = exports.ValidationContext = exports.validate = exports.validateSubscriptionArgs = exports.validateExecutionArgs = exports.createSourceEventStream = exports.subscribe = exports.getDirectiveValues = exports.getVariableValues = void 0;
|
|
34
|
+
exports.resolveASTSchemaCoordinate = exports.resolveSchemaCoordinate = exports.findSchemaChanges = exports.findDangerousChanges = exports.findBreakingChanges = exports.SafeChangeType = exports.DangerousChangeType = exports.BreakingChangeType = exports.doTypesOverlap = exports.isTypeSubTypeOf = exports.isEqualType = exports.stripIgnoredCharacters = exports.separateOperations = exports.concatAST = exports.validateInputLiteral = exports.validateInputValue = exports.coerceInputLiteral = exports.coerceInputValue = exports.valueToLiteral = exports.replaceVariables = exports.visitWithTypeInfo = exports.TypeInfo = exports.astFromValue = exports.valueFromASTUntyped = exports.valueFromAST = exports.typeFromAST = exports.printIntrospectionSchema = exports.printDirective = exports.printType = exports.printSchema = exports.lexicographicSortSchema = exports.extendSchema = exports.buildSchema = exports.buildASTSchema = exports.buildClientSchema = exports.introspectionFromSchema = exports.getOperationAST = exports.getIntrospectionQuery = exports.locatedError = void 0;
|
|
35
35
|
// The GraphQL.js version info.
|
|
36
36
|
var version_js_1 = require("./version.js");
|
|
37
37
|
Object.defineProperty(exports, "version", { enumerable: true, get: function () { return version_js_1.version; } });
|
|
38
38
|
Object.defineProperty(exports, "versionInfo", { enumerable: true, get: function () { return version_js_1.versionInfo; } });
|
|
39
|
+
// Enable development mode for additional checks.
|
|
40
|
+
var devMode_js_1 = require("./devMode.js");
|
|
41
|
+
Object.defineProperty(exports, "enableDevMode", { enumerable: true, get: function () { return devMode_js_1.enableDevMode; } });
|
|
42
|
+
Object.defineProperty(exports, "isDevModeEnabled", { enumerable: true, get: function () { return devMode_js_1.isDevModeEnabled; } });
|
|
39
43
|
var graphql_js_1 = require("./graphql.js");
|
|
40
44
|
Object.defineProperty(exports, "graphql", { enumerable: true, get: function () { return graphql_js_1.graphql; } });
|
|
41
45
|
Object.defineProperty(exports, "graphqlSync", { enumerable: true, get: function () { return graphql_js_1.graphqlSync; } });
|
|
46
|
+
// The default versions of the parse/validate/execute/subscribe harness used by `graphql` and `graphqlSync`.
|
|
47
|
+
var harness_js_1 = require("./harness.js");
|
|
48
|
+
Object.defineProperty(exports, "defaultHarness", { enumerable: true, get: function () { return harness_js_1.defaultHarness; } });
|
|
42
49
|
var index_js_1 = require("./type/index.js");
|
|
43
50
|
Object.defineProperty(exports, "resolveObjMapThunk", { enumerable: true, get: function () { return index_js_1.resolveObjMapThunk; } });
|
|
44
51
|
Object.defineProperty(exports, "resolveReadonlyArrayThunk", { enumerable: true, get: function () { return index_js_1.resolveReadonlyArrayThunk; } });
|
|
@@ -154,7 +161,9 @@ Object.defineProperty(exports, "assertName", { enumerable: true, get: function (
|
|
|
154
161
|
Object.defineProperty(exports, "assertEnumValueName", { enumerable: true, get: function () { return index_js_1.assertEnumValueName; } });
|
|
155
162
|
// Parse and operate on GraphQL language source files.
|
|
156
163
|
// @see https://github.com/typescript-eslint/typescript-eslint/issues/10313
|
|
157
|
-
//
|
|
164
|
+
// Deno misclassifies this merged value+type re-export and requires `export type`.
|
|
165
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
166
|
+
// @ts-ignore TS1205
|
|
158
167
|
var kinds_js_1 = require("./language/kinds.js");
|
|
159
168
|
Object.defineProperty(exports, "Kind", { enumerable: true, get: function () { return kinds_js_1.Kind; } });
|
|
160
169
|
var index_js_2 = require("./language/index.js");
|
|
@@ -174,6 +183,7 @@ Object.defineProperty(exports, "parse", { enumerable: true, get: function () { r
|
|
|
174
183
|
Object.defineProperty(exports, "parseValue", { enumerable: true, get: function () { return index_js_2.parseValue; } });
|
|
175
184
|
Object.defineProperty(exports, "parseConstValue", { enumerable: true, get: function () { return index_js_2.parseConstValue; } });
|
|
176
185
|
Object.defineProperty(exports, "parseType", { enumerable: true, get: function () { return index_js_2.parseType; } });
|
|
186
|
+
Object.defineProperty(exports, "parseSchemaCoordinate", { enumerable: true, get: function () { return index_js_2.parseSchemaCoordinate; } });
|
|
177
187
|
// Print
|
|
178
188
|
Object.defineProperty(exports, "print", { enumerable: true, get: function () { return index_js_2.print; } });
|
|
179
189
|
// Visit
|
|
@@ -193,13 +203,16 @@ Object.defineProperty(exports, "isTypeSystemDefinitionNode", { enumerable: true,
|
|
|
193
203
|
Object.defineProperty(exports, "isTypeDefinitionNode", { enumerable: true, get: function () { return index_js_2.isTypeDefinitionNode; } });
|
|
194
204
|
Object.defineProperty(exports, "isTypeSystemExtensionNode", { enumerable: true, get: function () { return index_js_2.isTypeSystemExtensionNode; } });
|
|
195
205
|
Object.defineProperty(exports, "isTypeExtensionNode", { enumerable: true, get: function () { return index_js_2.isTypeExtensionNode; } });
|
|
206
|
+
Object.defineProperty(exports, "isSchemaCoordinateNode", { enumerable: true, get: function () { return index_js_2.isSchemaCoordinateNode; } });
|
|
207
|
+
Object.defineProperty(exports, "isSubscriptionOperationDefinitionNode", { enumerable: true, get: function () { return index_js_2.isSubscriptionOperationDefinitionNode; } });
|
|
196
208
|
// Execute GraphQL queries.
|
|
197
209
|
var index_js_3 = require("./execution/index.js");
|
|
210
|
+
Object.defineProperty(exports, "AbortedGraphQLExecutionError", { enumerable: true, get: function () { return index_js_3.AbortedGraphQLExecutionError; } });
|
|
198
211
|
Object.defineProperty(exports, "execute", { enumerable: true, get: function () { return index_js_3.execute; } });
|
|
199
|
-
Object.defineProperty(exports, "
|
|
212
|
+
Object.defineProperty(exports, "executeRootSelectionSet", { enumerable: true, get: function () { return index_js_3.executeRootSelectionSet; } });
|
|
200
213
|
Object.defineProperty(exports, "executeSubscriptionEvent", { enumerable: true, get: function () { return index_js_3.executeSubscriptionEvent; } });
|
|
201
214
|
Object.defineProperty(exports, "experimentalExecuteIncrementally", { enumerable: true, get: function () { return index_js_3.experimentalExecuteIncrementally; } });
|
|
202
|
-
Object.defineProperty(exports, "
|
|
215
|
+
Object.defineProperty(exports, "experimentalExecuteRootSelectionSet", { enumerable: true, get: function () { return index_js_3.experimentalExecuteRootSelectionSet; } });
|
|
203
216
|
Object.defineProperty(exports, "executeSync", { enumerable: true, get: function () { return index_js_3.executeSync; } });
|
|
204
217
|
Object.defineProperty(exports, "defaultFieldResolver", { enumerable: true, get: function () { return index_js_3.defaultFieldResolver; } });
|
|
205
218
|
Object.defineProperty(exports, "defaultTypeResolver", { enumerable: true, get: function () { return index_js_3.defaultTypeResolver; } });
|
|
@@ -209,6 +222,8 @@ Object.defineProperty(exports, "getVariableValues", { enumerable: true, get: fun
|
|
|
209
222
|
Object.defineProperty(exports, "getDirectiveValues", { enumerable: true, get: function () { return index_js_3.getDirectiveValues; } });
|
|
210
223
|
Object.defineProperty(exports, "subscribe", { enumerable: true, get: function () { return index_js_3.subscribe; } });
|
|
211
224
|
Object.defineProperty(exports, "createSourceEventStream", { enumerable: true, get: function () { return index_js_3.createSourceEventStream; } });
|
|
225
|
+
Object.defineProperty(exports, "validateExecutionArgs", { enumerable: true, get: function () { return index_js_3.validateExecutionArgs; } });
|
|
226
|
+
Object.defineProperty(exports, "validateSubscriptionArgs", { enumerable: true, get: function () { return index_js_3.validateSubscriptionArgs; } });
|
|
212
227
|
// Validate GraphQL documents.
|
|
213
228
|
var index_js_4 = require("./validation/index.js");
|
|
214
229
|
Object.defineProperty(exports, "validate", { enumerable: true, get: function () { return index_js_4.validate; } });
|
|
@@ -331,4 +346,6 @@ Object.defineProperty(exports, "SafeChangeType", { enumerable: true, get: functi
|
|
|
331
346
|
Object.defineProperty(exports, "findBreakingChanges", { enumerable: true, get: function () { return index_js_6.findBreakingChanges; } });
|
|
332
347
|
Object.defineProperty(exports, "findDangerousChanges", { enumerable: true, get: function () { return index_js_6.findDangerousChanges; } });
|
|
333
348
|
Object.defineProperty(exports, "findSchemaChanges", { enumerable: true, get: function () { return index_js_6.findSchemaChanges; } });
|
|
349
|
+
Object.defineProperty(exports, "resolveSchemaCoordinate", { enumerable: true, get: function () { return index_js_6.resolveSchemaCoordinate; } });
|
|
350
|
+
Object.defineProperty(exports, "resolveASTSchemaCoordinate", { enumerable: true, get: function () { return index_js_6.resolveASTSchemaCoordinate; } });
|
|
334
351
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;;;;;;;AAEH,+BAA+B;AAC/B,2CAAoD;AAA3C,qGAAA,OAAO,OAAA;AAAE,yGAAA,WAAW,OAAA;AAI7B,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,mBAAmB,OAAA;AACnB,yDAAyD;AACzD,mIAAmI;AACnI,wGAAA,YAAY,OAAA;AACZ,uGAAuG;AACvG,oGAAA,QAAQ,OAAA;AACR,6GAAA,iBAAiB,OAAA;AACjB,4DAA4D;AAC5D,4GAAA,gBAAgB,OAAA;AAChB,gEAAgE;AAChE,0GAAA,cAAc,OAAA;AACd,sEAAsE;AACtE,4GAAA,gBAAgB,OAAA;AAChB,2EAA2E;AAC3E,8GAAA,kBAAkB,OAAA;AAClB,0EAA0E;AAC1E,8GAAA,kBAAkB,OAAA;AAClB,+EAA+E;AAC/E,gHAAA,oBAAoB,OAAA;AACpB,sCAAsC;AACtC,qGAAA,SAAS,OAAA;AACT,8CAA8C;AAC9C,8GAAA,kBAAkB,OAAA;AAClB,iGAAiG;AACjG,kHAAA,sBAAsB,OAAA;AACtB,wBAAwB;AACxB,uGAAA,WAAW,OAAA;AACX,2GAAA,eAAe,OAAA;AACf,0GAAA,cAAc,OAAA;AACd,4DAA4D;AAC5D,8GAAA,kBAAkB,OAAA;AAClB,+GAAA,mBAAmB,OAAA;AACnB,0GAAA,cAAc,OAAA;AACd,+GAAA,mBAAmB,OAAA;AACnB,gHAAA,oBAAoB,OAAA;AACpB,6GAAA,iBAAiB,OAAA","sourcesContent":["/**\n * GraphQL.js provides a reference implementation for the GraphQL specification\n * but is also a useful utility for operating on GraphQL files and building\n * sophisticated tools.\n *\n * This primary module exports a general purpose function for fulfilling all\n * steps of the GraphQL specification in a single operation, but also includes\n * utilities for every part of the GraphQL specification:\n *\n * - Parsing the GraphQL language.\n * - Building a GraphQL type schema.\n * - Validating a GraphQL request against a type schema.\n * - Executing a GraphQL request against a type schema.\n *\n * This also includes utility functions for operating on GraphQL types and\n * GraphQL documents to facilitate building tools.\n *\n * You may also import from each sub-directory directly. For example, the\n * following two import statements are equivalent:\n *\n * ```ts\n * import { parse } from 'graphql';\n * import { parse } from 'graphql/language';\n * ```\n *\n * @packageDocumentation\n */\n\n// The GraphQL.js version info.\nexport { version, versionInfo } from './version.js';\n\n// The primary entry point into fulfilling a GraphQL request.\nexport type { GraphQLArgs } from './graphql.js';\nexport { graphql, graphqlSync } from './graphql.js';\n\n// Create and operate on GraphQL type definitions and schema.\nexport type {\n GraphQLField,\n GraphQLArgument,\n GraphQLEnumValue,\n GraphQLInputField,\n} from './type/index.js';\nexport {\n resolveObjMapThunk,\n resolveReadonlyArrayThunk,\n // Definitions\n GraphQLSchema,\n GraphQLDirective,\n GraphQLScalarType,\n GraphQLObjectType,\n GraphQLInterfaceType,\n GraphQLUnionType,\n GraphQLEnumType,\n GraphQLInputObjectType,\n GraphQLList,\n GraphQLNonNull,\n // Standard GraphQL Scalars\n specifiedScalarTypes,\n GraphQLInt,\n GraphQLFloat,\n GraphQLString,\n GraphQLBoolean,\n GraphQLID,\n // Int boundaries constants\n GRAPHQL_MAX_INT,\n GRAPHQL_MIN_INT,\n // Built-in Directives defined by the Spec\n specifiedDirectives,\n GraphQLIncludeDirective,\n GraphQLSkipDirective,\n GraphQLDeferDirective,\n GraphQLStreamDirective,\n GraphQLDeprecatedDirective,\n GraphQLSpecifiedByDirective,\n GraphQLOneOfDirective,\n // \"Enum\" of Type Kinds\n TypeKind,\n // Constant Deprecation Reason\n DEFAULT_DEPRECATION_REASON,\n // GraphQL Types for introspection.\n introspectionTypes,\n __Schema,\n __Directive,\n __DirectiveLocation,\n __Type,\n __Field,\n __InputValue,\n __EnumValue,\n __TypeKind,\n // Meta-field definitions.\n SchemaMetaFieldDef,\n TypeMetaFieldDef,\n TypeNameMetaFieldDef,\n // Predicates\n isSchema,\n isDirective,\n isType,\n isScalarType,\n isObjectType,\n isField,\n isArgument,\n isInterfaceType,\n isUnionType,\n isEnumType,\n isEnumValue,\n isInputObjectType,\n isInputField,\n isListType,\n isNonNullType,\n isInputType,\n isOutputType,\n isLeafType,\n isCompositeType,\n isAbstractType,\n isWrappingType,\n isNullableType,\n isNamedType,\n isRequiredArgument,\n isRequiredInputField,\n isSpecifiedScalarType,\n isIntrospectionType,\n isSpecifiedDirective,\n // Assertions\n assertSchema,\n assertDirective,\n assertType,\n assertScalarType,\n assertObjectType,\n assertField,\n assertArgument,\n assertInterfaceType,\n assertUnionType,\n assertEnumType,\n assertEnumValue,\n assertInputObjectType,\n assertInputField,\n assertListType,\n assertNonNullType,\n assertInputType,\n assertOutputType,\n assertLeafType,\n assertCompositeType,\n assertAbstractType,\n assertWrappingType,\n assertNullableType,\n assertNamedType,\n // Un-modifiers\n getNullableType,\n getNamedType,\n // Validate GraphQL schema.\n validateSchema,\n assertValidSchema,\n // Upholds the spec rules about naming.\n assertName,\n assertEnumValueName,\n} from './type/index.js';\n\nexport type {\n GraphQLType,\n GraphQLInputType,\n GraphQLOutputType,\n GraphQLLeafType,\n GraphQLCompositeType,\n GraphQLAbstractType,\n GraphQLWrappingType,\n GraphQLNullableType,\n GraphQLNullableInputType,\n GraphQLNullableOutputType,\n GraphQLNamedType,\n GraphQLNamedInputType,\n GraphQLNamedOutputType,\n ThunkReadonlyArray,\n ThunkObjMap,\n GraphQLSchemaConfig,\n GraphQLSchemaExtensions,\n GraphQLDirectiveConfig,\n GraphQLDirectiveExtensions,\n GraphQLArgumentConfig,\n GraphQLArgumentExtensions,\n GraphQLEnumTypeConfig,\n GraphQLEnumTypeExtensions,\n GraphQLEnumValueConfig,\n GraphQLEnumValueConfigMap,\n GraphQLEnumValueExtensions,\n GraphQLFieldConfig,\n GraphQLFieldConfigArgumentMap,\n GraphQLFieldConfigMap,\n GraphQLFieldExtensions,\n GraphQLFieldMap,\n GraphQLFieldResolver,\n GraphQLInputFieldConfig,\n GraphQLInputFieldConfigMap,\n GraphQLInputFieldExtensions,\n GraphQLInputFieldMap,\n GraphQLInputObjectTypeConfig,\n GraphQLInputObjectTypeExtensions,\n GraphQLInterfaceTypeConfig,\n GraphQLInterfaceTypeExtensions,\n GraphQLIsTypeOfFn,\n GraphQLObjectTypeConfig,\n GraphQLObjectTypeExtensions,\n GraphQLResolveInfo,\n ResponsePath,\n GraphQLScalarTypeConfig,\n GraphQLScalarTypeExtensions,\n GraphQLTypeResolver,\n GraphQLUnionTypeConfig,\n GraphQLUnionTypeExtensions,\n GraphQLScalarSerializer,\n GraphQLScalarValueParser,\n GraphQLScalarLiteralParser,\n GraphQLScalarOutputValueCoercer,\n GraphQLScalarInputValueCoercer,\n GraphQLScalarInputLiteralCoercer,\n GraphQLDefaultInput,\n} from './type/index.js';\n\n// Parse and operate on GraphQL language source files.\n// @see https://github.com/typescript-eslint/typescript-eslint/issues/10313\n// eslint-disable-next-line @typescript-eslint/consistent-type-exports\nexport { Kind } from './language/kinds.js';\nexport {\n Token,\n Source,\n Location,\n OperationTypeNode,\n getLocation,\n // Print source location.\n printLocation,\n printSourceLocation,\n // Lex\n Lexer,\n TokenKind,\n // Parse\n parse,\n parseValue,\n parseConstValue,\n parseType,\n // Print\n print,\n // Visit\n visit,\n visitInParallel,\n getEnterLeaveForKind,\n BREAK,\n DirectiveLocation,\n // Predicates\n isDefinitionNode,\n isExecutableDefinitionNode,\n isSelectionNode,\n isValueNode,\n isConstValueNode,\n isTypeNode,\n isTypeSystemDefinitionNode,\n isTypeDefinitionNode,\n isTypeSystemExtensionNode,\n isTypeExtensionNode,\n} from './language/index.js';\n\nexport type {\n ParseOptions,\n SourceLocation,\n // Visitor utilities\n ASTVisitor,\n ASTVisitFn,\n ASTVisitorKeyMap,\n // AST nodes\n ASTNode,\n ASTKindToNode,\n // Each kind of AST node\n NameNode,\n DocumentNode,\n DefinitionNode,\n ExecutableDefinitionNode,\n OperationDefinitionNode,\n VariableDefinitionNode,\n VariableNode,\n SelectionSetNode,\n SelectionNode,\n FieldNode,\n ArgumentNode,\n FragmentArgumentNode,\n ConstArgumentNode,\n FragmentSpreadNode,\n InlineFragmentNode,\n FragmentDefinitionNode,\n ValueNode,\n ConstValueNode,\n IntValueNode,\n FloatValueNode,\n StringValueNode,\n BooleanValueNode,\n NullValueNode,\n EnumValueNode,\n ListValueNode,\n ConstListValueNode,\n ObjectValueNode,\n ConstObjectValueNode,\n ObjectFieldNode,\n ConstObjectFieldNode,\n DirectiveNode,\n ConstDirectiveNode,\n TypeNode,\n NamedTypeNode,\n ListTypeNode,\n NonNullTypeNode,\n TypeSystemDefinitionNode,\n SchemaDefinitionNode,\n OperationTypeDefinitionNode,\n TypeDefinitionNode,\n ScalarTypeDefinitionNode,\n ObjectTypeDefinitionNode,\n FieldDefinitionNode,\n InputValueDefinitionNode,\n InterfaceTypeDefinitionNode,\n UnionTypeDefinitionNode,\n EnumTypeDefinitionNode,\n EnumValueDefinitionNode,\n InputObjectTypeDefinitionNode,\n DirectiveDefinitionNode,\n TypeSystemExtensionNode,\n SchemaExtensionNode,\n TypeExtensionNode,\n ScalarTypeExtensionNode,\n ObjectTypeExtensionNode,\n InterfaceTypeExtensionNode,\n UnionTypeExtensionNode,\n EnumTypeExtensionNode,\n InputObjectTypeExtensionNode,\n} from './language/index.js';\n\n// Execute GraphQL queries.\nexport {\n execute,\n executeQueryOrMutationOrSubscriptionEvent,\n executeSubscriptionEvent,\n experimentalExecuteIncrementally,\n experimentalExecuteQueryOrMutationOrSubscriptionEvent,\n executeSync,\n defaultFieldResolver,\n defaultTypeResolver,\n responsePathAsArray,\n getArgumentValues,\n getVariableValues,\n getDirectiveValues,\n subscribe,\n createSourceEventStream,\n} from './execution/index.js';\n\nexport type {\n ExecutionArgs,\n ValidatedExecutionArgs,\n ExecutionResult,\n ExperimentalIncrementalExecutionResults,\n InitialIncrementalExecutionResult,\n SubsequentIncrementalExecutionResult,\n IncrementalDeferResult,\n IncrementalStreamResult,\n IncrementalResult,\n FormattedExecutionResult,\n FormattedInitialIncrementalExecutionResult,\n FormattedSubsequentIncrementalExecutionResult,\n FormattedIncrementalDeferResult,\n FormattedIncrementalStreamResult,\n FormattedIncrementalResult,\n} from './execution/index.js';\n\n// Validate GraphQL documents.\nexport {\n validate,\n ValidationContext,\n // All validation rules in the GraphQL Specification.\n specifiedRules,\n recommendedRules,\n // Individual validation rules.\n ExecutableDefinitionsRule,\n FieldsOnCorrectTypeRule,\n FragmentsOnCompositeTypesRule,\n KnownArgumentNamesRule,\n KnownDirectivesRule,\n KnownFragmentNamesRule,\n KnownOperationTypesRule,\n KnownTypeNamesRule,\n LoneAnonymousOperationRule,\n NoFragmentCyclesRule,\n NoUndefinedVariablesRule,\n NoUnusedFragmentsRule,\n NoUnusedVariablesRule,\n OverlappingFieldsCanBeMergedRule,\n PossibleFragmentSpreadsRule,\n ProvidedRequiredArgumentsRule,\n ScalarLeafsRule,\n SingleFieldSubscriptionsRule,\n UniqueArgumentNamesRule,\n UniqueDirectivesPerLocationRule,\n UniqueFragmentNamesRule,\n UniqueInputFieldNamesRule,\n UniqueOperationNamesRule,\n UniqueVariableNamesRule,\n ValuesOfCorrectTypeRule,\n VariablesAreInputTypesRule,\n VariablesInAllowedPositionRule,\n MaxIntrospectionDepthRule,\n // SDL-specific validation rules\n LoneSchemaDefinitionRule,\n UniqueOperationTypesRule,\n UniqueTypeNamesRule,\n UniqueEnumValueNamesRule,\n UniqueFieldDefinitionNamesRule,\n UniqueArgumentDefinitionNamesRule,\n UniqueDirectiveNamesRule,\n PossibleTypeExtensionsRule,\n // Custom validation rules\n NoDeprecatedCustomRule,\n NoSchemaIntrospectionCustomRule,\n} from './validation/index.js';\n\nexport type { ValidationRule } from './validation/index.js';\n\n// Create, format, and print GraphQL errors.\nexport { GraphQLError, syntaxError, locatedError } from './error/index.js';\n\nexport type {\n GraphQLErrorOptions,\n GraphQLFormattedError,\n GraphQLErrorExtensions,\n GraphQLFormattedErrorExtensions,\n} from './error/index.js';\n\n// Utilities for operating on GraphQL type schema and parsed sources.\nexport {\n // Produce the GraphQL query recommended for a full schema introspection.\n // Accepts optional IntrospectionOptions.\n getIntrospectionQuery,\n // Gets the target Operation from a Document.\n getOperationAST,\n // Convert a GraphQLSchema to an IntrospectionQuery.\n introspectionFromSchema,\n // Build a GraphQLSchema from an introspection result.\n buildClientSchema,\n // Build a GraphQLSchema from a parsed GraphQL Schema language AST.\n buildASTSchema,\n // Build a GraphQLSchema from a GraphQL schema language document.\n buildSchema,\n // Extends an existing GraphQLSchema from a parsed GraphQL Schema language AST.\n extendSchema,\n // Sort a GraphQLSchema.\n lexicographicSortSchema,\n // Print a GraphQLSchema to GraphQL Schema language.\n printSchema,\n // Print a GraphQLType to GraphQL Schema language.\n printType,\n // Print a GraphQLDirective to GraphQL Schema language.\n printDirective,\n // Prints the built-in introspection schema in the Schema Language format.\n printIntrospectionSchema,\n // Create a GraphQLType from a GraphQL language AST.\n typeFromAST,\n // Create a JavaScript value from a GraphQL language AST with a Type.\n /** @deprecated use `coerceInputLiteral()` instead - will be removed in v18 */\n valueFromAST,\n // Create a JavaScript value from a GraphQL language AST without a Type.\n valueFromASTUntyped,\n // Create a GraphQL language AST from a JavaScript value.\n /** @deprecated use `valueToLiteral()` instead with care to operate on external values - `astFromValue()` will be removed in v18 */\n astFromValue,\n // A helper to use within recursive-descent visitors which need to be aware of the GraphQL type system.\n TypeInfo,\n visitWithTypeInfo,\n // Converts a value to a const value by replacing variables.\n replaceVariables,\n // Create a GraphQL literal (AST) from a JavaScript input value.\n valueToLiteral,\n // Coerces a JavaScript value to a GraphQL type, or returns undefined.\n coerceInputValue,\n // Coerces a GraphQL literal (AST) to a GraphQL type, or returns undefined.\n coerceInputLiteral,\n // Validate a JavaScript value with a GraphQL type, collecting all errors.\n validateInputValue,\n // Validate a GraphQL literal (AST) with a GraphQL type, collecting all errors.\n validateInputLiteral,\n // Concatenates multiple AST together.\n concatAST,\n // Separates an AST into an AST per Operation.\n separateOperations,\n // Strips characters that are not significant to the validity or execution of a GraphQL document.\n stripIgnoredCharacters,\n // Comparators for types\n isEqualType,\n isTypeSubTypeOf,\n doTypesOverlap,\n // Compares two GraphQLSchemas and detects breaking changes.\n BreakingChangeType,\n DangerousChangeType,\n SafeChangeType,\n findBreakingChanges,\n findDangerousChanges,\n findSchemaChanges,\n} from './utilities/index.js';\n\nexport type {\n IntrospectionOptions,\n IntrospectionQuery,\n IntrospectionSchema,\n IntrospectionType,\n IntrospectionInputType,\n IntrospectionOutputType,\n IntrospectionScalarType,\n IntrospectionObjectType,\n IntrospectionInterfaceType,\n IntrospectionUnionType,\n IntrospectionEnumType,\n IntrospectionInputObjectType,\n IntrospectionTypeRef,\n IntrospectionInputTypeRef,\n IntrospectionOutputTypeRef,\n IntrospectionNamedTypeRef,\n IntrospectionListTypeRef,\n IntrospectionNonNullTypeRef,\n IntrospectionField,\n IntrospectionInputValue,\n IntrospectionEnumValue,\n IntrospectionDirective,\n BuildSchemaOptions,\n BreakingChange,\n SafeChange,\n DangerousChange,\n TypedQueryDocumentNode,\n} from './utilities/index.js';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;;;;;;;AAEH,+BAA+B;AAC/B,2CAAoD;AAA3C,qGAAA,OAAO,OAAA;AAAE,yGAAA,WAAW,OAAA;AAE7B,iDAAiD;AACjD,2CAA+D;AAAtD,2GAAA,aAAa,OAAA;AAAE,8GAAA,gBAAgB,OAAA;AAIxC,2CAAoD;AAA3C,qGAAA,OAAO,OAAA;AAAE,yGAAA,WAAW,OAAA;AAE7B,4GAA4G;AAC5G,2CAA8C;AAArC,4GAAA,cAAc,OAAA;AAgBvB,4CAiHyB;AAhHvB,8GAAA,kBAAkB,OAAA;AAClB,qHAAA,yBAAyB,OAAA;AACzB,cAAc;AACd,yGAAA,aAAa,OAAA;AACb,4GAAA,gBAAgB,OAAA;AAChB,6GAAA,iBAAiB,OAAA;AACjB,6GAAA,iBAAiB,OAAA;AACjB,gHAAA,oBAAoB,OAAA;AACpB,4GAAA,gBAAgB,OAAA;AAChB,2GAAA,eAAe,OAAA;AACf,kHAAA,sBAAsB,OAAA;AACtB,uGAAA,WAAW,OAAA;AACX,0GAAA,cAAc,OAAA;AACd,2BAA2B;AAC3B,gHAAA,oBAAoB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,gBAAgB,OAAA;AAChB,2EAA2E;AAC3E,8GAAA,kBAAkB,OAAA;AAClB,0EAA0E;AAC1E,8GAAA,kBAAkB,OAAA;AAClB,+EAA+E;AAC/E,gHAAA,oBAAoB,OAAA;AACpB,sCAAsC;AACtC,qGAAA,SAAS,OAAA;AACT,8CAA8C;AAC9C,8GAAA,kBAAkB,OAAA;AAClB,iGAAiG;AACjG,kHAAA,sBAAsB,OAAA;AACtB,wBAAwB;AACxB,uGAAA,WAAW,OAAA;AACX,2GAAA,eAAe,OAAA;AACf,0GAAA,cAAc,OAAA;AACd,4DAA4D;AAC5D,8GAAA,kBAAkB,OAAA;AAClB,+GAAA,mBAAmB,OAAA;AACnB,0GAAA,cAAc,OAAA;AACd,+GAAA,mBAAmB,OAAA;AACnB,gHAAA,oBAAoB,OAAA;AACpB,6GAAA,iBAAiB,OAAA;AACjB,mHAAA,uBAAuB,OAAA;AACvB,sHAAA,0BAA0B,OAAA","sourcesContent":["/**\n * GraphQL.js provides a reference implementation for the GraphQL specification\n * but is also a useful utility for operating on GraphQL files and building\n * sophisticated tools.\n *\n * This primary module exports a general purpose function for fulfilling all\n * steps of the GraphQL specification in a single operation, but also includes\n * utilities for every part of the GraphQL specification:\n *\n * - Parsing the GraphQL language.\n * - Building a GraphQL type schema.\n * - Validating a GraphQL request against a type schema.\n * - Executing a GraphQL request against a type schema.\n *\n * This also includes utility functions for operating on GraphQL types and\n * GraphQL documents to facilitate building tools.\n *\n * You may also import from each sub-directory directly. For example, the\n * following two import statements are equivalent:\n *\n * ```ts\n * import { parse } from 'graphql';\n * import { parse } from 'graphql/language';\n * ```\n *\n * @packageDocumentation\n */\n\n// The GraphQL.js version info.\nexport { version, versionInfo } from './version.js';\n\n// Enable development mode for additional checks.\nexport { enableDevMode, isDevModeEnabled } from './devMode.js';\n\n// The primary entry point into fulfilling a GraphQL request.\nexport type { GraphQLArgs } from './graphql.js';\nexport { graphql, graphqlSync } from './graphql.js';\n\n// The default versions of the parse/validate/execute/subscribe harness used by `graphql` and `graphqlSync`.\nexport { defaultHarness } from './harness.js';\nexport type {\n GraphQLHarness,\n GraphQLParseFn,\n GraphQLValidateFn,\n GraphQLExecuteFn,\n GraphQLSubscribeFn,\n} from './harness.js';\n\n// Create and operate on GraphQL type definitions and schema.\nexport type {\n GraphQLField,\n GraphQLArgument,\n GraphQLEnumValue,\n GraphQLInputField,\n} from './type/index.js';\nexport {\n resolveObjMapThunk,\n resolveReadonlyArrayThunk,\n // Definitions\n GraphQLSchema,\n GraphQLDirective,\n GraphQLScalarType,\n GraphQLObjectType,\n GraphQLInterfaceType,\n GraphQLUnionType,\n GraphQLEnumType,\n GraphQLInputObjectType,\n GraphQLList,\n GraphQLNonNull,\n // Standard GraphQL Scalars\n specifiedScalarTypes,\n GraphQLInt,\n GraphQLFloat,\n GraphQLString,\n GraphQLBoolean,\n GraphQLID,\n // Int boundaries constants\n GRAPHQL_MAX_INT,\n GRAPHQL_MIN_INT,\n // Built-in Directives defined by the Spec\n specifiedDirectives,\n GraphQLIncludeDirective,\n GraphQLSkipDirective,\n GraphQLDeferDirective,\n GraphQLStreamDirective,\n GraphQLDeprecatedDirective,\n GraphQLSpecifiedByDirective,\n GraphQLOneOfDirective,\n // \"Enum\" of Type Kinds\n TypeKind,\n // Constant Deprecation Reason\n DEFAULT_DEPRECATION_REASON,\n // GraphQL Types for introspection.\n introspectionTypes,\n __Schema,\n __Directive,\n __DirectiveLocation,\n __Type,\n __Field,\n __InputValue,\n __EnumValue,\n __TypeKind,\n // Meta-field definitions.\n SchemaMetaFieldDef,\n TypeMetaFieldDef,\n TypeNameMetaFieldDef,\n // Predicates\n isSchema,\n isDirective,\n isType,\n isScalarType,\n isObjectType,\n isField,\n isArgument,\n isInterfaceType,\n isUnionType,\n isEnumType,\n isEnumValue,\n isInputObjectType,\n isInputField,\n isListType,\n isNonNullType,\n isInputType,\n isOutputType,\n isLeafType,\n isCompositeType,\n isAbstractType,\n isWrappingType,\n isNullableType,\n isNamedType,\n isRequiredArgument,\n isRequiredInputField,\n isSpecifiedScalarType,\n isIntrospectionType,\n isSpecifiedDirective,\n // Assertions\n assertSchema,\n assertDirective,\n assertType,\n assertScalarType,\n assertObjectType,\n assertField,\n assertArgument,\n assertInterfaceType,\n assertUnionType,\n assertEnumType,\n assertEnumValue,\n assertInputObjectType,\n assertInputField,\n assertListType,\n assertNonNullType,\n assertInputType,\n assertOutputType,\n assertLeafType,\n assertCompositeType,\n assertAbstractType,\n assertWrappingType,\n assertNullableType,\n assertNamedType,\n // Un-modifiers\n getNullableType,\n getNamedType,\n // Validate GraphQL schema.\n validateSchema,\n assertValidSchema,\n // Upholds the spec rules about naming.\n assertName,\n assertEnumValueName,\n} from './type/index.js';\n\nexport type {\n GraphQLType,\n GraphQLInputType,\n GraphQLOutputType,\n GraphQLLeafType,\n GraphQLCompositeType,\n GraphQLAbstractType,\n GraphQLWrappingType,\n GraphQLNullableType,\n GraphQLNullableInputType,\n GraphQLNullableOutputType,\n GraphQLNamedType,\n GraphQLNamedInputType,\n GraphQLNamedOutputType,\n ThunkReadonlyArray,\n ThunkObjMap,\n GraphQLSchemaConfig,\n GraphQLSchemaExtensions,\n GraphQLDirectiveConfig,\n GraphQLDirectiveExtensions,\n GraphQLArgumentConfig,\n GraphQLArgumentExtensions,\n GraphQLEnumTypeConfig,\n GraphQLEnumTypeExtensions,\n GraphQLEnumValueConfig,\n GraphQLEnumValueConfigMap,\n GraphQLEnumValueExtensions,\n GraphQLFieldConfig,\n GraphQLFieldConfigArgumentMap,\n GraphQLFieldConfigMap,\n GraphQLFieldExtensions,\n GraphQLFieldMap,\n GraphQLFieldResolver,\n GraphQLInputFieldConfig,\n GraphQLInputFieldConfigMap,\n GraphQLInputFieldExtensions,\n GraphQLInputFieldMap,\n GraphQLInputObjectTypeConfig,\n GraphQLInputObjectTypeExtensions,\n GraphQLInterfaceTypeConfig,\n GraphQLInterfaceTypeExtensions,\n GraphQLIsTypeOfFn,\n GraphQLObjectTypeConfig,\n GraphQLObjectTypeExtensions,\n GraphQLResolveInfo,\n GraphQLResolveInfoHelpers,\n ResponsePath,\n GraphQLScalarTypeConfig,\n GraphQLScalarTypeExtensions,\n GraphQLTypeResolver,\n GraphQLUnionTypeConfig,\n GraphQLUnionTypeExtensions,\n GraphQLScalarSerializer,\n GraphQLScalarValueParser,\n GraphQLScalarLiteralParser,\n GraphQLScalarOutputValueCoercer,\n GraphQLScalarInputValueCoercer,\n GraphQLScalarInputLiteralCoercer,\n GraphQLDefaultInput,\n} from './type/index.js';\n\n// Parse and operate on GraphQL language source files.\n// @see https://github.com/typescript-eslint/typescript-eslint/issues/10313\n// Deno misclassifies this merged value+type re-export and requires `export type`.\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore TS1205\nexport { Kind } from './language/kinds.js';\n\nexport {\n Token,\n Source,\n Location,\n OperationTypeNode,\n getLocation,\n // Print source location.\n printLocation,\n printSourceLocation,\n // Lex\n Lexer,\n TokenKind,\n // Parse\n parse,\n parseValue,\n parseConstValue,\n parseType,\n parseSchemaCoordinate,\n // Print\n print,\n // Visit\n visit,\n visitInParallel,\n getEnterLeaveForKind,\n BREAK,\n DirectiveLocation,\n // Predicates\n isDefinitionNode,\n isExecutableDefinitionNode,\n isSelectionNode,\n isValueNode,\n isConstValueNode,\n isTypeNode,\n isTypeSystemDefinitionNode,\n isTypeDefinitionNode,\n isTypeSystemExtensionNode,\n isTypeExtensionNode,\n isSchemaCoordinateNode,\n isSubscriptionOperationDefinitionNode,\n} from './language/index.js';\n\nexport type {\n ParseOptions,\n SourceLocation,\n // Visitor utilities\n ASTVisitor,\n ASTVisitFn,\n ASTVisitorKeyMap,\n // AST nodes\n ASTNode,\n ASTKindToNode,\n // Each kind of AST node\n NameNode,\n DocumentNode,\n DefinitionNode,\n ExecutableDefinitionNode,\n OperationDefinitionNode,\n SubscriptionOperationDefinitionNode,\n VariableDefinitionNode,\n VariableNode,\n SelectionSetNode,\n SelectionNode,\n FieldNode,\n ArgumentNode,\n FragmentArgumentNode,\n ConstArgumentNode,\n FragmentSpreadNode,\n InlineFragmentNode,\n FragmentDefinitionNode,\n ValueNode,\n ConstValueNode,\n IntValueNode,\n FloatValueNode,\n StringValueNode,\n BooleanValueNode,\n NullValueNode,\n EnumValueNode,\n ListValueNode,\n ConstListValueNode,\n ObjectValueNode,\n ConstObjectValueNode,\n ObjectFieldNode,\n ConstObjectFieldNode,\n DirectiveNode,\n ConstDirectiveNode,\n TypeNode,\n NamedTypeNode,\n ListTypeNode,\n NonNullTypeNode,\n TypeSystemDefinitionNode,\n SchemaDefinitionNode,\n OperationTypeDefinitionNode,\n TypeDefinitionNode,\n ScalarTypeDefinitionNode,\n ObjectTypeDefinitionNode,\n FieldDefinitionNode,\n InputValueDefinitionNode,\n InterfaceTypeDefinitionNode,\n UnionTypeDefinitionNode,\n EnumTypeDefinitionNode,\n EnumValueDefinitionNode,\n InputObjectTypeDefinitionNode,\n DirectiveDefinitionNode,\n TypeSystemExtensionNode,\n SchemaExtensionNode,\n TypeExtensionNode,\n ScalarTypeExtensionNode,\n ObjectTypeExtensionNode,\n InterfaceTypeExtensionNode,\n UnionTypeExtensionNode,\n EnumTypeExtensionNode,\n InputObjectTypeExtensionNode,\n SchemaCoordinateNode,\n TypeCoordinateNode,\n MemberCoordinateNode,\n ArgumentCoordinateNode,\n DirectiveCoordinateNode,\n DirectiveArgumentCoordinateNode,\n} from './language/index.js';\n\n// Execute GraphQL queries.\nexport {\n AbortedGraphQLExecutionError,\n execute,\n executeRootSelectionSet,\n executeSubscriptionEvent,\n experimentalExecuteIncrementally,\n experimentalExecuteRootSelectionSet,\n executeSync,\n defaultFieldResolver,\n defaultTypeResolver,\n responsePathAsArray,\n getArgumentValues,\n getVariableValues,\n getDirectiveValues,\n subscribe,\n createSourceEventStream,\n validateExecutionArgs,\n validateSubscriptionArgs,\n} from './execution/index.js';\n\nexport type {\n ExecutionArgs,\n AsyncWorkFinishedInfo,\n ExecutionHooks,\n ValidatedExecutionArgs,\n ValidatedSubscriptionArgs,\n ExecutionResult,\n ExperimentalIncrementalExecutionResults,\n InitialIncrementalExecutionResult,\n SubsequentIncrementalExecutionResult,\n IncrementalDeferResult,\n IncrementalStreamResult,\n IncrementalResult,\n FormattedExecutionResult,\n FormattedExperimentalIncrementalExecutionResults,\n FormattedInitialIncrementalExecutionResult,\n FormattedSubsequentIncrementalExecutionResult,\n FormattedIncrementalDeferResult,\n FormattedIncrementalStreamResult,\n FormattedIncrementalResult,\n} from './execution/index.js';\n\n// Validate GraphQL documents.\nexport {\n validate,\n ValidationContext,\n // All validation rules in the GraphQL Specification.\n specifiedRules,\n recommendedRules,\n // Individual validation rules.\n ExecutableDefinitionsRule,\n FieldsOnCorrectTypeRule,\n FragmentsOnCompositeTypesRule,\n KnownArgumentNamesRule,\n KnownDirectivesRule,\n KnownFragmentNamesRule,\n KnownOperationTypesRule,\n KnownTypeNamesRule,\n LoneAnonymousOperationRule,\n NoFragmentCyclesRule,\n NoUndefinedVariablesRule,\n NoUnusedFragmentsRule,\n NoUnusedVariablesRule,\n OverlappingFieldsCanBeMergedRule,\n PossibleFragmentSpreadsRule,\n ProvidedRequiredArgumentsRule,\n ScalarLeafsRule,\n SingleFieldSubscriptionsRule,\n UniqueArgumentNamesRule,\n UniqueDirectivesPerLocationRule,\n UniqueFragmentNamesRule,\n UniqueInputFieldNamesRule,\n UniqueOperationNamesRule,\n UniqueVariableNamesRule,\n ValuesOfCorrectTypeRule,\n VariablesAreInputTypesRule,\n VariablesInAllowedPositionRule,\n MaxIntrospectionDepthRule,\n // SDL-specific validation rules\n LoneSchemaDefinitionRule,\n UniqueOperationTypesRule,\n UniqueTypeNamesRule,\n UniqueEnumValueNamesRule,\n UniqueFieldDefinitionNamesRule,\n UniqueArgumentDefinitionNamesRule,\n UniqueDirectiveNamesRule,\n PossibleTypeExtensionsRule,\n // Custom validation rules\n NoDeprecatedCustomRule,\n NoSchemaIntrospectionCustomRule,\n} from './validation/index.js';\n\nexport type { ValidationRule } from './validation/index.js';\n\n// Create, format, and print GraphQL errors.\nexport { GraphQLError, syntaxError, locatedError } from './error/index.js';\n\nexport type {\n GraphQLErrorOptions,\n GraphQLFormattedError,\n GraphQLErrorExtensions,\n GraphQLFormattedErrorExtensions,\n} from './error/index.js';\n\n// Utilities for operating on GraphQL type schema and parsed sources.\nexport {\n // Produce the GraphQL query recommended for a full schema introspection.\n // Accepts optional IntrospectionOptions.\n getIntrospectionQuery,\n // Gets the target Operation from a Document.\n getOperationAST,\n // Convert a GraphQLSchema to an IntrospectionQuery.\n introspectionFromSchema,\n // Build a GraphQLSchema from an introspection result.\n buildClientSchema,\n // Build a GraphQLSchema from a parsed GraphQL Schema language AST.\n buildASTSchema,\n // Build a GraphQLSchema from a GraphQL schema language document.\n buildSchema,\n // Extends an existing GraphQLSchema from a parsed GraphQL Schema language AST.\n extendSchema,\n // Sort a GraphQLSchema.\n lexicographicSortSchema,\n // Print a GraphQLSchema to GraphQL Schema language.\n printSchema,\n // Print a GraphQLType to GraphQL Schema language.\n printType,\n // Print a GraphQLDirective to GraphQL Schema language.\n printDirective,\n // Prints the built-in introspection schema in the Schema Language format.\n printIntrospectionSchema,\n // Create a GraphQLType from a GraphQL language AST.\n typeFromAST,\n // Create a JavaScript value from a GraphQL language AST with a Type.\n /** @deprecated use `coerceInputLiteral()` instead - will be removed in v18 */\n valueFromAST,\n // Create a JavaScript value from a GraphQL language AST without a Type.\n valueFromASTUntyped,\n // Create a GraphQL language AST from a JavaScript value.\n /** @deprecated use `valueToLiteral()` instead with care to operate on external values - `astFromValue()` will be removed in v18 */\n astFromValue,\n // A helper to use within recursive-descent visitors which need to be aware of the GraphQL type system.\n TypeInfo,\n visitWithTypeInfo,\n // Converts a value to a const value by replacing variables.\n replaceVariables,\n // Create a GraphQL literal (AST) from a JavaScript input value.\n valueToLiteral,\n // Coerces a JavaScript value to a GraphQL type, or returns undefined.\n coerceInputValue,\n // Coerces a GraphQL literal (AST) to a GraphQL type, or returns undefined.\n coerceInputLiteral,\n // Validate a JavaScript value with a GraphQL type, collecting all errors.\n validateInputValue,\n // Validate a GraphQL literal (AST) with a GraphQL type, collecting all errors.\n validateInputLiteral,\n // Concatenates multiple AST together.\n concatAST,\n // Separates an AST into an AST per Operation.\n separateOperations,\n // Strips characters that are not significant to the validity or execution of a GraphQL document.\n stripIgnoredCharacters,\n // Comparators for types\n isEqualType,\n isTypeSubTypeOf,\n doTypesOverlap,\n // Compares two GraphQLSchemas and detects breaking changes.\n BreakingChangeType,\n DangerousChangeType,\n SafeChangeType,\n findBreakingChanges,\n findDangerousChanges,\n findSchemaChanges,\n resolveSchemaCoordinate,\n resolveASTSchemaCoordinate,\n} from './utilities/index.js';\n\nexport type {\n IntrospectionOptions,\n IntrospectionQuery,\n IntrospectionSchema,\n IntrospectionType,\n IntrospectionInputType,\n IntrospectionOutputType,\n IntrospectionScalarType,\n IntrospectionObjectType,\n IntrospectionInterfaceType,\n IntrospectionUnionType,\n IntrospectionEnumType,\n IntrospectionInputObjectType,\n IntrospectionTypeRef,\n IntrospectionInputTypeRef,\n IntrospectionOutputTypeRef,\n IntrospectionNamedTypeRef,\n IntrospectionListTypeRef,\n IntrospectionNonNullTypeRef,\n IntrospectionField,\n IntrospectionInputValue,\n IntrospectionEnumValue,\n IntrospectionDirective,\n BuildSchemaOptions,\n BreakingChange,\n SafeChange,\n DangerousChange,\n TypedQueryDocumentNode,\n ResolvedSchemaElement,\n} from './utilities/index.js';\n"]}
|
package/index.mjs
CHANGED
|
@@ -27,7 +27,11 @@
|
|
|
27
27
|
*/
|
|
28
28
|
// The GraphQL.js version info.
|
|
29
29
|
export { version, versionInfo } from "./version.mjs";
|
|
30
|
+
// Enable development mode for additional checks.
|
|
31
|
+
export { enableDevMode, isDevModeEnabled } from "./devMode.mjs";
|
|
30
32
|
export { graphql, graphqlSync } from "./graphql.mjs";
|
|
33
|
+
// The default versions of the parse/validate/execute/subscribe harness used by `graphql` and `graphqlSync`.
|
|
34
|
+
export { defaultHarness } from "./harness.mjs";
|
|
31
35
|
export { resolveObjMapThunk, resolveReadonlyArrayThunk,
|
|
32
36
|
// Definitions
|
|
33
37
|
GraphQLSchema, GraphQLDirective, GraphQLScalarType, GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType, GraphQLEnumType, GraphQLInputObjectType, GraphQLList, GraphQLNonNull,
|
|
@@ -57,7 +61,9 @@ validateSchema, assertValidSchema,
|
|
|
57
61
|
assertName, assertEnumValueName, } from "./type/index.mjs";
|
|
58
62
|
// Parse and operate on GraphQL language source files.
|
|
59
63
|
// @see https://github.com/typescript-eslint/typescript-eslint/issues/10313
|
|
60
|
-
//
|
|
64
|
+
// Deno misclassifies this merged value+type re-export and requires `export type`.
|
|
65
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
66
|
+
// @ts-ignore TS1205
|
|
61
67
|
export { Kind } from "./language/kinds.mjs";
|
|
62
68
|
export { Token, Source, Location, OperationTypeNode, getLocation,
|
|
63
69
|
// Print source location.
|
|
@@ -65,15 +71,15 @@ printLocation, printSourceLocation,
|
|
|
65
71
|
// Lex
|
|
66
72
|
Lexer, TokenKind,
|
|
67
73
|
// Parse
|
|
68
|
-
parse, parseValue, parseConstValue, parseType,
|
|
74
|
+
parse, parseValue, parseConstValue, parseType, parseSchemaCoordinate,
|
|
69
75
|
// Print
|
|
70
76
|
print,
|
|
71
77
|
// Visit
|
|
72
78
|
visit, visitInParallel, getEnterLeaveForKind, BREAK, DirectiveLocation,
|
|
73
79
|
// Predicates
|
|
74
|
-
isDefinitionNode, isExecutableDefinitionNode, isSelectionNode, isValueNode, isConstValueNode, isTypeNode, isTypeSystemDefinitionNode, isTypeDefinitionNode, isTypeSystemExtensionNode, isTypeExtensionNode, } from "./language/index.mjs";
|
|
80
|
+
isDefinitionNode, isExecutableDefinitionNode, isSelectionNode, isValueNode, isConstValueNode, isTypeNode, isTypeSystemDefinitionNode, isTypeDefinitionNode, isTypeSystemExtensionNode, isTypeExtensionNode, isSchemaCoordinateNode, isSubscriptionOperationDefinitionNode, } from "./language/index.mjs";
|
|
75
81
|
// Execute GraphQL queries.
|
|
76
|
-
export { execute,
|
|
82
|
+
export { AbortedGraphQLExecutionError, execute, executeRootSelectionSet, executeSubscriptionEvent, experimentalExecuteIncrementally, experimentalExecuteRootSelectionSet, executeSync, defaultFieldResolver, defaultTypeResolver, responsePathAsArray, getArgumentValues, getVariableValues, getDirectiveValues, subscribe, createSourceEventStream, validateExecutionArgs, validateSubscriptionArgs, } from "./execution/index.mjs";
|
|
77
83
|
// Validate GraphQL documents.
|
|
78
84
|
export { validate, ValidationContext,
|
|
79
85
|
// All validation rules in the GraphQL Specification.
|
|
@@ -146,5 +152,5 @@ stripIgnoredCharacters,
|
|
|
146
152
|
// Comparators for types
|
|
147
153
|
isEqualType, isTypeSubTypeOf, doTypesOverlap,
|
|
148
154
|
// Compares two GraphQLSchemas and detects breaking changes.
|
|
149
|
-
BreakingChangeType, DangerousChangeType, SafeChangeType, findBreakingChanges, findDangerousChanges, findSchemaChanges, } from "./utilities/index.mjs";
|
|
155
|
+
BreakingChangeType, DangerousChangeType, SafeChangeType, findBreakingChanges, findDangerousChanges, findSchemaChanges, resolveSchemaCoordinate, resolveASTSchemaCoordinate, } from "./utilities/index.mjs";
|
|
150
156
|
//# sourceMappingURL=index.js.map
|
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,+BAA+B;AAC/B,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,sBAAqB;AAIpD,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,sBAAqB;AASpD,OAAO,EACL,kBAAkB,EAClB,yBAAyB;AACzB,cAAc;AACd,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,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X,eAAe,EACf,cAAc;AACd,4DAA4D;AAC5D,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,GAClB,8BAA6B","sourcesContent":["/**\n * GraphQL.js provides a reference implementation for the GraphQL specification\n * but is also a useful utility for operating on GraphQL files and building\n * sophisticated tools.\n *\n * This primary module exports a general purpose function for fulfilling all\n * steps of the GraphQL specification in a single operation, but also includes\n * utilities for every part of the GraphQL specification:\n *\n * - Parsing the GraphQL language.\n * - Building a GraphQL type schema.\n * - Validating a GraphQL request against a type schema.\n * - Executing a GraphQL request against a type schema.\n *\n * This also includes utility functions for operating on GraphQL types and\n * GraphQL documents to facilitate building tools.\n *\n * You may also import from each sub-directory directly. For example, the\n * following two import statements are equivalent:\n *\n * ```ts\n * import { parse } from 'graphql';\n * import { parse } from 'graphql/language';\n * ```\n *\n * @packageDocumentation\n */\n\n// The GraphQL.js version info.\nexport { version, versionInfo } from './version.js';\n\n// The primary entry point into fulfilling a GraphQL request.\nexport type { GraphQLArgs } from './graphql.js';\nexport { graphql, graphqlSync } from './graphql.js';\n\n// Create and operate on GraphQL type definitions and schema.\nexport type {\n GraphQLField,\n GraphQLArgument,\n GraphQLEnumValue,\n GraphQLInputField,\n} from './type/index.js';\nexport {\n resolveObjMapThunk,\n resolveReadonlyArrayThunk,\n // Definitions\n GraphQLSchema,\n GraphQLDirective,\n GraphQLScalarType,\n GraphQLObjectType,\n GraphQLInterfaceType,\n GraphQLUnionType,\n GraphQLEnumType,\n GraphQLInputObjectType,\n GraphQLList,\n GraphQLNonNull,\n // Standard GraphQL Scalars\n specifiedScalarTypes,\n GraphQLInt,\n GraphQLFloat,\n GraphQLString,\n GraphQLBoolean,\n GraphQLID,\n // Int boundaries constants\n GRAPHQL_MAX_INT,\n GRAPHQL_MIN_INT,\n // Built-in Directives defined by the Spec\n specifiedDirectives,\n GraphQLIncludeDirective,\n GraphQLSkipDirective,\n GraphQLDeferDirective,\n GraphQLStreamDirective,\n GraphQLDeprecatedDirective,\n GraphQLSpecifiedByDirective,\n GraphQLOneOfDirective,\n // \"Enum\" of Type Kinds\n TypeKind,\n // Constant Deprecation Reason\n DEFAULT_DEPRECATION_REASON,\n // GraphQL Types for introspection.\n introspectionTypes,\n __Schema,\n __Directive,\n __DirectiveLocation,\n __Type,\n __Field,\n __InputValue,\n __EnumValue,\n __TypeKind,\n // Meta-field definitions.\n SchemaMetaFieldDef,\n TypeMetaFieldDef,\n TypeNameMetaFieldDef,\n // Predicates\n isSchema,\n isDirective,\n isType,\n isScalarType,\n isObjectType,\n isField,\n isArgument,\n isInterfaceType,\n isUnionType,\n isEnumType,\n isEnumValue,\n isInputObjectType,\n isInputField,\n isListType,\n isNonNullType,\n isInputType,\n isOutputType,\n isLeafType,\n isCompositeType,\n isAbstractType,\n isWrappingType,\n isNullableType,\n isNamedType,\n isRequiredArgument,\n isRequiredInputField,\n isSpecifiedScalarType,\n isIntrospectionType,\n isSpecifiedDirective,\n // Assertions\n assertSchema,\n assertDirective,\n assertType,\n assertScalarType,\n assertObjectType,\n assertField,\n assertArgument,\n assertInterfaceType,\n assertUnionType,\n assertEnumType,\n assertEnumValue,\n assertInputObjectType,\n assertInputField,\n assertListType,\n assertNonNullType,\n assertInputType,\n assertOutputType,\n assertLeafType,\n assertCompositeType,\n assertAbstractType,\n assertWrappingType,\n assertNullableType,\n assertNamedType,\n // Un-modifiers\n getNullableType,\n getNamedType,\n // Validate GraphQL schema.\n validateSchema,\n assertValidSchema,\n // Upholds the spec rules about naming.\n assertName,\n assertEnumValueName,\n} from './type/index.js';\n\nexport type {\n GraphQLType,\n GraphQLInputType,\n GraphQLOutputType,\n GraphQLLeafType,\n GraphQLCompositeType,\n GraphQLAbstractType,\n GraphQLWrappingType,\n GraphQLNullableType,\n GraphQLNullableInputType,\n GraphQLNullableOutputType,\n GraphQLNamedType,\n GraphQLNamedInputType,\n GraphQLNamedOutputType,\n ThunkReadonlyArray,\n ThunkObjMap,\n GraphQLSchemaConfig,\n GraphQLSchemaExtensions,\n GraphQLDirectiveConfig,\n GraphQLDirectiveExtensions,\n GraphQLArgumentConfig,\n GraphQLArgumentExtensions,\n GraphQLEnumTypeConfig,\n GraphQLEnumTypeExtensions,\n GraphQLEnumValueConfig,\n GraphQLEnumValueConfigMap,\n GraphQLEnumValueExtensions,\n GraphQLFieldConfig,\n GraphQLFieldConfigArgumentMap,\n GraphQLFieldConfigMap,\n GraphQLFieldExtensions,\n GraphQLFieldMap,\n GraphQLFieldResolver,\n GraphQLInputFieldConfig,\n GraphQLInputFieldConfigMap,\n GraphQLInputFieldExtensions,\n GraphQLInputFieldMap,\n GraphQLInputObjectTypeConfig,\n GraphQLInputObjectTypeExtensions,\n GraphQLInterfaceTypeConfig,\n GraphQLInterfaceTypeExtensions,\n GraphQLIsTypeOfFn,\n GraphQLObjectTypeConfig,\n GraphQLObjectTypeExtensions,\n GraphQLResolveInfo,\n ResponsePath,\n GraphQLScalarTypeConfig,\n GraphQLScalarTypeExtensions,\n GraphQLTypeResolver,\n GraphQLUnionTypeConfig,\n GraphQLUnionTypeExtensions,\n GraphQLScalarSerializer,\n GraphQLScalarValueParser,\n GraphQLScalarLiteralParser,\n GraphQLScalarOutputValueCoercer,\n GraphQLScalarInputValueCoercer,\n GraphQLScalarInputLiteralCoercer,\n GraphQLDefaultInput,\n} from './type/index.js';\n\n// Parse and operate on GraphQL language source files.\n// @see https://github.com/typescript-eslint/typescript-eslint/issues/10313\n// eslint-disable-next-line @typescript-eslint/consistent-type-exports\nexport { Kind } from './language/kinds.js';\nexport {\n Token,\n Source,\n Location,\n OperationTypeNode,\n getLocation,\n // Print source location.\n printLocation,\n printSourceLocation,\n // Lex\n Lexer,\n TokenKind,\n // Parse\n parse,\n parseValue,\n parseConstValue,\n parseType,\n // Print\n print,\n // Visit\n visit,\n visitInParallel,\n getEnterLeaveForKind,\n BREAK,\n DirectiveLocation,\n // Predicates\n isDefinitionNode,\n isExecutableDefinitionNode,\n isSelectionNode,\n isValueNode,\n isConstValueNode,\n isTypeNode,\n isTypeSystemDefinitionNode,\n isTypeDefinitionNode,\n isTypeSystemExtensionNode,\n isTypeExtensionNode,\n} from './language/index.js';\n\nexport type {\n ParseOptions,\n SourceLocation,\n // Visitor utilities\n ASTVisitor,\n ASTVisitFn,\n ASTVisitorKeyMap,\n // AST nodes\n ASTNode,\n ASTKindToNode,\n // Each kind of AST node\n NameNode,\n DocumentNode,\n DefinitionNode,\n ExecutableDefinitionNode,\n OperationDefinitionNode,\n VariableDefinitionNode,\n VariableNode,\n SelectionSetNode,\n SelectionNode,\n FieldNode,\n ArgumentNode,\n FragmentArgumentNode,\n ConstArgumentNode,\n FragmentSpreadNode,\n InlineFragmentNode,\n FragmentDefinitionNode,\n ValueNode,\n ConstValueNode,\n IntValueNode,\n FloatValueNode,\n StringValueNode,\n BooleanValueNode,\n NullValueNode,\n EnumValueNode,\n ListValueNode,\n ConstListValueNode,\n ObjectValueNode,\n ConstObjectValueNode,\n ObjectFieldNode,\n ConstObjectFieldNode,\n DirectiveNode,\n ConstDirectiveNode,\n TypeNode,\n NamedTypeNode,\n ListTypeNode,\n NonNullTypeNode,\n TypeSystemDefinitionNode,\n SchemaDefinitionNode,\n OperationTypeDefinitionNode,\n TypeDefinitionNode,\n ScalarTypeDefinitionNode,\n ObjectTypeDefinitionNode,\n FieldDefinitionNode,\n InputValueDefinitionNode,\n InterfaceTypeDefinitionNode,\n UnionTypeDefinitionNode,\n EnumTypeDefinitionNode,\n EnumValueDefinitionNode,\n InputObjectTypeDefinitionNode,\n DirectiveDefinitionNode,\n TypeSystemExtensionNode,\n SchemaExtensionNode,\n TypeExtensionNode,\n ScalarTypeExtensionNode,\n ObjectTypeExtensionNode,\n InterfaceTypeExtensionNode,\n UnionTypeExtensionNode,\n EnumTypeExtensionNode,\n InputObjectTypeExtensionNode,\n} from './language/index.js';\n\n// Execute GraphQL queries.\nexport {\n execute,\n executeQueryOrMutationOrSubscriptionEvent,\n executeSubscriptionEvent,\n experimentalExecuteIncrementally,\n experimentalExecuteQueryOrMutationOrSubscriptionEvent,\n executeSync,\n defaultFieldResolver,\n defaultTypeResolver,\n responsePathAsArray,\n getArgumentValues,\n getVariableValues,\n getDirectiveValues,\n subscribe,\n createSourceEventStream,\n} from './execution/index.js';\n\nexport type {\n ExecutionArgs,\n ValidatedExecutionArgs,\n ExecutionResult,\n ExperimentalIncrementalExecutionResults,\n InitialIncrementalExecutionResult,\n SubsequentIncrementalExecutionResult,\n IncrementalDeferResult,\n IncrementalStreamResult,\n IncrementalResult,\n FormattedExecutionResult,\n FormattedInitialIncrementalExecutionResult,\n FormattedSubsequentIncrementalExecutionResult,\n FormattedIncrementalDeferResult,\n FormattedIncrementalStreamResult,\n FormattedIncrementalResult,\n} from './execution/index.js';\n\n// Validate GraphQL documents.\nexport {\n validate,\n ValidationContext,\n // All validation rules in the GraphQL Specification.\n specifiedRules,\n recommendedRules,\n // Individual validation rules.\n ExecutableDefinitionsRule,\n FieldsOnCorrectTypeRule,\n FragmentsOnCompositeTypesRule,\n KnownArgumentNamesRule,\n KnownDirectivesRule,\n KnownFragmentNamesRule,\n KnownOperationTypesRule,\n KnownTypeNamesRule,\n LoneAnonymousOperationRule,\n NoFragmentCyclesRule,\n NoUndefinedVariablesRule,\n NoUnusedFragmentsRule,\n NoUnusedVariablesRule,\n OverlappingFieldsCanBeMergedRule,\n PossibleFragmentSpreadsRule,\n ProvidedRequiredArgumentsRule,\n ScalarLeafsRule,\n SingleFieldSubscriptionsRule,\n UniqueArgumentNamesRule,\n UniqueDirectivesPerLocationRule,\n UniqueFragmentNamesRule,\n UniqueInputFieldNamesRule,\n UniqueOperationNamesRule,\n UniqueVariableNamesRule,\n ValuesOfCorrectTypeRule,\n VariablesAreInputTypesRule,\n VariablesInAllowedPositionRule,\n MaxIntrospectionDepthRule,\n // SDL-specific validation rules\n LoneSchemaDefinitionRule,\n UniqueOperationTypesRule,\n UniqueTypeNamesRule,\n UniqueEnumValueNamesRule,\n UniqueFieldDefinitionNamesRule,\n UniqueArgumentDefinitionNamesRule,\n UniqueDirectiveNamesRule,\n PossibleTypeExtensionsRule,\n // Custom validation rules\n NoDeprecatedCustomRule,\n NoSchemaIntrospectionCustomRule,\n} from './validation/index.js';\n\nexport type { ValidationRule } from './validation/index.js';\n\n// Create, format, and print GraphQL errors.\nexport { GraphQLError, syntaxError, locatedError } from './error/index.js';\n\nexport type {\n GraphQLErrorOptions,\n GraphQLFormattedError,\n GraphQLErrorExtensions,\n GraphQLFormattedErrorExtensions,\n} from './error/index.js';\n\n// Utilities for operating on GraphQL type schema and parsed sources.\nexport {\n // Produce the GraphQL query recommended for a full schema introspection.\n // Accepts optional IntrospectionOptions.\n getIntrospectionQuery,\n // Gets the target Operation from a Document.\n getOperationAST,\n // Convert a GraphQLSchema to an IntrospectionQuery.\n introspectionFromSchema,\n // Build a GraphQLSchema from an introspection result.\n buildClientSchema,\n // Build a GraphQLSchema from a parsed GraphQL Schema language AST.\n buildASTSchema,\n // Build a GraphQLSchema from a GraphQL schema language document.\n buildSchema,\n // Extends an existing GraphQLSchema from a parsed GraphQL Schema language AST.\n extendSchema,\n // Sort a GraphQLSchema.\n lexicographicSortSchema,\n // Print a GraphQLSchema to GraphQL Schema language.\n printSchema,\n // Print a GraphQLType to GraphQL Schema language.\n printType,\n // Print a GraphQLDirective to GraphQL Schema language.\n printDirective,\n // Prints the built-in introspection schema in the Schema Language format.\n printIntrospectionSchema,\n // Create a GraphQLType from a GraphQL language AST.\n typeFromAST,\n // Create a JavaScript value from a GraphQL language AST with a Type.\n /** @deprecated use `coerceInputLiteral()` instead - will be removed in v18 */\n valueFromAST,\n // Create a JavaScript value from a GraphQL language AST without a Type.\n valueFromASTUntyped,\n // Create a GraphQL language AST from a JavaScript value.\n /** @deprecated use `valueToLiteral()` instead with care to operate on external values - `astFromValue()` will be removed in v18 */\n astFromValue,\n // A helper to use within recursive-descent visitors which need to be aware of the GraphQL type system.\n TypeInfo,\n visitWithTypeInfo,\n // Converts a value to a const value by replacing variables.\n replaceVariables,\n // Create a GraphQL literal (AST) from a JavaScript input value.\n valueToLiteral,\n // Coerces a JavaScript value to a GraphQL type, or returns undefined.\n coerceInputValue,\n // Coerces a GraphQL literal (AST) to a GraphQL type, or returns undefined.\n coerceInputLiteral,\n // Validate a JavaScript value with a GraphQL type, collecting all errors.\n validateInputValue,\n // Validate a GraphQL literal (AST) with a GraphQL type, collecting all errors.\n validateInputLiteral,\n // Concatenates multiple AST together.\n concatAST,\n // Separates an AST into an AST per Operation.\n separateOperations,\n // Strips characters that are not significant to the validity or execution of a GraphQL document.\n stripIgnoredCharacters,\n // Comparators for types\n isEqualType,\n isTypeSubTypeOf,\n doTypesOverlap,\n // Compares two GraphQLSchemas and detects breaking changes.\n BreakingChangeType,\n DangerousChangeType,\n SafeChangeType,\n findBreakingChanges,\n findDangerousChanges,\n findSchemaChanges,\n} from './utilities/index.js';\n\nexport type {\n IntrospectionOptions,\n IntrospectionQuery,\n IntrospectionSchema,\n IntrospectionType,\n IntrospectionInputType,\n IntrospectionOutputType,\n IntrospectionScalarType,\n IntrospectionObjectType,\n IntrospectionInterfaceType,\n IntrospectionUnionType,\n IntrospectionEnumType,\n IntrospectionInputObjectType,\n IntrospectionTypeRef,\n IntrospectionInputTypeRef,\n IntrospectionOutputTypeRef,\n IntrospectionNamedTypeRef,\n IntrospectionListTypeRef,\n IntrospectionNonNullTypeRef,\n IntrospectionField,\n IntrospectionInputValue,\n IntrospectionEnumValue,\n IntrospectionDirective,\n BuildSchemaOptions,\n BreakingChange,\n SafeChange,\n DangerousChange,\n TypedQueryDocumentNode,\n} from './utilities/index.js';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,+BAA+B;AAC/B,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,sBAAqB;AAEpD,iDAAiD;AACjD,OAAO,EAAE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E;AAC9E,YAAY;AACZ,wEAAwE;AACxE,mBAAmB;AACnB,yDAAyD;AACzD,mIAAmI;AACnI,YAAY;AACZ,uGAAuG;AACvG,QAAQ,EACR,iBAAiB;AACjB,4DAA4D;AAC5D,gBAAgB;AAChB,gEAAgE;AAChE,cAAc;AACd,sEAAsE;AACtE,gBAAgB;AAChB,2EAA2E;AAC3E,kBAAkB;AAClB,0EAA0E;AAC1E,kBAAkB;AAClB,+EAA+E;AAC/E,oBAAoB;AACpB,sCAAsC;AACtC,SAAS;AACT,8CAA8C;AAC9C,kBAAkB;AAClB,iGAAiG;AACjG,sBAAsB;AACtB,wBAAwB;AACxB,WAAW,EACX,eAAe,EACf,cAAc;AACd,4DAA4D;AAC5D,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACvB,0BAA0B,GAC3B,8BAA6B","sourcesContent":["/**\n * GraphQL.js provides a reference implementation for the GraphQL specification\n * but is also a useful utility for operating on GraphQL files and building\n * sophisticated tools.\n *\n * This primary module exports a general purpose function for fulfilling all\n * steps of the GraphQL specification in a single operation, but also includes\n * utilities for every part of the GraphQL specification:\n *\n * - Parsing the GraphQL language.\n * - Building a GraphQL type schema.\n * - Validating a GraphQL request against a type schema.\n * - Executing a GraphQL request against a type schema.\n *\n * This also includes utility functions for operating on GraphQL types and\n * GraphQL documents to facilitate building tools.\n *\n * You may also import from each sub-directory directly. For example, the\n * following two import statements are equivalent:\n *\n * ```ts\n * import { parse } from 'graphql';\n * import { parse } from 'graphql/language';\n * ```\n *\n * @packageDocumentation\n */\n\n// The GraphQL.js version info.\nexport { version, versionInfo } from './version.js';\n\n// Enable development mode for additional checks.\nexport { enableDevMode, isDevModeEnabled } from './devMode.js';\n\n// The primary entry point into fulfilling a GraphQL request.\nexport type { GraphQLArgs } from './graphql.js';\nexport { graphql, graphqlSync } from './graphql.js';\n\n// The default versions of the parse/validate/execute/subscribe harness used by `graphql` and `graphqlSync`.\nexport { defaultHarness } from './harness.js';\nexport type {\n GraphQLHarness,\n GraphQLParseFn,\n GraphQLValidateFn,\n GraphQLExecuteFn,\n GraphQLSubscribeFn,\n} from './harness.js';\n\n// Create and operate on GraphQL type definitions and schema.\nexport type {\n GraphQLField,\n GraphQLArgument,\n GraphQLEnumValue,\n GraphQLInputField,\n} from './type/index.js';\nexport {\n resolveObjMapThunk,\n resolveReadonlyArrayThunk,\n // Definitions\n GraphQLSchema,\n GraphQLDirective,\n GraphQLScalarType,\n GraphQLObjectType,\n GraphQLInterfaceType,\n GraphQLUnionType,\n GraphQLEnumType,\n GraphQLInputObjectType,\n GraphQLList,\n GraphQLNonNull,\n // Standard GraphQL Scalars\n specifiedScalarTypes,\n GraphQLInt,\n GraphQLFloat,\n GraphQLString,\n GraphQLBoolean,\n GraphQLID,\n // Int boundaries constants\n GRAPHQL_MAX_INT,\n GRAPHQL_MIN_INT,\n // Built-in Directives defined by the Spec\n specifiedDirectives,\n GraphQLIncludeDirective,\n GraphQLSkipDirective,\n GraphQLDeferDirective,\n GraphQLStreamDirective,\n GraphQLDeprecatedDirective,\n GraphQLSpecifiedByDirective,\n GraphQLOneOfDirective,\n // \"Enum\" of Type Kinds\n TypeKind,\n // Constant Deprecation Reason\n DEFAULT_DEPRECATION_REASON,\n // GraphQL Types for introspection.\n introspectionTypes,\n __Schema,\n __Directive,\n __DirectiveLocation,\n __Type,\n __Field,\n __InputValue,\n __EnumValue,\n __TypeKind,\n // Meta-field definitions.\n SchemaMetaFieldDef,\n TypeMetaFieldDef,\n TypeNameMetaFieldDef,\n // Predicates\n isSchema,\n isDirective,\n isType,\n isScalarType,\n isObjectType,\n isField,\n isArgument,\n isInterfaceType,\n isUnionType,\n isEnumType,\n isEnumValue,\n isInputObjectType,\n isInputField,\n isListType,\n isNonNullType,\n isInputType,\n isOutputType,\n isLeafType,\n isCompositeType,\n isAbstractType,\n isWrappingType,\n isNullableType,\n isNamedType,\n isRequiredArgument,\n isRequiredInputField,\n isSpecifiedScalarType,\n isIntrospectionType,\n isSpecifiedDirective,\n // Assertions\n assertSchema,\n assertDirective,\n assertType,\n assertScalarType,\n assertObjectType,\n assertField,\n assertArgument,\n assertInterfaceType,\n assertUnionType,\n assertEnumType,\n assertEnumValue,\n assertInputObjectType,\n assertInputField,\n assertListType,\n assertNonNullType,\n assertInputType,\n assertOutputType,\n assertLeafType,\n assertCompositeType,\n assertAbstractType,\n assertWrappingType,\n assertNullableType,\n assertNamedType,\n // Un-modifiers\n getNullableType,\n getNamedType,\n // Validate GraphQL schema.\n validateSchema,\n assertValidSchema,\n // Upholds the spec rules about naming.\n assertName,\n assertEnumValueName,\n} from './type/index.js';\n\nexport type {\n GraphQLType,\n GraphQLInputType,\n GraphQLOutputType,\n GraphQLLeafType,\n GraphQLCompositeType,\n GraphQLAbstractType,\n GraphQLWrappingType,\n GraphQLNullableType,\n GraphQLNullableInputType,\n GraphQLNullableOutputType,\n GraphQLNamedType,\n GraphQLNamedInputType,\n GraphQLNamedOutputType,\n ThunkReadonlyArray,\n ThunkObjMap,\n GraphQLSchemaConfig,\n GraphQLSchemaExtensions,\n GraphQLDirectiveConfig,\n GraphQLDirectiveExtensions,\n GraphQLArgumentConfig,\n GraphQLArgumentExtensions,\n GraphQLEnumTypeConfig,\n GraphQLEnumTypeExtensions,\n GraphQLEnumValueConfig,\n GraphQLEnumValueConfigMap,\n GraphQLEnumValueExtensions,\n GraphQLFieldConfig,\n GraphQLFieldConfigArgumentMap,\n GraphQLFieldConfigMap,\n GraphQLFieldExtensions,\n GraphQLFieldMap,\n GraphQLFieldResolver,\n GraphQLInputFieldConfig,\n GraphQLInputFieldConfigMap,\n GraphQLInputFieldExtensions,\n GraphQLInputFieldMap,\n GraphQLInputObjectTypeConfig,\n GraphQLInputObjectTypeExtensions,\n GraphQLInterfaceTypeConfig,\n GraphQLInterfaceTypeExtensions,\n GraphQLIsTypeOfFn,\n GraphQLObjectTypeConfig,\n GraphQLObjectTypeExtensions,\n GraphQLResolveInfo,\n GraphQLResolveInfoHelpers,\n ResponsePath,\n GraphQLScalarTypeConfig,\n GraphQLScalarTypeExtensions,\n GraphQLTypeResolver,\n GraphQLUnionTypeConfig,\n GraphQLUnionTypeExtensions,\n GraphQLScalarSerializer,\n GraphQLScalarValueParser,\n GraphQLScalarLiteralParser,\n GraphQLScalarOutputValueCoercer,\n GraphQLScalarInputValueCoercer,\n GraphQLScalarInputLiteralCoercer,\n GraphQLDefaultInput,\n} from './type/index.js';\n\n// Parse and operate on GraphQL language source files.\n// @see https://github.com/typescript-eslint/typescript-eslint/issues/10313\n// Deno misclassifies this merged value+type re-export and requires `export type`.\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore TS1205\nexport { Kind } from './language/kinds.js';\n\nexport {\n Token,\n Source,\n Location,\n OperationTypeNode,\n getLocation,\n // Print source location.\n printLocation,\n printSourceLocation,\n // Lex\n Lexer,\n TokenKind,\n // Parse\n parse,\n parseValue,\n parseConstValue,\n parseType,\n parseSchemaCoordinate,\n // Print\n print,\n // Visit\n visit,\n visitInParallel,\n getEnterLeaveForKind,\n BREAK,\n DirectiveLocation,\n // Predicates\n isDefinitionNode,\n isExecutableDefinitionNode,\n isSelectionNode,\n isValueNode,\n isConstValueNode,\n isTypeNode,\n isTypeSystemDefinitionNode,\n isTypeDefinitionNode,\n isTypeSystemExtensionNode,\n isTypeExtensionNode,\n isSchemaCoordinateNode,\n isSubscriptionOperationDefinitionNode,\n} from './language/index.js';\n\nexport type {\n ParseOptions,\n SourceLocation,\n // Visitor utilities\n ASTVisitor,\n ASTVisitFn,\n ASTVisitorKeyMap,\n // AST nodes\n ASTNode,\n ASTKindToNode,\n // Each kind of AST node\n NameNode,\n DocumentNode,\n DefinitionNode,\n ExecutableDefinitionNode,\n OperationDefinitionNode,\n SubscriptionOperationDefinitionNode,\n VariableDefinitionNode,\n VariableNode,\n SelectionSetNode,\n SelectionNode,\n FieldNode,\n ArgumentNode,\n FragmentArgumentNode,\n ConstArgumentNode,\n FragmentSpreadNode,\n InlineFragmentNode,\n FragmentDefinitionNode,\n ValueNode,\n ConstValueNode,\n IntValueNode,\n FloatValueNode,\n StringValueNode,\n BooleanValueNode,\n NullValueNode,\n EnumValueNode,\n ListValueNode,\n ConstListValueNode,\n ObjectValueNode,\n ConstObjectValueNode,\n ObjectFieldNode,\n ConstObjectFieldNode,\n DirectiveNode,\n ConstDirectiveNode,\n TypeNode,\n NamedTypeNode,\n ListTypeNode,\n NonNullTypeNode,\n TypeSystemDefinitionNode,\n SchemaDefinitionNode,\n OperationTypeDefinitionNode,\n TypeDefinitionNode,\n ScalarTypeDefinitionNode,\n ObjectTypeDefinitionNode,\n FieldDefinitionNode,\n InputValueDefinitionNode,\n InterfaceTypeDefinitionNode,\n UnionTypeDefinitionNode,\n EnumTypeDefinitionNode,\n EnumValueDefinitionNode,\n InputObjectTypeDefinitionNode,\n DirectiveDefinitionNode,\n TypeSystemExtensionNode,\n SchemaExtensionNode,\n TypeExtensionNode,\n ScalarTypeExtensionNode,\n ObjectTypeExtensionNode,\n InterfaceTypeExtensionNode,\n UnionTypeExtensionNode,\n EnumTypeExtensionNode,\n InputObjectTypeExtensionNode,\n SchemaCoordinateNode,\n TypeCoordinateNode,\n MemberCoordinateNode,\n ArgumentCoordinateNode,\n DirectiveCoordinateNode,\n DirectiveArgumentCoordinateNode,\n} from './language/index.js';\n\n// Execute GraphQL queries.\nexport {\n AbortedGraphQLExecutionError,\n execute,\n executeRootSelectionSet,\n executeSubscriptionEvent,\n experimentalExecuteIncrementally,\n experimentalExecuteRootSelectionSet,\n executeSync,\n defaultFieldResolver,\n defaultTypeResolver,\n responsePathAsArray,\n getArgumentValues,\n getVariableValues,\n getDirectiveValues,\n subscribe,\n createSourceEventStream,\n validateExecutionArgs,\n validateSubscriptionArgs,\n} from './execution/index.js';\n\nexport type {\n ExecutionArgs,\n AsyncWorkFinishedInfo,\n ExecutionHooks,\n ValidatedExecutionArgs,\n ValidatedSubscriptionArgs,\n ExecutionResult,\n ExperimentalIncrementalExecutionResults,\n InitialIncrementalExecutionResult,\n SubsequentIncrementalExecutionResult,\n IncrementalDeferResult,\n IncrementalStreamResult,\n IncrementalResult,\n FormattedExecutionResult,\n FormattedExperimentalIncrementalExecutionResults,\n FormattedInitialIncrementalExecutionResult,\n FormattedSubsequentIncrementalExecutionResult,\n FormattedIncrementalDeferResult,\n FormattedIncrementalStreamResult,\n FormattedIncrementalResult,\n} from './execution/index.js';\n\n// Validate GraphQL documents.\nexport {\n validate,\n ValidationContext,\n // All validation rules in the GraphQL Specification.\n specifiedRules,\n recommendedRules,\n // Individual validation rules.\n ExecutableDefinitionsRule,\n FieldsOnCorrectTypeRule,\n FragmentsOnCompositeTypesRule,\n KnownArgumentNamesRule,\n KnownDirectivesRule,\n KnownFragmentNamesRule,\n KnownOperationTypesRule,\n KnownTypeNamesRule,\n LoneAnonymousOperationRule,\n NoFragmentCyclesRule,\n NoUndefinedVariablesRule,\n NoUnusedFragmentsRule,\n NoUnusedVariablesRule,\n OverlappingFieldsCanBeMergedRule,\n PossibleFragmentSpreadsRule,\n ProvidedRequiredArgumentsRule,\n ScalarLeafsRule,\n SingleFieldSubscriptionsRule,\n UniqueArgumentNamesRule,\n UniqueDirectivesPerLocationRule,\n UniqueFragmentNamesRule,\n UniqueInputFieldNamesRule,\n UniqueOperationNamesRule,\n UniqueVariableNamesRule,\n ValuesOfCorrectTypeRule,\n VariablesAreInputTypesRule,\n VariablesInAllowedPositionRule,\n MaxIntrospectionDepthRule,\n // SDL-specific validation rules\n LoneSchemaDefinitionRule,\n UniqueOperationTypesRule,\n UniqueTypeNamesRule,\n UniqueEnumValueNamesRule,\n UniqueFieldDefinitionNamesRule,\n UniqueArgumentDefinitionNamesRule,\n UniqueDirectiveNamesRule,\n PossibleTypeExtensionsRule,\n // Custom validation rules\n NoDeprecatedCustomRule,\n NoSchemaIntrospectionCustomRule,\n} from './validation/index.js';\n\nexport type { ValidationRule } from './validation/index.js';\n\n// Create, format, and print GraphQL errors.\nexport { GraphQLError, syntaxError, locatedError } from './error/index.js';\n\nexport type {\n GraphQLErrorOptions,\n GraphQLFormattedError,\n GraphQLErrorExtensions,\n GraphQLFormattedErrorExtensions,\n} from './error/index.js';\n\n// Utilities for operating on GraphQL type schema and parsed sources.\nexport {\n // Produce the GraphQL query recommended for a full schema introspection.\n // Accepts optional IntrospectionOptions.\n getIntrospectionQuery,\n // Gets the target Operation from a Document.\n getOperationAST,\n // Convert a GraphQLSchema to an IntrospectionQuery.\n introspectionFromSchema,\n // Build a GraphQLSchema from an introspection result.\n buildClientSchema,\n // Build a GraphQLSchema from a parsed GraphQL Schema language AST.\n buildASTSchema,\n // Build a GraphQLSchema from a GraphQL schema language document.\n buildSchema,\n // Extends an existing GraphQLSchema from a parsed GraphQL Schema language AST.\n extendSchema,\n // Sort a GraphQLSchema.\n lexicographicSortSchema,\n // Print a GraphQLSchema to GraphQL Schema language.\n printSchema,\n // Print a GraphQLType to GraphQL Schema language.\n printType,\n // Print a GraphQLDirective to GraphQL Schema language.\n printDirective,\n // Prints the built-in introspection schema in the Schema Language format.\n printIntrospectionSchema,\n // Create a GraphQLType from a GraphQL language AST.\n typeFromAST,\n // Create a JavaScript value from a GraphQL language AST with a Type.\n /** @deprecated use `coerceInputLiteral()` instead - will be removed in v18 */\n valueFromAST,\n // Create a JavaScript value from a GraphQL language AST without a Type.\n valueFromASTUntyped,\n // Create a GraphQL language AST from a JavaScript value.\n /** @deprecated use `valueToLiteral()` instead with care to operate on external values - `astFromValue()` will be removed in v18 */\n astFromValue,\n // A helper to use within recursive-descent visitors which need to be aware of the GraphQL type system.\n TypeInfo,\n visitWithTypeInfo,\n // Converts a value to a const value by replacing variables.\n replaceVariables,\n // Create a GraphQL literal (AST) from a JavaScript input value.\n valueToLiteral,\n // Coerces a JavaScript value to a GraphQL type, or returns undefined.\n coerceInputValue,\n // Coerces a GraphQL literal (AST) to a GraphQL type, or returns undefined.\n coerceInputLiteral,\n // Validate a JavaScript value with a GraphQL type, collecting all errors.\n validateInputValue,\n // Validate a GraphQL literal (AST) with a GraphQL type, collecting all errors.\n validateInputLiteral,\n // Concatenates multiple AST together.\n concatAST,\n // Separates an AST into an AST per Operation.\n separateOperations,\n // Strips characters that are not significant to the validity or execution of a GraphQL document.\n stripIgnoredCharacters,\n // Comparators for types\n isEqualType,\n isTypeSubTypeOf,\n doTypesOverlap,\n // Compares two GraphQLSchemas and detects breaking changes.\n BreakingChangeType,\n DangerousChangeType,\n SafeChangeType,\n findBreakingChanges,\n findDangerousChanges,\n findSchemaChanges,\n resolveSchemaCoordinate,\n resolveASTSchemaCoordinate,\n} from './utilities/index.js';\n\nexport type {\n IntrospectionOptions,\n IntrospectionQuery,\n IntrospectionSchema,\n IntrospectionType,\n IntrospectionInputType,\n IntrospectionOutputType,\n IntrospectionScalarType,\n IntrospectionObjectType,\n IntrospectionInterfaceType,\n IntrospectionUnionType,\n IntrospectionEnumType,\n IntrospectionInputObjectType,\n IntrospectionTypeRef,\n IntrospectionInputTypeRef,\n IntrospectionOutputTypeRef,\n IntrospectionNamedTypeRef,\n IntrospectionListTypeRef,\n IntrospectionNonNullTypeRef,\n IntrospectionField,\n IntrospectionInputValue,\n IntrospectionEnumValue,\n IntrospectionDirective,\n BuildSchemaOptions,\n BreakingChange,\n SafeChange,\n DangerousChange,\n TypedQueryDocumentNode,\n ResolvedSchemaElement,\n} from './utilities/index.js';\n"]}
|
|
@@ -4,6 +4,7 @@ exports.AccumulatorMap = void 0;
|
|
|
4
4
|
/**
|
|
5
5
|
* ES6 Map with additional `add` method to accumulate items.
|
|
6
6
|
*/
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
|
|
7
8
|
class AccumulatorMap extends Map {
|
|
8
9
|
get [Symbol.toStringTag]() {
|
|
9
10
|
return 'AccumulatorMap';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccumulatorMap.js","sourceRoot":"","sources":["../../src/jsutils/AccumulatorMap.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,cAAqB,SAAQ,GAAgB;IACxD,IAAa,CAAC,MAAM,CAAC,WAAW,CAAC;QAC/B,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,GAAG,CAAC,GAAM,EAAE,IAAO;QACjB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC5B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;QACxB,CAAC;aAAM,CAAC;YACN,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;CACF;AAbD,wCAaC","sourcesContent":["/**\n * ES6 Map with additional `add` method to accumulate items.\n */\nexport class AccumulatorMap<K, T> extends Map<K, Array<T>> {\n override get [Symbol.toStringTag]() {\n return 'AccumulatorMap';\n }\n\n add(key: K, item: T): void {\n const group = this.get(key);\n if (group === undefined) {\n this.set(key, [item]);\n } else {\n group.push(item);\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"AccumulatorMap.js","sourceRoot":"","sources":["../../src/jsutils/AccumulatorMap.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,6EAA6E;AAC7E,MAAa,cAAqB,SAAQ,GAAgB;IACxD,IAAa,CAAC,MAAM,CAAC,WAAW,CAAC;QAC/B,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,GAAG,CAAC,GAAM,EAAE,IAAO;QACjB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC5B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;QACxB,CAAC;aAAM,CAAC;YACN,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;CACF;AAbD,wCAaC","sourcesContent":["/**\n * ES6 Map with additional `add` method to accumulate items.\n */\n// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters\nexport class AccumulatorMap<K, T> extends Map<K, Array<T>> {\n override get [Symbol.toStringTag](): string {\n return 'AccumulatorMap';\n }\n\n add(key: K, item: T): void {\n const group = this.get(key);\n if (group === undefined) {\n this.set(key, [item]);\n } else {\n group.push(item);\n }\n }\n}\n"]}
|