improve exception saving
This commit is contained in:
@@ -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[]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user