2023-04-25 22:39:47 +00:00
|
|
|
import { z } from "zod";
|
|
|
|
|
|
|
|
export const ZCreateInputSchema = z.object({
|
|
|
|
note: z.string().optional().nullish(),
|
|
|
|
expiresAt: z.date().optional().nullable(),
|
|
|
|
neverExpires: z.boolean().optional(),
|
|
|
|
appId: z.string().optional().nullable(),
|
2023-07-14 23:06:57 +00:00
|
|
|
teamId: z.number().optional(),
|
2023-04-25 22:39:47 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
export type TCreateInputSchema = z.infer<typeof ZCreateInputSchema>;
|