UNPKG

cogsbox-shape

Version:

A TypeScript library for creating type-safe database schemas with Zod validation, SQL type definitions, and automatic client/server transformations. Unifies client, server, and database types through a single schema definition, with built-in support for r

8 lines (7 loc) 235 B
type SchemaInput = Record<string, any> | { schemas: Record<string, any>; }; export declare function generateSQL(input: SchemaInput, outputPath?: string, options?: { includeForeignKeys?: boolean; }): Promise<string>; export {};