Skip to main content

SessionWithUsers

Extends Session interface to include full user objects

Extends

Properties

createdAt

createdAt: ISOString;

Timestamp when the session record was created (ISO string format)

Inherited from

Session.createdAt


curriculumId?

optional curriculumId: string;

Optional ID of the curriculum being followed

Inherited from

Session.curriculumId


duration

duration: number;

Duration of the session in minutes

Inherited from

Session.duration


id

id: string;

Unique identifier for the session

Inherited from

Session.id


rating?

optional rating: number;

Optional rating given by the student (e.g., 1-5 stars)

Inherited from

Session.rating


rescheduleReason?

optional rescheduleReason: string;

Optional reason for rescheduling or cancelling the session

Inherited from

Session.rescheduleReason


scheduledAt

scheduledAt: ISOString;

Date and time when the session is scheduled (ISO string format)

Inherited from

Session.scheduledAt


status

status: SessionStatus;

Current status of the session

Inherited from

Session.status


student

student: BaseUser;

Student user object


studentFeedback?

optional studentFeedback: string;

Optional feedback provided by the student

Inherited from

Session.studentFeedback


studentId

studentId: string;

ID of the student participating in the session

Inherited from

Session.studentId


tutor

tutor: BaseUser;

Tutor user object


tutorId

tutorId: string;

ID of the tutor conducting the session

Inherited from

Session.tutorId


tutorNotes?

optional tutorNotes: string;

Optional notes provided by the tutor

Inherited from

Session.tutorNotes


updatedAt

updatedAt: ISOString;

Timestamp when the session record was last updated (ISO string format)

Inherited from

Session.updatedAt