10 lines
232 B
TypeScript
10 lines
232 B
TypeScript
|
import { z } from "zod";
|
||
|
|
||
|
export const ZEditInputSchema = z.object({
|
||
|
id: z.string(),
|
||
|
note: z.string().optional().nullish(),
|
||
|
expiresAt: z.date().optional(),
|
||
|
});
|
||
|
|
||
|
export type TEditInputSchema = z.infer<typeof ZEditInputSchema>;
|