Skip to main content

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

SessionResponse.createdAt


curriculum?

optional curriculum: {
id: string;
subject: string;
title: string;
};

Optional curriculum reference

id

id: string;

subject

subject: string;

title

title: string;

Inherited from

SessionResponse.curriculum


curriculumId?

optional curriculumId: string;

Optional curriculum ID

Inherited from

SessionResponse.curriculumId


duration

duration: number;

Session duration in minutes

Inherited from

SessionResponse.duration


end

end: Date;

End date/time of the session (calculated from scheduledAt + duration)


id

id: string;

Session ID

Inherited from

SessionResponse.id


rating?

optional rating: number;

Session rating

Inherited from

SessionResponse.rating


scheduledAt

scheduledAt: ISOString;

Session scheduled time

Inherited from

SessionResponse.scheduledAt


start

start: Date;

Start date/time of the session


status

status: SessionStatus;

Session status

Inherited from

SessionResponse.status


student

student: BaseUser;

Basic student information

Inherited from

SessionResponse.student


studentId

studentId: string;

Student ID

Inherited from

SessionResponse.studentId


title

title: string;

Display title for the calendar event


tutor

tutor: BaseUser;

Basic tutor information

Inherited from

SessionResponse.tutor


tutorId

tutorId: string;

Tutor ID

Inherited from

SessionResponse.tutorId


updatedAt

updatedAt: ISOString;

Updated timestamp

Inherited from

SessionResponse.updatedAt