All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.apollo-codegen-flow-legacy.lib.language.d.ts Maven / Gradle / Ivy

There is a newer version: 3.3.1
Show newest version
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