@buka/nestjs-kit 4.3.2 → 4.3.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.3.4](https://github.com/buka-ltd/npm.nestjs-kit/compare/v4.3.3...v4.3.4) (2026-05-27)
4
+
5
+
6
+ ### Performance Improvements
7
+
8
+ * 修正 urn 支持最新规范 ([a4ba918](https://github.com/buka-ltd/npm.nestjs-kit/commit/a4ba918cc237ee720eda28b120ddd2ce489ae1fe))
9
+
10
+ ## [4.3.3](https://github.com/buka-ltd/npm.nestjs-kit/compare/v4.3.2...v4.3.3) (2026-05-27)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * 修正Entity默认产生的swagger格式与findOne默认查询结果不一致的问题 ([03bf307](https://github.com/buka-ltd/npm.nestjs-kit/commit/03bf307882cdf0e451a36e5b970e0e86f9179e01))
16
+
3
17
  ## [4.3.2](https://github.com/buka-ltd/npm.nestjs-kit/compare/v4.3.1...v4.3.2) (2026-05-26)
4
18
 
5
19
 
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _$_nestjs_common0 from "@nestjs/common";
2
2
  import { ArgumentMetadata, ArgumentsHost, DynamicModule, ExceptionFilter, HttpStatus, OnApplicationBootstrap, OnModuleDestroy, OnModuleInit, PipeTransform, Type, ValidationPipe, ValidationPipeOptions } from "@nestjs/common";
3
- import { AnyEntity, Config, Cursor, DefineConfig, EmbeddedOptions, EntityManager, EntityName, EnumOptions, Hidden, HiddenProps, ManyToManyOptions, ManyToOneOptions, MikroORM, OneToManyOptions, OneToOneOptions, Opt, OptionalProps, Options, Primary, PrimaryKeyProp, PrimaryProperty, PropertyOptions, QueryOrderMap, Ref } from "@mikro-orm/core";
3
+ import { AnyEntity, Collection, Config, Cursor, DefineConfig, EmbeddedOptions, EntityManager, EntityName, EnumOptions, Hidden, HiddenProps, ManyToManyOptions, ManyToOneOptions, MikroORM, OneToManyOptions, OneToOneOptions, Opt, OptionalProps, Options, Primary, PrimaryKeyProp, PrimaryProperty, PropertyOptions, QueryOrderMap, Ref } from "@mikro-orm/core";
4
4
  import { ValidationOptions } from "class-validator";
5
5
  import { ApiPropertyOptions, OpenAPIObject } from "@nestjs/swagger";
6
6
  import { Keq, KeqMiddleware, KeqOperation, KeqPathParameterInit, KeqQueryInit, KeqRequest } from "keq";
@@ -228,8 +228,6 @@ declare function IsScalarDictionary(ctor: ScalarClass, validationOptions?: Valid
228
228
  //#region src/modules/core/decorators/class-validator/is-urn.d.ts
229
229
  declare const IS_URN = "isUrn";
230
230
  declare const IS_DOMAIN_URN = "isDomainUrn";
231
- declare const IS_RESOURCE_TYPE_URN = "isResourceTypeUrn";
232
- declare const IS_RESOURCE_ID_URN = "isResourceIdUrn";
233
231
  /**
234
232
  * 验证字符串是否为合法的 URN(任意层级)。
235
233
  *
@@ -254,30 +252,6 @@ declare function IsUrn(validationOptions?: ValidationOptions): (object: object,
254
252
  * ```
255
253
  */
256
254
  declare function IsDomainUrn(validationOptions?: ValidationOptions): (object: object, propertyName: string) => void;
257
- /**
258
- * 验证字符串是否为资源类型级 URN(含 domain 和 resourceType,无 resourceId)。
259
- *
260
- * @example
261
- * ```typescript
262
- * class ResourceDTO {
263
- * @IsResourceTypeUrn()
264
- * resourceType: string
265
- * }
266
- * ```
267
- */
268
- declare function IsResourceTypeUrn(validationOptions?: ValidationOptions): (object: object, propertyName: string) => void;
269
- /**
270
- * 验证字符串是否为实例级 URN(含完整三段:domain、resourceType 和 resourceId)。
271
- *
272
- * @example
273
- * ```typescript
274
- * class TokenPayloadDTO {
275
- * @IsResourceIdUrn()
276
- * sub: string
277
- * }
278
- * ```
279
- */
280
- declare function IsResourceIdUrn(validationOptions?: ValidationOptions): (object: object, propertyName: string) => void;
281
255
  /**
282
256
  * 验证字符串是否匹配指定的 URN 模式(支持通配符 `*` 和 `**`)。
283
257
  *
@@ -453,7 +427,8 @@ interface ScalarPropertyOptions {
453
427
  optional?: boolean;
454
428
  /**
455
429
  * 标记该属性为懒加载。懒加载属性存在除 `undefined` 之外的第三种状态——"未加载",
456
- * 即该属性并非不存在,而是尚未被加载。可通过 `EagerType()` converter 从 DTO 中排除这些字段。
430
+ * 即该属性并非不存在,而是尚未被加载。懒加载属性默认不注册 Swagger schema,
431
+ * 因此不会出现在 API 文档中。如需包含,请在派生 DTO 中手动声明。
457
432
  *
458
433
  * 在 MikroORM 场景下,对应 `lazy: true` 的列,查询时不会默认 SELECT 该列,需显式 `populate` 才会加载。
459
434
  */
@@ -526,7 +501,8 @@ interface CompositeOptions {
526
501
  optional?: boolean;
527
502
  /**
528
503
  * 标记该属性为懒加载。懒加载属性存在除 `undefined` 之外的第三种状态——"未加载",
529
- * 即该属性并非不存在,而是尚未被加载。可通过 `EagerType()` converter 从 DTO 中排除这些字段。
504
+ * 即该属性并非不存在,而是尚未被加载。懒加载属性默认不注册 Swagger schema,
505
+ * 因此不会出现在 API 文档中。如需包含,请在派生 DTO 中手动声明。
530
506
  *
531
507
  * 在 MikroORM 场景下,对应 `lazy: true` 的列,查询时不会默认 SELECT 该列,需显式 `populate` 才会加载。
532
508
  */
@@ -572,7 +548,8 @@ interface ListOptionsBase {
572
548
  optional?: boolean;
573
549
  /**
574
550
  * 标记该属性为懒加载。懒加载属性存在除 `undefined` 之外的第三种状态——"未加载",
575
- * 即该属性并非不存在,而是尚未被加载。可通过 `EagerType()` converter 从 DTO 中排除这些字段。
551
+ * 即该属性并非不存在,而是尚未被加载。懒加载属性默认不注册 Swagger schema,
552
+ * 因此不会出现在 API 文档中。如需包含,请在派生 DTO 中手动声明。
576
553
  *
577
554
  * 在 MikroORM 场景下,对应 `lazy: true` 的列,查询时不会默认 SELECT 该列,需显式 `populate` 才会加载。
578
555
  */
@@ -629,7 +606,8 @@ interface DictionaryOptionsBase {
629
606
  optional?: boolean;
630
607
  /**
631
608
  * 标记该属性为懒加载。懒加载属性存在除 `undefined` 之外的第三种状态——"未加载",
632
- * 即该属性并非不存在,而是尚未被加载。可通过 `EagerType()` converter 从 DTO 中排除这些字段。
609
+ * 即该属性并非不存在,而是尚未被加载。懒加载属性默认不注册 Swagger schema,
610
+ * 因此不会出现在 API 文档中。如需包含,请在派生 DTO 中手动声明。
633
611
  *
634
612
  * 在 MikroORM 场景下,对应 `lazy: true` 的列,查询时不会默认 SELECT 该列,需显式 `populate` 才会加载。
635
613
  */
@@ -693,7 +671,8 @@ interface EnumOptionsBase {
693
671
  optional?: boolean;
694
672
  /**
695
673
  * 标记该属性为懒加载。懒加载属性存在除 `undefined` 之外的第三种状态——"未加载",
696
- * 即该属性并非不存在,而是尚未被加载。可通过 `EagerType()` converter 从 DTO 中排除这些字段。
674
+ * 即该属性并非不存在,而是尚未被加载。懒加载属性默认不注册 Swagger schema,
675
+ * 因此不会出现在 API 文档中。如需包含,请在派生 DTO 中手动声明。
697
676
  *
698
677
  * 在 MikroORM 场景下,对应 `lazy: true` 的列,查询时不会默认 SELECT 该列,需显式 `populate` 才会加载。
699
678
  */
@@ -984,80 +963,52 @@ declare class Slice<T extends object> {
984
963
  /**
985
964
  * 统一资源名称(URN)
986
965
  *
987
- * 格式: urn:buka:<domain>:<resource-type>[:<resource-id>]
966
+ * 格式: urn:buka:<domain>:<resource...>
988
967
  *
989
- * 支持三种粒度:
990
968
  * - 概念域级: urn:buka:galaxy
991
- * - 资源类型级: urn:buka:galaxy:principal
992
- * - 实例级: urn:buka:galaxy:principal:550e8400-e29b-41d4-a716-446655440000
969
+ * - 资源级: urn:buka:galaxy:auth-client:galaxy:console
993
970
  *
994
- * domain 划分原则:按资源类型的定义权归属划分,非按部署单元。
995
- * resource-type 第一级推荐用于 env(环境),这是一个语义约定,不强制。
971
+ * domain 之后的全部段为 resource 路径(: 分隔),parser 不区分"类型"和"实例"。
972
+ * 应用层自行约定 resource 各段的语义。
996
973
  *
997
- * 推荐通过静态工厂方法或派生方法构建层级 URN:
998
974
  * ```ts
999
- * Urn.of('galaxy') // → DomainUrn
1000
- * Urn.of('galaxy', 'principal') // → ResourceTypeUrn
1001
- * Urn.of('galaxy', 'principal', '550e8400-...') // → ResourceIdUrn
975
+ * Urn.of('galaxy') // → 概念域级 URN
976
+ * Urn.of('galaxy', 'auth-client:galaxy:console') // → 资源级 URN
977
+ * Urn.of('galaxy', ['auth-client', 'galaxy', 'console'])
1002
978
  *
1003
- * // 或通过派生方法逐层构建
1004
- * Urn.of('galaxy')
1005
- * .withResourceType('principal') // → ResourceTypeUrn
1006
- * .withResourceId('550e8400-...') // → ResourceIdUrn
979
+ * // 或通过派生方法构建
980
+ * Urn.of('galaxy').withResource('auth-client', 'galaxy', 'console')
1007
981
  * ```
1008
982
  */
1009
983
  declare class Urn {
1010
- /** 概念域 — 资源类型定义权归属,通常为系统名 */
984
+ /** 概念域 — 资源定义权归属,通常为系统名 */
1011
985
  readonly domain: string;
1012
- /** 资源类型,可多级。第一级推荐用于 env */
1013
- readonly resourceType?: string | undefined;
1014
- /** 资源实例唯一标识 */
1015
- readonly resourceId?: string | undefined;
986
+ /** domain 之后的完整资源路径(: 分隔),undefined 表示概念域级 */
987
+ readonly resource?: string | undefined;
1016
988
  private constructor();
1017
989
  /**
1018
- * 序列化为 URN 字符串
990
+ * resource 按 `:` 拆分后的段数组
1019
991
  */
1020
- toString(): string;
992
+ get resourceSegments(): string[];
1021
993
  /**
1022
- * 返回 resourceType 按 `:` 拆分后的层级数组
994
+ * 序列化为 URN 字符串
1023
995
  */
1024
- get resourceTypeSegments(): string[];
996
+ toString(): string;
1025
997
  private toSegments;
1026
998
  /**
1027
- * 衍生出资源类型级 URN
999
+ * 从概念域级 URN 衍生出资源级 URN
1028
1000
  *
1029
- * @throws Error 当前 URN 已有 resourceType 时抛出
1001
+ * @throws Error 当前 URN 已有 resource 时抛出
1030
1002
  */
1031
- withResourceType(resourceType: string): ResourceTypeUrn;
1003
+ withResource(...segments: string[]): Urn;
1032
1004
  /**
1033
- * 衍生出实例级 URN
1034
- *
1035
- * @throws Error 当前 URN 无 resourceType 或已有 resourceId 时抛出
1036
- */
1037
- withResourceId(resourceId: string): ResourceIdUrn;
1038
- /**
1039
- * 类型守卫:判断是否为概念域级 URN
1040
- */
1041
- isDomainUrn(): this is DomainUrn;
1042
- /**
1043
- * 类型守卫:判断是否为资源类型级 URN
1005
+ * 类型守卫:判断是否为概念域级 URN(无 resource)
1044
1006
  */
1045
- isResourceTypeUrn(): this is ResourceTypeUrn;
1046
- /**
1047
- * 类型守卫:判断是否为实例级 URN
1048
- */
1049
- isResourceIdUrn(): this is ResourceIdUrn;
1007
+ isDomainUrn(): boolean;
1050
1008
  /**
1051
1009
  * 根据参数创建对应层级的 URN
1052
- *
1053
- * 重载签名使返回类型随参数数量自动窄化:
1054
- * - 仅 domain → DomainUrn
1055
- * - domain + resourceType → ResourceTypeUrn
1056
- * - domain + resourceType + resourceId → ResourceIdUrn
1057
1010
  */
1058
- static of(domain: string): DomainUrn;
1059
- static of(domain: string, resourceType: string): ResourceTypeUrn;
1060
- static of(domain: string, resourceType: string, resourceId: string): ResourceIdUrn;
1011
+ static of(domain: string, resource?: string | string[]): Urn;
1061
1012
  /**
1062
1013
  * 从 URN 字符串解析,支持通配符 `*` 和 `**`
1063
1014
  *
@@ -1068,11 +1019,20 @@ declare class Urn {
1068
1019
  */
1069
1020
  static parse(urn: string): Urn;
1070
1021
  /**
1071
- * 判断是否匹配指定的 domain、resourceType 和 resourceId
1022
+ * 判断是否匹配指定的 domain 和 resource
1072
1023
  *
1073
- * 仅比较传入的参数,未传入的参数不参与比较。
1024
+ * 未传入的参数不参与比较。
1074
1025
  */
1075
- is(domain: string, resourceType?: string, resourceId?: string): boolean;
1026
+ is(domain: string, resource?: string): boolean;
1027
+ /**
1028
+ * 判断当前 URN 是否匹配指定的 URN 模式(支持通配符)
1029
+ *
1030
+ * ```ts
1031
+ * urn.match('urn:buka:galaxy:principal:*') // resource 以 principal: 开头
1032
+ * urn.match('urn:buka:galaxy:auth-client:**') // 任意深度的 auth-client
1033
+ * ```
1034
+ */
1035
+ match(pattern: string): boolean;
1076
1036
  /**
1077
1037
  * 判断当前 URN 是否包含另一个 URN
1078
1038
  *
@@ -1084,69 +1044,6 @@ declare class Urn {
1084
1044
  */
1085
1045
  contains(other: Urn): boolean;
1086
1046
  }
1087
- /**
1088
- * 概念域级 URN — 仅含 domain,无 resourceType 和 resourceId
1089
- *
1090
- * 可通过 `withResourceType()` 衍生出 `ResourceTypeUrn`。
1091
- * 禁止直接调用 `withResourceId()`(跳层派生)。
1092
- */
1093
- interface DomainUrn extends Urn {
1094
- readonly resourceType: undefined;
1095
- readonly resourceId: undefined;
1096
- /** @deprecated 禁止跳层派生,请先调用 withResourceType() */
1097
- withResourceId: never;
1098
- }
1099
- /**
1100
- * 资源类型级 URN — 含 domain 和 resourceType,无 resourceId
1101
- *
1102
- * 可通过 `withResourceId()` 衍生出 `ResourceIdUrn`。
1103
- * 禁止调用 `withResourceType()`(横向衍生另一个资源类型)。
1104
- */
1105
- interface ResourceTypeUrn extends Urn {
1106
- readonly resourceType: string;
1107
- readonly resourceId: undefined;
1108
- /** @deprecated 禁止横向衍生,ResourceTypeUrn 不能再衍生另一个资源类型 */
1109
- withResourceType: never;
1110
- }
1111
- /**
1112
- * 实例级 URN — 含完整三段:domain、resourceType 和 resourceId
1113
- *
1114
- * 终态 URN,不可继续衍生。
1115
- */
1116
- interface ResourceIdUrn extends Urn {
1117
- readonly resourceType: string;
1118
- readonly resourceId: string;
1119
- /** @deprecated 终态 URN,不可继续衍生 */
1120
- withResourceType: never;
1121
- /** @deprecated 终态 URN,不可继续衍生 */
1122
- withResourceId: never;
1123
- }
1124
- //#endregion
1125
- //#region src/modules/core/converters/eager-type/eager-type.d.ts
1126
- /**
1127
- * 从模型中排除所有标记为 `lazy: true` 的属性,生成仅包含非懒加载字段的新类型。
1128
- *
1129
- * 适用于 API 响应场景,避免返回未加载的字段。
1130
- *
1131
- * @param classRef - 使用 `@Model()` 标注的类引用
1132
- * @returns 排除了 lazy 属性的新类
1133
- *
1134
- * @example
1135
- * ```typescript
1136
- * @Model()
1137
- * class User {
1138
- * @Property()
1139
- * name: string
1140
- *
1141
- * @Property({ lazy: true })
1142
- * bio: string
1143
- * }
1144
- *
1145
- * const UserResponse = EagerType(User)
1146
- * // UserResponse 仅包含 name,不包含 bio
1147
- * ```
1148
- */
1149
- declare function EagerType<T>(classRef: Class<T>): Class<T>;
1150
1047
  //#endregion
1151
1048
  //#region src/modules/core/converters/filter-query-type/decorators/filter-query-operators.decorator.d.ts
1152
1049
  type FilterQueryOperator = 'eq' | 'ne' | 'lt' | 'gt' | 'lte' | 'gte' | 'in' | 'nin' | 'some' | 'every' | 'none';
@@ -1351,6 +1248,49 @@ declare abstract class DiscreteEntity<Optional = never> extends TimestampedEntit
1351
1248
  id: string;
1352
1249
  }
1353
1250
  //#endregion
1251
+ //#region src/modules/mikro-orm/converters/entity-dto-type/entity-dto-type.d.ts
1252
+ /**
1253
+ * 从实体中排除 `Collection` 类型的属性键。
1254
+ *
1255
+ * `Collection` 对应 OneToMany / ManyToMany 关系,默认 `lazy: true`,
1256
+ * 不应出现在 EntityDto 中。
1257
+ */
1258
+ type IsCollection<T> = T extends Collection<any> ? true : false;
1259
+ /**
1260
+ * 将实体的 MikroORM 类型转换为 DTO 友好的类型:
1261
+ * - `Collection<Entity>` → 键被排除(lazy,不在默认 Swagger 中)
1262
+ * - `Ref<Entity>` → **保留原样**(`Ref` 是 nestjs-kit 的一等公民类型,
1263
+ * 序列化层会自动处理:populated 时完整序列化,否则仅返回主键)
1264
+ * - `Xxx & Opt` → 去除 `Opt` 标记
1265
+ */
1266
+ type EntityDtoShape<T> = { [K in keyof T as IsCollection<T[K]> extends true ? never : K]: ExcludeOpt<T[K]> };
1267
+ /**
1268
+ * 基于实体生成一个无继承关系的纯 DTO 类,用于安全派生。
1269
+ *
1270
+ * 返回的类:
1271
+ * - 不继承实体类,避免 `Collection` 类型与 DTO 字段冲突
1272
+ * - 仅包含非 `lazy: true` 的 Model 属性
1273
+ * - 保留 `Ref<Entity>` 类型(序列化层自动处理:populated 时完整序列化,否则仅主键)
1274
+ * - 保留所有 Swagger、class-validator、class-transformer 元数据
1275
+ * - Swagger schema 与 `findOne()` 不加 populate 的结果一致
1276
+ *
1277
+ * @param classRef - 使用 `@Model()` 标注的实体类引用
1278
+ * @returns 可用于 `extends` 派生的纯 DTO 类
1279
+ *
1280
+ * @example
1281
+ * ```typescript
1282
+ * // 基本用法:派生不含 Collection 的 DTO
1283
+ * class UserProfileBriefDto extends EntityDto(UserProfile) {}
1284
+ *
1285
+ * // 扩展用法:手动添加 lazy 属性
1286
+ * class UserProfileDetailDto extends EntityDto(UserProfile) {
1287
+ * @List({ type: () => PrimaryKeyType(Avatar) })
1288
+ * avatars!: PrimaryKeyTypeClass[]
1289
+ * }
1290
+ * ```
1291
+ */
1292
+ declare function EntityDto<T extends object>(classRef: Class<T>): Class<EntityDtoShape<T>>;
1293
+ //#endregion
1354
1294
  //#region src/modules/mikro-orm/converters/entity-primary-key-type/types/entity-primary-key.d.ts
1355
1295
  type IEntityPrimaryKey<T extends object> = { [K in keyof T as K extends PrimaryProperty<T> ? K : never]: Primary<T> };
1356
1296
  //#endregion
@@ -18695,5 +18635,5 @@ declare class ObjectStorageService implements OnModuleInit {
18695
18635
  */
18696
18636
  declare function stableStringify(value: unknown): string;
18697
18637
  //#endregion
18698
- export { AssociationMetadata, AuthException, BUKA_MODULE_OPTIONS_TOKEN, Base32, BlindIndex, BlindIndexHasher, BlindIndexModule, BlindIndexService, BlindIndexV1Hasher, BukaConfigurableModuleClass, BukaExceptions, BukaModule, BukaModuleOptions, BukaPageQueryValidationPipe, BukaValidationPipe, BusinessException, Cardinality, type CipherMetadata, CollectionAssociationMetadata, Column, Composite, CompositePropertyMetadata, ConfigurableModuleClass, ConflictException, CursorPagination, DatabaseConfig, type DecryptCommand, DegradeException, Dictionary, DictionaryPropertyMetadata, DiscreteEntity, DomainUrn, EagerType, type EncryptCommand, EncryptedPayload, EntityRef, Enum, EnumPropertyMetadata, EnvelopeEncryptionModule, type EnvelopeEncryptionModuleOptions, EnvelopeEncryptionService, ErrorCategory, ErrorCode, ErrorCodeController, ErrorCodeExceptionFilter, ErrorCodeDefinitionDto as ErrorCodeItemDto, ErrorCodeMetadataDto, type ErrorCodeOptions, ErrorCodePartsDto, ErrorCodeRegistry, ErrorResponseSchema, type ExceptionConstructor, type ExceptionConstructorWithArgs, type ExceptionDetail, ExceptionDetailSchema, ExceptionModule, type ExceptionModuleOptions as ExceptionNestModuleOptions, type ExceptionOptions, type ExceptionOptionsWithFactory, type ExceptionOptionsWithMessage, ExcludeDefinedOpt, ExcludeHidden, ExcludeOpt, ExcludeRef, ExcludeScalarClass, FeatureException, FilterQuery, FilterQueryOperator, FilterQueryOperators, FilterQueryOperatorsMetadataKey, FilterQueryTransformPipe, HAS_ANY_KEY, HasAnyKey, HttpException, type HttpExceptionOptions, IEntityPrimaryKey, IFilter, IFilterQuery, IFilterQueryCollectionCondition, IFilterQueryCondition, IFilterQueryNestedProperty, IFilterQueryObject, IFilterQueryProperty, IListResponseBody, IListResponseBodyMeta, INextCursorPageParameters, IOffsetPageParameters, IOrderQuery, IPageQuery, IPreviousCursorPageParameters, IResponseBody, IS_CROCKFORD_BASE32, IS_DOMAIN_URN, IS_RESOURCE_ID_URN, IS_RESOURCE_TYPE_URN, IS_SCALAR_DICTIONARY, IS_URN, InjectLogger, IsBrowserRequest, IsCrockfordBase32, IsDomainUrn, IsHidden, IsOpt, IsResourceIdUrn, IsResourceTypeUrn, IsScalar, IsScalarDictionary, IsUrn, KeyEnvelope, LinearEntity, List, ListErrorCodesResponseDto, ListPropertyMetadata, ListResponseBodyType, Logger, LoggerConfig, LoggerErrorInterceptor, LoggerModule, type LoggerModuleOptions, MATCH_JSON_SCHEMA, MODULE_OPTIONS_TOKEN, MatchJsonSchema, MatchesUrn, Model, ModelMetadata, ModelOptions, ModelRegister, ModelSchemaOptions, ModuleExceptions, type ExceptionModuleOptions$1 as ModuleExceptionsOptions, NextCursorPageSchema, ObjectStorageModule, ObjectStorageModuleConfig, ObjectStorageModuleOptions, ObjectStorageOptions, ObjectStorageService, OffsetPageSchema, OffsetPagination, OmitType, OpenBaoAppRoleAuth, OpenBaoAppRoleAuthConfig, OpenBaoAuthMethod, OpenBaoAuthResponse, OpenBaoHttpClient, OpenBaoKubernetesAuth, OpenBaoKubernetesAuthConfig, OpenBaoModule, OpenBaoModuleConfig, OpenBaoModuleOptions, OpenBaoTokenAuth, OpenBaoTokenAuthConfig, OpenBaoTokenLookupSelfResponse, OpenBaoTokenManager, OpenBaoUserpassAuth, OpenBaoUserpassAuthConfig, OptionalPageQuery, OrderQueryType, PageQuery, ParseUUIDv7Pipe, PartialType, PendingException, PickType, PreviousCursorPageSchema, PrimaryKeyType, PrimaryKeyTypeClassMetadataPropertyKey, Property, PropertyKind, PropertyMetadata, RateLimitException, type ReencryptCommand, RefAssociationMetadata, type ResolveExceptions, ResourceIdUrn, ResourceTypeUrn, ResponseBodyType, SaltedHash, SaltedHashHasher, SaltedHashModule, SaltedHashService, SaltedHashV1Hasher, ScalarClass, ScalarPropertyMetadata, type SchemaObject, Slice, SwaggerPatcher, SystemException, ThirdPartyException, TimestampedEntity, type UnifyExceptionResponsesOptions, Urn, VALIDATE_NESTED_DICTIONARY, ValidateNestedDictionary, ValidationException, getExceptionModuleId, getFilterQueryOperators, isScalarClass, serializeModel, setOpenBaoToken, stableStringify };
18638
+ export { AssociationMetadata, AuthException, BUKA_MODULE_OPTIONS_TOKEN, Base32, BlindIndex, BlindIndexHasher, BlindIndexModule, BlindIndexService, BlindIndexV1Hasher, BukaConfigurableModuleClass, BukaExceptions, BukaModule, BukaModuleOptions, BukaPageQueryValidationPipe, BukaValidationPipe, BusinessException, Cardinality, type CipherMetadata, CollectionAssociationMetadata, Column, Composite, CompositePropertyMetadata, ConfigurableModuleClass, ConflictException, CursorPagination, DatabaseConfig, type DecryptCommand, DegradeException, Dictionary, DictionaryPropertyMetadata, DiscreteEntity, type EncryptCommand, EncryptedPayload, EntityDto, EntityDtoShape, EntityRef, Enum, EnumPropertyMetadata, EnvelopeEncryptionModule, type EnvelopeEncryptionModuleOptions, EnvelopeEncryptionService, ErrorCategory, ErrorCode, ErrorCodeController, ErrorCodeExceptionFilter, ErrorCodeDefinitionDto as ErrorCodeItemDto, ErrorCodeMetadataDto, type ErrorCodeOptions, ErrorCodePartsDto, ErrorCodeRegistry, ErrorResponseSchema, type ExceptionConstructor, type ExceptionConstructorWithArgs, type ExceptionDetail, ExceptionDetailSchema, ExceptionModule, type ExceptionModuleOptions as ExceptionNestModuleOptions, type ExceptionOptions, type ExceptionOptionsWithFactory, type ExceptionOptionsWithMessage, ExcludeDefinedOpt, ExcludeHidden, ExcludeOpt, ExcludeRef, ExcludeScalarClass, FeatureException, FilterQuery, FilterQueryOperator, FilterQueryOperators, FilterQueryOperatorsMetadataKey, FilterQueryTransformPipe, HAS_ANY_KEY, HasAnyKey, HttpException, type HttpExceptionOptions, IEntityPrimaryKey, IFilter, IFilterQuery, IFilterQueryCollectionCondition, IFilterQueryCondition, IFilterQueryNestedProperty, IFilterQueryObject, IFilterQueryProperty, IListResponseBody, IListResponseBodyMeta, INextCursorPageParameters, IOffsetPageParameters, IOrderQuery, IPageQuery, IPreviousCursorPageParameters, IResponseBody, IS_CROCKFORD_BASE32, IS_DOMAIN_URN, IS_SCALAR_DICTIONARY, IS_URN, InjectLogger, IsBrowserRequest, IsCrockfordBase32, IsDomainUrn, IsHidden, IsOpt, IsScalar, IsScalarDictionary, IsUrn, KeyEnvelope, LinearEntity, List, ListErrorCodesResponseDto, ListPropertyMetadata, ListResponseBodyType, Logger, LoggerConfig, LoggerErrorInterceptor, LoggerModule, type LoggerModuleOptions, MATCH_JSON_SCHEMA, MODULE_OPTIONS_TOKEN, MatchJsonSchema, MatchesUrn, Model, ModelMetadata, ModelOptions, ModelRegister, ModelSchemaOptions, ModuleExceptions, type ExceptionModuleOptions$1 as ModuleExceptionsOptions, NextCursorPageSchema, ObjectStorageModule, ObjectStorageModuleConfig, ObjectStorageModuleOptions, ObjectStorageOptions, ObjectStorageService, OffsetPageSchema, OffsetPagination, OmitType, OpenBaoAppRoleAuth, OpenBaoAppRoleAuthConfig, OpenBaoAuthMethod, OpenBaoAuthResponse, OpenBaoHttpClient, OpenBaoKubernetesAuth, OpenBaoKubernetesAuthConfig, OpenBaoModule, OpenBaoModuleConfig, OpenBaoModuleOptions, OpenBaoTokenAuth, OpenBaoTokenAuthConfig, OpenBaoTokenLookupSelfResponse, OpenBaoTokenManager, OpenBaoUserpassAuth, OpenBaoUserpassAuthConfig, OptionalPageQuery, OrderQueryType, PageQuery, ParseUUIDv7Pipe, PartialType, PendingException, PickType, PreviousCursorPageSchema, PrimaryKeyType, PrimaryKeyTypeClassMetadataPropertyKey, Property, PropertyKind, PropertyMetadata, RateLimitException, type ReencryptCommand, RefAssociationMetadata, type ResolveExceptions, ResponseBodyType, SaltedHash, SaltedHashHasher, SaltedHashModule, SaltedHashService, SaltedHashV1Hasher, ScalarClass, ScalarPropertyMetadata, type SchemaObject, Slice, SwaggerPatcher, SystemException, ThirdPartyException, TimestampedEntity, type UnifyExceptionResponsesOptions, Urn, VALIDATE_NESTED_DICTIONARY, ValidateNestedDictionary, ValidationException, getExceptionModuleId, getFilterQueryOperators, isScalarClass, serializeModel, setOpenBaoToken, stableStringify };
18699
18639
  //# sourceMappingURL=index.d.mts.map