feat: added schemas for openapi (#452)

This commit is contained in:
Morfixx
2026-04-18 13:29:35 -07:00
committed by GitHub
parent 6056167063
commit ae4bc77407
15 changed files with 606 additions and 68 deletions

View File

@@ -0,0 +1,13 @@
import { z } from "zod";
// ─── list.create ─────────────────────────────────────────────
export const listCreateResponseSchema = z.object({
publicId: z.string(),
name: z.string(),
});
// ─── list.update / list.reorder ──────────────────────────────
export const listUpdateResponseSchema = z.object({
publicId: z.string(),
name: z.string(),
});