Options
All
  • Public
  • Public/Protected
  • All
Menu

Module response/common

Index

Type aliases

ResponseKind: "multiple_choice" | "fill_in_the_blank" | "select_lines" | "code_editor" | "fitb_drop"

The possible discriminants for different kinds of responses.

Variables

BLANK_SUBMISSION: typeof BLANK_SUBMISSION = ...

Represents a blank submission. For example, if a student does not select any choices for an MC response or does not fill in any blanks on an FITB response, a blank submission results (rather than e.g. an empty array).

MALFORMED_SUBMISSION: typeof MALFORMED_SUBMISSION = ...

Represents a malformed submission that results from a failed attempt to parse a submission from a text representation.

INVALID_SUBMISSION: typeof INVALID_SUBMISSION = ...

Represents a submission that is well-formed but somehow breaks the rules for a particular question, e.g. an MC submission that has more choices selected that were allowed by a checkbox limit.

Generated using TypeDoc