feat(calendar): expose loss-safe bulk move modes

This commit is contained in:
2026-07-20 17:01:02 +02:00
parent a6cd64e3f9
commit 2ad6e9d60e
3 changed files with 70 additions and 5 deletions

View File

@@ -182,10 +182,12 @@ export type CalendarCollectionCreatePayload = {
export type CalendarCollectionUpdatePayload = Partial<CalendarCollectionCreatePayload>;
export type CalendarDeleteEventAction = "delete" | "move";
export type CalendarBulkMoveExternalAction = "detach_keep_remote" | "copy_to_remote" | "remote_move";
export type CalendarCollectionDeletePayload = {
event_action?: CalendarDeleteEventAction;
target_calendar_id?: string | null;
make_target_default?: boolean;
external_action?: CalendarBulkMoveExternalAction | null;
};
export type CalendarEventCreatePayload = {