@classytic/arc 2.45.1 → 2.45.2

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 (146) hide show
  1. package/dist/{EventTransport-4b0noGwa.mjs → EventTransport-DHb1tpu-.mjs} +2 -2
  2. package/dist/{HookSystem-4pABQnGn.mjs → HookSystem-C1u0EUnt.mjs} +2 -2
  3. package/dist/{ResourceRegistry-BBaN_Ne-.mjs → ResourceRegistry-D2jXWVN_.mjs} +2 -2
  4. package/dist/{acquire-kiZzy5bX.mjs → acquire-DTkA8Lme.mjs} +1 -1
  5. package/dist/{actionPermissions-BLnbDA6g.mjs → actionPermissions-DRVk6m7x.mjs} +13 -13
  6. package/dist/audit/index.mjs +4 -4
  7. package/dist/auth/audit.mjs +1 -1
  8. package/dist/auth/index.mjs +7 -7
  9. package/dist/auth/redis-session.mjs +1 -1
  10. package/dist/{authorizationDecision-CVlaTjAX.mjs → authorizationDecision-D48fUJv1.mjs} +4 -4
  11. package/dist/{boundedMap-DSy7KkeX.mjs → boundedMap-DkKiPifd.mjs} +1 -1
  12. package/dist/{buildHandler-B4IhILv9.mjs → buildHandler-BiZ4VATS.mjs} +4 -4
  13. package/dist/cache/index.mjs +4 -4
  14. package/dist/{caching-DqakP2vY.mjs → caching-Cj0as-P1.mjs} +2 -2
  15. package/dist/{claimed-XoiVrWZ2.mjs → claimed-ChI13rUR.mjs} +1 -1
  16. package/dist/cleanup/index.d.mts +6 -1
  17. package/dist/cleanup/index.mjs +4 -4
  18. package/dist/cli/commands/describe.mjs +3 -3
  19. package/dist/cli/commands/docs.mjs +3 -3
  20. package/dist/cli/commands/doctor.mjs +1 -1
  21. package/dist/cli/commands/generate.mjs +2 -2
  22. package/dist/cli/commands/init.mjs +2 -2
  23. package/dist/cli/commands/introspect.mjs +2 -2
  24. package/dist/cli/index.mjs +3 -3
  25. package/dist/{constants-CtWkmWn3.mjs → constants-D_aiew34.mjs} +1 -1
  26. package/dist/context/index.mjs +5 -5
  27. package/dist/core/index.mjs +7 -7
  28. package/dist/{core-Cro2v5a7.mjs → core-QIZ2560Y.mjs} +3 -3
  29. package/dist/{createActionRouter-k-gwiPv6.mjs → createActionRouter-CvH84dyx.mjs} +6 -6
  30. package/dist/{createAggregationRouter-BqWqhAPG.mjs → createAggregationRouter-DGyK2Hp6.mjs} +7 -7
  31. package/dist/{createApp-Dw7L72Hz.mjs → createApp-CKjZpmq9.mjs} +28 -28
  32. package/dist/{defineAggregation-pxbd7BBK.mjs → defineAggregation-BLza7Ca4.mjs} +1 -1
  33. package/dist/{defineResource-DwgEjLCO.mjs → defineResource-CEo0gDCb.mjs} +7 -7
  34. package/dist/discovery/index.mjs +1 -1
  35. package/dist/docs/index.mjs +3 -3
  36. package/dist/{elevation-B9wF2Z1F.mjs → elevation-BJTsSnke.mjs} +5 -5
  37. package/dist/encryption/index.mjs +3 -3
  38. package/dist/{errorHandler-Dr2nG0Ui.mjs → errorHandler-2p4SL5zm.mjs} +3 -3
  39. package/dist/{errors-BtHzrSA6.mjs → errors-grZkIA8N.mjs} +1 -1
  40. package/dist/{eventPlugin-Dvs7OBw8.mjs → eventPlugin-ItcYBGUs.mjs} +8 -8
  41. package/dist/{eventTypes-BVoCTG5c.mjs → eventTypes-Ck6fD3ne.mjs} +2 -2
  42. package/dist/events/index.mjs +7 -7
  43. package/dist/events/transports/redis-stream-entry.mjs +4 -4
  44. package/dist/events/transports/redis.mjs +2 -2
  45. package/dist/factory/index.mjs +6 -6
  46. package/dist/{fields-C1e_7Fwi.mjs → fields-BRX0Krcj.mjs} +1 -1
  47. package/dist/{filter-merge-xaiEKtz8.mjs → filter-merge-CDc7YMwX.mjs} +1 -1
  48. package/dist/{generate-DJiJMaXN.mjs → generate-hvg7V2g1.mjs} +2 -2
  49. package/dist/{headers-Dr-wt6Tr.mjs → headers-Cqkg4LzI.mjs} +2 -2
  50. package/dist/{health-BLYn_Hds.mjs → health-DyeP3mTW.mjs} +1 -1
  51. package/dist/{health-DkkWbJtQ.mjs → health-PVt0VjOx.mjs} +1 -1
  52. package/dist/hooks/index.mjs +2 -2
  53. package/dist/idempotency/index.mjs +7 -7
  54. package/dist/idempotency/redis.mjs +2 -2
  55. package/dist/index.mjs +11 -11
  56. package/dist/{init-CW3kJqNW.mjs → init-jC3rMPzb.mjs} +1 -1
  57. package/dist/integrations/event-gateway.mjs +2 -2
  58. package/dist/integrations/index.mjs +1 -1
  59. package/dist/integrations/jobs/index.mjs +3 -3
  60. package/dist/integrations/mcp/index.mjs +2 -2
  61. package/dist/integrations/mcp/testing.mjs +2 -2
  62. package/dist/integrations/streamline.mjs +3 -3
  63. package/dist/integrations/webhooks.mjs +3 -3
  64. package/dist/integrations/websocket-pushref-redis.mjs +1 -1
  65. package/dist/integrations/websocket-redis.mjs +1 -1
  66. package/dist/integrations/websocket.mjs +2 -2
  67. package/dist/{jsonBody-DPU8yYwA.mjs → jsonBody-ptwyzZQ-.mjs} +2 -2
  68. package/dist/{keys-Dgn6OYhl.mjs → keys-C1vFuSbv.mjs} +1 -1
  69. package/dist/{loadResources-BtKj6P1P.mjs → loadResources-CHPDyIPn.mjs} +3 -3
  70. package/dist/{loadResourcesFromEntry-Bmq6TnB7.mjs → loadResourcesFromEntry-BkHHTu_B.mjs} +2 -2
  71. package/dist/logger/index.mjs +2 -2
  72. package/dist/{logger-qQNLlOAU.mjs → logger-C5bvCiAK.mjs} +1 -1
  73. package/dist/{mcpPlugin-DDfe8jAP.mjs → mcpPlugin-C9qohJCF.mjs} +22 -22
  74. package/dist/{memory-C0Blueoh.mjs → memory-CxiTwT0j.mjs} +3 -3
  75. package/dist/{metrics-DYka72iN.mjs → metrics-Ckp2zRy-.mjs} +3 -3
  76. package/dist/middleware/index.mjs +3 -3
  77. package/dist/migrations/index.mjs +2 -2
  78. package/dist/{module-BszSyWbd.mjs → module-CfnKuIuH.mjs} +1 -1
  79. package/dist/{multipartBody-RHvIkNmc.mjs → multipartBody-BFasGtP9.mjs} +1 -1
  80. package/dist/{openapi-BrFPc3Ny.mjs → openapi-DAPxjYHX.mjs} +6 -6
  81. package/dist/outbox-admin/index.mjs +5 -5
  82. package/dist/{outbox-module-DF4Bu_Qa.mjs → outbox-module-B4FAkx3A.mjs} +9 -9
  83. package/dist/permissions/index.mjs +7 -7
  84. package/dist/{permissions-DN1CWH56.mjs → permissions-B14c3OMp.mjs} +9 -9
  85. package/dist/{pipe-B8uq865o.mjs → pipe-CQv7PsAK.mjs} +2 -2
  86. package/dist/pipeline/index.mjs +2 -2
  87. package/dist/{plan-DUGfynNg.mjs → plan-CpnTykjb.mjs} +1 -1
  88. package/dist/{plugin-ByU3h-bR.mjs → plugin-DXTjVg_Q.mjs} +22 -22
  89. package/dist/plugins/index.mjs +17 -17
  90. package/dist/plugins/response-cache.mjs +4 -4
  91. package/dist/plugins/tracing-entry.mjs +2 -2
  92. package/dist/{pluralize-Cdya8zYt.mjs → pluralize-C3VJKRGp.mjs} +1 -1
  93. package/dist/presets/filesUpload.mjs +5 -5
  94. package/dist/presets/index.mjs +2 -2
  95. package/dist/presets/multiTenant.mjs +5 -5
  96. package/dist/presets/search.mjs +2 -2
  97. package/dist/{presets-CCOlKTZw.mjs → presets-CquqYJPy.mjs} +4 -4
  98. package/dist/{projection-BGty6ie4.mjs → projection-CgfSLOSM.mjs} +2 -2
  99. package/dist/{queryCachePlugin-B7itTkWu.mjs → queryCachePlugin-D0HUISHJ.mjs} +6 -6
  100. package/dist/{rateLimitKey-DBWO59H9.mjs → rateLimitKey-AvkBOMkl.mjs} +1 -1
  101. package/dist/{realtime-_59Rlje8.mjs → realtime-CbWtVbqK.mjs} +11 -11
  102. package/dist/registry/index.mjs +3 -3
  103. package/dist/{registry-uG4wr541.mjs → registry-BVwpAuFI.mjs} +2 -2
  104. package/dist/{renewingLease-CiU3ZynH.mjs → renewingLease-CykpeNcQ.mjs} +1 -1
  105. package/dist/{replyHelpers-Dr2pnXZg.mjs → replyHelpers-DA51IZio.mjs} +2 -2
  106. package/dist/{requestContext-DBKIdmDi.mjs → requestContext-DIWHKDtQ.mjs} +1 -1
  107. package/dist/{requirement-DxOaghWD.mjs → requirement-Cp_fsMDL.mjs} +1 -1
  108. package/dist/{resourceRateLimit-BBdj5yRq.mjs → resourceRateLimit-BFuluodF.mjs} +2 -2
  109. package/dist/{rolldown-runtime-DpVPUeXF.mjs → rolldown-runtime-D_lMdYOd.mjs} +1 -1
  110. package/dist/{routeValidator-BNTqM1Eh.mjs → routeValidator-DuLonYwr.mjs} +1 -1
  111. package/dist/{runtimeCapabilities-D_3eUO6V.mjs → runtimeCapabilities-CydRfm0i.mjs} +1 -1
  112. package/dist/{schedules-CVS7c1nv.mjs → schedules-B693KXxa.mjs} +5 -5
  113. package/dist/{schemaConverter-BQbg7loK.mjs → schemaConverter-DNvZWTV6.mjs} +2 -2
  114. package/dist/{schemaIR-CUI3hPQR.mjs → schemaIR-REV2y7Wd.mjs} +2 -2
  115. package/dist/schemas/index.mjs +1 -1
  116. package/dist/scim/index.mjs +2 -2
  117. package/dist/scope/index.mjs +5 -5
  118. package/dist/{scope-DFXngazv.mjs → scope-Bevxy_ST.mjs} +4 -4
  119. package/dist/{shutdown-BCXCwghd.mjs → shutdown-CfrqPR7A.mjs} +1 -1
  120. package/dist/{simpleEqualityMatcher-5jOzYQ_L.mjs → simpleEqualityMatcher-BJwfuRKP.mjs} +1 -1
  121. package/dist/{sse-BilBz766.mjs → sse-CuNNWr2z.mjs} +7 -7
  122. package/dist/{sseStream-BG_uJL6J.mjs → sseStream-C_2ujAVY.mjs} +2 -2
  123. package/dist/{store-helpers-CzLZdVa1.mjs → store-helpers-C8uBGCbb.mjs} +1 -1
  124. package/dist/{streaming-DgUvMWlv.mjs → streaming-Bdq_M4d5.mjs} +1 -1
  125. package/dist/{subscriberIdentity-EWnIZ-U8.mjs → subscriberIdentity-B-KpZkdl.mjs} +1 -1
  126. package/dist/{tenancy-CVMvO5DH.mjs → tenancy-C5PCvm1h.mjs} +2 -2
  127. package/dist/{tenantPreparation-DIH-GX4g.mjs → tenantPreparation-dYvWrgNa.mjs} +4 -4
  128. package/dist/testing/cleanupStoreContract.mjs +1 -1
  129. package/dist/testing/index.mjs +11 -11
  130. package/dist/testing/outboxStoreContract.mjs +2 -2
  131. package/dist/testing/requiredPorts.mjs +2 -2
  132. package/dist/testing/storageContract.mjs +1 -1
  133. package/dist/{timing-q9NITK04.mjs → timing-DCqsezX8.mjs} +1 -1
  134. package/dist/{transactionContext-NHmhDIOF.mjs → transactionContext-DrcNyjpv.mjs} +1 -1
  135. package/dist/{typeGuards-CPYR9RCg.mjs → typeGuards-CEl10KPy.mjs} +1 -1
  136. package/dist/types/index.mjs +1 -1
  137. package/dist/types/storage.mjs +1 -1
  138. package/dist/{types-BI4sbUJ3.mjs → types-D9NWjpYc.mjs} +4 -4
  139. package/dist/usage/index.mjs +4 -4
  140. package/dist/{userHelpers-oBTU3a_k.mjs → userHelpers-BHig1kHq.mjs} +1 -1
  141. package/dist/utils/index.mjs +12 -12
  142. package/dist/{utils-BmE8zRrh.mjs → utils-BG5P7_Vb.mjs} +4 -4
  143. package/dist/{validate-Dby08LhR.mjs → validate-D_mdOCir.mjs} +3 -3
  144. package/dist/{versioning-P6JMNcJr.mjs → versioning-DBGHjPh7.mjs} +3 -3
  145. package/dist/{workScope-BcMLKa3G.mjs → workScope-DPPfM4m6.mjs} +2 -2
  146. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
