UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

12 lines (9 loc) 277 B
export const apiHelloResponseSchemaTs = () => { return `import { type Static, z } from "alepha"; export const helloResponseSchema = z.object({ appName: z.text(), serverTime: z.datetime(), }); export type HelloResponse = Static<typeof helloResponseSchema>; `.trim(); };