@novo-learning/novo-sdk
Version:
SDK for the Novolanguage Speech Analysis API
15 lines (13 loc) • 512 B
text/typescript
import { ExerciseType } from './exercise-type';
import { ExerciseDefinition } from './exercises';
import { LanguageCode } from './language-code';
export class Exercise {
id?: string;
description: string;
languageCode: LanguageCode;
type: ExerciseType;
exercise: ExerciseDefinition;
publisherId: string;
customProperties?: Record<string, unknown>; // Is only stored in the database along the exercise
metadata?: { [key: string]: string | number | boolean }; // Is stored along with the attempt
}