2
0
Files

10 lines
232 B
TypeScript
Raw Permalink Normal View History

2024-08-09 00:39:27 +02:00
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>;