Fix event all day

This commit is contained in:
Peter Maquiran
2021-09-02 16:06:53 +01:00
parent dbe6a022f2
commit 1665b2e057
11 changed files with 49 additions and 331 deletions
+11 -8
View File
@@ -1,11 +1,10 @@
export interface EventListStore {
title: string
startTime: Date
endTime: Date
allDay: boolean,
event: EventList,
calendarName: string
calendarName: "Oficial" |"Pessoal"
profile: "md" | "pr",
id: string
}
@@ -27,12 +26,16 @@ export interface EventList {
export interface CustomCalendarEvent {
start: Date
end: Date
color: {
primary: string,
secondary: string
},
id: string
index: number,
CalendarName: string
event: EventList
}
export interface days {
[days: string]: {
day: number
activeEvent: number
events: CustomCalendarEvent[]
}
}