feat(30-01): create onboarding route with Zod validation and register
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
9da4c8435c
commit
5b35e60477
3 files changed
+31
No files matched your search
@@ -153,3 +153,8 @@ export const changeEmailSchema = z.object({
|
||||
export const deleteAccountSchema = z.object({
|
||||
confirmation: z.literal("DELETE"),
|
||||
});
|
||||
|
||||
// Onboarding schemas
|
||||
export const completeOnboardingSchema = z.object({
|
||||
globalItemIds: z.array(z.number().int().positive()).max(50),
|
||||
});
|
||||
Reference in new issue
Block a user