-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalendar.interface.ts
More file actions
36 lines (34 loc) · 1.14 KB
/
calendar.interface.ts
File metadata and controls
36 lines (34 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright The Linux Foundation and each contributor to LFX.
// SPDX-License-Identifier: MIT
import { EventInput } from '@fullcalendar/core';
/**
* Calendar event interface extending FullCalendar's EventInput
* @description Meeting events displayed in calendar components with LFX-specific properties
*/
export interface CalendarEvent extends EventInput {
/** Unique event identifier */
id: string;
/** Event title displayed on calendar */
title: string;
/** Event start date/time (ISO string) */
start: string;
/** Event end date/time (ISO string, optional for all-day events) */
end?: string;
/** Background color for the event on calendar */
backgroundColor?: string;
/** Border color for the event on calendar */
borderColor?: string;
/** Text color for the event title */
textColor?: string;
/** Extended properties specific to LFX meetings */
extendedProps?: {
/** Associated meeting ID */
meetingId: string;
/** Meeting visibility level (public/private) */
visibility: string;
/** Associated committee name */
committee?: string;
/** Additional custom properties */
[key: string]: any;
};
}