Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com> Co-authored-by: Omar López <zomars@me.com>
8 lines
165 B
TypeScript
8 lines
165 B
TypeScript
import { z } from "zod";
|
|
|
|
export const getByUserIdSchema = z.object({
|
|
userId: z.number(),
|
|
});
|
|
|
|
export type ZGetByUserIdSchema = z.infer<typeof getByUserIdSchema>;
|