@graphql-inspector/cli
Version:
Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.
17 lines (16 loc) • 644 B
TypeScript
import { GlobalArgs } from '@graphql-inspector/commands';
import type { CalculateOperationComplexityConfig } from '@graphql-inspector/core';
import { Source as DocumentSource } from '@graphql-tools/utils';
declare const _default: import("@graphql-inspector/commands").CommandFactory<{}, {
documents: string;
detail: boolean;
complexityScalarCost: number;
complexityObjectCost: number;
complexityDepthCostFactor: number;
} & GlobalArgs>;
export default _default;
export declare function handler(args: {
documents: DocumentSource[];
detail: boolean;
complexityConfig: CalculateOperationComplexityConfig;
}): void;