summaryrefslogtreecommitdiff
path: root/alarm/node_modules/graphql/utilities/extendSchema.d.ts
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-01-10 14:54:04 +0100
committerMinteck <contact@minteck.org>2023-01-10 14:54:04 +0100
commit99c1d9af689e5325f3cf535c4007b3aeb8325229 (patch)
treee663b3c2ebdbd67c818ac0c5147f0ce1d2463cda /alarm/node_modules/graphql/utilities/extendSchema.d.ts
parent9871b03912fc28ad38b4037ebf26a78aa937baba (diff)
downloadpluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.tar.gz
pluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.tar.bz2
pluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.zip
Update - This is an automated commit
Diffstat (limited to 'alarm/node_modules/graphql/utilities/extendSchema.d.ts')
-rw-r--r--alarm/node_modules/graphql/utilities/extendSchema.d.ts75
1 files changed, 0 insertions, 75 deletions
diff --git a/alarm/node_modules/graphql/utilities/extendSchema.d.ts b/alarm/node_modules/graphql/utilities/extendSchema.d.ts
deleted file mode 100644
index 6795e01..0000000
--- a/alarm/node_modules/graphql/utilities/extendSchema.d.ts
+++ /dev/null
@@ -1,75 +0,0 @@
-import { Maybe } from '../jsutils/Maybe';
-
-import { Location, DocumentNode, StringValueNode } from '../language/ast';
-import {
- GraphQLSchemaValidationOptions,
- GraphQLSchema,
- GraphQLSchemaNormalizedConfig,
-} from '../type/schema';
-
-interface Options extends GraphQLSchemaValidationOptions {
- /**
- * Descriptions are defined as preceding string literals, however an older
- * experimental version of the SDL supported preceding comments as
- * descriptions. Set to true to enable this deprecated behavior.
- * This option is provided to ease adoption and will be removed in v16.
- *
- * Default: false
- */
- commentDescriptions?: boolean;
-
- /**
- * Set to true to assume the SDL is valid.
- *
- * Default: false
- */
- assumeValidSDL?: boolean;
-}
-
-/**
- * Produces a new schema given an existing schema and a document which may
- * contain GraphQL type extensions and definitions. The original schema will
- * remain unaltered.
- *
- * Because a schema represents a graph of references, a schema cannot be
- * extended without effectively making an entire copy. We do not know until it's
- * too late if subgraphs remain unchanged.
- *
- * This algorithm copies the provided schema, applying extensions while
- * producing the copy. The original schema remains unaltered.
- *
- * Accepts options as a third argument:
- *
- * - commentDescriptions:
- * Provide true to use preceding comments as the description.
- *
- */
-export function extendSchema(
- schema: GraphQLSchema,
- documentAST: DocumentNode,
- options?: Options,
-): GraphQLSchema;
-
-/**
- * @internal
- */
-export function extendSchemaImpl(
- schemaConfig: GraphQLSchemaNormalizedConfig,
- documentAST: DocumentNode,
- options?: Options,
-): GraphQLSchemaNormalizedConfig;
-
-/**
- * Given an ast node, returns its string description.
- * @deprecated: provided to ease adoption and will be removed in v16.
- *
- * Accepts options as a second argument:
- *
- * - commentDescriptions:
- * Provide true to use preceding comments as the description.
- *
- */
-export function getDescription(
- node: { readonly description?: StringValueNode; readonly loc?: Location },
- options?: Maybe<{ commentDescriptions?: boolean }>,
-): string | undefined;