@alicloud/console-one-config
Advanced tools
Comparing version 1.1.23 to 1.1.24
@@ -29,2 +29,3 @@ "use strict"; | ||
}; | ||
ONE_CONF.APP_ID = shittyConf.APP_ID || ''; | ||
ONE_CONF.REGIONS = (0, _fixRegions.default)(shittyConf.REGIONS); | ||
@@ -60,2 +61,3 @@ ONE_CONF.OPEN_STATUS = (0, _fixOpenStatus.default)(shittyConf.OPEN_STATUS); | ||
}, | ||
APP_ID: '', | ||
REGIONS: [], | ||
@@ -62,0 +64,0 @@ OPEN_STATUS: {}, |
@@ -18,2 +18,3 @@ import fixRegions from './fix-regions'; | ||
}; | ||
ONE_CONF.APP_ID = shittyConf.APP_ID || ''; | ||
ONE_CONF.REGIONS = fixRegions(shittyConf.REGIONS); | ||
@@ -49,2 +50,3 @@ ONE_CONF.OPEN_STATUS = fixOpenStatus(shittyConf.OPEN_STATUS); | ||
}, | ||
APP_ID: '', | ||
REGIONS: [], | ||
@@ -51,0 +53,0 @@ OPEN_STATUS: {}, |
@@ -55,2 +55,3 @@ export interface IShittyFeatureSwitch { | ||
IS_CERTIFIED: 'true' | 'false'; | ||
APP_ID?: string; | ||
REGIONS: IShittyRegion[]; | ||
@@ -115,2 +116,6 @@ OPEN_STATUS?: Record<string, IShittyOpenStatus>; | ||
}; | ||
/** | ||
* Viper 上 OneConsole 应用的 ID | ||
*/ | ||
APP_ID: string; | ||
REGIONS: IRegion[]; | ||
@@ -117,0 +122,0 @@ OPEN_STATUS?: Record<string, IOpenStatus>; |
{ | ||
"name": "@alicloud/console-one-config", | ||
"version": "1.1.23", | ||
"version": "1.1.24", | ||
"description": "OneConsole Config 对象解析与封装", | ||
@@ -45,3 +45,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "8f7648c1a49b214c116690cf9bcb759263dc5d32" | ||
"gitHead": "0f986525fb40161eb159fd1e111e8e914b6b884d" | ||
} |
18293
419