Task: Define Shared Zod Schemas for All Core Models #341
Labels
No labels
accessibility
api
auth.js
backend
copy
database
defect
dependencies
design
discussion
documentation
duplicate
enhancement
epic
feature
front-end
good first issue
help wanted
invalid
next.js
noscript
on hold
operations
optimization
postgresql
prisma
prototype
question
react
spike
stale
story
tailwind
vulnerability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SSE/WebsiteTheSSEquel#341
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Define Shared Zod Schemas for All Core Models
Description
zod@^4.1.12 is already a declared dependency but is barely used in application code. Every API route validates manually with ad-hoc field presence checks, typeof guards, and one-off regexes. This task creates a central schema library so validation rules are defined once and reused across all routes.
Associated Epic: #340
Subtasks
Acceptance Criteria