graphile-settings
Version:
graphile settings
5 lines (4 loc) • 322 B
TypeScript
import type { MetaInflection, PgCodec } from './types';
export declare function safeInflection<T>(fn: () => T, fallback: T): T;
export declare function createAttributeInflector(inflection: MetaInflection): (attrName: string, codec: PgCodec) => string;
export declare function fallbackTableType(codecName: string): string;