@velora-cms/api-schemas
v0.10.0
Published
Zod schemas for Velora's API shapes — the single source of truth for request/response validation, TypeScript types, and OpenAPI generation.
Downloads
535
Readme
@velora-cms/api-schemas
The single source of truth for Velora's API shapes. Every Zod schema used for Fastify request/response validation, TypeScript types, and OpenAPI generation lives here — the server, admin UI, and plugin SDK all import the same schema instead of hand-maintaining duplicate types.
Install
npm install @velora-cms/api-schemasUsage
import { ContentNodeSchema } from "@velora-cms/api-schemas";
const content = ContentNodeSchema.parse(payload);Part of Velora. Apache-2.0.
