@graphql-inspector/similar-command
Version:
Find similar types in GraphQL Schema
17 lines (16 loc) • 491 B
TypeScript
import { GraphQLSchema } from 'graphql';
import { CommandFactory, GlobalArgs } from '@graphql-inspector/commands';
export { CommandFactory };
export declare function handler({ schema, writePath, type, threshold, }: {
schema: GraphQLSchema;
writePath?: string;
type?: string;
threshold?: number;
}): void;
declare const _default: CommandFactory<{}, {
schema: string;
name?: string;
threshold?: number;
write?: string;
} & GlobalArgs>;
export default _default;