coryhouse / coryhouse/react-restaurant-scriptpro
Define Rating type + Zod schema
Open
enhancement
phase-7-ratings
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Goal
Define a `Rating` type and Zod schema (`id`, `foodId`, `stars` 1–5, `comment`, `createdAt`).
## Acceptance criteria
- [ ] Schema in `src/rating.ts` (or similar)
- [ ] Type derived via `z.infer`
- [ ] Schema enforces stars range and required fields
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.