@nestjs/graphql
Version:
GraphQL for NestJS: code-first and schema-first APIs, resolvers as providers, subscriptions, federation and generated SDL, on Apollo or Mercurius.
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