mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
feat: export waitlist
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const exportWaitlistSchema = z.object({
|
||||
email: z.string().email().max(320),
|
||||
});
|
||||
|
||||
export const exportWaitlistResponseSchema = z.object({
|
||||
success: z.boolean(),
|
||||
alreadySubscribed: z.boolean().optional(),
|
||||
});
|
||||
|
||||
export type ExportWaitlistInput = z.infer<typeof exportWaitlistSchema>;
|
||||
export type ExportWaitlistResponse = z.infer<
|
||||
typeof exportWaitlistResponseSchema
|
||||
>;
|
||||
Reference in New Issue
Block a user