@aomex/common 4.0.0 → 4.0.1-alpha.185683a.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +14 -0
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -2,4 +2,18 @@ import { I18N_LANGUAGES, I18n, I18nLanguage, OpenAPI, createI18n, ensureI18nLang
|
|
|
2
2
|
export * from "@aomex/common-middleware";
|
|
3
3
|
export * from "@aomex/common-validator";
|
|
4
4
|
export * from "@aomex/common-service";
|
|
5
|
+
declare global {
|
|
6
|
+
namespace NodeJS {
|
|
7
|
+
interface ProcessEnv {
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated 请使用 AOMEX_RUNTIME 代替
|
|
10
|
+
*/
|
|
11
|
+
AOMEX_CLI_MODE?: '1';
|
|
12
|
+
/**
|
|
13
|
+
* 运行时环境
|
|
14
|
+
*/
|
|
15
|
+
AOMEX_RUNTIME?: 'cli';
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
5
19
|
export { I18N_LANGUAGES, I18n, type I18nLanguage, OpenAPI, createI18n, ensureI18nLanguage, i18nLanguageAlias, resolveI18nLanguage, sleep };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aomex/common",
|
|
3
|
-
"version": "4.0.0",
|
|
3
|
+
"version": "4.0.1-alpha.185683a.0",
|
|
4
4
|
"description": "aomex公共库",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"typescript": ">=7"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@aomex/common-middleware": "4.0.0",
|
|
39
|
-
"@aomex/common-service": "4.0.0",
|
|
40
|
-
"@aomex/common-validator": "4.0.0",
|
|
41
|
-
"@aomex/internal-tools": "4.0.0"
|
|
38
|
+
"@aomex/common-middleware": "4.0.1-alpha.185683a.0",
|
|
39
|
+
"@aomex/common-service": "4.0.1-alpha.185683a.0",
|
|
40
|
+
"@aomex/common-validator": "4.0.1-alpha.185683a.0",
|
|
41
|
+
"@aomex/internal-tools": "4.0.1-alpha.185683a.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {}
|
|
44
44
|
}
|