add imutable ids to some exam arrays to detect and log changes between two exams.
This commit is contained in:
@@ -241,6 +241,7 @@ export interface InteractiveSpeakingExercise extends Section {
|
||||
}
|
||||
|
||||
export interface FillBlanksMCOption {
|
||||
uuid: string; // added later to fulfill the need for an immutable identifier.
|
||||
id: string;
|
||||
options: {
|
||||
A: string;
|
||||
@@ -258,6 +259,7 @@ export interface FillBlanksExercise {
|
||||
text: string; // *EXAMPLE: "They tried to {{1}} burning"
|
||||
allowRepetition?: boolean;
|
||||
solutions: {
|
||||
uuid: string; // added later to fulfill the need for an immutable identifier.
|
||||
id: string; // *EXAMPLE: "1"
|
||||
solution: string; // *EXAMPLE: "preserve"
|
||||
}[];
|
||||
@@ -281,6 +283,7 @@ export interface TrueFalseExercise {
|
||||
}
|
||||
|
||||
export interface TrueFalseQuestion {
|
||||
uuid: string; // added later to fulfill the need for an immutable identifier.
|
||||
id: string; // *EXAMPLE: "1"
|
||||
prompt: string; // *EXAMPLE: "What does her briefcase look like?"
|
||||
solution: "true" | "false" | "not_given" | undefined; // *EXAMPLE: "True"
|
||||
@@ -293,6 +296,7 @@ export interface WriteBlanksExercise {
|
||||
id: string;
|
||||
text: string; // *EXAMPLE: "The Government plans to give ${{14}}"
|
||||
solutions: {
|
||||
uuid: string; // added later to fulfill the need for an immutable identifier.
|
||||
id: string; // *EXAMPLE: "14"
|
||||
solution: string[]; // *EXAMPLE: ["Prescott"] - All possible solutions (case sensitive)
|
||||
}[];
|
||||
@@ -319,12 +323,14 @@ export interface MatchSentencesExercise {
|
||||
}
|
||||
|
||||
export interface MatchSentenceExerciseSentence {
|
||||
uuid: string; // added later to fulfill the need for an immutable identifier.
|
||||
id: string;
|
||||
sentence: string;
|
||||
solution: string;
|
||||
}
|
||||
|
||||
export interface MatchSentenceExerciseOption {
|
||||
uuid: string; // added later to fulfill the need for an immutable identifier.
|
||||
id: string;
|
||||
sentence: string;
|
||||
}
|
||||
@@ -346,6 +352,7 @@ export interface MultipleChoiceExercise {
|
||||
|
||||
export interface MultipleChoiceQuestion {
|
||||
variant: "image" | "text";
|
||||
uuid: string; // added later to fulfill the need for an immutable identifier.
|
||||
id: string; // *EXAMPLE: "1"
|
||||
prompt: string; // *EXAMPLE: "What does her briefcase look like?"
|
||||
solution: string; // *EXAMPLE: "A"
|
||||
|
||||
Reference in New Issue
Block a user