@buka/nestjs-kit 4.7.0 → 4.8.0

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.
Files changed (109) hide show
  1. package/.agents/skills/ask-matt/PHASE-BOUNDARIES.md +55 -0
  2. package/.agents/skills/ask-matt/SKILL.md +97 -0
  3. package/.agents/skills/ask-matt/agents/openai.yaml +5 -0
  4. package/.agents/skills/code-review/SKILL.md +89 -0
  5. package/.agents/skills/code-review/agents/openai.yaml +3 -0
  6. package/.agents/skills/codebase-design/DEEPENING.md +37 -0
  7. package/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  8. package/.agents/skills/codebase-design/SKILL.md +114 -0
  9. package/.agents/skills/codebase-design/agents/openai.yaml +3 -0
  10. package/.agents/skills/diagnosing-bugs/SKILL.md +138 -0
  11. package/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  12. package/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  13. package/.agents/skills/domain-modeling/ADR-FORMAT.md +47 -0
  14. package/.agents/skills/domain-modeling/GLOSSARY-FORMAT.md +60 -0
  15. package/.agents/skills/domain-modeling/SKILL.md +74 -0
  16. package/.agents/skills/domain-modeling/agents/openai.yaml +3 -0
  17. package/.agents/skills/grill-me/SKILL.md +7 -0
  18. package/.agents/skills/grill-me/agents/openai.yaml +5 -0
  19. package/.agents/skills/grill-with-docs/SKILL.md +7 -0
  20. package/.agents/skills/grill-with-docs/agents/openai.yaml +5 -0
  21. package/.agents/skills/grilling/SKILL.md +30 -0
  22. package/.agents/skills/grilling/agents/openai.yaml +3 -0
  23. package/.agents/skills/handoff/SKILL.md +16 -0
  24. package/.agents/skills/handoff/agents/openai.yaml +5 -0
  25. package/.agents/skills/implement/SKILL.md +17 -0
  26. package/.agents/skills/implement/agents/openai.yaml +5 -0
  27. package/.agents/skills/implement-spec/SKILL.md +42 -0
  28. package/.agents/skills/implement-spec/agents/openai.yaml +5 -0
  29. package/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  30. package/.agents/skills/improve-codebase-architecture/SKILL.md +71 -0
  31. package/.agents/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  32. package/.agents/skills/pr/CREDITS.md +3 -0
  33. package/.agents/skills/pr/SKILL.md +170 -0
  34. package/.agents/skills/pr/agents/openai.yaml +3 -0
  35. package/.agents/skills/prototype/LOGIC.md +67 -0
  36. package/.agents/skills/prototype/SKILL.md +26 -0
  37. package/.agents/skills/prototype/UI.md +112 -0
  38. package/.agents/skills/prototype/agents/openai.yaml +3 -0
  39. package/.agents/skills/research/SKILL.md +12 -0
  40. package/.agents/skills/research/agents/openai.yaml +3 -0
  41. package/.agents/skills/retro/SKILL.md +44 -0
  42. package/.agents/skills/retro/agents/openai.yaml +5 -0
  43. package/.agents/skills/setup-matt-pocock-skills/SKILL.md +120 -0
  44. package/.agents/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  45. package/.agents/skills/setup-matt-pocock-skills/domain.md +51 -0
  46. package/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +50 -0
  47. package/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  48. package/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
  49. package/.agents/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  50. package/.agents/skills/tdd/SKILL.md +38 -0
  51. package/.agents/skills/tdd/agents/openai.yaml +3 -0
  52. package/.agents/skills/tdd/mocking.md +59 -0
  53. package/.agents/skills/tdd/tests.md +77 -0
  54. package/.agents/skills/teach/GLOSSARY-FORMAT.md +35 -0
  55. package/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  56. package/.agents/skills/teach/MISSION-FORMAT.md +31 -0
  57. package/.agents/skills/teach/RESOURCES-FORMAT.md +32 -0
  58. package/.agents/skills/teach/SKILL.md +140 -0
  59. package/.agents/skills/teach/agents/openai.yaml +5 -0
  60. package/.agents/skills/to-questionnaire/SKILL.md +54 -0
  61. package/.agents/skills/to-questionnaire/agents/openai.yaml +5 -0
  62. package/.agents/skills/to-spec/SKILL.md +75 -0
  63. package/.agents/skills/to-spec/agents/openai.yaml +5 -0
  64. package/.agents/skills/to-tickets/SKILL.md +105 -0
  65. package/.agents/skills/to-tickets/agents/openai.yaml +5 -0
  66. package/.agents/skills/triage/AGENT-BRIEF.md +207 -0
  67. package/.agents/skills/triage/OUT-OF-SCOPE.md +105 -0
  68. package/.agents/skills/triage/SKILL.md +112 -0
  69. package/.agents/skills/triage/agents/openai.yaml +5 -0
  70. package/.agents/skills/wait-what/SKILL.md +7 -0
  71. package/.agents/skills/wait-what/agents/openai.yaml +5 -0
  72. package/.agents/skills/wayfinder/SKILL.md +128 -0
  73. package/.agents/skills/wayfinder/agents/openai.yaml +5 -0
  74. package/.agents/skills/wizard/SKILL.md +44 -0
  75. package/.agents/skills/wizard/agents/openai.yaml +3 -0
  76. package/.agents/skills/wizard/template.sh +223 -0
  77. package/.agents/skills/writing-for-agents/SKILL-MECHANICS.md +22 -0
  78. package/.agents/skills/writing-for-agents/SKILL.md +81 -0
  79. package/.agents/skills/writing-for-agents/agents/openai.yaml +3 -0
  80. package/AGENTS.md +13 -0
  81. package/CHANGELOG.md +14 -0
  82. package/GLOSSARY.md +21 -0
  83. package/README.md +1 -1
  84. package/dist/index.d.mts +91 -1
  85. package/dist/index.d.ts +91 -1
  86. package/dist/index.js +1009 -916
  87. package/dist/index.js.map +1 -1
  88. package/dist/index.mjs +1008 -921
  89. package/dist/index.mjs.map +1 -1
  90. package/docs/agents/domain.md +51 -0
  91. package/docs/agents/issue-tracker.md +50 -0
  92. package/docs/agents/triage-labels.md +15 -0
  93. package/docs/exception.md +26 -1
  94. package/package.json +1 -1
  95. package/skills/nestjs-kit-coding-standards/SKILL.md +94 -44
  96. package/skills/nestjs-kit-coding-standards/references/controller.md +2 -2
  97. package/skills/nestjs-kit-coding-standards/references/dto.md +2 -2
  98. package/skills/nestjs-kit-coding-standards/references/entity.md +2 -2
  99. package/skills/nestjs-kit-coding-standards/references/query.md +2 -2
  100. package/skills/nestjs-kit-coding-standards/references/service.md +4 -3
  101. package/skills/nestjs-kit-crypto/SKILL.md +1 -5
  102. package/skills/nestjs-kit-exception/SKILL.md +15 -8
  103. package/skills/nestjs-kit-http/SKILL.md +1 -5
  104. package/skills/nestjs-kit-logger/SKILL.md +1 -4
  105. package/skills/nestjs-kit-object-storage/SKILL.md +1 -5
  106. package/skills/nestjs-kit-open-bao/SKILL.md +1 -5
  107. package/skills/nestjs-kit-swagger/SKILL.md +1 -6
  108. package/skills/nestjs-kit-urn/SKILL.md +35 -5
  109. package/skills-lock.json +167 -0
