@venizia/ignis-atlas 0.1.0-1

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 (436) hide show
  1. package/LICENSE.md +104 -0
  2. package/README.md +144 -0
  3. package/dist/cjs/cli/modes.d.ts +29 -0
  4. package/dist/cjs/cli/modes.d.ts.map +1 -0
  5. package/dist/cjs/cli/modes.js +70 -0
  6. package/dist/cjs/cli/modes.js.map +1 -0
  7. package/dist/cjs/cli.d.ts +3 -0
  8. package/dist/cjs/cli.d.ts.map +1 -0
  9. package/dist/cjs/cli.js +60 -0
  10. package/dist/cjs/cli.js.map +1 -0
  11. package/dist/cjs/common/constants.d.ts +22 -0
  12. package/dist/cjs/common/constants.d.ts.map +1 -0
  13. package/dist/cjs/common/constants.js +32 -0
  14. package/dist/cjs/common/constants.js.map +1 -0
  15. package/dist/cjs/common/index.d.ts +3 -0
  16. package/dist/cjs/common/index.d.ts.map +1 -0
  17. package/dist/cjs/common/index.js +19 -0
  18. package/dist/cjs/common/index.js.map +1 -0
  19. package/dist/cjs/common/logger.d.ts +21 -0
  20. package/dist/cjs/common/logger.d.ts.map +1 -0
  21. package/dist/cjs/common/logger.js +50 -0
  22. package/dist/cjs/common/logger.js.map +1 -0
  23. package/dist/cjs/common/types.d.ts +5 -0
  24. package/dist/cjs/common/types.d.ts.map +1 -0
  25. package/dist/cjs/common/types.js +3 -0
  26. package/dist/cjs/common/types.js.map +1 -0
  27. package/dist/cjs/corpus/chunker.d.ts +12 -0
  28. package/dist/cjs/corpus/chunker.d.ts.map +1 -0
  29. package/dist/cjs/corpus/chunker.js +298 -0
  30. package/dist/cjs/corpus/chunker.js.map +1 -0
  31. package/dist/cjs/corpus/common/index.d.ts +2 -0
  32. package/dist/cjs/corpus/common/index.d.ts.map +1 -0
  33. package/dist/cjs/corpus/common/index.js +18 -0
  34. package/dist/cjs/corpus/common/index.js.map +1 -0
  35. package/dist/cjs/corpus/common/types.d.ts +37 -0
  36. package/dist/cjs/corpus/common/types.d.ts.map +1 -0
  37. package/dist/cjs/corpus/common/types.js +3 -0
  38. package/dist/cjs/corpus/common/types.js.map +1 -0
  39. package/dist/cjs/corpus/frontmatter.d.ts +13 -0
  40. package/dist/cjs/corpus/frontmatter.d.ts.map +1 -0
  41. package/dist/cjs/corpus/frontmatter.js +31 -0
  42. package/dist/cjs/corpus/frontmatter.js.map +1 -0
  43. package/dist/cjs/corpus/index.d.ts +6 -0
  44. package/dist/cjs/corpus/index.d.ts.map +1 -0
  45. package/dist/cjs/corpus/index.js +22 -0
  46. package/dist/cjs/corpus/index.js.map +1 -0
  47. package/dist/cjs/corpus/loader.d.ts +16 -0
  48. package/dist/cjs/corpus/loader.d.ts.map +1 -0
  49. package/dist/cjs/corpus/loader.js +72 -0
  50. package/dist/cjs/corpus/loader.js.map +1 -0
  51. package/dist/cjs/corpus/roots.d.ts +9 -0
  52. package/dist/cjs/corpus/roots.d.ts.map +1 -0
  53. package/dist/cjs/corpus/roots.js +30 -0
  54. package/dist/cjs/corpus/roots.js.map +1 -0
  55. package/dist/cjs/index.d.ts +2 -0
  56. package/dist/cjs/index.d.ts.map +1 -0
  57. package/dist/cjs/index.js +18 -0
  58. package/dist/cjs/index.js.map +1 -0
  59. package/dist/cjs/protocol/common/constants.d.ts +9 -0
  60. package/dist/cjs/protocol/common/constants.d.ts.map +1 -0
  61. package/dist/cjs/protocol/common/constants.js +13 -0
  62. package/dist/cjs/protocol/common/constants.js.map +1 -0
  63. package/dist/cjs/protocol/common/index.d.ts +4 -0
  64. package/dist/cjs/protocol/common/index.d.ts.map +1 -0
  65. package/dist/cjs/protocol/common/index.js +20 -0
  66. package/dist/cjs/protocol/common/index.js.map +1 -0
  67. package/dist/cjs/protocol/common/rpc-error.d.ts +9 -0
  68. package/dist/cjs/protocol/common/rpc-error.d.ts.map +1 -0
  69. package/dist/cjs/protocol/common/rpc-error.js +12 -0
  70. package/dist/cjs/protocol/common/rpc-error.js.map +1 -0
  71. package/dist/cjs/protocol/common/types.d.ts +32 -0
  72. package/dist/cjs/protocol/common/types.d.ts.map +1 -0
  73. package/dist/cjs/protocol/common/types.js +3 -0
  74. package/dist/cjs/protocol/common/types.js.map +1 -0
  75. package/dist/cjs/protocol/index.d.ts +3 -0
  76. package/dist/cjs/protocol/index.d.ts.map +1 -0
  77. package/dist/cjs/protocol/index.js +19 -0
  78. package/dist/cjs/protocol/index.js.map +1 -0
  79. package/dist/cjs/protocol/transport.d.ts +28 -0
  80. package/dist/cjs/protocol/transport.d.ts.map +1 -0
  81. package/dist/cjs/protocol/transport.js +155 -0
  82. package/dist/cjs/protocol/transport.js.map +1 -0
  83. package/dist/cjs/search/common/constants.d.ts +23 -0
  84. package/dist/cjs/search/common/constants.d.ts.map +1 -0
  85. package/dist/cjs/search/common/constants.js +56 -0
  86. package/dist/cjs/search/common/constants.js.map +1 -0
  87. package/dist/cjs/search/common/index.d.ts +3 -0
  88. package/dist/cjs/search/common/index.d.ts.map +1 -0
  89. package/dist/cjs/search/common/index.js +19 -0
  90. package/dist/cjs/search/common/index.js.map +1 -0
  91. package/dist/cjs/search/common/types.d.ts +18 -0
  92. package/dist/cjs/search/common/types.d.ts.map +1 -0
  93. package/dist/cjs/search/common/types.js +3 -0
  94. package/dist/cjs/search/common/types.js.map +1 -0
  95. package/dist/cjs/search/index.d.ts +4 -0
  96. package/dist/cjs/search/index.d.ts.map +1 -0
  97. package/dist/cjs/search/index.js +20 -0
  98. package/dist/cjs/search/index.js.map +1 -0
  99. package/dist/cjs/search/planner.d.ts +13 -0
  100. package/dist/cjs/search/planner.d.ts.map +1 -0
  101. package/dist/cjs/search/planner.js +58 -0
  102. package/dist/cjs/search/planner.js.map +1 -0
  103. package/dist/cjs/search/store.d.ts +37 -0
  104. package/dist/cjs/search/store.d.ts.map +1 -0
  105. package/dist/cjs/search/store.js +141 -0
  106. package/dist/cjs/search/store.js.map +1 -0
  107. package/dist/cjs/server/freshness.d.ts +40 -0
  108. package/dist/cjs/server/freshness.d.ts.map +1 -0
  109. package/dist/cjs/server/freshness.js +85 -0
  110. package/dist/cjs/server/freshness.js.map +1 -0
  111. package/dist/cjs/server.d.ts +12 -0
  112. package/dist/cjs/server.d.ts.map +1 -0
  113. package/dist/cjs/server.js +65 -0
  114. package/dist/cjs/server.js.map +1 -0
  115. package/dist/cjs/tools/common/index.d.ts +2 -0
  116. package/dist/cjs/tools/common/index.d.ts.map +1 -0
  117. package/dist/cjs/tools/common/index.js +18 -0
  118. package/dist/cjs/tools/common/index.js.map +1 -0
  119. package/dist/cjs/tools/common/schemas.d.ts +23 -0
  120. package/dist/cjs/tools/common/schemas.d.ts.map +1 -0
  121. package/dist/cjs/tools/common/schemas.js +37 -0
  122. package/dist/cjs/tools/common/schemas.js.map +1 -0
  123. package/dist/cjs/tools/get.tool.d.ts +6 -0
  124. package/dist/cjs/tools/get.tool.d.ts.map +1 -0
  125. package/dist/cjs/tools/get.tool.js +115 -0
  126. package/dist/cjs/tools/get.tool.js.map +1 -0
  127. package/dist/cjs/tools/index.d.ts +4 -0
  128. package/dist/cjs/tools/index.d.ts.map +1 -0
  129. package/dist/cjs/tools/index.js +20 -0
  130. package/dist/cjs/tools/index.js.map +1 -0
  131. package/dist/cjs/tools/search.tool.d.ts +6 -0
  132. package/dist/cjs/tools/search.tool.d.ts.map +1 -0
  133. package/dist/cjs/tools/search.tool.js +58 -0
  134. package/dist/cjs/tools/search.tool.js.map +1 -0
  135. package/dist/corpus/changelogs/2025-12-16-initial-architecture.md +145 -0
  136. package/dist/corpus/changelogs/2025-12-16-model-repo-datasource-refactor.md +300 -0
  137. package/dist/corpus/changelogs/2025-12-17-refactor.md +90 -0
  138. package/dist/corpus/changelogs/2025-12-18-performance-optimizations.md +130 -0
  139. package/dist/corpus/changelogs/2025-12-18-repository-validation-security.md +255 -0
  140. package/dist/corpus/changelogs/2025-12-26-nested-relations-and-generics.md +86 -0
  141. package/dist/corpus/changelogs/2025-12-26-transaction-support.md +57 -0
  142. package/dist/corpus/changelogs/2025-12-29-dynamic-binding-registration.md +104 -0
  143. package/dist/corpus/changelogs/2025-12-29-snowflake-uid-helper.md +100 -0
  144. package/dist/corpus/changelogs/2025-12-30-repository-enhancements.md +214 -0
  145. package/dist/corpus/changelogs/2025-12-31-json-path-filtering-array-operators.md +214 -0
  146. package/dist/corpus/changelogs/2025-12-31-string-id-custom-generator.md +137 -0
  147. package/dist/corpus/changelogs/2026-01-02-default-filter-and-repository-mixins.md +421 -0
  148. package/dist/corpus/changelogs/2026-01-05-range-queries-content-range.md +184 -0
  149. package/dist/corpus/changelogs/2026-01-06-basic-authentication.md +103 -0
  150. package/dist/corpus/changelogs/2026-01-07-controller-route-customization.md +190 -0
  151. package/dist/corpus/changelogs/2026-01-11-logger-optimization-hf-logger.md +254 -0
  152. package/dist/corpus/changelogs/2026-02-06-socket-io-integration-fix.md +541 -0
  153. package/dist/corpus/changelogs/2026-02-10-websocket-heartbeat-payload.md +173 -0
  154. package/dist/corpus/changelogs/2026-02-11-crypto-refactor-ecdh.md +217 -0
  155. package/dist/corpus/changelogs/2026-02-11-websocket-encrypted-delivery.md +209 -0
  156. package/dist/corpus/changelogs/2026-02-11-websocket-generic-types.md +134 -0
  157. package/dist/corpus/changelogs/2026-02-16-authorization-system.md +378 -0
  158. package/dist/corpus/changelogs/2026-02-26-core-helpers-decoupling.md +145 -0
  159. package/dist/corpus/changelogs/2026-02-27-jwks-authentication.md +391 -0
  160. package/dist/corpus/changelogs/2026-03-02-model-authorize-settings.md +155 -0
  161. package/dist/corpus/changelogs/2026-03-04-jwt-payload-field-codecs.md +219 -0
  162. package/dist/corpus/changelogs/2026-03-06-filter-offset-skip-fix.md +88 -0
  163. package/dist/corpus/changelogs/2026-03-10-kafka-helpers-refactor.md +225 -0
  164. package/dist/corpus/changelogs/2026-03-12-kafka-helpers-enhancement.md +169 -0
  165. package/dist/corpus/changelogs/2026-03-15-grpc-controller-system.md +281 -0
  166. package/dist/corpus/changelogs/2026-03-30-row-level-locking.md +134 -0
  167. package/dist/corpus/changelogs/2026-03-31-typescript-6-and-toolchain.md +100 -0
  168. package/dist/corpus/changelogs/2026-04-23-error-response-extra-fields.md +131 -0
  169. package/dist/corpus/changelogs/2026-05-05-refresh-token-endpoint.md +116 -0
  170. package/dist/corpus/changelogs/2026-05-08-crud-route-toggles-and-typed-responses.md +136 -0
  171. package/dist/corpus/changelogs/2026-05-20-relation-scope-default-limit.md +133 -0
  172. package/dist/corpus/changelogs/2026-05-21-mass-mutation-guards.md +102 -0
  173. package/dist/corpus/changelogs/2026-05-22-casbin-adapter-schema-qualification.md +72 -0
  174. package/dist/corpus/changelogs/2026-05-25-per-model-default-limit.md +68 -0
  175. package/dist/corpus/changelogs/2026-05-27-casbin-domain-matching-function.md +90 -0
  176. package/dist/corpus/changelogs/2026-06-02-authorize-scoped-rbac.md +105 -0
  177. package/dist/corpus/changelogs/2026-06-14-validation-codes-and-error-hardening.md +124 -0
  178. package/dist/corpus/changelogs/2026-06-18-auth-user-information-endpoint.md +69 -0
  179. package/dist/corpus/changelogs/2026-06-25-redis-helpers-refactor.md +199 -0
  180. package/dist/corpus/changelogs/2026-07-05-unified-repository-connectors.md +206 -0
  181. package/dist/corpus/changelogs/2026-07-08-typesense-advanced-search.md +72 -0
  182. package/dist/corpus/changelogs/2026-07-11-connectors-consistency-hardening.md +192 -0
  183. package/dist/corpus/changelogs/2026-07-11-postgres-driver-seam-supabase.md +146 -0
  184. package/dist/corpus/changelogs/2026-07-12-core-consolidation-dedup.md +127 -0
  185. package/dist/corpus/changelogs/2026-07-13-hardening-round.md +99 -0
  186. package/dist/corpus/changelogs/2026-07-14-driver-class-bundling.md +100 -0
  187. package/dist/corpus/changelogs/2026-07-16-error-catalog-and-structured-message.md +64 -0
  188. package/dist/corpus/changelogs/2026-07-16-secrets-vault-integration.md +72 -0
  189. package/dist/corpus/changelogs/2026-07-17-error-module-redesign.md +202 -0
  190. package/dist/corpus/changelogs/2026-07-17-logger-correctness-pass.md +46 -0
  191. package/dist/corpus/changelogs/2026-07-17-secrets-bundler-invisible-peers.md +30 -0
  192. package/dist/corpus/changelogs/2026-07-18-dependency-refresh.md +55 -0
  193. package/dist/corpus/changelogs/2026-07-18-logger-overhaul.md +104 -0
  194. package/dist/corpus/changelogs/2026-07-18-repository-read-retry.md +74 -0
  195. package/dist/corpus/changelogs/2026-07-20-casbin-custom-grants.md +72 -0
  196. package/dist/corpus/changelogs/2026-07-20-casbin-single-wave-extraction.md +58 -0
  197. package/dist/corpus/changelogs/2026-07-20-error-from-error-client.md +66 -0
  198. package/dist/corpus/changelogs/2026-07-21-casbin-connector-resolution-fix.md +36 -0
  199. package/dist/corpus/changelogs/2026-07-25-error-logging.md +129 -0
  200. package/dist/corpus/changelogs/2026-07-25-ignis-filter-package.md +75 -0
  201. package/dist/corpus/changelogs/2026-07-26-search-and-mail-error-codes.md +58 -0
  202. package/dist/corpus/changelogs/2026-08-01-relational-connector-lift.md +403 -0
  203. package/dist/corpus/changelogs/2026-08-02-sqlite-and-pglite-connectors.md +177 -0
  204. package/dist/corpus/changelogs/2026-08-05-search-dialect-relational-parity.md +90 -0
  205. package/dist/corpus/changelogs/2026-08-06-aes-pbkdf2-and-key-rotation.md +131 -0
  206. package/dist/corpus/changelogs/2026-08-07-default-query-by.md +62 -0
  207. package/dist/corpus/changelogs/2026-08-07-nested-fields-and-order-validation.md +75 -0
  208. package/dist/corpus/changelogs/2026-08-07-typesense-multi-search-transport.md +97 -0
  209. package/dist/corpus/changelogs/2026-08-12-json-log-arguments.md +69 -0
  210. package/dist/corpus/changelogs/2026-08-13-browser-pure-kernel.md +130 -0
  211. package/dist/corpus/changelogs/2026-08-18-esm-builds-and-one-default-stack.md +104 -0
  212. package/dist/corpus/changelogs/2026-08-18-opaque-uid-helper.md +43 -0
  213. package/dist/corpus/changelogs/2026-08-19-browser-bff-multi-tab.md +88 -0
  214. package/dist/corpus/changelogs/2026-08-19-service-authentication-phase-1.md +157 -0
  215. package/dist/corpus/changelogs/2026-08-21-service-authentication-strategy.md +127 -0
  216. package/dist/corpus/changelogs/2026-08-22-logger-color-off-outside-development.md +48 -0
  217. package/dist/corpus/changelogs/2026-08-24-query-wrapper-schemas.md +77 -0
  218. package/dist/corpus/changelogs/2026-08-29-casbin-domain-hierarchy.md +66 -0
  219. package/dist/corpus/changelogs/2026-08-30-authorize-no-enforcer-fails-closed.md +60 -0
  220. package/dist/corpus/changelogs/2026-08-30-crypto-hashing.md +158 -0
  221. package/dist/corpus/changelogs/2026-08-30-policy-definition-extra-variants.md +62 -0
  222. package/dist/corpus/changelogs/2026-08-30-row-scope-filter.md +221 -0
  223. package/dist/corpus/changelogs/2026-08-30-search-connector-health-and-import-contract.md +46 -0
  224. package/dist/corpus/changelogs/2026-08-30-tree-and-recursive-sql.md +188 -0
  225. package/dist/corpus/changelogs/2026-08-30-typed-where-clauses.md +114 -0
  226. package/dist/corpus/changelogs/2026-08-31-entity-id-brand.md +70 -0
  227. package/dist/corpus/changelogs/2026-08-31-event-bus-retry.md +143 -0
  228. package/dist/corpus/changelogs/2026-08-31-policy-domain-split-release-b.md +54 -0
  229. package/dist/corpus/changelogs/2026-08-31-policy-domain-split.md +175 -0
  230. package/dist/corpus/changelogs/2026-08-31-scope-filter-boot-checks.md +77 -0
  231. package/dist/corpus/changelogs/2026-09-02-bundle-safe-helpers.md +71 -0
  232. package/dist/corpus/changelogs/2026-09-02-decorator-artifact-registration.md +119 -0
  233. package/dist/corpus/changelogs/2026-09-03-deprecated-boot-api-removed.md +133 -0
  234. package/dist/corpus/changelogs/2026-09-04-dependency-floors-raised.md +61 -0
  235. package/dist/corpus/changelogs/2026-09-05-boot-checks.md +57 -0
  236. package/dist/corpus/changelogs/2026-09-05-core-drops-boot-dependency.md +44 -0
  237. package/dist/corpus/changelogs/2026-09-05-list-response-contract.md +74 -0
  238. package/dist/corpus/changelogs/2026-09-06-bun-serve-options.md +51 -0
  239. package/dist/corpus/changelogs/2026-09-06-ignis-atlas.md +54 -0
  240. package/dist/corpus/changelogs/2026-09-06-repository-inheritance-and-quiet-cli.md +46 -0
  241. package/dist/corpus/changelogs/2026-09-06-shared-singletons-across-module-copies.md +43 -0
  242. package/dist/corpus/changelogs/index.md +135 -0
  243. package/dist/corpus/changelogs/planned-schema-migrator.md +553 -0
  244. package/dist/corpus/changelogs/template.md +64 -0
  245. package/dist/corpus/wiki/best-practices/api-usage-examples.md +617 -0
  246. package/dist/corpus/wiki/best-practices/architectural-patterns.md +437 -0
  247. package/dist/corpus/wiki/best-practices/architecture-decisions.md +524 -0
  248. package/dist/corpus/wiki/best-practices/code-style-standards/advanced-patterns.md +283 -0
  249. package/dist/corpus/wiki/best-practices/code-style-standards/constants-configuration.md +240 -0
  250. package/dist/corpus/wiki/best-practices/code-style-standards/control-flow.md +280 -0
  251. package/dist/corpus/wiki/best-practices/code-style-standards/documentation.md +241 -0
  252. package/dist/corpus/wiki/best-practices/code-style-standards/function-patterns.md +178 -0
  253. package/dist/corpus/wiki/best-practices/code-style-standards/index.md +114 -0
  254. package/dist/corpus/wiki/best-practices/code-style-standards/naming-conventions.md +200 -0
  255. package/dist/corpus/wiki/best-practices/code-style-standards/route-definitions.md +205 -0
  256. package/dist/corpus/wiki/best-practices/code-style-standards/tooling.md +168 -0
  257. package/dist/corpus/wiki/best-practices/code-style-standards/type-safety.md +199 -0
  258. package/dist/corpus/wiki/best-practices/common-pitfalls.md +447 -0
  259. package/dist/corpus/wiki/best-practices/contribution-workflow.md +211 -0
  260. package/dist/corpus/wiki/best-practices/data-modeling.md +548 -0
  261. package/dist/corpus/wiki/best-practices/deployment-strategies.md +736 -0
  262. package/dist/corpus/wiki/best-practices/error-handling.md +604 -0
  263. package/dist/corpus/wiki/best-practices/index.md +206 -0
  264. package/dist/corpus/wiki/best-practices/performance-optimization.md +437 -0
  265. package/dist/corpus/wiki/best-practices/security-guidelines.md +523 -0
  266. package/dist/corpus/wiki/best-practices/testing-strategies.md +639 -0
  267. package/dist/corpus/wiki/best-practices/troubleshooting-tips.md +227 -0
  268. package/dist/corpus/wiki/extensions/atlas/index.md +65 -0
  269. package/dist/corpus/wiki/extensions/components/api-reference.md +268 -0
  270. package/dist/corpus/wiki/extensions/components/authentication/api.md +643 -0
  271. package/dist/corpus/wiki/extensions/components/authentication/errors.md +211 -0
  272. package/dist/corpus/wiki/extensions/components/authentication/index.md +171 -0
  273. package/dist/corpus/wiki/extensions/components/authentication/usage.md +464 -0
  274. package/dist/corpus/wiki/extensions/components/authorization/api.md +1509 -0
  275. package/dist/corpus/wiki/extensions/components/authorization/errors.md +397 -0
  276. package/dist/corpus/wiki/extensions/components/authorization/getting-started.md +227 -0
  277. package/dist/corpus/wiki/extensions/components/authorization/index.md +155 -0
  278. package/dist/corpus/wiki/extensions/components/authorization/usage.md +587 -0
  279. package/dist/corpus/wiki/extensions/components/health-check.md +227 -0
  280. package/dist/corpus/wiki/extensions/components/index.md +26 -0
  281. package/dist/corpus/wiki/extensions/components/mail/api.md +773 -0
  282. package/dist/corpus/wiki/extensions/components/mail/errors.md +190 -0
  283. package/dist/corpus/wiki/extensions/components/mail/index.md +182 -0
  284. package/dist/corpus/wiki/extensions/components/mail/usage.md +370 -0
  285. package/dist/corpus/wiki/extensions/components/request-tracker.md +152 -0
  286. package/dist/corpus/wiki/extensions/components/socket-io/api.md +728 -0
  287. package/dist/corpus/wiki/extensions/components/socket-io/errors.md +119 -0
  288. package/dist/corpus/wiki/extensions/components/socket-io/index.md +116 -0
  289. package/dist/corpus/wiki/extensions/components/socket-io/usage.md +429 -0
  290. package/dist/corpus/wiki/extensions/components/static-asset/api.md +593 -0
  291. package/dist/corpus/wiki/extensions/components/static-asset/errors.md +159 -0
  292. package/dist/corpus/wiki/extensions/components/static-asset/index.md +160 -0
  293. package/dist/corpus/wiki/extensions/components/static-asset/usage.md +253 -0
  294. package/dist/corpus/wiki/extensions/components/template/api-page.md +125 -0
  295. package/dist/corpus/wiki/extensions/components/template/errors-page.md +100 -0
  296. package/dist/corpus/wiki/extensions/components/template/index.md +104 -0
  297. package/dist/corpus/wiki/extensions/components/template/setup-page.md +134 -0
  298. package/dist/corpus/wiki/extensions/components/template/single-page.md +132 -0
  299. package/dist/corpus/wiki/extensions/components/template/usage-page.md +127 -0
  300. package/dist/corpus/wiki/extensions/components/websocket/api.md +416 -0
  301. package/dist/corpus/wiki/extensions/components/websocket/errors.md +128 -0
  302. package/dist/corpus/wiki/extensions/components/websocket/index.md +127 -0
  303. package/dist/corpus/wiki/extensions/components/websocket/usage.md +257 -0
  304. package/dist/corpus/wiki/extensions/helpers/cron/index.md +116 -0
  305. package/dist/corpus/wiki/extensions/helpers/crypto/index.md +136 -0
  306. package/dist/corpus/wiki/extensions/helpers/crypto/reference.md +544 -0
  307. package/dist/corpus/wiki/extensions/helpers/env/index.md +119 -0
  308. package/dist/corpus/wiki/extensions/helpers/error/index.md +373 -0
  309. package/dist/corpus/wiki/extensions/helpers/index.md +63 -0
  310. package/dist/corpus/wiki/extensions/helpers/inversion/index.md +142 -0
  311. package/dist/corpus/wiki/extensions/helpers/inversion/reference.md +531 -0
  312. package/dist/corpus/wiki/extensions/helpers/kafka/admin.md +210 -0
  313. package/dist/corpus/wiki/extensions/helpers/kafka/compile-binary.md +125 -0
  314. package/dist/corpus/wiki/extensions/helpers/kafka/consumer.md +422 -0
  315. package/dist/corpus/wiki/extensions/helpers/kafka/examples.md +154 -0
  316. package/dist/corpus/wiki/extensions/helpers/kafka/index.md +84 -0
  317. package/dist/corpus/wiki/extensions/helpers/kafka/producer.md +408 -0
  318. package/dist/corpus/wiki/extensions/helpers/kafka/schema-registry.md +194 -0
  319. package/dist/corpus/wiki/extensions/helpers/logger/hf-logger.md +220 -0
  320. package/dist/corpus/wiki/extensions/helpers/logger/index.md +156 -0
  321. package/dist/corpus/wiki/extensions/helpers/logger/pino.md +107 -0
  322. package/dist/corpus/wiki/extensions/helpers/logger/reference.md +938 -0
  323. package/dist/corpus/wiki/extensions/helpers/network/api.md +1067 -0
  324. package/dist/corpus/wiki/extensions/helpers/network/index.md +189 -0
  325. package/dist/corpus/wiki/extensions/helpers/queue/index.md +165 -0
  326. package/dist/corpus/wiki/extensions/helpers/queue/reference.md +490 -0
  327. package/dist/corpus/wiki/extensions/helpers/redis/index.md +159 -0
  328. package/dist/corpus/wiki/extensions/helpers/redis/reference.md +784 -0
  329. package/dist/corpus/wiki/extensions/helpers/secrets/index.md +136 -0
  330. package/dist/corpus/wiki/extensions/helpers/socket-io/api.md +618 -0
  331. package/dist/corpus/wiki/extensions/helpers/socket-io/index.md +167 -0
  332. package/dist/corpus/wiki/extensions/helpers/storage/api.md +1021 -0
  333. package/dist/corpus/wiki/extensions/helpers/storage/index.md +162 -0
  334. package/dist/corpus/wiki/extensions/helpers/template/index.md +69 -0
  335. package/dist/corpus/wiki/extensions/helpers/template/single-page.md +126 -0
  336. package/dist/corpus/wiki/extensions/helpers/types/index.md +143 -0
  337. package/dist/corpus/wiki/extensions/helpers/types/reference.md +708 -0
  338. package/dist/corpus/wiki/extensions/helpers/uid/index.md +259 -0
  339. package/dist/corpus/wiki/extensions/helpers/websocket/api.md +888 -0
  340. package/dist/corpus/wiki/extensions/helpers/websocket/index.md +139 -0
  341. package/dist/corpus/wiki/extensions/helpers/worker-thread/index.md +142 -0
  342. package/dist/corpus/wiki/extensions/helpers/worker-thread/reference.md +434 -0
  343. package/dist/corpus/wiki/extensions/index.md +46 -0
  344. package/dist/corpus/wiki/guides/core-concepts/application/bootstrapping.md +274 -0
  345. package/dist/corpus/wiki/guides/core-concepts/application/index.md +239 -0
  346. package/dist/corpus/wiki/guides/core-concepts/components-guide.md +513 -0
  347. package/dist/corpus/wiki/guides/core-concepts/components.md +155 -0
  348. package/dist/corpus/wiki/guides/core-concepts/dependency-injection.md +336 -0
  349. package/dist/corpus/wiki/guides/core-concepts/grpc-controllers.md +296 -0
  350. package/dist/corpus/wiki/guides/core-concepts/persistent/datasources.md +195 -0
  351. package/dist/corpus/wiki/guides/core-concepts/persistent/index.md +132 -0
  352. package/dist/corpus/wiki/guides/core-concepts/persistent/models.md +331 -0
  353. package/dist/corpus/wiki/guides/core-concepts/persistent/pglite.md +218 -0
  354. package/dist/corpus/wiki/guides/core-concepts/persistent/postgres-drivers.md +207 -0
  355. package/dist/corpus/wiki/guides/core-concepts/persistent/repositories.md +311 -0
  356. package/dist/corpus/wiki/guides/core-concepts/persistent/search-meilisearch.md +195 -0
  357. package/dist/corpus/wiki/guides/core-concepts/persistent/search-typesense.md +443 -0
  358. package/dist/corpus/wiki/guides/core-concepts/persistent/sqlite.md +296 -0
  359. package/dist/corpus/wiki/guides/core-concepts/persistent/transactions.md +238 -0
  360. package/dist/corpus/wiki/guides/core-concepts/rest-controllers.md +465 -0
  361. package/dist/corpus/wiki/guides/core-concepts/secrets-vault.md +177 -0
  362. package/dist/corpus/wiki/guides/core-concepts/services.md +389 -0
  363. package/dist/corpus/wiki/guides/get-started/5-minute-quickstart.md +163 -0
  364. package/dist/corpus/wiki/guides/get-started/philosophy.md +135 -0
  365. package/dist/corpus/wiki/guides/get-started/setup.md +136 -0
  366. package/dist/corpus/wiki/guides/index.md +82 -0
  367. package/dist/corpus/wiki/guides/migrations/boot-api-removal-migration.md +79 -0
  368. package/dist/corpus/wiki/guides/migrations/redis-helpers-migration.md +178 -0
  369. package/dist/corpus/wiki/guides/migrations/scoped-rbac-migration.md +300 -0
  370. package/dist/corpus/wiki/guides/migrations/unified-connectors-migration.md +114 -0
  371. package/dist/corpus/wiki/guides/reference/glossary.md +250 -0
  372. package/dist/corpus/wiki/guides/tutorials/building-a-crud-api.md +704 -0
  373. package/dist/corpus/wiki/guides/tutorials/complete-installation.md +440 -0
  374. package/dist/corpus/wiki/guides/tutorials/ecommerce-api.md +1442 -0
  375. package/dist/corpus/wiki/guides/tutorials/realtime-chat.md +1571 -0
  376. package/dist/corpus/wiki/guides/tutorials/testing.md +264 -0
  377. package/dist/corpus/wiki/index.md +5 -0
  378. package/dist/corpus/wiki/public/apple-touch-icon.png +0 -0
  379. package/dist/corpus/wiki/public/logo.svg +1 -0
  380. package/dist/corpus/wiki/public/og-image.png +0 -0
  381. package/dist/corpus/wiki/public/site.webmanifest +11 -0
  382. package/dist/corpus/wiki/references/base/application.md +482 -0
  383. package/dist/corpus/wiki/references/base/bootstrapping.md +351 -0
  384. package/dist/corpus/wiki/references/base/components.md +883 -0
  385. package/dist/corpus/wiki/references/base/connectors.md +121 -0
  386. package/dist/corpus/wiki/references/base/controllers.md +1022 -0
  387. package/dist/corpus/wiki/references/base/datasources-reference.md +598 -0
  388. package/dist/corpus/wiki/references/base/datasources.md +165 -0
  389. package/dist/corpus/wiki/references/base/dependency-injection.md +423 -0
  390. package/dist/corpus/wiki/references/base/filter-system/application-usage.md +215 -0
  391. package/dist/corpus/wiki/references/base/filter-system/array-operators.md +135 -0
  392. package/dist/corpus/wiki/references/base/filter-system/comparison-operators.md +110 -0
  393. package/dist/corpus/wiki/references/base/filter-system/default-filter.md +267 -0
  394. package/dist/corpus/wiki/references/base/filter-system/fields-order-pagination.md +244 -0
  395. package/dist/corpus/wiki/references/base/filter-system/index.md +149 -0
  396. package/dist/corpus/wiki/references/base/filter-system/json-filtering.md +122 -0
  397. package/dist/corpus/wiki/references/base/filter-system/list-operators.md +56 -0
  398. package/dist/corpus/wiki/references/base/filter-system/logical-operators.md +148 -0
  399. package/dist/corpus/wiki/references/base/filter-system/null-operators.md +80 -0
  400. package/dist/corpus/wiki/references/base/filter-system/pattern-matching.md +105 -0
  401. package/dist/corpus/wiki/references/base/filter-system/quick-reference.md +172 -0
  402. package/dist/corpus/wiki/references/base/filter-system/range-operators.md +53 -0
  403. package/dist/corpus/wiki/references/base/filter-system/tips.md +154 -0
  404. package/dist/corpus/wiki/references/base/filter-system/use-cases.md +394 -0
  405. package/dist/corpus/wiki/references/base/grpc-controllers.md +1020 -0
  406. package/dist/corpus/wiki/references/base/index.md +112 -0
  407. package/dist/corpus/wiki/references/base/middlewares.md +543 -0
  408. package/dist/corpus/wiki/references/base/models-reference.md +886 -0
  409. package/dist/corpus/wiki/references/base/models.md +154 -0
  410. package/dist/corpus/wiki/references/base/providers.md +728 -0
  411. package/dist/corpus/wiki/references/base/repositories/advanced.md +627 -0
  412. package/dist/corpus/wiki/references/base/repositories/index.md +152 -0
  413. package/dist/corpus/wiki/references/base/repositories/mixins.md +103 -0
  414. package/dist/corpus/wiki/references/base/repositories/relations.md +379 -0
  415. package/dist/corpus/wiki/references/base/repositories/soft-deletable.md +307 -0
  416. package/dist/corpus/wiki/references/base/secrets.md +267 -0
  417. package/dist/corpus/wiki/references/base/services.md +417 -0
  418. package/dist/corpus/wiki/references/configuration/environment-variables.md +498 -0
  419. package/dist/corpus/wiki/references/configuration/index.md +132 -0
  420. package/dist/corpus/wiki/references/index.md +172 -0
  421. package/dist/corpus/wiki/references/quick-reference.md +594 -0
  422. package/dist/corpus/wiki/references/utilities/date.md +50 -0
  423. package/dist/corpus/wiki/references/utilities/duration.md +85 -0
  424. package/dist/corpus/wiki/references/utilities/index.md +81 -0
  425. package/dist/corpus/wiki/references/utilities/jsx-reference.md +298 -0
  426. package/dist/corpus/wiki/references/utilities/jsx.md +131 -0
  427. package/dist/corpus/wiki/references/utilities/module.md +110 -0
  428. package/dist/corpus/wiki/references/utilities/parse.md +55 -0
  429. package/dist/corpus/wiki/references/utilities/performance.md +54 -0
  430. package/dist/corpus/wiki/references/utilities/promise.md +54 -0
  431. package/dist/corpus/wiki/references/utilities/request.md +85 -0
  432. package/dist/corpus/wiki/references/utilities/retry.md +148 -0
  433. package/dist/corpus/wiki/references/utilities/schema.md +69 -0
  434. package/dist/corpus/wiki/references/utilities/statuses-reference.md +360 -0
  435. package/dist/corpus/wiki/references/utilities/statuses.md +122 -0
  436. package/package.json +74 -0
