@lark-apaas/fullstack-nestjs-core 1.1.27 → 1.1.28
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 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -0
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -33388,6 +33388,7 @@ var RequestContextMiddleware = class {
|
|
|
33388
33388
|
userId: userContext.userId,
|
|
33389
33389
|
tenantId: userContext.tenantId,
|
|
33390
33390
|
appId: userContext.appId,
|
|
33391
|
+
isSystemAccount: userContext.isSystemAccount,
|
|
33391
33392
|
ttEnv,
|
|
33392
33393
|
pageRoute
|
|
33393
33394
|
}, () => next());
|
package/dist/index.d.cts
CHANGED
|
@@ -34,7 +34,7 @@ declare global {
|
|
|
34
34
|
userName?: string; // 默认中文名
|
|
35
35
|
userNameEn?: string; // 冗余一份英文名
|
|
36
36
|
userNameI18n?: Record<string, string>; // 带多语的用户名
|
|
37
|
-
isSystemAccount?: boolean; // trigger
|
|
37
|
+
isSystemAccount?: boolean; // 是否为系统账号,trigger 场景下为 true
|
|
38
38
|
roles?: string[]; // 用户角色 id 列表
|
|
39
39
|
};
|
|
40
40
|
csrfToken?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ declare global {
|
|
|
34
34
|
userName?: string; // 默认中文名
|
|
35
35
|
userNameEn?: string; // 冗余一份英文名
|
|
36
36
|
userNameI18n?: Record<string, string>; // 带多语的用户名
|
|
37
|
-
isSystemAccount?: boolean; // trigger
|
|
37
|
+
isSystemAccount?: boolean; // 是否为系统账号,trigger 场景下为 true
|
|
38
38
|
roles?: string[]; // 用户角色 id 列表
|
|
39
39
|
};
|
|
40
40
|
csrfToken?: string;
|
package/dist/index.js
CHANGED
|
@@ -33368,6 +33368,7 @@ var RequestContextMiddleware = class {
|
|
|
33368
33368
|
userId: userContext.userId,
|
|
33369
33369
|
tenantId: userContext.tenantId,
|
|
33370
33370
|
appId: userContext.appId,
|
|
33371
|
+
isSystemAccount: userContext.isSystemAccount,
|
|
33371
33372
|
ttEnv,
|
|
33372
33373
|
pageRoute
|
|
33373
33374
|
}, () => next());
|
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.28",
|
|
4
4
|
"description": "FullStack Nestjs Core",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"@lark-apaas/file-service": "^0.1.1",
|
|
43
43
|
"@lark-apaas/http-client": "^0.1.2",
|
|
44
44
|
"@lark-apaas/nestjs-authnpaas": "^1.0.2",
|
|
45
|
-
"@lark-apaas/nestjs-authzpaas": "^0.1.
|
|
46
|
-
"@lark-apaas/nestjs-capability": "^0.1.
|
|
47
|
-
"@lark-apaas/nestjs-common": "^0.1.
|
|
48
|
-
"@lark-apaas/nestjs-datapaas": "^1.0.
|
|
49
|
-
"@lark-apaas/nestjs-logger": "^1.0.
|
|
50
|
-
"@lark-apaas/nestjs-observable": "^0.0.
|
|
51
|
-
"@lark-apaas/nestjs-openapi-devtools": "^1.0.
|
|
45
|
+
"@lark-apaas/nestjs-authzpaas": "^0.1.4",
|
|
46
|
+
"@lark-apaas/nestjs-capability": "^0.1.7",
|
|
47
|
+
"@lark-apaas/nestjs-common": "^0.1.6",
|
|
48
|
+
"@lark-apaas/nestjs-datapaas": "^1.0.13",
|
|
49
|
+
"@lark-apaas/nestjs-logger": "^1.0.12",
|
|
50
|
+
"@lark-apaas/nestjs-observable": "^0.0.8",
|
|
51
|
+
"@lark-apaas/nestjs-openapi-devtools": "^1.0.9",
|
|
52
52
|
"@lark-apaas/nestjs-trigger": "^0.0.2",
|
|
53
53
|
"@nestjs/axios": "^4.0.1",
|
|
54
54
|
"axios": "^1.13.2",
|