calendar create and delete

This commit is contained in:
Julian Krauser 2024-10-28 16:02:41 +01:00
parent 762a9f2b8e
commit 792be3b497
7 changed files with 411 additions and 16 deletions

View file

@ -1,11 +1,35 @@
import type { CalendarTypeViewModel } from "./calendarType.models";
export interface CalendarViewModel {
id: number;
date: Date;
id: string;
starttime: Date;
endtime: Date;
title: string;
content: string;
location: string;
allDay: boolean;
createdAt: Date;
updatedAt: Date;
type: CalendarTypeViewModel;
}
export interface CreateCalendarViewModel {
starttime: Date;
endtime: Date;
title: string;
content: string;
location: string;
allDay: boolean;
typeId: string;
}
export interface UpdateCalendarViewModel {
id: string;
starttime: Date;
endtime: Date;
title: string;
content: string;
location: string;
allDay: boolean;
typeId: string;
}

View file

@ -1,5 +1,5 @@
export interface CalendarTypeViewModel {
id: number;
id: string;
type: string;
nscdr: boolean;
color: string;
@ -12,7 +12,7 @@ export interface CreateCalendarTypeViewModel {
}
export interface UpdateCalendarTypeViewModel {
id: number;
id: string;
type: string;
nscdr: boolean;
color: string;