@lark-apaas/fullstack-nestjs-core 1.1.3 → 1.1.4-alpha.1
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.cjs +1 -5
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -5
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -92,11 +92,7 @@ var UserContextMiddleware = class {
|
|
|
92
92
|
tenantId: webUser?.tenant_id,
|
|
93
93
|
appId: webUser?.app_id ?? "",
|
|
94
94
|
loginUrl: webUser?.login_url ?? "",
|
|
95
|
-
|
|
96
|
-
env: webUser?.env ?? "runtime",
|
|
97
|
-
userName: webUser?.user_name?.zh_cn ?? "",
|
|
98
|
-
userNameEn: webUser?.user_name?.en_us ?? "",
|
|
99
|
-
userNameI18n: webUser?.user_name ?? {}
|
|
95
|
+
isSystemAccount: webUser?.is_system_account ?? false
|
|
100
96
|
};
|
|
101
97
|
next();
|
|
102
98
|
}
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -50,11 +50,7 @@ var UserContextMiddleware = class {
|
|
|
50
50
|
tenantId: webUser?.tenant_id,
|
|
51
51
|
appId: webUser?.app_id ?? "",
|
|
52
52
|
loginUrl: webUser?.login_url ?? "",
|
|
53
|
-
|
|
54
|
-
env: webUser?.env ?? "runtime",
|
|
55
|
-
userName: webUser?.user_name?.zh_cn ?? "",
|
|
56
|
-
userNameEn: webUser?.user_name?.en_us ?? "",
|
|
57
|
-
userNameI18n: webUser?.user_name ?? {}
|
|
53
|
+
isSystemAccount: webUser?.is_system_account ?? false
|
|
58
54
|
};
|
|
59
55
|
next();
|
|
60
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-apaas/fullstack-nestjs-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4-alpha.1",
|
|
4
4
|
"description": "FullStack Nestjs Core",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@lark-apaas/nestjs-authnpaas": "^1.0.1",
|
|
43
|
-
"@lark-apaas/nestjs-datapaas": "
|
|
43
|
+
"@lark-apaas/nestjs-datapaas": "1.0.6-alpha.5",
|
|
44
44
|
"@lark-apaas/nestjs-logger": "^1.0.2",
|
|
45
45
|
"@lark-apaas/nestjs-openapi-devtools": "^1.0.9",
|
|
46
46
|
"cookie-parser": "^1.4.7"
|