@gmetrixr/rjson
Version:
(R)ecursive Json
17 lines (16 loc) • 512 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const r_1 = require("../../../r");
/**
* Changes project property initial_scene_no to initial_scene_id
*/
class Migration {
execute(projectJson) {
const pJson = projectJson;
const projectF = r_1.r.record(pJson);
projectF.changePropertyName("initial_scene_no", "initial_scene_id");
projectF.set(r_1.rtp.project.version, 101);
}
}
const migration = new Migration();
exports.default = migration;