2
- import { t as CRUD_OPERATIONS } from "../constants-CtWkmWn3.mjs";
3
- import { c as BaseController } from "../plugin-ByU3h-bR.mjs";
4
- import { g as getUserId } from "../types-BI4sbUJ3.mjs";
5
- import { t as defineAggregation } from "../defineAggregation-pxbd7BBK.mjs";
6
- import { t as defineResource } from "../defineResource-DwgEjLCO.mjs";
7
- import { E as requireOrgRole } from "../permissions-DN1CWH56.mjs";
8
- import { h as asModulePorts, r as createApp } from "../createApp-Dw7L72Hz.mjs";
9
- import { d as resolveModule, l as isLazyBridge, o as resolveModuleClosure } from "../plan-DUGfynNg.mjs";
10
- import { n as getModuleExports } from "../module-BszSyWbd.mjs";
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
+ import { t as CRUD_OPERATIONS } from "../constants-D_aiew34.mjs";
3
+ import { c as BaseController } from "../plugin-DXTjVg_Q.mjs";
4
+ import { g as getUserId } from "../types-D9NWjpYc.mjs";
5
+ import { t as defineAggregation } from "../defineAggregation-BLza7Ca4.mjs";
6
+ import { t as defineResource } from "../defineResource-CEo0gDCb.mjs";
7
+ import { E as requireOrgRole } from "../permissions-B14c3OMp.mjs";
8
+ import { h as asModulePorts, r as createApp } from "../createApp-CKjZpmq9.mjs";
9
+ import { d as resolveModule, l as isLazyBridge, o as resolveModuleClosure } from "../plan-CpnTykjb.mjs";
10
+ import { n as getModuleExports } from "../module-CfnKuIuH.mjs";
11
11
  import { runStorageContract } from "./storageContract.mjs";
