interface IFeedbackPayload {
    cellId: string;
    content: string;
    correct: boolean;
    event: "feedback";
    message: string;
    timestamp: Date;
}

Hierarchy

  • IBasicPayload<"feedback">
  • Required<Pick<IFeedback, "correct" | "message">>
    • IFeedbackPayload

Properties

cellId: string
content: string

Alias for message used by existing feedback-event consumers.

correct: boolean

Whether the submitted code was correct or not.

event: "feedback"
message: string

The content to render in the feedback area.

timestamp: Date