Files
cally/components/pages/calendar/interfaces.ts
2024-10-31 02:35:50 +01:00

16 lines
673 B
TypeScript

export interface CalendarEvent {
id?: number | string; // Unique identifier for the event
user?: string;
title: string; // Event title or name
description?: string; // Optional description for the event
start: Date; // Start date and time of the event
end: Date; // End date and time of the event
location?: string; // Optional event location
allDay?: boolean; // Specifies if the event lasts all day
eventColor?: string; // Optional color to represent the event
participants?: string[]; // Optional list of participants or attendees
private?: boolean;
notes?: string,
overlapPosition?: number
overlapCount?: number
}