12
12
  import Fastify from "fastify";
13
13
  import { afterAll, describe, expect, it, vi } from "vitest";
@@ -1578,7 +1578,7 @@ function pickDefaultAuth(authMode, callerAuth) {
1578
1578
  };
1579
1579
  }
1580
1580
  async function createTestApp(options = {}) {
1581
- const { createApp } = await import("../createApp-Dw7L72Hz.mjs").then((n) => n.i);
1581
+ const { createApp } = await import("../createApp-CKjZpmq9.mjs").then((n) => n.i);
1582
1582
  const { resources = [], db = "in-memory", connectMongoose = false, authMode = "jwt", defaultOrgId, plugins, auth: callerAuth, ...appOptions } = options;
1583
1583
  let dbHandle;
1584
1584
  let dbUri;
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
2
- import { t as claimedAttempts } from "../claimed-XoiVrWZ2.mjs";
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
+ import { t as claimedAttempts } from "../claimed-ChI13rUR.mjs";
3
3
  import { OutboxConflictError, OutboxOwnershipError } from "@classytic/primitives/outbox";
4
4
  import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";
5
5
  //#region src/testing/outboxStoreContract.ts
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
2
- import { c as declareModules, d as resolveModule, i as planModules, r as compositionProblems } from "../plan-DUGfynNg.mjs";
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
+ import { c as declareModules, d as resolveModule, i as planModules, r as compositionProblems } from "../plan-CpnTykjb.mjs";
3
3
  //#region src/testing/requiredPorts.ts
4
4
  /**
5
5
  * Assert a module declares EXACTLY `ports` as required, and that composing it without any one of
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
2
  import { afterAll, beforeAll, describe, expect, it } from "vitest";
3
3
  //#region src/testing/storageContract.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
2
  import { createHash } from "node:crypto";
3
3
  //#region src/utils/operationIdentity.ts
4
4
  /** Security context included in idempotency identities across transports. */
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
2
  import { AsyncLocalStorage } from "node:async_hooks";
3
3
  //#region src/context/transactionContext.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
2
  //#region src/utils/typeGuards.ts
3
3
  /** Check if fastify has the events plugin registered */
4
4
  function hasEvents(instance) {
@@ -1,2 +1,2 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
2
  export {};
@@ -1,2 +1,2 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
2
  export {};
@@ -1,7 +1,7 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
2
- import { l as UnauthorizedError, o as OrgRequiredError } from "./errors-BtHzrSA6.mjs";
3
- import { n as requireSingleHeaderValue } from "./headers-Dr-wt6Tr.mjs";
4
- import { t as getUserId$1 } from "./userHelpers-oBTU3a_k.mjs";
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
+ import { l as UnauthorizedError, o as OrgRequiredError } from "./errors-grZkIA8N.mjs";
3
+ import { n as requireSingleHeaderValue } from "./headers-Cqkg4LzI.mjs";
4
+ import { t as getUserId$1 } from "./userHelpers-BHig1kHq.mjs";
5
5
  //#region src/scope/types.ts
6
6
  /**
7
7
  * Request Scope — The One Standard
@@ -1,7 +1,7 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
2
- import { t as ArcError } from "../errors-BtHzrSA6.mjs";
3
- import { c as getOrgId, g as getUserId, i as getClientId } from "../types-BI4sbUJ3.mjs";
4
- import { n as declareRuntimeCapability } from "../runtimeCapabilities-D_3eUO6V.mjs";
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
+ import { t as ArcError } from "../errors-grZkIA8N.mjs";
3
+ import { c as getOrgId, g as getUserId, i as getClientId } from "../types-D9NWjpYc.mjs";
4
+ import { n as declareRuntimeCapability } from "../runtimeCapabilities-CydRfm0i.mjs";
5
5
  import { usagePeriod } from "@classytic/repo-core/usage";
6
6
  import fp from "fastify-plugin";
7
7
  //#region src/usage/requireQuota.ts
@@ -1,4 +1,4 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
2
  //#region src/utils/userHelpers.ts
3
3
  /**
4
4
  * Extract a user ID from a user object. Accepts `id` or `_id` — returns
@@ -1,13 +1,13 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
2
- import { a as OrgAccessDeniedError, c as ServiceUnavailableError, d as createDomainError, f as createError, i as NotFoundError, l as UnauthorizedError, n as ConflictError, o as OrgRequiredError, p as isArcError, r as ForbiddenError, s as RateLimitError, t as ArcError, u as ValidationError } from "../errors-BtHzrSA6.mjs";
3
- import { t as simpleEqualityMatcher } from "../simpleEqualityMatcher-5jOzYQ_L.mjs";
4
- import { n as requireSingleHeaderValue, t as getHeader } from "../headers-Dr-wt6Tr.mjs";
5
- import { n as getUserRoles, r as normalizeRoles, t as getUserId } from "../userHelpers-oBTU3a_k.mjs";
6
- import { C as paginationSchema, D as createQueryParser, E as ArcQueryParser, O as MONGO_DIALECT, S as offsetListResponse, T as responses, _ as errorContractSchema, a as defineCompensation, b as keysetListResponse, c as CircuitBreaker, d as CircuitState, f as createCircuitBreaker, g as deleteResponse, h as bareListResponse, i as defineErrorMapper, k as NEUTRAL_DIALECT, l as CircuitBreakerError, m as aggregateListResponse, n as handleRaw, o as withCompensation, p as createCircuitBreakerRegistry, r as defineGuard, s as RedisCircuitBreakerState, t as createStateMachine, u as CircuitBreakerRegistry, v as getDefaultCrudSchemas, w as queryParams, x as listResponse, y as getListQueryParams } from "../utils-BmE8zRrh.mjs";
7
- import { a as isZodSchema, i as isJsonSchema, n as convertRouteSchema, o as toJsonSchema, t as convertOpenApiSchemas } from "../schemaConverter-BQbg7loK.mjs";
8
- import { a as promoteStreamTokenToHeader, i as pipeUIMessageStreamToReply, n as forwardedStreamHeaders, r as isReadableStream, t as UI_MESSAGE_STREAM_HEADERS } from "../streaming-DgUvMWlv.mjs";
9
- import { n as declareRuntimeCapability } from "../runtimeCapabilities-D_3eUO6V.mjs";
10
- import { i as runAdmittedWork, r as registerShutdownParticipant } from "../shutdown-BCXCwghd.mjs";
11
- import { t as openSseStream } from "../sseStream-BG_uJL6J.mjs";
12
- import { t as hasEvents } from "../typeGuards-CPYR9RCg.mjs";
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
+ import { a as OrgAccessDeniedError, c as ServiceUnavailableError, d as createDomainError, f as createError, i as NotFoundError, l as UnauthorizedError, n as ConflictError, o as OrgRequiredError, p as isArcError, r as ForbiddenError, s as RateLimitError, t as ArcError, u as ValidationError } from "../errors-grZkIA8N.mjs";
3
+ import { t as simpleEqualityMatcher } from "../simpleEqualityMatcher-BJwfuRKP.mjs";
4
+ import { n as requireSingleHeaderValue, t as getHeader } from "../headers-Cqkg4LzI.mjs";
5
+ import { n as getUserRoles, r as normalizeRoles, t as getUserId } from "../userHelpers-BHig1kHq.mjs";
6
+ import { C as paginationSchema, D as createQueryParser, E as ArcQueryParser, O as MONGO_DIALECT, S as offsetListResponse, T as responses, _ as errorContractSchema, a as defineCompensation, b as keysetListResponse, c as CircuitBreaker, d as CircuitState, f as createCircuitBreaker, g as deleteResponse, h as bareListResponse, i as defineErrorMapper, k as NEUTRAL_DIALECT, l as CircuitBreakerError, m as aggregateListResponse, n as handleRaw, o as withCompensation, p as createCircuitBreakerRegistry, r as defineGuard, s as RedisCircuitBreakerState, t as createStateMachine, u as CircuitBreakerRegistry, v as getDefaultCrudSchemas, w as queryParams, x as listResponse, y as getListQueryParams } from "../utils-BG5P7_Vb.mjs";
7
+ import { a as isZodSchema, i as isJsonSchema, n as convertRouteSchema, o as toJsonSchema, t as convertOpenApiSchemas } from "../schemaConverter-DNvZWTV6.mjs";
8
+ import { a as promoteStreamTokenToHeader, i as pipeUIMessageStreamToReply, n as forwardedStreamHeaders, r as isReadableStream, t as UI_MESSAGE_STREAM_HEADERS } from "../streaming-Bdq_M4d5.mjs";
9
+ import { n as declareRuntimeCapability } from "../runtimeCapabilities-CydRfm0i.mjs";
10
+ import { i as runAdmittedWork, r as registerShutdownParticipant } from "../shutdown-CfrqPR7A.mjs";
11
+ import { t as openSseStream } from "../sseStream-C_2ujAVY.mjs";
12
+ import { t as hasEvents } from "../typeGuards-CEl10KPy.mjs";
13
13
  export { ArcError, ArcQueryParser, CircuitBreaker, CircuitBreakerError, CircuitBreakerRegistry, CircuitState, ConflictError, ForbiddenError, MONGO_DIALECT, NEUTRAL_DIALECT, NotFoundError, OrgAccessDeniedError, OrgRequiredError, RateLimitError, RedisCircuitBreakerState, ServiceUnavailableError, UI_MESSAGE_STREAM_HEADERS, UnauthorizedError, ValidationError, aggregateListResponse, bareListResponse, convertOpenApiSchemas, convertRouteSchema, createCircuitBreaker, createCircuitBreakerRegistry, createDomainError, createError, createQueryParser, createStateMachine, declareRuntimeCapability, defineCompensation, defineErrorMapper, defineGuard, deleteResponse, errorContractSchema, forwardedStreamHeaders, getDefaultCrudSchemas, getHeader, getListQueryParams, getUserId, getUserRoles, handleRaw, hasEvents, isArcError, isJsonSchema, isReadableStream, isZodSchema, keysetListResponse, listResponse, normalizeRoles, offsetListResponse, openSseStream, paginationSchema, pipeUIMessageStreamToReply, promoteStreamTokenToHeader, queryParams, registerShutdownParticipant, requireSingleHeaderValue, responses, runAdmittedWork, simpleEqualityMatcher, toJsonSchema, withCompensation };
@@ -1,7 +1,7 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
2
- import { h as RESERVED_QUERY_PARAMS } from "./constants-CtWkmWn3.mjs";
3
- import { t as arcLog } from "./logger-qQNLlOAU.mjs";
4
- import { t as ArcError, u as ValidationError } from "./errors-BtHzrSA6.mjs";
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
+ import { h as RESERVED_QUERY_PARAMS } from "./constants-D_aiew34.mjs";
3
+ import { t as arcLog } from "./logger-C5bvCiAK.mjs";
4
+ import { t as ArcError, u as ValidationError } from "./errors-grZkIA8N.mjs";
5
5
  import { errorContractSchema as errorContractSchema$1 } from "@classytic/repo-core/errors";
6
6
  import { readEnv } from "@classytic/primitives/environment";
7
7
  import { OPERATOR_DESCRIPTIONS, URL_OPERATORS, escapeRegex, isQueryGrammarError, readFilterClauses, readPageRequest, readSearch, readSelect, readSort } from "@classytic/repo-core/query-parser";
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
2
- import { t as __exportAll } from "./rolldown-runtime-DpVPUeXF.mjs";
3
- import { _ as pathTouchesBlocked } from "./plugin-ByU3h-bR.mjs";
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
+ import { t as __exportAll } from "./rolldown-runtime-D_lMdYOd.mjs";
3
+ import { _ as pathTouchesBlocked } from "./plugin-DXTjVg_Q.mjs";
4
4
  //#region src/core/aggregation/normalize.ts
5
5
  /**
6
6
  * Framework cap on URL-driven aggregation limits when the host opts
@@ -1,6 +1,6 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
2
- import { t as __exportAll } from "./rolldown-runtime-DpVPUeXF.mjs";
3
- import { d as createDomainError } from "./errors-BtHzrSA6.mjs";
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
+ import { t as __exportAll } from "./rolldown-runtime-D_lMdYOd.mjs";
3
+ import { d as createDomainError } from "./errors-grZkIA8N.mjs";
4
4
  import fp from "fastify-plugin";
5
5
  //#region src/plugins/versioning.ts
6
6
  var versioning_exports = /* @__PURE__ */ __exportAll({
@@ -1,5 +1,5 @@
1
- /*! @classytic/arc v2.45.1 | MIT | https://classytic.com */
2
- import { n as requestContext } from "./requestContext-DBKIdmDi.mjs";
1
+ /*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
2
+ import { n as requestContext } from "./requestContext-DIWHKDtQ.mjs";
3
3
  //#region src/context/workScope.ts
4
4
  /** Enter a scope for `fn`, or run it inside the active one. */
5
5
  function runWorkScope(seed, fn) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classytic/arc",
3
- "version": "2.45.1",
3
+ "version": "2.45.2",
4
4
  "description": "Resource-oriented backend framework for Fastify - clean, minimal, powerful, tree-shakable",
5
5
  "type": "module",
6
6
  "exports": {