"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeploymentsUtils = void 0;
const lib_1 = require("@taon-dev/cloud/lib");
var DeploymentsUtils;
(function (DeploymentsUtils) {
    //#region display deployment progress
    DeploymentsUtils.displayRealtimeProgressMonitor = async (deployment, processesController, options) => {
        //#region @backendFunc
        if (!deployment) {
            throw new Error(`deployment is required`);
        }
        if (!deployment.processIdComposeUp) {
            throw new Error(`deployment.processIdComposeUp is required`);
        }
        await lib_1.ProcessesUtils.displayRealtimeProgressMonitor(deployment.processIdComposeUp, processesController, options);
        //#endregion
    };
    //#endregion
})(DeploymentsUtils || (exports.DeploymentsUtils = DeploymentsUtils = {}));
//# sourceMappingURL=deployments.utils.js.map