feat: public events/polls, friends graph, captcha, SSE hardening, and admin UX
Ship product gaps: register/vote pages, friend add/accept/decline/remove, email verify TTL, captcha on login/forgot, soft-fail user actions, SSE abort/shared client, Commando Centrum error toasts, admin delete for events/polls, and IT/NL i18n fills. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
2ff08e5127
commit
ed7db6e048
76 files changed
+4834
-1376
No files matched your search
@@ -67,8 +67,13 @@ export const eventWinnerSchema = z.object({
|
||||
position: z.coerce.number().int().positive().default(1),
|
||||
});
|
||||
|
||||
export const registerForEventSchema = z.object({
|
||||
eventId: z.coerce.number().int().positive(),
|
||||
});
|
||||
|
||||
export type EventTypeInput = z.infer<typeof eventTypeSchema>;
|
||||
export type CreateEventInput = z.infer<typeof createEventSchema>;
|
||||
export type UpdateEventInput = z.infer<typeof updateEventSchema>;
|
||||
export type EventPrizeInput = z.infer<typeof eventPrizeSchema>;
|
||||
export type EventWinnerInput = z.infer<typeof eventWinnerSchema>;
|
||||
export type RegisterForEventInput = z.infer<typeof registerForEventSchema>;
|
||||
Reference in new issue
Block a user