node_modules.apollo-codegen-scala.lib.language.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apollo-client-maven-plugin Show documentation
Show all versions of apollo-client-maven-plugin Show documentation
Maven plugin for generating graphql clients
import CodeGenerator from "apollo-codegen-core/lib/utilities/CodeGenerator";
import { LegacyCompilerContext } from "apollo-codegen-core/lib/compiler/legacyIR";
export interface Property {
propertyName: string;
typeName: string;
caseClassName?: string;
isOptional?: boolean;
isList?: boolean;
description?: string;
}
export declare function comment(generator: CodeGenerator, comment: string): void;
export declare function packageDeclaration(generator: CodeGenerator, pkg: string): void;
export declare function objectDeclaration(generator: CodeGenerator, { objectName, superclass }: {
objectName: string;
superclass?: string;
}, closure?: () => void): void;
export declare function caseClassDeclaration(generator: CodeGenerator, { caseClassName, description, superclass, params }: {
caseClassName: string;
description?: string;
superclass?: string;
params?: {
name: string;
type: string;
defaultValue?: string;
}[];
}, closure?: () => void): void;
export declare function propertyDeclaration(generator: CodeGenerator, { propertyName, typeName, description }: {
propertyName: string;
typeName: string;
description: string;
}, closure?: () => void): void;
export declare function propertyDeclarations(generator: CodeGenerator, declarations: {
propertyName: string;
typeName: string;
description: string;
}[]): void;
export declare function escapeIdentifierIfNeeded(identifier: string): string;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy