XAPIEvent: {
statement: {
actor: {
account: {
homePage: string;
name: string;
};
objectType: string;
};
context: {
contextActivities: {
category: [{
id: string;
objectType: string;
}];
};
};
object: {
definition: {
correctResponsesPattern: string[];
description: {
[lang: string]: string;
};
extensions: {
[key: string]: number;
};
interactionType: string;
type: string;
};
objectType: string;
};
result: {
completion: boolean;
duration: string;
response: boolean | string;
score: {
max: number;
min: number;
raw: number;
scaled: number;
};
success: boolean;
};
verb: {
display: {
[lang: string]: string;
};
id: string;
};
};
}
Type declaration
statement: {
actor: {
account: {
homePage: string;
name: string;
};
objectType: string;
};
context: {
contextActivities: {
category: [{
id: string;
objectType: string;
}];
};
};
object: {
definition: {
correctResponsesPattern: string[];
description: {
[lang: string]: string;
};
extensions: {
[key: string]: number;
};
interactionType: string;
type: string;
};
objectType: string;
};
result: {
completion: boolean;
duration: string;
response: boolean | string;
score: {
max: number;
min: number;
raw: number;
scaled: number;
};
success: boolean;
};
verb: {
display: {
[lang: string]: string;
};
id: string;
};
}
actor: {
account: {
homePage: string;
name: string;
};
objectType: string;
}
account: {
homePage: string;
name: string;
}
homePage: string
name: string
objectType: string
context: {
contextActivities: {
category: [{
id: string;
objectType: string;
}];
};
}
contextActivities: {
category: [{
id: string;
objectType: string;
}];
}
category: [{
id: string;
objectType: string;
}]
object: {
definition: {
correctResponsesPattern: string[];
description: {
[lang: string]: string;
};
extensions: {
[key: string]: number;
};
interactionType: string;
type: string;
};
objectType: string;
}
definition: {
correctResponsesPattern: string[];
description: {
[lang: string]: string;
};
extensions: {
[key: string]: number;
};
interactionType: string;
type: string;
}
correctResponsesPattern: string[]
description: {
[lang: string]: string;
}
extensions: {
[key: string]: number;
}
interactionType: string
type: string
objectType: string
result: {
completion: boolean;
duration: string;
response: boolean | string;
score: {
max: number;
min: number;
raw: number;
scaled: number;
};
success: boolean;
}
completion: boolean
duration: string
response: boolean | string
score: {
max: number;
min: number;
raw: number;
scaled: number;
}
max: number
min: number
raw: number
scaled: number
success: boolean
verb: {
display: {
[lang: string]: string;
};
id: string;
}
display: {
[lang: string]: string;
}
id: string