UNPKG

event-local

Version:

Event client

34 lines 918 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Command_1 = require("../Command"); class TestCommand extends Command_1.Command { } exports.default = TestCommand; class CreateTest extends TestCommand { constructor(testDetail) { super(); this.version = "1"; this.entity_id = testDetail.id; this.entity = testDetail; } } exports.CreateTest = CreateTest; class RenameTest extends TestCommand { constructor(id, name) { super(); this.version = "2"; this.entity_id = id; this.entity = name; } } exports.RenameTest = RenameTest; class ChangeStatusTest extends TestCommand { constructor(id, status) { super(); this.version = "3"; this.entity_id = id; this.entity = status.toString(); } } exports.ChangeStatusTest = ChangeStatusTest; //# sourceMappingURL=TestCommand.js.map