"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.setEnv = exports.environment = exports.isDev = exports.getEnvironmentConfig = exports.getEnv = exports.default = void 0;
const env_1 = require("../../core/libs/config/env");
var env_2 = require("../../core/libs/config/env");
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(env_2).default; } });
Object.defineProperty(exports, "getEnv", { enumerable: true, get: function () { return env_2.getEnv; } });
var environment_1 = require("../../core/libs/config/environment");
Object.defineProperty(exports, "getEnvironmentConfig", { enumerable: true, get: function () { return environment_1.getEnvironmentConfig; } });
exports.isDev = process.env.CLI_ENV === 'development';
exports.environment = [];
const setEnv = async function () {
    const env = await (0, env_1.getEnv)();
    env.environments.forEach((item) => exports.environment.push(item.id));
};
exports.setEnv = setEnv;
