"use strict";
/**
 * 共享库配置模块
 * @date 2022-03
 * @author 何华东
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTyApiConfig = exports.getBasicConfig = exports.getConfig = void 0;
var typescript_ioc_1 = require("typescript-ioc");
/**
 * 从typescript-ioc获取所有配置
 * @returns
 */
function getConfig() {
    return typescript_ioc_1.Container.getValue('config');
}
exports.getConfig = getConfig;
/**
 * 从typescript-ioc获取基础配置
 * @returns
 */
function getBasicConfig() {
    return typescript_ioc_1.Container.getValue('config.basic');
}
exports.getBasicConfig = getBasicConfig;
/**
 * 从typescript-ioc获取统一接口配置
 * @returns
 */
function getTyApiConfig() {
    return typescript_ioc_1.Container.getValue('config.tyApi');
}
exports.getTyApiConfig = getTyApiConfig;
//# sourceMappingURL=Config.js.map