8 lines
163 B
TypeScript
8 lines
163 B
TypeScript
|
import { z } from "zod";
|
||
|
|
||
|
export const ZGetUserInput = z.object({
|
||
|
userId: z.number().optional(),
|
||
|
});
|
||
|
|
||
|
export type TGetUserInput = z.infer<typeof ZGetUserInput>;
|