Structural facade for a graphql@16 schema.
The member signatures mirror what the real GraphQLSchema produces so that
a genuine schema is assignable here without a cast (M70i X6-3). graphql@16
returns Maybe<T> (T | null | undefined) from its type getters and
ReadonlyArray from its plural getters, so the facade admits both. toAST
is optional: no src reader consumes it, and the real GraphQLSchema does
not expose it, so requiring it excluded every schema the library builds.
getQueryType(): GraphqlObjectTypeLike | null | undefined
getMutationType(): GraphqlObjectTypeLike | null | undefined
getSubscriptionType(): GraphqlObjectTypeLike | null | undefined
getType(name: string): GraphqlNamedTypeLike | null | undefined
getPossibleTypes(abstractType: GraphqlAbstractTypeLike): readonly GraphqlObjectTypeLike[]
getDirectives(): readonly GraphqlDirectiveLike[]
getDirective(name: string): GraphqlDirectiveLike | null | undefined
optional
toAST(): unknown