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

7 lines (6 loc) 242 B
import type { Schema } from "./schema"; type SchemaInput = Record<string, Schema<any>> | { schemas: Record<string, Schema<any>>; }; export declare function generateSQL(input: SchemaInput, outputPath?: string): Promise<string>; export {};