File tree Expand file tree Collapse file tree 3 files changed +117
-125
lines changed
Expand file tree Collapse file tree 3 files changed +117
-125
lines changed Original file line number Diff line number Diff line change @@ -112,3 +112,14 @@ export interface GraphQLSchemaConfig extends GraphQLSchemaValidationOptions {
112112 astNode ?: Maybe < SchemaDefinitionNode > ;
113113 extensionASTNodes ?: Maybe < ReadonlyArray < SchemaExtensionNode > > ;
114114}
115+
116+ /**
117+ * @internal
118+ */
119+ export interface GraphQLSchemaNormalizedConfig extends GraphQLSchemaConfig {
120+ types : Array < GraphQLNamedType > ;
121+ directives : Array < GraphQLDirective > ;
122+ extensions : Maybe < Readonly < Record < string , any > > > ;
123+ extensionASTNodes : Maybe < ReadonlyArray < SchemaExtensionNode > > ;
124+ assumeValid : boolean ;
125+ }
Original file line number Diff line number Diff line change 11import Maybe from '../tsutils/Maybe' ;
22import { Location , DocumentNode , StringValueNode } from '../language/ast' ;
3- import { GraphQLSchemaValidationOptions , GraphQLSchema } from '../type/schema' ;
3+ import {
4+ GraphQLSchemaValidationOptions ,
5+ GraphQLSchema ,
6+ GraphQLSchemaNormalizedConfig ,
7+ } from '../type/schema' ;
48
59interface Options extends GraphQLSchemaValidationOptions {
610 /**
@@ -45,6 +49,15 @@ export function extendSchema(
4549 options ?: Options ,
4650) : GraphQLSchema ;
4751
52+ /**
53+ * @internal
54+ */
55+ export function extendSchemaImpl (
56+ schemaConfig : GraphQLSchemaNormalizedConfig ,
57+ documentAST : DocumentNode ,
58+ options ?: Options ,
59+ ) : GraphQLSchemaNormalizedConfig ;
60+
4861/**
4962 * Given an ast node, returns its string description.
5063 * @deprecated : provided to ease adoption and will be removed in v16.
You can’t perform that action at this time.
0 commit comments