UNPKG

graphile-settings

Version:
5 lines (4 loc) 322 B
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;