mirror of
https://github.com/rjNemo/meal_planner
synced 2026-06-06 02:26:49 +00:00
6 lines
160 B
TypeScript
6 lines
160 B
TypeScript
import { z } from "zod";
|
|
|
|
export const idSchema = z.string({
|
|
required_error: "recipe id is required",
|
|
invalid_type_error: "recipe id must be a number",
|
|
});
|