@graphql-inspector/similar-command
Version:
Find similar types in GraphQL Schema
17 lines (16 loc) • 527 B
text/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 | undefined;
threshold?: number | undefined;
write?: string | undefined;
} & GlobalArgs>;
export default _default;