feat: export waitlist

This commit is contained in:
Maze Winther
2025-08-17 18:50:13 +02:00
parent bb461fa9fb
commit f3ddf26334
8 changed files with 681 additions and 59 deletions
+15
View File
@@ -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
>;