CalendarEvent
Calendar event interface for calendar components. Extends SessionResponse with start/end dates needed by the calendar grid.
Extends
Properties
createdAt
createdAt: ISOString;
Created timestamp
Inherited from
curriculum?
optional curriculum: {
id: string;
subject: string;
title: string;
};
Optional curriculum reference
id
id: string;
subject
subject: string;
title
title: string;
Inherited from
curriculumId?
optional curriculumId: string;
Optional curriculum ID
Inherited from
duration
duration: number;
Session duration in minutes
Inherited from
end
end: Date;
End date/time of the session (calculated from scheduledAt + duration)
id
id: string;
Session ID
Inherited from
rating?
optional rating: number;
Session rating
Inherited from
scheduledAt
scheduledAt: ISOString;
Session scheduled time
Inherited from
start
start: Date;
Start date/time of the session
status
status: SessionStatus;
Session status
Inherited from
student
student: BaseUser;
Basic student information
Inherited from
studentId
studentId: string;
Student ID
Inherited from
title
title: string;
Display title for the calendar event
tutor
tutor: BaseUser;
Basic tutor information
Inherited from
tutorId
tutorId: string;
Tutor ID
Inherited from
updatedAt
updatedAt: ISOString;
Updated timestamp