@webhare/moodle-webservice
Version:
Moodle Web Service API client with intellisense and typechecking
22 lines (21 loc) • 602 B
TypeScript
import QuestionStates from '../types/QuestionStates';
import QuestionStatuses from '../types/QuestionStatuses';
import QuestionTypes from '../types/QuestionTypes';
export default interface IMoodleQuestion {
slot: number;
type: QuestionTypes;
page: number;
html: string;
responsefileareas: unknown[];
sequencecheck: number;
lastactiontime: number;
hasautosavedstep: boolean;
flagged: boolean;
number: number;
state?: QuestionStates;
status: QuestionStatuses;
blockedbyprevious: boolean;
mark?: string;
maxmark: number;
settings: string;
}