@graphql-codegen/cli
Version:
<p align="center"> <img src="https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true" /> </p>
13 lines (12 loc) • 852 B
TypeScript
import inquirer from 'inquirer';
import { Tags, Answers } from './types.js';
export declare function getQuestions(possibleTargets: Record<Tags, boolean>): inquirer.QuestionCollection;
export declare function getApplicationTypeChoices(possibleTargets: Record<Tags, boolean>): {
name: string;
key: string;
value: Tags[];
checked: boolean;
}[];
export declare function getPluginChoices(answers: Answers): inquirer.DistinctChoice<inquirer.AllChoiceMap<inquirer.Answers>, inquirer.AllChoiceMap<inquirer.AllChoiceMap<inquirer.Answers>>>[];
export declare function getOutputDefaultValue(answers: Answers): "src/gql" | "src/generated/graphql.tsx" | "src/generated/graphql.ts" | "src/generated/graphql.js";
export declare function getDocumentsDefaultValue(answers: Answers): "src/**/*.vue" | "src/**/*.ts" | "src/**/*.tsx" | "src/**/*.graphql";