prostgles-types
Version:
Shared TypeScript object definitions for prostgles-client and prostgles-server
8 lines • 476 B
TypeScript
import { type JSONB, type TableSchema } from "..";
type ColOpts = {
nullable?: boolean;
};
export declare function getJSONBSchemaTSTypes(schema: JSONB.JSONBSchema, colOpts: ColOpts, outerLeading: string | undefined, tables: TableSchema[]): string;
export declare const getJSONBTSTypes: (tables: TableSchema[], rawFieldType: JSONB.FieldType, isOneOf?: boolean, innerLeading?: string, depth?: number) => string;
export {};
//# sourceMappingURL=getJSONBSchemaTSTypes.d.ts.map