Skip to content

OverrideDatesMap

OverrideDatesMap = Record<string, DateInput>

Map of dates to override (force reschedule). Unlike onConflict which handles conflicts, this unconditionally moves events. Keys/values are DateInput (any string), so validated data needs no cast.

const overrideDates: OverrideDatesMap = {
"2026-02-18": "2026-02-20", // Move from Feb 18 to Feb 20
"2027-02-10": "2027-02-12", // Move from Feb 10 to Feb 12
};