feat: UX
This commit is contained in:
31
frontend/src/types/calendar.ts
Normal file
31
frontend/src/types/calendar.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
export interface Participant {
|
||||
id: string;
|
||||
name: string;
|
||||
email: string;
|
||||
icsLink?: string;
|
||||
avatar?: string;
|
||||
connected: boolean;
|
||||
}
|
||||
|
||||
export interface TimeSlot {
|
||||
day: string;
|
||||
hour: number;
|
||||
availability: 'full' | 'partial' | 'none';
|
||||
availableParticipants: string[];
|
||||
}
|
||||
|
||||
export interface CalendarProvider {
|
||||
id: string;
|
||||
name: string;
|
||||
icon: string;
|
||||
}
|
||||
|
||||
export interface Meeting {
|
||||
id: string;
|
||||
title: string;
|
||||
notes?: string;
|
||||
day: string;
|
||||
startHour: number;
|
||||
endHour: number;
|
||||
participants: Participant[];
|
||||
}
|
||||
Reference in New Issue
Block a user