UNPKG

@whisklabs/grpc

Version:

gRPC generator and http library for typescript

8 lines (7 loc) 624 B
import { Parser } from '../parser'; import { MakeOuts } from './generator'; export declare const getField: (field: Parser.Field, base: string, name: string, out: MakeOuts, baseName: string) => string; export declare const getStruct: (field: Parser.Field, base: string, out: MakeOuts, baseName: string) => string; export declare const pathField: (field: string, base: string, out: MakeOuts, parent?: string) => string; export declare const isRequiredField: (field: Parser.Field, optional?: boolean) => boolean; export declare const isEnumField: (field: Parser.Field, base: string, out: MakeOuts, parent?: string) => boolean;