@@ -0,0 +1,81 @@
1
+ ---
2
+ name: writing-for-agents
3
+ description: Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
4
+ ---
5
+
6
+ Reference for writing any document an agent consumes: a skill, an `AGENTS.md` / `CLAUDE.md`, a doc reached by a pointer. The packaging differs; the writing does not: the same levers make each one predictable, since the agent takes the same _process_ every run rather than producing the same output.
7
+
8
+ When the document you're writing is a skill, read [`SKILL-MECHANICS.md`](SKILL-MECHANICS.md) for frontmatter, invocation choice, and router skills.
9
+
10
+ ## Context pointers
11
+
12
+ A **context pointer** is a reference held in the agent's context that names some out-of-context material and encodes the condition for reaching it. A skill's description is one; a line in `AGENTS.md` naming a doc is the same object. The pointer's _wording_, not its target, decides when the agent reaches the material, and how reliably. A must-have target behind a weakly worded pointer is a variance bug: sharpen the wording first, and inline the material only if sharpening fails.
13
+
14
+ A pointer does two jobs: state what the material is, and list the **branches** that should trigger reaching it (a branch is a distinct case the document handles, so different runs take different paths through it). Every word of an always-loaded pointer costs on every turn, so it earns even harder pruning than the body:
15
+
16
+ - **Front-load the leading word**: the pointer is where it does its triggering work.
17
+ - **One trigger per branch.** Synonyms that rename a single branch are one branch written twice; collapse them and keep only genuinely distinct branches.
18
+ - **Cut identity the body already carries.**
19
+
20
+ ## The two loads
21
+
22
+ Every document and pointer you add spends one of two budgets:
23
+
24
+ - **Context load** is the cost of always-loaded material on the agent's window: an `AGENTS.md` line, a skill description, anything sitting in context every turn, spending tokens and attention whether or not it fires.
25
+ - **Cognitive load** is the cost on the human: which documents exist and when to reach for each. The human is the index. Not a cost to minimise: it is the price of human agency; spend it where human judgement matters, remove it where it does not.
26
+
27
+ Material reached only through a pointer escapes context load at the price of the pointer's own line; material with no pointer at all rides entirely on cognitive load.
28
+
29
+ ## Information hierarchy
30
+
31
+ A document is built from two content types: **steps** (the ordered actions the agent performs) and **reference** (definitions, rules, facts consulted on demand). The two mix freely: all steps (a recipe), all reference (a review's rules, this skill), or both. The core decision is where each piece sits on the **information hierarchy**, a ladder ranked by how immediately the agent needs the material:
32
+
33
+ 1. **In-file step** is the primary tier: what the agent does, in order.
34
+ 2. **In-file reference** is consulted on demand. Often a legitimately flat peer-set (every rule of a review on one rung), which is a fine arrangement, not a smell.
35
+ 3. **Disclosed reference** is pushed out into a separate file, reached by a context pointer, loaded only when the pointer fires. Spans a sibling file in the same folder through fully external reference that lives anywhere and any document can point at.
36
+
37
+ Push too little down and the top bloats; push too much and you hide material the agent actually needs. That tension is the whole decision.
38
+
39
+ **Progressive disclosure** is the move down the ladder (out of the main file and behind a pointer) so the top stays legible. Not primarily a token optimisation: it is how the hierarchy is protected. Branching is the cleanest disclosure test: inline what every branch needs, and push behind a pointer what only some branches reach. When a document has steps, in-file reference that should be disclosed buries them and turns attending to them into a coin-flip: a variance lever, not just a legibility one.
40
+
41
+ **Co-location** is the within-file companion: where the ladder decides _how far down_ a piece sits, co-location decides _what sits beside it_ once there. Keep a concept's definition, rules, and caveats under one heading rather than scattered, so reading one part brings its neighbours with it. The test: the document should read like documentation written for the agent. Grouped material reads that way; scattered material does not. (Distinct from duplication: that repeats one meaning in two places; scattering fragments one meaning across many.)
42
+
43
+ **Sprawl** is the failure mode here: a document simply too long, even when every line is live and unique. Attention thins across the excess, and every extra line is one more to keep relevant. The cure is the ladder: disclose reference behind pointers, and split by branch or sequence so each path carries only what it needs.
44
+
45
+ ## Steps and completion criteria
46
+
47
+ Every step ends on a **completion criterion**, the condition that tells the agent the work is done. Two properties make it a lever:
48
+
49
+ - **Clarity**: can the agent tell done from not-done? A vague bound ("understanding reached") invites **premature completion**: ending the step before it is genuinely done, attention slipping to _being done_. The visible steps still ahead (the **post-completion steps**) supply the pull; the criterion's clarity is the resistance. Defend in order: **sharpen the bound first** (local and cheap); only if it is irreducibly fuzzy _and_ you observe the rush, hide the later steps by splitting the sequence. Hiding only works across a real context boundary (a hand-off or a subagent dispatch; an inline call leaves the later steps in context and clears nothing).
50
+ - **Demand**: how much it requires. "Every modified model accounted for" forces thorough work where "produce a change list" does not. Demand drives **legwork** (the digging the agent does within the work, latent in the wording rather than written as its own step), and it is not step-bound: "every rule applied" binds a body of flat reference just as "every step done" binds a sequence, which is how an all-reference document still carries an exhaustiveness bar.
51
+
52
+ The strongest criteria are both checkable and exhaustive.
53
+
54
+ ## When to split
55
+
56
+ Splitting one document into two spends one of the two loads, so split only when the cut earns it:
57
+
58
+ - **By sequence**: split a run of steps where the post-completion steps tempt the agent to rush the one in front of it. Keeping them out of view drives more legwork on the current task. Beware the reverse: merging sequences exposes each step's later steps to what follows, inviting premature completion.
59
+ - **By invocation**, skill-specific: see [`SKILL-MECHANICS.md`](SKILL-MECHANICS.md).
60
+
61
+ ## Leading words
62
+
63
+ A **leading word** is a compact concept already living in the model's pretraining that the agent thinks with while running the document (_lesson_, _fog of war_, _tracer bullets_). Repeated as a token, never as a sentence, it accumulates a distributed definition and anchors a whole region of behaviour in the fewest tokens, by recruiting priors the model already holds. Coining your own works if you define it clearly, but a made-up word recruits no priors: you pay in definition tokens what a pretrained word gives free; reach for an existing word first.
64
+
65
+ It anchors twice. In the body, _execution_: the agent reaches for the same behaviour every time the word appears, and inside flat reference it focuses attention on a class of thing to look for. In a pointer, _invocation_: when the same word lives in your prompts, your docs, and your codebase, the agent links that shared language to the material and reaches it more reliably.
66
+
67
+ Hunt for opportunities to refactor with leading words. A triad spelled out at three sites, a pointer spending a sentence to gesture at one idea. Each is a passage begging to collapse into a single token:
68
+
69
+ - "fast, deterministic, low-overhead" → _tight_ (a _tight_ loop).
70
+ - "a loop you believe in" → _red_, turning a fuzzy gate into a binary observable state (the loop goes _red_ on the bug, or it doesn't).
71
+
72
+ You win twice: fewer tokens, and a sharper hook for the agent to hang its thinking on. Assume every document is carrying restatements that leading words retire. Go find them.
73
+
74
+ **Negation** is the failure mode beside this lever: steering by prohibition drags the forbidden behaviour into context and makes it _more_ available, not less. _Don't think of an elephant_, and the elephant is all there is; the negation is a weak modifier the strongly-activated concept overruns, so the ban half-reads as an instruction to do the thing. Prompt the **positive**: state the target behaviour ("write one-line comments") so the banned one is never spoken. A prohibition earns its place only as a hard guardrail you cannot phrase positively; even then, pair it with the positive target so attention lands on what to do.
75
+
76
+ ## Pruning
77
+
78
+ - Keep each meaning in a **single source of truth**: one authoritative place, so changing the behaviour is a one-place edit. **Duplication** (the same meaning in more than one place) costs maintenance and tokens, and inflates a meaning's prominence on the ladder past its real rank. (The accidental inverse of a leading word, which repeats a token on purpose, never the meaning.)
79
+ - The **environment** is a source of truth too (`package.json` scripts, config files, the directory layout, `--help` output), and a document that restates it is a **cache**: a copy of a lookup, earning its load only when the lookup is expensive. Cache what the agent cannot find by looking: the unwritten convention, the reason behind a choice, the gotcha no config confesses. Leave the one-file, one-command lookups to the environment, where they cannot go stale.
80
+ - Check every line for **relevance**: does it still bear on what the document does? A line loses relevance by never bearing on the task (mere exposition, or a branch that should be disclosed) or by going stale as the behaviour or world it describes changes. Shorter documents are easier to keep relevant. Without a pruning discipline the default fate is **sediment**: stale layers that settle because adding feels safe and removing feels risky, until you must core down through them to find what is still live.
81
+ - Hunt **no-ops** sentence by sentence: an instruction the model already obeys by default pays load to say nothing. The test (does it change behaviour versus the default?) is model-relative, not reader-relative: two people disagreeing about a no-op disagree about the default, and settle it by running the document, not by debate. When a sentence fails, delete the whole sentence rather than trim words from it. The test also grades leading words: a word too weak to beat the default (_be thorough_ when the agent is already thorough-ish) is a no-op, and the fix is a stronger word (_relentless_), not a different technique.
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Writing for Agents"
3
+ short_description: "Write documents agents consume"
package/AGENTS.md ADDED
@@ -0,0 +1,13 @@
1
+ ## Agent skills
2
+
3
+ ### Issue tracker
4
+
5
+ Issues and specs live as GitHub issues in `buka-ltd/npm.nestjs-kit`, managed with the `gh` CLI. See `docs/agents/issue-tracker.md`.
6
+
7
+ ### Triage labels
8
+
9
+ The five default triage labels (`needs-triage`, `needs-info`, `ready-for-agent`, `ready-for-human`, `wontfix`). See `docs/agents/triage-labels.md`.
10
+
11
+ ### Domain docs
12
+
13
+ Single-context: one `GLOSSARY.md` and `docs/adr/` at the repo root. See `docs/agents/domain.md`.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.8.0](https://github.com/buka-ltd/npm.nestjs-kit/compare/v4.7.1...v4.8.0) (2026-11-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * 新增客户端门禁异常 ClientGateExceptions ([45c0a5c](https://github.com/buka-ltd/npm.nestjs-kit/commit/45c0a5cbc935e85885c9d3d57442b3bc8f32d433))
9
+
10
+ ## [4.7.1](https://github.com/buka-ltd/npm.nestjs-kit/compare/v4.7.0...v4.7.1) (2026-11-13)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **validation-pipe:** 列表与字典中的 PrimaryKeyType 转换为托管引用 ([4134d36](https://github.com/buka-ltd/npm.nestjs-kit/commit/4134d36aaf5962c6a6adbe256067e61bb4602816))
16
+
3
17
  ## [4.7.0](https://github.com/buka-ltd/npm.nestjs-kit/compare/v4.6.0...v4.7.0) (2026-11-01)
4
18
 
5
19
 
package/GLOSSARY.md ADDED
@@ -0,0 +1,21 @@
1
+ # @buka/nestjs-kit
2
+
3
+ Buka API 规范的 NestJS 开发套件:库代码,以及随包分发、供 AI 编码助手使用的 skill。
4
+
5
+ ## Language
6
+
7
+ **编码规约**:
8
+ NestJS 业务代码必须符合的强制规范,由 `nestjs-kit-coding-standards` 承载;规约范围内未写明的东西不属其管辖。
9
+ _Avoid_: 编写规范、最佳实践、coding standards
10
+
11
+ **功能 skill**:
12
+ 介绍 kit 某个能力的用法、配置与边界的 skill,不带强制约束。
13
+ _Avoid_: 用法文档、API skill
14
+
15
+ **业务代码**:
16
+ 使用本 kit 的业务项目中由人工维护的 NestJS 源码;不含 kit 自身源码与构建产物。
17
+ _Avoid_: 用户代码、应用代码
18
+
19
+ **触发语**:
20
+ skill 描述里声明"何时加载"的那段话,决定模型是否会主动加载该 skill。
21
+ _Avoid_: 适用场景、使用条件
package/README.md CHANGED
@@ -38,7 +38,7 @@ npx skills update
38
38
 
39
39
  | Skill | 覆盖内容 |
40
40
  | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
41
- | `nestjs-kit-coding-standards` | 模块目录组织与 dto/entity/service/controller/query 的编写规范(@Model/Column/Cardinality/command/@FilterQuery/Slice/@IsBrowserRequest 等,references/ 按需加载) |
41
+ | `nestjs-kit-coding-standards` | 模块目录组织(features 功能分组、src/shared 跨模块共享层)与 dto/entity/service/controller/query 的编写规范(@Model/Column/Cardinality/command/@FilterQuery/Slice/@IsBrowserRequest 等,references/ 按需加载) |
42
42
  | `nestjs-kit-urn` | URN 格式规范、概念域与资源段、通配匹配 |
43
43
  | `nestjs-kit-exception` | 异常工厂、@ModuleExceptions、错误码体系 |
44
44
  | `nestjs-kit-logger` | LoggerModule、@InjectLogger、LoggerConfig |
package/dist/index.d.mts CHANGED
@@ -17490,6 +17490,96 @@ declare class BukaExceptions {
17490
17490
  static readonly ServiceUnavailable: ExceptionConstructor;
17491
17491
  }
17492
17492
  //#endregion
17493
+ //#region src/modules/exception/client-gate.exceptions.d.ts
17494
+ /** 门禁详情的基础形态 */
17495
+ interface ClientGateDetail extends ExceptionDetail$1 {
17496
+ /** 详情类型;门禁固定为 `client_gate` */
17497
+ readonly type: 'client_gate';
17498
+ }
17499
+ /** 客户端版本过低 */
17500
+ interface ClientVersionRejectedDetail extends ClientGateDetail {
17501
+ readonly minVersion: string;
17502
+ readonly currentVersion: string;
17503
+ readonly platform: string;
17504
+ }
17505
+ /** 缺少或失去付费资格 */
17506
+ interface EntitlementDetail extends ClientGateDetail {
17507
+ readonly planCode?: string;
17508
+ readonly expiresAt?: string;
17509
+ }
17510
+ /** 计划内维护 */
17511
+ interface MaintenanceDetail extends ClientGateDetail {
17512
+ readonly estimatedRecoveryAt?: string;
17513
+ readonly notice?: string;
17514
+ }
17515
+ /** 功能未开放 */
17516
+ interface CapabilityUnavailableDetail extends ClientGateDetail {
17517
+ readonly capability?: string;
17518
+ }
17519
+ /** 已达当前方案上限 */
17520
+ interface PlanLimitDetail extends ClientGateDetail {
17521
+ /** 触碰上限的资源标识,取值由调用方定义 */
17522
+ readonly resource: string;
17523
+ /** 当前数量 */
17524
+ readonly current: number;
17525
+ /** 方案允许的上限 */
17526
+ readonly max: number;
17527
+ }
17528
+ /**
17529
+ * 客户端门禁(moduleId: 1)
17530
+ *
17531
+ * 公共/基础设施号段的「客户端门禁」模块:表示用户当前做不了某件事,且必须完成
17532
+ * 一个固定动作才能恢复。占用公共号段意味着任何系统都可抛出,它不是某个系统的业务语义。
17533
+ *
17534
+ * - 类别恒为 `FEATURE`(HTTP 403);
17535
+ * - 参数走 `details`(调用时作为最后一个参数传入详情数组),详情以 `type: 'client_gate'` 标识。
17536
+ *
17537
+ * @example
17538
+ * ```typescript
17539
+ * throw new ClientGateExceptions.PlanLimitReached('成员', 15, 10, [
17540
+ * { type: 'client_gate', resource: 'members', current: 15, max: 10 },
17541
+ * ])
17542
+ * ```
17543
+ */
17544
+ declare class ClientGateExceptions {
17545
+ /**
17546
+ * 客户端版本过低
17547
+ *
17548
+ * 客户端应展示不可关闭的全屏阻断页,并引导更新。
17549
+ */
17550
+ static readonly ClientVersionRejected: ExceptionConstructorWithArgs<[minVersion: string, currentVersion: string]>;
17551
+ /**
17552
+ * 需要付费资格
17553
+ *
17554
+ * 用于仅对付费方案开放的专属能力;免费方案本就合法的情况用「已达当前方案上限」。
17555
+ */
17556
+ static readonly EntitlementRequired: ExceptionConstructorWithArgs<[]>;
17557
+ /**
17558
+ * 付费资格已失效
17559
+ *
17560
+ * 到期后按软降级处理:存量数据可读可改可删,只在触发受限动作时阻断。
17561
+ */
17562
+ static readonly EntitlementExpired: ExceptionConstructorWithArgs<[]>;
17563
+ /**
17564
+ * 服务维护中
17565
+ *
17566
+ * 维护的主通道是客户端启动时拉取维护窗口(后端在维护中往往不可用),本码只在前端漏判时兜底。
17567
+ */
17568
+ static readonly Maintenance: ExceptionConstructorWithArgs<[]>;
17569
+ /**
17570
+ * 功能未开放
17571
+ *
17572
+ * 客户端版本已满足要求,但该能力在当前配置下未开启(按版本关闭、灰度等)。
17573
+ */
17574
+ static readonly CapabilityUnavailable: ExceptionConstructorWithArgs<[]>;
17575
+ /**
17576
+ * 已达当前方案上限
17577
+ *
17578
+ * 资源名与资源标识都由调用方给出:库只提供文案模板,不持有任何产品的资源词汇。
17579
+ */
17580
+ static readonly PlanLimitReached: ExceptionConstructorWithArgs<[resourceLabel: string, current: number, max: number]>;
17581
+ }
17582
+ //#endregion
17493
17583
  //#region src/modules/exception/filters/exception.filter.d.ts
17494
17584
  /**
17495
17585
  * 全局异常过滤器
@@ -18048,5 +18138,5 @@ declare function throwOnResponseError(options?: ThrowOnResponseErrorOptions): Ke
18048
18138
  */
18049
18139
  declare function stableStringify(value: unknown): string;
18050
18140
  //#endregion
18051
- export { AssociationMetadata, AuthException, BUKA_MODULE_OPTIONS_TOKEN, Base32, BlindIndex, BlindIndexHasher, BlindIndexModule, BlindIndexService, BlindIndexV1Hasher, BukaConfigurableModuleClass, BukaExceptions, BukaModule, BukaModuleOptions, BukaPageQueryValidationPipe, BukaRequestException, type BukaRequestExceptionOptions, 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, ICollectionOperator, IEntityPrimaryKey, IFilter, IFilterQuery, IListResponseBody, IListResponseBodyMeta, INestedOperator, INextCursorPageParameters, IObjectOperator, IOffsetPageParameters, IOrderQuery, IPageQuery, IPreviousCursorPageParameters, IPropertyOperator, IResponseBody, IS_CROCKFORD_BASE32, IS_DOMAIN_URN, IS_ENUM_COLUMN, IS_SCALAR_DICTIONARY, IS_URN, IScalarOperator, InjectLogger, IntersectionType, IsBrowserRequest, IsCrockfordBase32, IsDomainUrn, IsEnumColumn, 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, type OperationObject, OptionalPageQuery, OrderQueryType, PageQuery, ParseUUIDv7Pipe, PartialType, PendingException, PickType, PreviousCursorPageSchema, PrimaryKeyType, PrimaryKeyTypeClassMetadataPropertyKey, Property, PropertyKind, PropertyMetadata, RateLimitException, type ReencryptCommand, RefAssociationMetadata, type ResolveExceptions, ResponseBodyType, SKIP_UNIFIED_EXCEPTION_RESPONSE_EXTENSION, SaltedHash, SaltedHashHasher, SaltedHashModule, SaltedHashService, SaltedHashV1Hasher, ScalarClass, ScalarPropertyMetadata, type SchemaObject, SkipUnifiedExceptionResponse, Slice, type SwaggerHttpMethod, SwaggerPatcher, SystemException, ThirdPartyException, type ThrowOnResponseErrorOptions, TimestampedEntity, type UnifyExceptionResponsesFilterContext, type UnifyExceptionResponsesOptions, Urn, VALIDATE_NESTED_DICTIONARY, ValidateNestedDictionary, ValidationException, getExceptionModuleId, getFilterQueryOperators, isScalarClass, serializeModel, setOpenBaoToken, stableStringify, throwOnResponseError };
18141
+ export { AssociationMetadata, AuthException, BUKA_MODULE_OPTIONS_TOKEN, Base32, BlindIndex, BlindIndexHasher, BlindIndexModule, BlindIndexService, BlindIndexV1Hasher, BukaConfigurableModuleClass, BukaExceptions, BukaModule, BukaModuleOptions, BukaPageQueryValidationPipe, BukaRequestException, type BukaRequestExceptionOptions, BukaValidationPipe, BusinessException, type CapabilityUnavailableDetail, Cardinality, type CipherMetadata, type ClientGateDetail, ClientGateExceptions, type ClientVersionRejectedDetail, CollectionAssociationMetadata, Column, Composite, CompositePropertyMetadata, ConfigurableModuleClass, ConflictException, CursorPagination, DatabaseConfig, type DecryptCommand, DegradeException, Dictionary, DictionaryPropertyMetadata, DiscreteEntity, type EncryptCommand, EncryptedPayload, type EntitlementDetail, 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, ICollectionOperator, IEntityPrimaryKey, IFilter, IFilterQuery, IListResponseBody, IListResponseBodyMeta, INestedOperator, INextCursorPageParameters, IObjectOperator, IOffsetPageParameters, IOrderQuery, IPageQuery, IPreviousCursorPageParameters, IPropertyOperator, IResponseBody, IS_CROCKFORD_BASE32, IS_DOMAIN_URN, IS_ENUM_COLUMN, IS_SCALAR_DICTIONARY, IS_URN, IScalarOperator, InjectLogger, IntersectionType, IsBrowserRequest, IsCrockfordBase32, IsDomainUrn, IsEnumColumn, IsHidden, IsOpt, IsScalar, IsScalarDictionary, IsUrn, KeyEnvelope, LinearEntity, List, ListErrorCodesResponseDto, ListPropertyMetadata, ListResponseBodyType, Logger, LoggerConfig, LoggerErrorInterceptor, LoggerModule, type LoggerModuleOptions, MATCH_JSON_SCHEMA, MODULE_OPTIONS_TOKEN, type MaintenanceDetail, 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, type OperationObject, OptionalPageQuery, OrderQueryType, PageQuery, ParseUUIDv7Pipe, PartialType, PendingException, PickType, type PlanLimitDetail, PreviousCursorPageSchema, PrimaryKeyType, PrimaryKeyTypeClassMetadataPropertyKey, Property, PropertyKind, PropertyMetadata, RateLimitException, type ReencryptCommand, RefAssociationMetadata, type ResolveExceptions, ResponseBodyType, SKIP_UNIFIED_EXCEPTION_RESPONSE_EXTENSION, SaltedHash, SaltedHashHasher, SaltedHashModule, SaltedHashService, SaltedHashV1Hasher, ScalarClass, ScalarPropertyMetadata, type SchemaObject, SkipUnifiedExceptionResponse, Slice, type SwaggerHttpMethod, SwaggerPatcher, SystemException, ThirdPartyException, type ThrowOnResponseErrorOptions, TimestampedEntity, type UnifyExceptionResponsesFilterContext, type UnifyExceptionResponsesOptions, Urn, VALIDATE_NESTED_DICTIONARY, ValidateNestedDictionary, ValidationException, getExceptionModuleId, getFilterQueryOperators, isScalarClass, serializeModel, setOpenBaoToken, stableStringify, throwOnResponseError };
18052
18142
  //# sourceMappingURL=index.d.mts.map
package/dist/index.d.ts CHANGED
@@ -17490,6 +17490,96 @@ declare class BukaExceptions {
17490
17490
  static readonly ServiceUnavailable: ExceptionConstructor;
17491
17491
  }
17492
17492
  //#endregion
17493
+ //#region src/modules/exception/client-gate.exceptions.d.ts
17494
+ /** 门禁详情的基础形态 */
17495
+ interface ClientGateDetail extends ExceptionDetail$1 {
17496
+ /** 详情类型;门禁固定为 `client_gate` */
17497
+ readonly type: 'client_gate';
17498
+ }
17499
+ /** 客户端版本过低 */
17500
+ interface ClientVersionRejectedDetail extends ClientGateDetail {
17501
+ readonly minVersion: string;
17502
+ readonly currentVersion: string;
17503
+ readonly platform: string;
17504
+ }
17505
+ /** 缺少或失去付费资格 */
17506
+ interface EntitlementDetail extends ClientGateDetail {
17507
+ readonly planCode?: string;
17508
+ readonly expiresAt?: string;
17509
+ }
17510
+ /** 计划内维护 */
17511
+ interface MaintenanceDetail extends ClientGateDetail {
17512
+ readonly estimatedRecoveryAt?: string;
17513
+ readonly notice?: string;
17514
+ }
17515
+ /** 功能未开放 */
17516
+ interface CapabilityUnavailableDetail extends ClientGateDetail {
17517
+ readonly capability?: string;
17518
+ }
17519
+ /** 已达当前方案上限 */
17520
+ interface PlanLimitDetail extends ClientGateDetail {
17521
+ /** 触碰上限的资源标识,取值由调用方定义 */
17522
+ readonly resource: string;
17523
+ /** 当前数量 */
17524
+ readonly current: number;
17525
+ /** 方案允许的上限 */
17526
+ readonly max: number;
17527
+ }
17528
+ /**
17529
+ * 客户端门禁(moduleId: 1)
17530
+ *
17531
+ * 公共/基础设施号段的「客户端门禁」模块:表示用户当前做不了某件事,且必须完成
17532
+ * 一个固定动作才能恢复。占用公共号段意味着任何系统都可抛出,它不是某个系统的业务语义。
17533
+ *
17534
+ * - 类别恒为 `FEATURE`(HTTP 403);
17535
+ * - 参数走 `details`(调用时作为最后一个参数传入详情数组),详情以 `type: 'client_gate'` 标识。
17536
+ *
17537
+ * @example
17538
+ * ```typescript
17539
+ * throw new ClientGateExceptions.PlanLimitReached('成员', 15, 10, [
17540
+ * { type: 'client_gate', resource: 'members', current: 15, max: 10 },
17541
+ * ])
17542
+ * ```
17543
+ */
17544
+ declare class ClientGateExceptions {
17545
+ /**
17546
+ * 客户端版本过低
17547
+ *
17548
+ * 客户端应展示不可关闭的全屏阻断页,并引导更新。
17549
+ */
17550
+ static readonly ClientVersionRejected: ExceptionConstructorWithArgs<[minVersion: string, currentVersion: string]>;
17551
+ /**
17552
+ * 需要付费资格
17553
+ *
17554
+ * 用于仅对付费方案开放的专属能力;免费方案本就合法的情况用「已达当前方案上限」。
17555
+ */
17556
+ static readonly EntitlementRequired: ExceptionConstructorWithArgs<[]>;
17557
+ /**
17558
+ * 付费资格已失效
17559
+ *
17560
+ * 到期后按软降级处理:存量数据可读可改可删,只在触发受限动作时阻断。
17561
+ */
17562
+ static readonly EntitlementExpired: ExceptionConstructorWithArgs<[]>;
17563
+ /**
17564
+ * 服务维护中
17565
+ *
17566
+ * 维护的主通道是客户端启动时拉取维护窗口(后端在维护中往往不可用),本码只在前端漏判时兜底。
17567
+ */
17568
+ static readonly Maintenance: ExceptionConstructorWithArgs<[]>;
17569
+ /**
17570
+ * 功能未开放
17571
+ *
17572
+ * 客户端版本已满足要求,但该能力在当前配置下未开启(按版本关闭、灰度等)。
17573
+ */
17574
+ static readonly CapabilityUnavailable: ExceptionConstructorWithArgs<[]>;
17575
+ /**
17576
+ * 已达当前方案上限
17577
+ *
17578
+ * 资源名与资源标识都由调用方给出:库只提供文案模板,不持有任何产品的资源词汇。
17579
+ */
17580
+ static readonly PlanLimitReached: ExceptionConstructorWithArgs<[resourceLabel: string, current: number, max: number]>;
17581
+ }
17582
+ //#endregion
17493
17583
  //#region src/modules/exception/filters/exception.filter.d.ts
17494
17584
  /**
17495
17585
  * 全局异常过滤器
@@ -18048,5 +18138,5 @@ declare function throwOnResponseError(options?: ThrowOnResponseErrorOptions): Ke
18048
18138
  */
18049
18139
  declare function stableStringify(value: unknown): string;
18050
18140
  //#endregion
18051
- export { AssociationMetadata, AuthException, BUKA_MODULE_OPTIONS_TOKEN, Base32, BlindIndex, BlindIndexHasher, BlindIndexModule, BlindIndexService, BlindIndexV1Hasher, BukaConfigurableModuleClass, BukaExceptions, BukaModule, BukaModuleOptions, BukaPageQueryValidationPipe, BukaRequestException, type BukaRequestExceptionOptions, 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, ICollectionOperator, IEntityPrimaryKey, IFilter, IFilterQuery, IListResponseBody, IListResponseBodyMeta, INestedOperator, INextCursorPageParameters, IObjectOperator, IOffsetPageParameters, IOrderQuery, IPageQuery, IPreviousCursorPageParameters, IPropertyOperator, IResponseBody, IS_CROCKFORD_BASE32, IS_DOMAIN_URN, IS_ENUM_COLUMN, IS_SCALAR_DICTIONARY, IS_URN, IScalarOperator, InjectLogger, IntersectionType, IsBrowserRequest, IsCrockfordBase32, IsDomainUrn, IsEnumColumn, 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, type OperationObject, OptionalPageQuery, OrderQueryType, PageQuery, ParseUUIDv7Pipe, PartialType, PendingException, PickType, PreviousCursorPageSchema, PrimaryKeyType, PrimaryKeyTypeClassMetadataPropertyKey, Property, PropertyKind, PropertyMetadata, RateLimitException, type ReencryptCommand, RefAssociationMetadata, type ResolveExceptions, ResponseBodyType, SKIP_UNIFIED_EXCEPTION_RESPONSE_EXTENSION, SaltedHash, SaltedHashHasher, SaltedHashModule, SaltedHashService, SaltedHashV1Hasher, ScalarClass, ScalarPropertyMetadata, type SchemaObject, SkipUnifiedExceptionResponse, Slice, type SwaggerHttpMethod, SwaggerPatcher, SystemException, ThirdPartyException, type ThrowOnResponseErrorOptions, TimestampedEntity, type UnifyExceptionResponsesFilterContext, type UnifyExceptionResponsesOptions, Urn, VALIDATE_NESTED_DICTIONARY, ValidateNestedDictionary, ValidationException, getExceptionModuleId, getFilterQueryOperators, isScalarClass, serializeModel, setOpenBaoToken, stableStringify, throwOnResponseError };
18141
+ export { AssociationMetadata, AuthException, BUKA_MODULE_OPTIONS_TOKEN, Base32, BlindIndex, BlindIndexHasher, BlindIndexModule, BlindIndexService, BlindIndexV1Hasher, BukaConfigurableModuleClass, BukaExceptions, BukaModule, BukaModuleOptions, BukaPageQueryValidationPipe, BukaRequestException, type BukaRequestExceptionOptions, BukaValidationPipe, BusinessException, type CapabilityUnavailableDetail, Cardinality, type CipherMetadata, type ClientGateDetail, ClientGateExceptions, type ClientVersionRejectedDetail, CollectionAssociationMetadata, Column, Composite, CompositePropertyMetadata, ConfigurableModuleClass, ConflictException, CursorPagination, DatabaseConfig, type DecryptCommand, DegradeException, Dictionary, DictionaryPropertyMetadata, DiscreteEntity, type EncryptCommand, EncryptedPayload, type EntitlementDetail, 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, ICollectionOperator, IEntityPrimaryKey, IFilter, IFilterQuery, IListResponseBody, IListResponseBodyMeta, INestedOperator, INextCursorPageParameters, IObjectOperator, IOffsetPageParameters, IOrderQuery, IPageQuery, IPreviousCursorPageParameters, IPropertyOperator, IResponseBody, IS_CROCKFORD_BASE32, IS_DOMAIN_URN, IS_ENUM_COLUMN, IS_SCALAR_DICTIONARY, IS_URN, IScalarOperator, InjectLogger, IntersectionType, IsBrowserRequest, IsCrockfordBase32, IsDomainUrn, IsEnumColumn, IsHidden, IsOpt, IsScalar, IsScalarDictionary, IsUrn, KeyEnvelope, LinearEntity, List, ListErrorCodesResponseDto, ListPropertyMetadata, ListResponseBodyType, Logger, LoggerConfig, LoggerErrorInterceptor, LoggerModule, type LoggerModuleOptions, MATCH_JSON_SCHEMA, MODULE_OPTIONS_TOKEN, type MaintenanceDetail, 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, type OperationObject, OptionalPageQuery, OrderQueryType, PageQuery, ParseUUIDv7Pipe, PartialType, PendingException, PickType, type PlanLimitDetail, PreviousCursorPageSchema, PrimaryKeyType, PrimaryKeyTypeClassMetadataPropertyKey, Property, PropertyKind, PropertyMetadata, RateLimitException, type ReencryptCommand, RefAssociationMetadata, type ResolveExceptions, ResponseBodyType, SKIP_UNIFIED_EXCEPTION_RESPONSE_EXTENSION, SaltedHash, SaltedHashHasher, SaltedHashModule, SaltedHashService, SaltedHashV1Hasher, ScalarClass, ScalarPropertyMetadata, type SchemaObject, SkipUnifiedExceptionResponse, Slice, type SwaggerHttpMethod, SwaggerPatcher, SystemException, ThirdPartyException, type ThrowOnResponseErrorOptions, TimestampedEntity, type UnifyExceptionResponsesFilterContext, type UnifyExceptionResponsesOptions, Urn, VALIDATE_NESTED_DICTIONARY, ValidateNestedDictionary, ValidationException, getExceptionModuleId, getFilterQueryOperators, isScalarClass, serializeModel, setOpenBaoToken, stableStringify, throwOnResponseError };
18052
18142
  //# sourceMappingURL=index.d.ts.map