1 | import { CompilerOptions } from "apollo-codegen-core/lib/compiler";
|
2 | import { CompilerOptions as LegacyCompilerOptions } from "apollo-codegen-core/lib/compiler/legacyIR";
|
3 | import { GraphQLSchema } from "graphql";
|
4 | import { FlowCompilerOptions } from "../../apollo-codegen-flow/lib/language";
|
5 | export declare type TargetType = "json" | "swift" | "ts-legacy" | "typescript-legacy" | "flow-legacy" | "scala" | "flow" | "typescript" | "ts";
|
6 | export declare type GenerationOptions = CompilerOptions & LegacyCompilerOptions & FlowCompilerOptions & {
|
7 | globalTypesFile?: string;
|
8 | };
|
9 | export default function generate(inputPaths: string[], schema: GraphQLSchema, outputPath: string, only: string | undefined, target: TargetType, tagName: string, nextToSources: boolean | string, options: GenerationOptions): number;
|