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) 131 B
import { petSchema, userSchema } from "./user"; const schemas = { user: userSchema, pet: petSchema, }; export { schemas };