Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
16 lines
530 B
Plaintext
16 lines
530 B
Plaintext
import type {
|
|
OperationDefinitionNode,
|
|
OperationTypeDefinitionNode,
|
|
} from '../language/ast';
|
|
import type { GraphQLObjectType } from '../type/definition';
|
|
import type { GraphQLSchema } from '../type/schema';
|
|
/**
|
|
* Extracts the root type of the operation from the schema.
|
|
*
|
|
* @deprecated Please use `GraphQLSchema.getRootType` instead. Will be removed in v17
|
|
*/
|
|
export declare function getOperationRootType(
|
|
schema: GraphQLSchema,
|
|
operation: OperationDefinitionNode | OperationTypeDefinitionNode,
|
|
): GraphQLObjectType;
|