fix(03): WR-01 preserve existing RRULE on edit instead of resetting to none

This commit is contained in:
Lucas Berger
2026-06-09 10:39:06 -04:00
parent f645644853
commit 02aa407764
4 changed files with 80 additions and 17 deletions
+4 -1
View File
@@ -138,7 +138,10 @@ export interface CreateEventPayload {
allDay: boolean
start: string // 'YYYY-MM-DD' for allDay; ISO 8601 for timed
end: string // same format as start
recurrence: RecurrencePreset
// WR-01: optional. CREATE always sends it; EDIT omits it so the API/worker preserve
// the event's existing RRULE (the occurrence contract does not expose recurrence, so
// the form cannot echo it back without silently resetting it to 'none').
recurrence?: RecurrencePreset
location?: string
description?: string
calendarUrl?: string // omit to use the member's default writable calendar (D-01)