improve exception saving

This commit is contained in:
Schneider Roland
2025-12-09 07:20:55 +01:00
parent 122ddae575
commit c53c00e13c
4 changed files with 144 additions and 14 deletions

View File

@@ -16,6 +16,18 @@ export type BookingWithUserDto = {
id: number;
};
export interface EventExceptionDto{
id: number,
description: string;
eventId: number;
isCancelled: boolean;
newEndTime: string;
newStartTime: string;
originalStartTime: string;
title: string;
}
// The final shape of a calendar event occurrence
export type CalendarEventDto = {
id: number;
@@ -29,4 +41,5 @@ export type CalendarEventDto = {
isRecurring: boolean;
eventType: EventType
exceptions: EventExceptionDto[]
};