@lark-apaas/fullstack-nestjs-core 1.1.27 → 1.1.29

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 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());
@@ -34261,7 +34262,7 @@ var StaticController = class _StaticController {
34261
34262
  logger = new import_common10.Logger(_StaticController.name);
34262
34263
  staticDir;
34263
34264
  constructor() {
34264
- this.staticDir = path.resolve(process.cwd(), "../shared/static");
34265
+ this.staticDir = path.resolve(process.cwd(), "shared/static");
34265
34266
  }
34266
34267
  /**
34267
34268
  * Serve static files from shared/static directory
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 场景写入值为 true,user 访问场景不写入
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 场景写入值为 true,user 访问场景不写入
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());
@@ -34241,7 +34242,7 @@ var StaticController = class _StaticController {
34241
34242
  logger = new Logger4(_StaticController.name);
34242
34243
  staticDir;
34243
34244
  constructor() {
34244
- this.staticDir = path.resolve(process.cwd(), "../shared/static");
34245
+ this.staticDir = path.resolve(process.cwd(), "shared/static");
34245
34246
  }
34246
34247
  /**
34247
34248
  * Serve static files from shared/static directory
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-nestjs-core",
3
- "version": "1.1.27",
3
+ "version": "1.1.29",
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.2",
46
- "@lark-apaas/nestjs-capability": "^0.1.6",
47
- "@lark-apaas/nestjs-common": "^0.1.4",
48
- "@lark-apaas/nestjs-datapaas": "^1.0.12",
49
- "@lark-apaas/nestjs-logger": "^1.0.11",
50
- "@lark-apaas/nestjs-observable": "^0.0.6",
51
- "@lark-apaas/nestjs-openapi-devtools": "^1.0.10",
45
+ "@lark-apaas/nestjs-authzpaas": "^0.1.5",
46
+ "@lark-apaas/nestjs-capability": "^0.1.8",
47
+ "@lark-apaas/nestjs-common": "^0.1.7",
48
+ "@lark-apaas/nestjs-datapaas": "^1.0.14",
49
+ "@lark-apaas/nestjs-logger": "^1.0.13",
50
+ "@lark-apaas/nestjs-observable": "^0.0.9",
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",