UNPKG

pg-proto-parser

Version:
11 lines (10 loc) 719 B
import { Enum, Field, ReflectionObject } from '@launchql/protobufjs'; import { PgProtoParserOptions } from '../options'; export declare const getUndefinedKey: (enumName: string) => string; export declare const toSpecialCamelCase: (s: string) => string; export declare const hasUndefinedInitialValue: (enumData: Enum) => boolean; export declare const cloneAndNameNode: (node: ReflectionObject, name: string) => any; export declare const getFieldName: (field: Field, fallbackName: string) => any; export declare const getHeader: () => string; export declare const writeFileToDisk: (path: string, contents: string, options: PgProtoParserOptions) => void; export declare const stripExtension: (filename: string) => string;