"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DevModeWorker = void 0;
const lib_1 = require("tnp-helpers/lib");
const build_info__auto_generated_1 = require("../../../../build-info._auto-generated_");
const dev_mode_context_1 = require("./dev-mode.context");
const dev_mode_controller_1 = require("./dev-mode.controller");
const dev_mode_terminal_ui_1 = require("./dev-mode.terminal-ui");
//#endregion
class DevModeWorker extends lib_1.BaseCliWorker {
    //#region properties
    // TODO 'as any' for some reason is necessary
    // TypeScript d.ts generation bug
    workerContextTemplate = dev_mode_context_1.DevModeContext;
    terminalUI = new dev_mode_terminal_ui_1.DevModeTerminalUI(this);
    controllerClass = dev_mode_controller_1.DevModeController;
    //#endregion
    //#region constructor
    constructor(
    /**
     * unique id for service
     */
    serviceID, 
    /**
     * external command that will start service
     */
    startCommandFn) {
        // replace '0.0.0' with CURRENT_PACKAGE_VERSION for versioning
        super(serviceID, startCommandFn, build_info__auto_generated_1.CURRENT_PACKAGE_VERSION);
    }
}
exports.DevModeWorker = DevModeWorker;
//# sourceMappingURL=dev-mode.worker.js.map