node_modules.apollo-codegen-flow-legacy.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, LegacyInlineFragment } from "apollo-codegen-core/lib/compiler/legacyIR";
import { GraphQLType } from "graphql";
export interface Property {
fieldName?: string;
fieldType?: GraphQLType;
propertyName?: string;
type?: GraphQLType;
description?: string;
typeName?: string;
isComposite?: boolean;
isNullable?: boolean;
fields?: any[];
inlineFragments?: LegacyInlineFragment[];
fragmentSpreads?: any;
isInput?: boolean;
isArray?: boolean;
isArrayElementNullable?: boolean | null;
}
export declare function typeDeclaration(generator: CodeGenerator, { interfaceName, noBrackets }: {
interfaceName: string;
noBrackets?: boolean;
}, closure: Function): void;
export declare function propertyDeclaration(generator: CodeGenerator, { fieldName, type, propertyName, typeName, description, isArray, isNullable, isArrayElementNullable, isInput }: Property, closure?: Function, open?: string, close?: string): void;
export declare function propertySetsDeclaration(generator: CodeGenerator, property: Property, propertySets: Property[][], standalone?: boolean): void;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy