import Cmi5 from "@xapi/cmi5";
import { LanguageMap, InteractionComponent } from "@xapi/xapi";
const questionId = "number-order";
const answerIds: string[] = ["one", "three", "two", "four"];
const correctAnswerIds: string[] = ["one", "two", "three", "four"];
const choices = InteractionComponent[] = [{
const name: LanguageMap = {
const description: LanguageMap = {
"en-US": "Put the numbers in order"
cmi5.interactionSequencing(testId, questionId, answerIds, correctAnswerIds, choices, name, description, success);