feat: implement real-time booking updates using Server-Sent Events (SSE) and add public booking URL sharing to the dashboard

This commit is contained in:
Jose Selesan
2026-04-17 17:25:46 -03:00
parent a075f13587
commit e0d755bef7
10 changed files with 226 additions and 8 deletions

View File

@@ -33,6 +33,7 @@ export const publicAvailabilityCourtSchema = z.object({
export const publicAvailabilityResponseSchema = z.object({
complexId: z.uuid(),
complexName: z.string(),
complexAddress: z.string().optional(),
complexSlug: z.string(),
date: z.string().regex(ISO_DATE_REGEX),
sportSelectionRequired: z.boolean(),