import { ProcessesUtils } from '@taon-dev/cloud/lib';
export 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 ProcessesUtils.displayRealtimeProgressMonitor(deployment.processIdComposeUp, processesController, options);
        //#endregion
    };
    //#endregion
})(DeploymentsUtils || (DeploymentsUtils = {}));
//# sourceMappingURL=deployments.utils.js.map