"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActionsWorker = void 0;
const lib_1 = require("tnp-helpers/lib");
const actions_context_1 = require("./actions.context");
const actions_controller_1 = require("./actions.controller");
const actions_terminal_ui_1 = require("./actions.terminal-ui");
//#endregion
class ActionsWorker extends lib_1.BaseCliWorker {
    //#region properties
    // TODO 'as any' for some reason is necessary
    // TypeScript d.ts generation bug
    workerContextTemplate = actions_context_1.ActionsContext;
    // TODO ts ignore needed for some reason
    // @ts-ignore
    terminalUI = new actions_terminal_ui_1.ActionsTerminalUI(this);
    controllerClass = actions_controller_1.ActionsController;
    //#endregion
    //#region constructor
    constructor(
    /**
     * unique id for service
     */
    serviceID, 
    /**
     * external command that will start service
     */
    startCommand) {
        // replace '0.0.0' with CURRENT_PACKAGE_VERSION for versioning
        super(serviceID, startCommand, '0.0.0');
    }
}
exports.ActionsWorker = ActionsWorker;
//# sourceMappingURL=actions.worker.js.map