@lark-apaas/fullstack-nestjs-core 1.1.34-alpha.49 → 1.1.34-alpha.50
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 +3 -6
- package/dist/index.d.cts +1 -7
- package/dist/index.d.ts +1 -7
- package/dist/index.js +4 -6
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -34404,7 +34404,6 @@ var require_express2 = __commonJS({
|
|
|
34404
34404
|
// src/index.ts
|
|
34405
34405
|
var index_exports = {};
|
|
34406
34406
|
__export(index_exports, {
|
|
34407
|
-
AuthZPaasModule: () => import_nestjs_authzpaas2.AuthZPaasModule,
|
|
34408
34407
|
AuthorizationSDK: () => import_nestjs_authzpaas2.AuthorizationSDK,
|
|
34409
34408
|
AutoTrace: () => import_nestjs_common8.AutoTrace,
|
|
34410
34409
|
Can: () => import_nestjs_authzpaas2.Can,
|
|
@@ -36351,15 +36350,14 @@ var PlatformModule = class _PlatformModule {
|
|
|
36351
36350
|
};
|
|
36352
36351
|
return {
|
|
36353
36352
|
connectionString: configService.get("app.databaseUrl") ?? "",
|
|
36354
|
-
logger: drizzleLogger
|
|
36353
|
+
logger: drizzleLogger,
|
|
36354
|
+
connectionTokenFilePath: "/var/run/secrets/zti/credential"
|
|
36355
36355
|
};
|
|
36356
36356
|
}, "useFactory")
|
|
36357
36357
|
})
|
|
36358
36358
|
],
|
|
36359
36359
|
import_nestjs_authnpaas.AuthNPaasModule.forRoot(),
|
|
36360
|
-
import_nestjs_authzpaas.AuthZPaasModule.forRoot(
|
|
36361
|
-
...options.authz || {}
|
|
36362
|
-
}),
|
|
36360
|
+
import_nestjs_authzpaas.AuthZPaasModule.forRoot(),
|
|
36363
36361
|
import_nestjs_trigger.AutomationModule.forRoot(),
|
|
36364
36362
|
import_nestjs_capability.CapabilityModule.forRoot({
|
|
36365
36363
|
capabilitiesDir: options.capabilitiesDir,
|
|
@@ -36550,7 +36548,6 @@ var import_nestjs_common8 = require("@lark-apaas/nestjs-common");
|
|
|
36550
36548
|
var import_nestjs_authzpaas2 = require("@lark-apaas/nestjs-authzpaas");
|
|
36551
36549
|
// Annotate the CommonJS export names for ESM import in node:
|
|
36552
36550
|
0 && (module.exports = {
|
|
36553
|
-
AuthZPaasModule,
|
|
36554
36551
|
AuthorizationSDK,
|
|
36555
36552
|
AutoTrace,
|
|
36556
36553
|
Can,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { NestModule, DynamicModule, MiddlewareConsumer, OnModuleInit, NestMiddleware } from '@nestjs/common';
|
|
2
2
|
import { HttpClientConfig, PlatformPluginOptions, HttpClient } from '@lark-apaas/http-client';
|
|
3
|
-
import { AuthZPaasModuleOptions } from '@lark-apaas/nestjs-authzpaas';
|
|
4
|
-
export { AddMembersParams, AuthZPaasModule, AuthorizationSDK, Can, CanRole, ChatSimpleDTO, CommonParam, CreateRoleParams, CreateRoleResponse, DepartmentDTO, DepartmentEntity, DepartmentSimpleDTO, FilterParams, ForceRoleDTO, I18nText, IPermissionResolver, ListMembersParams, ListMembersResponse, ListRolesParams, MemberMutationData, MemberType, PERMISSION_RESOLVER_TOKEN, PermissionPoint, PermissionRequirement, PresetGroupDTO, RemoveMembersParams, RoleMemberDTO, SearchChatEntity, SearchParams, SearchResponse, SearchResult, SearchUserEntity, UpdateRoleParams, UserSimpleDTO } from '@lark-apaas/nestjs-authzpaas';
|
|
5
3
|
import { NestExpressApplication } from '@nestjs/platform-express';
|
|
6
4
|
import { PlatformHttpClient, RequestContextService, ObservableService } from '@lark-apaas/nestjs-common';
|
|
7
5
|
export { AutoTrace } from '@lark-apaas/nestjs-common';
|
|
@@ -15,6 +13,7 @@ export * from '@lark-apaas/nestjs-capability';
|
|
|
15
13
|
export * from '@lark-apaas/nestjs-datapaas';
|
|
16
14
|
export * from '@lark-apaas/nestjs-observable';
|
|
17
15
|
export * from '@lark-apaas/nestjs-trigger';
|
|
16
|
+
export { AddMembersParams, AuthorizationSDK, Can, CanRole, ChatSimpleDTO, CommonParam, CreateRoleParams, CreateRoleResponse, DepartmentDTO, DepartmentEntity, DepartmentSimpleDTO, FilterParams, ForceRoleDTO, I18nText, IPermissionResolver, ListMembersParams, ListMembersResponse, ListRolesParams, MemberMutationData, MemberType, PERMISSION_RESOLVER_TOKEN, PermissionRequirement, PresetGroupDTO, RemoveMembersParams, RoleMemberDTO, SearchChatEntity, SearchParams, SearchResponse, SearchResult, SearchUserEntity, UpdateRoleParams, UserSimpleDTO } from '@lark-apaas/nestjs-authzpaas';
|
|
18
17
|
|
|
19
18
|
declare global {
|
|
20
19
|
namespace Express {
|
|
@@ -73,11 +72,6 @@ interface PlatformModuleOptions {
|
|
|
73
72
|
* 默认: server/capabilities
|
|
74
73
|
*/
|
|
75
74
|
capabilitiesDir?: string;
|
|
76
|
-
/**
|
|
77
|
-
* AuthZPaas 模块配置
|
|
78
|
-
* 可传入 permissionResolver 等选项,透传给 AuthZPaasModule.forRoot()
|
|
79
|
-
*/
|
|
80
|
-
authz?: AuthZPaasModuleOptions;
|
|
81
75
|
}
|
|
82
76
|
|
|
83
77
|
declare class PlatformModule implements NestModule {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { NestModule, DynamicModule, MiddlewareConsumer, OnModuleInit, NestMiddleware } from '@nestjs/common';
|
|
2
2
|
import { HttpClientConfig, PlatformPluginOptions, HttpClient } from '@lark-apaas/http-client';
|
|
3
|
-
import { AuthZPaasModuleOptions } from '@lark-apaas/nestjs-authzpaas';
|
|
4
|
-
export { AddMembersParams, AuthZPaasModule, AuthorizationSDK, Can, CanRole, ChatSimpleDTO, CommonParam, CreateRoleParams, CreateRoleResponse, DepartmentDTO, DepartmentEntity, DepartmentSimpleDTO, FilterParams, ForceRoleDTO, I18nText, IPermissionResolver, ListMembersParams, ListMembersResponse, ListRolesParams, MemberMutationData, MemberType, PERMISSION_RESOLVER_TOKEN, PermissionPoint, PermissionRequirement, PresetGroupDTO, RemoveMembersParams, RoleMemberDTO, SearchChatEntity, SearchParams, SearchResponse, SearchResult, SearchUserEntity, UpdateRoleParams, UserSimpleDTO } from '@lark-apaas/nestjs-authzpaas';
|
|
5
3
|
import { NestExpressApplication } from '@nestjs/platform-express';
|
|
6
4
|
import { PlatformHttpClient, RequestContextService, ObservableService } from '@lark-apaas/nestjs-common';
|
|
7
5
|
export { AutoTrace } from '@lark-apaas/nestjs-common';
|
|
@@ -15,6 +13,7 @@ export * from '@lark-apaas/nestjs-capability';
|
|
|
15
13
|
export * from '@lark-apaas/nestjs-datapaas';
|
|
16
14
|
export * from '@lark-apaas/nestjs-observable';
|
|
17
15
|
export * from '@lark-apaas/nestjs-trigger';
|
|
16
|
+
export { AddMembersParams, AuthorizationSDK, Can, CanRole, ChatSimpleDTO, CommonParam, CreateRoleParams, CreateRoleResponse, DepartmentDTO, DepartmentEntity, DepartmentSimpleDTO, FilterParams, ForceRoleDTO, I18nText, IPermissionResolver, ListMembersParams, ListMembersResponse, ListRolesParams, MemberMutationData, MemberType, PERMISSION_RESOLVER_TOKEN, PermissionRequirement, PresetGroupDTO, RemoveMembersParams, RoleMemberDTO, SearchChatEntity, SearchParams, SearchResponse, SearchResult, SearchUserEntity, UpdateRoleParams, UserSimpleDTO } from '@lark-apaas/nestjs-authzpaas';
|
|
18
17
|
|
|
19
18
|
declare global {
|
|
20
19
|
namespace Express {
|
|
@@ -73,11 +72,6 @@ interface PlatformModuleOptions {
|
|
|
73
72
|
* 默认: server/capabilities
|
|
74
73
|
*/
|
|
75
74
|
capabilitiesDir?: string;
|
|
76
|
-
/**
|
|
77
|
-
* AuthZPaas 模块配置
|
|
78
|
-
* 可传入 permissionResolver 等选项,透传给 AuthZPaasModule.forRoot()
|
|
79
|
-
*/
|
|
80
|
-
authz?: AuthZPaasModuleOptions;
|
|
81
75
|
}
|
|
82
76
|
|
|
83
77
|
declare class PlatformModule implements NestModule {
|
package/dist/index.js
CHANGED
|
@@ -36324,15 +36324,14 @@ var PlatformModule = class _PlatformModule {
|
|
|
36324
36324
|
};
|
|
36325
36325
|
return {
|
|
36326
36326
|
connectionString: configService.get("app.databaseUrl") ?? "",
|
|
36327
|
-
logger: drizzleLogger
|
|
36327
|
+
logger: drizzleLogger,
|
|
36328
|
+
connectionTokenFilePath: "/var/run/secrets/zti/credential"
|
|
36328
36329
|
};
|
|
36329
36330
|
}, "useFactory")
|
|
36330
36331
|
})
|
|
36331
36332
|
],
|
|
36332
36333
|
AuthNPaasModule.forRoot(),
|
|
36333
|
-
AuthZPaasModule.forRoot(
|
|
36334
|
-
...options.authz || {}
|
|
36335
|
-
}),
|
|
36334
|
+
AuthZPaasModule.forRoot(),
|
|
36336
36335
|
AutomationModule.forRoot(),
|
|
36337
36336
|
CapabilityModule.forRoot({
|
|
36338
36337
|
capabilitiesDir: options.capabilitiesDir,
|
|
@@ -36520,9 +36519,8 @@ export * from "@lark-apaas/nestjs-observable";
|
|
|
36520
36519
|
export * from "@lark-apaas/nestjs-trigger";
|
|
36521
36520
|
export * from "@lark-apaas/file-service";
|
|
36522
36521
|
import { AutoTrace } from "@lark-apaas/nestjs-common";
|
|
36523
|
-
import {
|
|
36522
|
+
import { CanRole, Can, AuthorizationSDK, PERMISSION_RESOLVER_TOKEN } from "@lark-apaas/nestjs-authzpaas";
|
|
36524
36523
|
export {
|
|
36525
|
-
AuthZPaasModule2 as AuthZPaasModule,
|
|
36526
36524
|
AuthorizationSDK,
|
|
36527
36525
|
AutoTrace,
|
|
36528
36526
|
Can,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-apaas/fullstack-nestjs-core",
|
|
3
|
-
"version": "1.1.34-alpha.
|
|
3
|
+
"version": "1.1.34-alpha.50",
|
|
4
4
|
"description": "FullStack Nestjs Core",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"@lark-apaas/file-service": "^0.1.2",
|
|
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.
|
|
45
|
+
"@lark-apaas/nestjs-authzpaas": "^0.1.7",
|
|
46
46
|
"@lark-apaas/nestjs-capability": "^0.1.11",
|
|
47
47
|
"@lark-apaas/nestjs-common": "^0.1.8",
|
|
48
|
-
"@lark-apaas/nestjs-datapaas": "
|
|
48
|
+
"@lark-apaas/nestjs-datapaas": "1.0.10-alpha.61",
|
|
49
49
|
"@lark-apaas/nestjs-logger": "^1.0.15",
|
|
50
50
|
"@lark-apaas/nestjs-observable": "^0.0.10",
|
|
51
51
|
"@lark-apaas/nestjs-openapi-devtools": "^1.0.10",
|