Skip to main content

SessionEventPayload

Event-specific payload data

Properties

documentId?

optional documentId: string;

CRDT document ID (for start events)


isCodingSession?

optional isCodingSession: boolean;

Whether this is a coding session


newScheduledAt?

optional newScheduledAt: ISOString;

New scheduled time (for reschedule events)


originalScheduledAt?

optional originalScheduledAt: ISOString;

Original scheduled time (for reschedule events)


rating?

optional rating: number;

Session rating (for completion events)


reason?

optional reason: string;

Reason for cancellation or rescheduling


roomId?

optional roomId: string;

CRDT room ID for WebSocket connection (for start events)


studentFeedback?

optional studentFeedback: string;

Student feedback (for completion events)


tutorNotes?

optional tutorNotes: string;

Tutor notes (for completion events)