@nestjs/graphql
Version:
Nest - modern, fast, powerful node.js web framework (@graphql)
12 lines • 440 B
TypeScript
import { GraphQLCompositeType, GraphQLField } from 'graphql';
export type ComplexityEstimatorArgs = {
type: GraphQLCompositeType;
field: GraphQLField<any, any>;
args: {
[key: string]: any;
};
childComplexity: number;
};
export type ComplexityEstimator = (options: ComplexityEstimatorArgs) => number | void;
export type Complexity = ComplexityEstimator | number;
//# sourceMappingURL=complexity.interface.d.ts.map