@@ -0,0 +1,90 @@
1
+ ---
2
+ title: Search Filters Now Mean What Relational Filters Mean
3
+ description: An empty `or` used to match everything instead of nothing. Search dialects gain a compiled where-result, query-time field checking, and a published operator table.
4
+ ---
5
+
6
+ # Changelog - 2026-08-05
7
+
8
+ ## Search Filters Now Mean What Relational Filters Mean
9
+
10
+ <Badge type="danger" text="Security" /> <Badge type="warning" text="Breaking Change" /> <Badge type="info" text="Bug Fix" /> <Badge type="tip" text="Enhancement" />
11
+
12
+ **In one line.** The same `where` sent to Postgres and to a search engine now means the same thing - most importantly `or: []`, which used to widen a query instead of narrowing it.
13
+
14
+ ## What changed
15
+
16
+ - **An empty `or` matches nothing, not everything.** `where: { or: permittedOrgIds.map(...) }` on an empty permission list compiled to an empty filter string, which an engine reads as "no constraint". A scoped query returned the whole collection to an unpermitted caller. It now compiles to an absorbing "match nothing".
17
+ - **`deleteAll` can no longer truncate on an absorbing filter.** That same empty filter reached `deleteAll`'s "no effective where" branch, where `force: true` truncates - destroying everything the scope existed to protect. An absorbing where now deletes nothing.
18
+ - **Empty collections behave as they do in SQL.** `inq: []` and a bare `[]` match nothing; `nin: []` excludes nothing. Previously these emitted `field:=[]`, which engines reject as malformed.
19
+ - **A `where` on a field the collection never declared is a 400 naming the field**, rather than an engine failure surfacing as a 500. This mirrors relational's `Column NOT FOUND`.
20
+ - **Operators an engine cannot express are catalogued 400s naming the operator AND the engine.** Which engine backs a collection is what decides the answer, so a client has to be able to branch on it.
21
+ - **`notBetween` now works on both engines**, rewritten by De Morgan into `< min OR > max`.
22
+ - **Dialects publish `canExpress(operator)`** - a complete operator table, pinned by a conformance test against `QueryOperators.SCHEME_SET`, so no operator can go silently unclassified.
23
+
24
+ ## Who is affected
25
+
26
+ - **Anyone building a `where` from a possibly-empty list** (permission scopes, tag filters, id batches). **This is the security fix** - re-read any code that maps a list into `or` or `inq`. Behaviour changes from "returns everything" to "returns nothing", which is the correct answer.
27
+ - **Anyone calling `ISearchQueryDialect.toWhere` directly.** See Breaking changes.
28
+ - **Anyone filtering on a field absent from `defineSearchCollection`.** Previously it reached the engine and failed there; it is now refused up front with `core.search_engine.unknown_field`. Declare the field, or stop filtering on it.
29
+ - **Everyone else.** No action needed. `find`, `findOne`, `count` and `search` keep their signatures, and an ordinary filter compiles byte-identically to before.
30
+
31
+ ## Breaking changes
32
+
33
+ > [!WARNING]
34
+ > `ISearchQueryDialect.toWhere` now throws for a where that compiles to "match nothing". It is exported from `@venizia/ignis` and `@venizia/ignis/typesense`, so this is a public API change even though nothing inside core calls it.
35
+
36
+ `toWhere` returns a `string`, and a filter string cannot say "match nothing" - it returned `''`, which every caller reads as "no filter". That is the security bug above, so returning it was never a safe default to preserve.
37
+
38
+ **Before:**
39
+
40
+ ```typescript
41
+ // Silently returns '' - the caller applies no filter and matches EVERYTHING
42
+ const filterBy = dialect.toWhere({ where: { or: [] } });
43
+ ```
44
+
45
+ **After:**
46
+
47
+ ```typescript
48
+ const compiled = dialect.compileWhere({ where: { or: [] } });
49
+
50
+ switch (compiled.outcome) {
51
+ case SearchFilterOutcomes.FILTER:
52
+ return search({ filterBy: compiled.filterBy });
53
+ case SearchFilterOutcomes.MATCH_NONE:
54
+ return { hits: [], found: 0 }; // never ask the engine
55
+ case SearchFilterOutcomes.MATCH_ALL:
56
+ return search({}); // no filter, deliberately
57
+ }
58
+ ```
59
+
60
+ `toWhere` still returns a plain string for every non-absorbing where, so a caller that never builds a filter from a possibly-empty list needs no change. It is marked `@deprecated`.
61
+
62
+ ## Details
63
+
64
+ - Repositories compile the caller's `where` and the model's `defaultFilter.where` **separately**, then combine them. Only the caller's clause is field-checked - a `defaultFilter` naming a field the collection does not declare would otherwise make every request fail against itself.
65
+ - A model with no `defineSearchCollection` is **unvalidated, not empty**: field checking is skipped entirely, so entities without a collection definition behave exactly as before.
66
+ - Where the two engines legitimately differ they now say so instead of guessing. Meilisearch expresses `exists`, `notExists` and `is: null` natively; Typesense has no null at all - an optional field is either present or absent, and `filter_by` cannot test which - so those four are one limitation, reported with one message.
67
+
68
+ | Operator | relational | typesense | meilisearch |
69
+ |---|---|---|---|
70
+ | `eq` `ne` `gt` `gte` `lt` `lte` `in` `inq` `nin` `between` `notBetween` | yes | yes | yes |
71
+ | `is` `isn` | yes | value only | yes, incl. `null` |
72
+ | `exists` `notExists` | yes | **no** | yes |
73
+ | `not` | yes | no | no |
74
+ | `like` `ilike` `regexp` and friends | yes | no | no |
75
+ | `contains` `containedBy` `overlaps` | yes | no | no |
76
+
77
+ - `not` is classified unsupported on both engines rather than partially implemented. `not: 'x'` is a trivial rewrite but `not: { and: [...] }` needs De Morgan through an arbitrary tree, and an operator that works until it doesn't is worse than one that never does.
78
+ - **Known asymmetry, deliberate.** These new rejections carry catalogued codes; the relational branch's equivalents (`Invalid query operator`, `Column NOT FOUND`) stay uncoded. Cataloguing those means touching the SQL branch, and is scoped separately.
79
+ - **Known gap, deliberate.** A caller who cannot read a hidden field can still probe its value through filter results. That exposure is identical on the relational branch, which does not consult `hiddenProperties` when resolving a `where` either, so it is cross-cutting hardening rather than something to fix on one side only.
80
+
81
+ | File | Package |
82
+ |------|---------|
83
+ | `src/connectors/search/repositories/common/types.ts` | core |
84
+ | `src/connectors/search/repositories/common/dialect-helpers.ts` | core |
85
+ | `src/connectors/search/repositories/core/base.ts` | core |
86
+ | `src/connectors/search/repositories/core/readable.ts` | core |
87
+ | `src/connectors/search/repositories/core/persistable.ts` | core |
88
+ | `src/connectors/search/common/errors.ts` | core |
89
+ | `src/connectors/typesense/repositories/dialect/query-dialect.ts` | core |
90
+ | `src/connectors/meilisearch/repositories/dialect/query-dialect.ts` | core |
@@ -0,0 +1,131 @@
1
+ ---
2
+ title: AES Keys Derive with PBKDF2, and Ciphertext Carries a Key Id
3
+ description: AES key derivation moves from padding the secret to PBKDF2, the ciphertext gains a version and key-id header, and a keyring lets you rotate keys. Data written by an earlier IGNIS no longer decrypts with AES - read it with LegacyAES.
4
+ ---
5
+
6
+ # Changelog - 2026-08-06
7
+
8
+ ## AES Keys Derive with PBKDF2, and Ciphertext Carries a Key Id
9
+
10
+ <Badge type="danger" text="Breaking Change" /> <Badge type="tip" text="Security" /> <Badge type="tip" text="New Feature" />
11
+
12
+ **In one line.** Every AES ciphertext written by an earlier IGNIS stops decrypting with `AES`, and you either point those reads at `LegacyAES` or re-encrypt them.
13
+
14
+ ## The problem it solves
15
+
16
+ AES-256 needs a 32-byte key. IGNIS built one by padding or truncating your secret:
17
+
18
+ ```typescript
19
+ if (secret.length > length) return secret.slice(0, length);
20
+ return secret.padEnd(length, '0');
21
+ ```
22
+
23
+ A secret of `'abc'` became the key `'abc00000000000000000000000000000'` - almost no entropy. A 60-character secret lost everything past character 32. And guessing the secret handed over the key for free: there was no work factor between the two.
24
+
25
+ Key derivation now runs PBKDF2-SHA256 for 100,000 iterations. Any secret, short or long, produces a full-entropy key, and each brute-force guess costs 100,000 hashes instead of one string operation.
26
+
27
+ ## What changed
28
+
29
+ ### Key derivation
30
+
31
+ `normalizeSecretKey` now returns a `Buffer` instead of a `string`, and the `padEnd` option is gone.
32
+
33
+ ```typescript
34
+ // Before
35
+ normalizeSecretKey(opts: { secret: string; length: number; padEnd?: string }): string
36
+
37
+ // After
38
+ normalizeSecretKey(opts: { secret: string; length: number }): Buffer
39
+ ```
40
+
41
+ Derived keys are memoised per secret, so the 100,000 iterations run once per process rather than per call.
42
+
43
+ ### Ciphertext layout
44
+
45
+ The envelope became self-describing, because decryption has to know which key wrote it:
46
+
47
+ ```
48
+ Before: [iv(16)][authTag(16, gcm only)][ciphertext]
49
+ After: [version(1)][idLen(1)][id(idLen)][iv(16)][authTag(16, gcm only)][ciphertext]
50
+ ```
51
+
52
+ ### Key rotation
53
+
54
+ `secret` now accepts a keyring as well as a string. Encryption uses the first entry; decryption resolves the id in the envelope.
55
+
56
+ ```typescript
57
+ const KEYRING = [
58
+ { id: '2', secret: CURRENT_SECRET }, // everything new is written with this
59
+ { id: '1', secret: RETIRED_SECRET }, // kept only so older rows still read
60
+ ];
61
+
62
+ aes.encrypt({ message, secret: KEYRING });
63
+ aes.decrypt({ message: olderRow, secret: KEYRING });
64
+ ```
65
+
66
+ Rotating a key means prepending an entry, not re-encrypting your data.
67
+
68
+ ### `decrypt` no longer takes an `iv`
69
+
70
+ The envelope carries the IV, so a supplied one had nowhere to go. `IAESDecryptOptions` omits it and passing one is a compile error rather than a value silently discarded.
71
+
72
+ ## Who is affected
73
+
74
+ | You | Impact |
75
+ |---|---|
76
+ | Store AES ciphertext (a column, a cache entry, a file via `encryptFile`) | Those reads fail until you switch them to `LegacyAES` or re-encrypt |
77
+ | Set `applicationSecret` on a bearer-token service | Every already-issued token fails verification as `TOKEN_INVALID` |
78
+ | Call `normalizeSecretKey` yourself | Signature changed - `Buffer`, and no `padEnd` |
79
+ | Use `AES` only for data written after upgrading | No action |
80
+ | Use `ECDH`, `RSA` or hashing | No action |
81
+
82
+ The token case is the loud one: at deploy, every active session ends at once, and the log shows the ordinary `Invalid or expired token` warning. It looks exactly like normal expiry.
83
+
84
+ ## How to migrate
85
+
86
+ ### Reading data written before the upgrade
87
+
88
+ `LegacyAES` reproduces the old derivation and the old layout exactly. Point the read at it - no re-encryption needed.
89
+
90
+ ```typescript
91
+ import { LegacyAES } from '@venizia/ignis-helpers';
92
+
93
+ const legacy = LegacyAES.withAlgorithm('aes-256-cbc');
94
+ const plaintext = legacy.decrypt({ message: oldRow, secret: APPLICATION_SECRET });
95
+ ```
96
+
97
+ The two formats never cross-decrypt. `AES` rejects a legacy envelope on the version byte, `LegacyAES` fails the auth tag on a new one, and neither falls back on its own.
98
+
99
+ ### Keeping already-issued tokens valid
100
+
101
+ The bearer-token services take a `cipher`. Hand them `LegacyAES` and existing sessions keep working:
102
+
103
+ ```typescript
104
+ new JWSTokenService({
105
+ jwtSecret,
106
+ getTokenExpiresFn,
107
+ applicationSecret,
108
+ cipher: LegacyAES.withAlgorithm('aes-256-cbc'),
109
+ });
110
+ ```
111
+
112
+ `IJWSTokenServiceOptions`, `IJWKSIssuerOptions` and `IJWKSVerifierOptions` all accept it. Omit it and you get `AES`, so an application that has no old tokens needs no change.
113
+
114
+ Plan the switch back to `AES` yourself: issue new tokens under `AES` once the old ones have expired.
115
+
116
+ ### Re-encrypting instead
117
+
118
+ Read with `LegacyAES`, write with `AES`, in one pass over the data. Give the new writes a keyring from the start so the next rotation costs nothing.
119
+
120
+ ## Notes
121
+
122
+ - `DEFAULT_PAD_END` is still exported and is now `@deprecated`. `LegacyAES` uses it; nothing else does.
123
+ - A keyring entry with an empty `secret` is refused by name on both the encrypt and decrypt paths, instead of deriving a key from `''` and failing later inside OpenSSL.
124
+ - The PBKDF2 salt is a fixed constant. That is deliberate: the key must be derivable from the secret alone, with no salt stored beside the ciphertext. The iteration count, not the salt, is what makes guessing expensive.
125
+
126
+ **Files:**
127
+
128
+ - [`packages/helpers/src/modules/crypto/algorithms/aes.algorithm.ts`](https://github.com/VENIZIA-AI/ignis/blob/main/packages/helpers/src/modules/crypto/algorithms/aes.algorithm.ts)
129
+ - [`packages/helpers/src/modules/crypto/algorithms/aes-legacy.algorithm.ts`](https://github.com/VENIZIA-AI/ignis/blob/main/packages/helpers/src/modules/crypto/algorithms/aes-legacy.algorithm.ts)
130
+ - [`packages/helpers/src/modules/crypto/algorithms/base.algorithm.ts`](https://github.com/VENIZIA-AI/ignis/blob/main/packages/helpers/src/modules/crypto/algorithms/base.algorithm.ts)
131
+ - [`packages/core-server/src/components/auth/authenticate/services/bearer/abstract.service.ts`](https://github.com/VENIZIA-AI/ignis/blob/main/packages/core-server/src/components/auth/authenticate/services/bearer/abstract.service.ts)
@@ -0,0 +1,62 @@
1
+ ---
2
+ title: Call Sites No Longer Have to Know Which Fields Are Text
3
+ description: A collection can declare the fields a keyword search matches, so query_by stops being repeated at every call site and the sidecars bolted onto models can go.
4
+ ---
5
+
6
+ # Changelog - 2026-08-07
7
+
8
+ ## Call Sites No Longer Have to Know Which Fields Are Text
9
+
10
+ <Badge type="tip" text="New Feature" /> <Badge type="info" text="Enhancement" />
11
+
12
+ **In one line.** Typesense will not run a text search without being told which fields the text should match against, so **every call site had to carry that knowledge** - and applications bolted sidecars onto their models (`static searchDefaults = { queryBy: [...] }`) to avoid repeating it. A collection can now declare it once, beside `fields`, where it belongs.
13
+
14
+ ## What changed
15
+
16
+ - **`defaultQueryBy` on the collection definition.** The sibling of `defaultSort`: that one says how a collection *sorts*, this one says what *searching it means*.
17
+
18
+ ```typescript
19
+ defineSearchCollection({
20
+ name: 'merchants',
21
+ fields: [field.string('title'), field.string('description'), field.number('rating')],
22
+ defaultSort: 'rating', // how this collection sorts
23
+ defaultQueryBy: ['title', 'description'], // what searching it means
24
+ });
25
+ ```
26
+
27
+ - **A keyword search with no `queryBy` falls back to it.** `search({ mode: 'keyword', query: 'widget' })` now reaches the engine with `query_by: title,description`. An explicit caller `queryBy` still wins - this is a default, not an override.
28
+ - **It is validated where it is declared.** Every named field must exist, and must be a text field (`string` or `string[]`); the error names the collection, the field, and the offending type.
29
+
30
+ ## Who is affected
31
+
32
+ - **Anyone passing the same `queryBy` at every call site.** Declare it once and drop it from the calls. A model-side `searchDefaults` sidecar can go with it.
33
+ - **Anyone who does not declare `defaultQueryBy`.** Nothing changes at all. No default is invented.
34
+ - **Anyone using semantic or hybrid search.** Nothing changes; see below for why neither can be affected.
35
+ - **Anyone listing with a filter and no search term.** Nothing changes - and this was the case most at risk, so it is pinned by tests rather than assumed.
36
+
37
+ ## Behaviour changes
38
+
39
+ **The fallback is deliberately narrow, and every narrowing does work:**
40
+
41
+ | Case | `query_by` sent |
42
+ |---|---|
43
+ | keyword, real term, no caller `queryBy` | **the collection's default** |
44
+ | keyword, real term, caller supplied `queryBy` | the caller's - a default never overrides |
45
+ | keyword, term is `*`, blank, or absent | **none**, default declared or not |
46
+ | semantic | unchanged - it carries `vectorField`, never `queryBy` |
47
+ | hybrid | unchanged - its `queryBy` is **required** by the schema, so it is never absent |
48
+ | `find()` | unchanged - it always searches `q = '*'` and never sets `query_by` |
49
+
50
+ A `*` or blank term matches every document *regardless of field*, so naming fields for it means nothing - and a bare filter listing already reached the engine correctly as `q: '*'` with no `query_by`. A naive default would have broken exactly that, which is why it is a tested case rather than a remark.
51
+
52
+ ## Details
53
+
54
+ - **The type check lives in the DSL, not in an engine compiler** - a deliberate departure from `defaultSort`, whose numeric-scalar rule sits in the Typesense compiler. Two reasons. `default_sorting_field` is part of the *provisioned schema* and reaches a compiler; `defaultQueryBy` is a *per-query* parameter that reaches none, so deferring would mean it was checked nowhere and failed at query time as an engine error. And engines genuinely disagree about what is sortable, whereas "full-text matching needs text" is not an engine choice - the neutral vocabulary already names the two types that qualify.
55
+ - **The default is resolved in the repository, never in the dialect.** The repository knows the entity; `applySearchInput` is collection-blind by design and receives a complete input. Threading the collection into the dialect would make the engine layer depend on the model layer to save one indirection.
56
+ - **No page-depth or `maxOffset` member came along with it.** That is application policy, and this is one field.
57
+
58
+ | File | Package |
59
+ |------|---------|
60
+ | `src/connectors/search/models/types.ts` | core |
61
+ | `src/connectors/search/models/define-search-collection.ts` | core |
62
+ | `src/connectors/search/repositories/core/readable.ts` | core |
@@ -0,0 +1,75 @@
1
+ ---
2
+ title: Nested i18n Fields Become Filterable and Sortable
3
+ description: Denormalised fields like merchantName.en were indexed and facetable but unreachable by any caller - they now filter and sort, and a bad order field is a 400 instead of an engine error.
4
+ ---
5
+
6
+ # Changelog - 2026-08-07
7
+
8
+ ## Nested i18n Fields Become Filterable and Sortable
9
+
10
+ <Badge type="tip" text="New Feature" /> <Badge type="info" text="Bug Fix" /> <Badge type="warning" text="Behavior Change" />
11
+
12
+ **In one line.** A denormalised field such as `merchantName.en` was indexed, facetable, and completely unreachable - `search()` refused it as a "JSON-path field" - so **a merchant list could not be sorted by merchant name**; it now filters and sorts like any other field, because the collection's own field list decides what exists.
13
+
14
+ ## What changed
15
+
16
+ - **Dotted field names work.** `merchantName.en`, `organizerName.vi`, `zoneName.en` - every denormalised i18n field an application declares - are now usable in `where` and in `order`. They were rejected by a check that read a dot as a JSON path. Typesense has no such rule: with `enable_nested_fields`, a dotted name is an ordinary field name, and a collection declares it literally - `field.string('merchantName.en', { facet: true, optional: true })`.
17
+ - **`order` now validates the field name.** It previously checked only the *direction* and the field *count*, so an unknown sort field was passed to the engine verbatim and came back as an infrastructure error. It is now a 400 naming the field and the engine, exactly as an unknown `where` field already was. The relational reference has always resolved the ORDER column and thrown `Column NOT FOUND`; this closes the same divergence on the sibling path.
18
+ - **A nested field cannot be provisioned without its flag.** Declaring a dotted field name while `engineOverrides.typesense.enable_nested_fields` is unset now throws at compile time, naming the field and stating what to set. Without this, the mistake would surface later as an engine rejection at query time, far from the declaration that caused it.
19
+
20
+ ## Who is affected
21
+
22
+ - **Anyone with denormalised i18n fields.** This is the fix. Declare the flag (below) and they become filterable and sortable. No other action.
23
+ - **Anyone sorting by a field their collection does not declare.** Previously an engine error, now a 400 naming the field. The request failed before and fails now - only the error changed, and for the better.
24
+ - **Anyone who adds fields through `engineOverrides.typesense.fields` only.** Read the caveat below; this affects you.
25
+ - **Anyone whose entity carries no collection definition.** Nothing changes. An absent field list means *unvalidated*, not "no fields".
26
+
27
+ ## Enabling nested fields
28
+
29
+ The flag is per collection and deliberately **not** emitted automatically:
30
+
31
+ ```typescript
32
+ defineSearchCollection({
33
+ name: 'merchants',
34
+ fields: [
35
+ field.string('merchantName.en', { facet: true, optional: true }),
36
+ field.string('merchantName.vi', { facet: true, optional: true }),
37
+ ],
38
+ engineOverrides: { typesense: { enable_nested_fields: true } },
39
+ });
40
+ ```
41
+
42
+ Auto-enabling it would have been the smaller diff. It was rejected because what `enable_nested_fields` changes *beyond* making dotted names resolve is not established here, and emitting engine configuration on an unverified assumption is how surprises get built in. The compiler validates; it does not paper over.
43
+
44
+ ## Behaviour changes
45
+
46
+ **One judgment now governs both paths.** "Does the collection declare this field?" is asked by `where` and by `order`, through the same helper, so the two cannot drift into disagreeing about what exists. A dot is not special to that question:
47
+
48
+ | Field | Declared in `fields`? | Result |
49
+ |---|---|---|
50
+ | `merchantName.en` | yes | compiles - filter and sort both |
51
+ | `metadata.foo` | no | 400 naming the field and the engine |
52
+ | `title` | yes | compiles, as before |
53
+ | `titel` | no | 400 naming the field, as before |
54
+
55
+ The replacement error is strictly more useful. "Field NOT FOUND | field: `metadata.foo`" tells a caller what to fix; "does not support JSON-path fields" told them something that was not true of the engine.
56
+
57
+ > [!WARNING]
58
+ > **A field added ONLY through `engineOverrides.typesense.fields` is unknown to the dialect.** The list the dialect checks against is the neutral `fields` array on the collection definition, not the merged wire schema - so a field existing solely in the override is rejected as undeclared. This was already true of `where` since the parity release; `order` now inherits it. Declare such fields in `fields` as well, and keep the override for the engine-specific *attributes* it exists for.
59
+
60
+ `mode: 'raw'` is unaffected: it bypasses the dialect entirely, so no field checking applies to it. Same escape hatch, same consequences owned by its callers.
61
+
62
+ ## Details
63
+
64
+ - `capabilities` was already plumbed into `build()` by the parity release for the `where` path, but `SearchBaseRepository.buildQuery` never passed it - it withholds `where` and compiles it separately, so the repository's own `defaultWhere` is not field-checked against the caller's collection. That withholding is precisely why passing capabilities into `build()` now cannot double-validate anything: it reaches `order` and nothing else.
65
+ - A direct caller of `build()` who supplies both a `where` and `capabilities` gets both validated. That is correct for them - they are not the repository, and nothing of theirs is exempt.
66
+ - The nested-fields check reads the **merged** schema, so a dotted field appended through the override is checked too, and the flag is honoured wherever it was set.
67
+ - Meilisearch is untouched. Its dialect still does not validate `order`; the interface change is additive and optional, so nothing there had to move. Porting it is a decision to make, not a change to copy.
68
+
69
+ | File | Package |
70
+ |------|---------|
71
+ | `src/connectors/search/repositories/common/dialect-helpers.ts` | core |
72
+ | `src/connectors/search/repositories/common/types.ts` | core |
73
+ | `src/connectors/search/repositories/core/base.ts` | core |
74
+ | `src/connectors/typesense/repositories/dialect/query-dialect.ts` | core |
75
+ | `src/connectors/typesense/compiler.ts` | core |
@@ -0,0 +1,97 @@
1
+ ---
2
+ title: One Transport for Every Typesense Search
3
+ description: Large filters no longer fail, pages over 250 hits work, and an arbitrary skip is finally expressible - because every search now goes through /multi_search.
4
+ ---
5
+
6
+ # Changelog - 2026-08-07
7
+
8
+ ## One Transport for Every Typesense Search
9
+
10
+ <Badge type="tip" text="New Feature" /> <Badge type="info" text="Bug Fix" /> <Badge type="warning" text="Behavior Change" />
11
+
12
+ **In one line.** Every Typesense search - one collection or many - now travels as a POST to `/multi_search`, which removes three limits that had nothing to do with what callers were asking for.
13
+
14
+ ## What changed
15
+
16
+ - **A large `filter_by` no longer fails.** Single search was a GET, and Typesense refuses a GET query string over **4000 characters**. The binding constraint is that character budget, not a number of ids - how many fit depends entirely on how long each value is. A filter built from an authorization scope - `` organizerId:=[`uuid`, …] `` - spends it fast: as an illustration, 36-character uuids exhaust 4000 characters at roughly ninety ids, and past that the user could not search **at all**. Typesense names the remedy in the rejection itself - *"Query string exceeds max allowed length of 4000. Use the /multi_search end-point for larger payloads."* The query now travels in the request body.
17
+ - **A page over 250 hits works.** Typesense refuses more than `--max-per-page` (250) per page. A larger limit is served as consecutive windows inside **one** call, so the round-trip count stays at one however large the page.
18
+ - **`skip` no longer has to land on a page boundary.** `skip: 15, limit: 10` was rejected because a skip was expressed as a page *number*. Typesense supports `offset` natively, and the relational branch never had this rule - it passes `skip` straight through to the query builder.
19
+ - **`isFoundExact` tells the truth.** It was hardcoded `true`. When Typesense hits its search-time budget it sets `search_cutoff` and reports a partial count; that now surfaces as `isFoundExact: false`. Across windows it is AND-folded - one cut-off window makes the whole total an estimate.
20
+
21
+ ## Who is affected
22
+
23
+ - **Anyone whose users have many permitted scopes.** This is the fix. No action needed.
24
+ - **Anyone requesting more than 250 hits.** Previously an engine error; now it works. **Read the warning below.**
25
+ - **Anyone calling `connector.multiSearch()`.** No change: same signature, same raw envelope, error entries still passed through for you to inspect.
26
+ - **Anyone using `mode: 'raw'`.** No change. Params reach the engine untouched and the response shape is identical.
27
+ - **Anyone reading `searchTimeMs` or `isFoundExact`.** Both can now report values they never did before - see Behaviour changes.
28
+
29
+ ## Behaviour changes
30
+
31
+ > [!WARNING]
32
+ > **An accidental guardrail is gone, and a deliberate one replaces it.** `limit: 5000` used to fail fast and cheap at the engine, because no page over 250 hits was servable at all. It now *can* be served - twenty windows of 250, five thousand documents, and whatever your consumer then does with them.
33
+ >
34
+ > Shipping that removal on its own would leave ignis less safe than before, so **the framework now imposes a maximum page size of 1000**, and a model raises it deliberately:
35
+ >
36
+ > ```typescript
37
+ > @model({ type: 'entity', settings: { maxLimit: 5000 } })
38
+ > class ExportDocument extends BaseSearchEntity { /* … */ }
39
+ > ```
40
+ >
41
+ > **This cannot break anything that works today.** No caller can currently succeed with a limit above 250 - the engine refuses it - so a ceiling of 1000 only bounds the capability this release adds. 1000 sits above any list screen and well below what the engine can serve, so reaching it means you are doing something unusual and should say so.
42
+
43
+ **There are two ceilings, at two layers, for two different reasons:**
44
+
45
+ | Layer | Limit | Kind |
46
+ |---|---|---|
47
+ | repository | 1000, overridable per model via `maxLimit` | **policy** - a number we chose |
48
+ | connector | 12,500 (50 multi-search entries x 250 hits) | **physics** - imposed by the engine |
49
+
50
+ The policy ceiling fires first, so callers normally never meet the physical one. Both refuse with `core.search_engine.page_too_large` - refused, never silently truncated to a short page that looks complete - and **every such message names the value you requested and the ceiling that applied**, because the code alone cannot tell you which of the three limits you met.
51
+
52
+ `mode: 'raw'` bypasses the policy ceiling. That is deliberate: raw is the documented escape hatch and its callers own the consequences. It cannot bypass the physical one - policy is opt-out-able, physics is not.
53
+
54
+ There is deliberately **no page-depth ceiling**. Deep pagination degrades gradually rather than exploding, and the relational branch imposes no depth limit either; adding one only to search would reopen a divergence this codebase has just spent a branch closing.
55
+
56
+ **Two fields can now report differently:**
57
+
58
+ - `isFoundExact` can be `false`. It was previously always `true`, so a truncated count was reported as authoritative. If you branch on it, you will now see the case it was always meant to describe.
59
+ - `searchTimeMs` on a windowed search is the **slowest window**, not the sum. The field is read as latency and the windows travel in one round trip, so summing would make a single request graph at several times its wall-clock. Total engine work across windows is genuinely higher than this number.
60
+
61
+ **Grouped searches cannot be windowed.** A `group_by` query asking for more than 250 hits is refused with the same code. Groups span windows, so concatenating would duplicate them and taking the first window would drop the rest; merging by key would mean re-deriving an ordering the engine never produced.
62
+
63
+ ## Details
64
+
65
+ - `search()` and `multiSearch()` share one private transport and keep their own policy. A per-entry error arrives inside an HTTP 200 as `{ code, error }` next to siblings that succeeded. `search()` **throws** on one, because `ISearchResult` has nowhere to put an error and reporting it as an empty result would make a rejected filter indistinguishable from a genuine no-match. `multiSearch()` passes it through, because its contract is the raw envelope and its callers already inspect entries.
66
+ - Searching an unprovisioned collection still answers empty with a warning, exactly as before - but that is now the **only** 404 tolerated, and removing the other one fixed a fault-hiding path. `/multi_search` reports a missing collection as a per-entry `{ code: 404, error }` inside an HTTP 200; it does not throw. The transport nonetheless also carried a *top-level* 404 tolerance inherited from the GET path, and since no missing collection produces one on this endpoint, the only 404s left for it to catch were the ones that are **not** a missing collection - a misrouted URL, a proxy or ingress 404. It would have converted those into an empty result: a real fault reported as "no matches". They now surface as the dependency error they are.
67
+ - `multiSearch()` does **not** window-split. Merging windows would mean synthesizing a response the engine never returned - with no honest value for `request_params` or `page` - and would break the 1:1 correspondence between `results[i]` and `searches[i]` that callers index on.
68
+ - **Pagination is now asymmetric between the two search engines, deliberately.** Typesense expresses an arbitrary skip; Meilisearch still requires a page boundary. Meilisearch's two pagination modes return *different response shapes* - `page`/`hitsPerPage` gives an exact `totalHits`, `offset`/`limit` gives `estimatedTotalHits`. Porting the fix there would buy arbitrary skip by making every total an estimate, which is a trade-off to decide rather than a change to copy.
69
+
70
+ ### A limit this does not fix
71
+
72
+ `--filter-by-max-ops` (default 100) caps the number of operations in a `filter_by`, and it is independent of transport - the shape that exceeds it is refused over POST exactly as it was over GET. Which wall you hit depends on the **shape** your `where` compiles to:
73
+
74
+ ```typescript
75
+ // ONE operation, however many values - measured to 20,000 ids (a 228 KB filter) over /multi_search
76
+ where: { orgId: { inq: permittedOrgIds } }
77
+
78
+ // 2N-1 operations against a ceiling of 100 - so exactly 50 values pass and 51 fails
79
+ where: { or: permittedOrgIds.map(orgId => ({ orgId })) }
80
+ ```
81
+
82
+ Typesense counts operands plus operators, so N ORed equalities cost `2N-1`: 50 values come to 99 and are accepted, 51 come to 101 and are refused with `` `filter_by` has too many operations. Maximum allowed: 100 ``. `and:` behaves identically. A bracket list, by contrast, counts as **one operand however many values it holds** - a 5-value list ORed with 49 equalities still totals 99 and passes, while the same list with 50 equalities totals 101 and does not - which is why the first shape meets no operation ceiling at all.
83
+
84
+ Both are semantically identical. Prefer the first for a large list. The framework deliberately does not rewrite one into the other: it would rescue only this one shape, and an `or:` across *different* fields is beyond any such rewrite. Raising the server flag is also a valid answer, and costs no code at all.
85
+
86
+ | File | Package |
87
+ |------|---------|
88
+ | `src/base/repositories/common/constants.ts` | core |
89
+ | `src/base/repositories/core/abstract.ts` | core |
90
+ | `src/base/metadata/persistents.ts` | core |
91
+ | `src/helpers/inversion/common/types.ts` | core |
92
+ | `src/connectors/search/repositories/core/base.ts` | core |
93
+ | `src/connectors/typesense/connector.ts` | core |
94
+ | `src/connectors/typesense/internal/connector-internal.ts` | core |
95
+ | `src/connectors/typesense/repositories/dialect/query-dialect.ts` | core |
96
+ | `src/connectors/typesense/repositories/common/types.ts` | core |
97
+ | `src/connectors/search/common/errors.ts` | core |
@@ -0,0 +1,69 @@
1
+ ---
2
+ title: Log Arguments Under `%j` No Longer Collapse to `[Circular]`
3
+ description: A single cyclic reference in a `%j` argument used to erase the whole payload. The formatter now projects the argument first, so cycles collapse per branch, secret keys are redacted, and the walk is depth-capped.
4
+ ---
5
+
6
+ # Changelog - 2026-08-12
7
+
8
+ ## Log Arguments Under `%j` No Longer Collapse to `[Circular]`
9
+
10
+ <Badge type="info" text="Bug Fix" /> <Badge type="tip" text="Security" /> <Badge type="warning" text="Behavior Change" />
11
+
12
+ **In one line.** A `%j` log argument that carries a transaction, a connector or a request context now prints its real fields instead of the single token `[Circular]`.
13
+
14
+ ## The problem it solves
15
+
16
+ `%j` formats through `JSON.stringify`, which gives up on the **whole** argument as soon as one cycle sits anywhere inside it. A payload is mostly plain data, so the loss is total and silent:
17
+
18
+ ```typescript
19
+ logger.debug('Updating user | Args: %j', { id, data, transaction });
20
+ // [UserService] [updateById] START | Executing... | Args: [Circular]
21
+ ```
22
+
23
+ The `id` and the `data` were never cyclic. The transaction handle holds a live connector, which references its own session, which references it back - and that one edge took the rest of the line with it.
24
+
25
+ ## What changed
26
+
27
+ - **Cycles collapse per branch.** Only the offending reference prints `"[Circular]"`; every sibling field survives.
28
+ - **Secret-looking keys are redacted under `%j`**, exactly as they already were under `%s`. Passwords and tokens in a `%j` payload previously reached the sink in clear.
29
+ - **The walk is depth-capped** by `APP_ENV_LOGGER_INSPECT_DEPTH` (default `5`), so a live connector cannot flood one line. Below the cap a value prints `"[Object]"`.
30
+ - **An `Error` under `%j` keeps its `message` and `stack`.** `JSON.stringify` alone rendered it as `{}`, since both fields are non-enumerable.
31
+ - **A `Date` no longer flattens to `{}` under `%s`.**
32
+
33
+ The same line now reads:
34
+
35
+ ```text
36
+ Args: [{"id":"user-1","data":{"username":"phatnt","password":"[REDACTED]"},"transaction":
37
+ {"connector":{"query":{"users":"[Object]"},"session":{"dialect":"[Circular]","client":
38
+ "[Object]"}},"isActive":true}}]
39
+ ```
40
+
41
+ ## Who is affected
42
+
43
+ - **Anyone logging with `%j`.** No action needed. Lines that printed `[Circular]` now print data, and deep payloads truncate at depth 5 rather than running unbounded.
44
+ - **Anyone parsing log lines downstream.** A `%j` field that used to be absent (or the literal `[Circular]`) can now hold `"[Circular]"`, `"[Object]"`, `"[Array]"` or `"[Binary N bytes]"` as a **string** value.
45
+ - **Anyone logging an `Error` with `%j`.** The line grows: it now carries `message`, `stack` and every enumerable own property. `%s` remains the rule for errors - only `%s` routes through `ErrorPrettier`, which projects unmodelled properties away.
46
+
47
+ ## Details
48
+
49
+ `%o`, `%O` and arguments with no placeholder at all are still handed to `util.format` untouched, so they are **not** redacted. Bind anything that may carry a credential to `%s` or `%j`.
50
+
51
+ A payload holding a live handle still prints noise. Keep transactions and request contexts out of the logged arguments:
52
+
53
+ ```typescript
54
+ // Prefer
55
+ logger.debug('Updating user | Args: %j', { id, data });
56
+ ```
57
+
58
+ `toJsonSafe` is exported for the same projection outside the logger:
59
+
60
+ ```typescript
61
+ import { toJsonSafe } from '@venizia/ignis-helpers';
62
+
63
+ const safe = toJsonSafe({ value: payload, depth: 5 });
64
+ ```
65
+
66
+ | File | Package |
67
+ |------|---------|
68
+ | `src/common/redact.ts` | helpers |
69
+ | `src/modules/logger/formatting/deep-splat.ts` | helpers |