@gmetrixr/rjson
Version:
(R)ecursive Json
23 lines (22 loc) • 899 B
TypeScript
import { IOrder } from "../../IOrder";
/**
* Flattens the Quiz property quiz_instructions
* Older Structure:
* /**
* export interface QuizInstruction {
* heading: { name: string, placeholder: string, value: string }, -----> heading
* correct_score: { name: string, placeholder: string, value: number }, ------> quiz_correct_score
* wrong_score: { name: string, placeholder: string, value: number }, ------> quiz_wrong_score
* pass_mark: { name: string, placeholder: string, value: number } ------> quiz_passing_score
* }
*
* [ElementProperty.quiz_starting_instructions]: {},
* [ElementProperty.quiz_passing_score]: {},
* [ElementProperty.quiz_correct_score]: {},
* [ElementProperty.quiz_wrong_score]: {},
*/
declare class Migration implements IOrder {
execute(projectJson: unknown): void;
}
declare const migration: Migration;
export default migration;