UNPKG

523 BTypeScriptView Raw
1import type {
2 GraphQLFieldConfig,
3 GraphQLInputType,
4 GraphQLOutputType,
5 GraphQLResolveInfo,
6} from 'graphql';
7interface PluralIdentifyingRootFieldConfig {
8 argName: string;
9 inputType: GraphQLInputType;
10 outputType: GraphQLOutputType;
11 resolveSingleInput: (
12 input: any,
13 context: any,
14 info: GraphQLResolveInfo,
15 ) => unknown;
16 description?: string;
17}
18export declare function pluralIdentifyingRootField(
19 config: PluralIdentifyingRootFieldConfig,
20): GraphQLFieldConfig<unknown, unknown>;
21export {};