@classytic/arc 2.41.0 → 2.41.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.
- package/dist/{BaseController-DYJRZ0EJ.mjs → BaseController-CYEwjyjN.mjs} +13 -12
- package/dist/{EventTransport-n7qO5Cz3.mjs → EventTransport-DSqD_Xsg.mjs} +2 -2
- package/dist/{HookSystem-CxvZBo77.mjs → HookSystem-CMF94SEA.mjs} +2 -2
- package/dist/{ResourceRegistry-Cu7uTJp9.mjs → ResourceRegistry-MGpXoxHZ.mjs} +2 -2
- package/dist/{actionPermissions-DPwPWPOV.mjs → actionPermissions-BoPGQ5-4.mjs} +6 -6
- package/dist/audit/index.mjs +3 -3
- package/dist/auth/audit.mjs +1 -1
- package/dist/auth/index.mjs +7 -7
- package/dist/auth/redis-session.mjs +1 -1
- package/dist/{authorizationDecision-2YY_Kaj1.mjs → authorizationDecision-DawKGoXb.mjs} +2 -2
- package/dist/{buildHandler-CUhjGHGZ.mjs → buildHandler-CvxKOc0m.mjs} +4 -4
- package/dist/cache/index.mjs +4 -4
- package/dist/{caching-DsWDjIxx.mjs → caching-DbCBxlgw.mjs} +2 -2
- package/dist/cleanup/index.mjs +4 -4
- package/dist/cli/commands/describe.mjs +3 -3
- package/dist/cli/commands/docs.mjs +3 -3
- package/dist/cli/commands/doctor.mjs +1 -1
- package/dist/cli/commands/generate.mjs +2 -2
- package/dist/cli/commands/init.mjs +2 -2
- package/dist/cli/commands/introspect.mjs +2 -2
- package/dist/cli/index.mjs +3 -3
- package/dist/{constants-BxLgNFF7.mjs → constants-D5Ubn1fe.mjs} +1 -1
- package/dist/context/index.mjs +4 -4
- package/dist/core/index.mjs +7 -7
- package/dist/{core-iNGqYerO.mjs → core-5lazhva9.mjs} +3 -3
- package/dist/{createActionRouter-BBlbPs3k.mjs → createActionRouter-DNqoaK81.mjs} +7 -7
- package/dist/{createAggregationRouter-Dv5SuK2x.mjs → createAggregationRouter-BcbQJf10.mjs} +7 -7
- package/dist/{defineAggregation-UyeurGkp.mjs → defineAggregation-D_eJjm5A.mjs} +1 -1
- package/dist/{defineResource-DzGT-2LP.mjs → defineResource-DxkMTjRn.mjs} +18 -18
- package/dist/discovery/index.mjs +1 -1
- package/dist/docs/index.mjs +3 -3
- package/dist/{elevation-BF-vhGxY.mjs → elevation-CkvG0LG2.mjs} +4 -4
- package/dist/encryption/index.mjs +3 -3
- package/dist/{errorHandler-CIMkCOWm.mjs → errorHandler-D1GHKGlV.mjs} +3 -3
- package/dist/{errors-C_YhELhe.mjs → errors-BH7YU_9O.mjs} +1 -1
- package/dist/{eventPlugin-CmXaPWLv.mjs → eventPlugin-zZY-unhr.mjs} +5 -5
- package/dist/events/index.mjs +5 -5
- package/dist/events/transports/redis-stream-entry.mjs +2 -2
- package/dist/events/transports/redis.mjs +2 -2
- package/dist/factory/index.mjs +5 -5
- package/dist/{fields-BTyPLHK0.mjs → fields-BHrkoF5y.mjs} +1 -1
- package/dist/{generate-D_YmiCNf.mjs → generate-BLRf2m3y.mjs} +2 -2
- package/dist/{headers-CNECDE6q.mjs → headers-BIXWKrzQ.mjs} +2 -2
- package/dist/{health-CxQzbJmr.mjs → health-ZRHeDHXH.mjs} +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/idempotency/index.mjs +4 -4
- package/dist/idempotency/redis.mjs +1 -1
- package/dist/index.mjs +11 -11
- package/dist/{init-Y2MlSN9n.mjs → init-CpLkjU18.mjs} +1 -1
- package/dist/integrations/event-gateway.mjs +2 -2
- package/dist/integrations/index.mjs +1 -1
- package/dist/integrations/jobs/index.mjs +2 -2
- package/dist/integrations/mcp/index.mjs +2 -2
- package/dist/integrations/mcp/testing.mjs +2 -2
- package/dist/integrations/streamline.mjs +3 -3
- package/dist/integrations/webhooks.mjs +3 -3
- package/dist/integrations/websocket-pushref-redis.mjs +1 -1
- package/dist/integrations/websocket-redis.mjs +1 -1
- package/dist/integrations/websocket.mjs +2 -2
- package/dist/{interface-BIpgzbZl.mjs → interface-YzIbF7Ii.mjs} +1 -1
- package/dist/{jsonBody-Cq9KYl2Z.mjs → jsonBody-ELR9lfeU.mjs} +2 -2
- package/dist/{keys-Cmv4cBRa.mjs → keys-cpZCtcIE.mjs} +1 -1
- package/dist/{loadResources-CblF7xt2.mjs → loadResources-BPfWiI5s.mjs} +2 -2
- package/dist/{loadResourcesFromEntry-99fIMC3p.mjs → loadResourcesFromEntry-ixtfL3J2.mjs} +2 -2
- package/dist/logger/index.mjs +1 -1
- package/dist/{mcpPlugin-xF3Gw-HW.mjs → mcpPlugin-BX5PujI0.mjs} +15 -15
- package/dist/{memory-CpDZ9NPw.mjs → memory-Iotz0cCx.mjs} +2 -2
- package/dist/{metrics-BaKnq8ag.mjs → metrics-NMsmpRmY.mjs} +2 -2
- package/dist/middleware/index.mjs +3 -3
- package/dist/migrations/index.mjs +2 -2
- package/dist/{module-BkQEesNQ.mjs → module-DpLJG2_N.mjs} +1 -1
- package/dist/{multipartBody-C92aJ8am.mjs → multipartBody-DtRWM6_U.mjs} +1 -1
- package/dist/{openapi-C3LFRzPq.mjs → openapi-CmFf3yq_.mjs} +6 -6
- package/dist/outbox-admin/index.mjs +4 -4
- package/dist/{outbox-module-dsCyLxXH.mjs → outbox-module-D2z5WkDY.mjs} +5 -5
- package/dist/permissions/index.mjs +5 -5
- package/dist/{permissions-DiHXy8Ck.mjs → permissions-D8TBH44E.mjs} +7 -7
- package/dist/{pipe-CBVmUJ-j.mjs → pipe-FMWNheSO.mjs} +2 -2
- package/dist/pipeline/index.mjs +2 -2
- package/dist/plugins/index.mjs +16 -16
- package/dist/plugins/response-cache.mjs +3 -3
- package/dist/plugins/tracing-entry.mjs +2 -2
- package/dist/{pluralize-2_U6QZQg.mjs → pluralize-CXWZIzTv.mjs} +1 -1
- package/dist/{preloadResources-Bbp4QJ8V.mjs → preloadResources-f3boenVZ.mjs} +21 -21
- package/dist/presets/filesUpload.mjs +5 -5
- package/dist/presets/index.mjs +2 -2
- package/dist/presets/multiTenant.mjs +3 -3
- package/dist/presets/search.mjs +2 -2
- package/dist/{presets-BdlugYTc.mjs → presets-ZJSPgmT2.mjs} +4 -4
- package/dist/{projection-Uvgp-EEj.mjs → projection-BzIgzoKZ.mjs} +2 -2
- package/dist/{queryCachePlugin-B5F09bYr.mjs → queryCachePlugin-DZHPOm9p.mjs} +6 -6
- package/dist/{rateLimitKey-CK-EU2L8.mjs → rateLimitKey-BvOvcBDi.mjs} +1 -1
- package/dist/{realtime-FnnD0n3Z.mjs → realtime-8tIQWZz4.mjs} +9 -9
- package/dist/{registerRoute-DRsSHPSM.mjs → registerRoute-Bsnk6NiZ.mjs} +6 -6
- package/dist/registry/index.mjs +3 -3
- package/dist/{registry-D3y8VEJ1.mjs → registry-DNkgGQcK.mjs} +2 -2
- package/dist/{renewingLease-B3VYh5aU.mjs → renewingLease-yF8BdW4b.mjs} +1 -1
- package/dist/{replyHelpers-DPHsdw-5.mjs → replyHelpers-CNdvMfM4.mjs} +2 -2
- package/dist/{requestContext-cSVKnYPk.mjs → requestContext-cDkAUr-P.mjs} +1 -1
- package/dist/{rolldown-runtime-DjDuyglE.mjs → rolldown-runtime-eysyzFAF.mjs} +1 -1
- package/dist/{runtimeCapabilities-DSA_dH1_.mjs → runtimeCapabilities-CkhS6jn6.mjs} +1 -1
- package/dist/{schedules-BktJb3Y3.mjs → schedules-j6uXXAeJ.mjs} +4 -4
- package/dist/{schemaConverter-BLCSmNbr.mjs → schemaConverter-BVA7cFRG.mjs} +1 -1
- package/dist/{schemaIR-K16Bb5BX.mjs → schemaIR-CTvPDoPB.mjs} +2 -2
- package/dist/schemas/index.mjs +1 -1
- package/dist/scim/index.mjs +2 -2
- package/dist/scope/index.mjs +5 -5
- package/dist/{scope-jSxuBTFM.mjs → scope-BUi1xV1I.mjs} +4 -4
- package/dist/{simpleEqualityMatcher-BiOnyflP.mjs → simpleEqualityMatcher-C9bzq2gO.mjs} +1 -1
- package/dist/{sse-CH7Slxc1.mjs → sse-BeqVKQKu.mjs} +5 -5
- package/dist/{sseStream-CN-Lh1Tu.mjs → sseStream-Ppzo-WUH.mjs} +2 -2
- package/dist/{store-helpers-9DX9-1j_.mjs → store-helpers-dW71XVWL.mjs} +1 -1
- package/dist/{streaming-dvppnxsr.mjs → streaming-IcRFjWQU.mjs} +1 -1
- package/dist/{subscribe-helpers-AVYPgqTl.mjs → subscribe-helpers-DatDkcuG.mjs} +2 -2
- package/dist/sync/changelog.mjs +1 -1
- package/dist/testing/cleanupStoreContract.mjs +1 -1
- package/dist/testing/index.mjs +10 -10
- package/dist/testing/outboxStoreContract.mjs +1 -1
- package/dist/testing/storageContract.mjs +1 -1
- package/dist/{transactionContext-DCWMI6hV.mjs → transactionContext-CPbdlnVw.mjs} +1 -1
- package/dist/{typeGuards-D7tHFdH6.mjs → typeGuards-BLjPgVBm.mjs} +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/types/storage.mjs +1 -1
- package/dist/{types-CDy3-zw1.mjs → types-CgenB1gv.mjs} +4 -4
- package/dist/usage/index.mjs +4 -4
- package/dist/{userHelpers-DDMOZ_Pm.mjs → userHelpers-ChRvkuSZ.mjs} +1 -1
- package/dist/utils/index.mjs +11 -11
- package/dist/{utils-B-zj_b__.mjs → utils-CxcctrAh.mjs} +3 -3
- package/dist/{validate-R0G_JrnK.mjs → validate-DrYWnOzI.mjs} +2 -2
- package/dist/{versioning-DuVWcu-F.mjs → versioning-DKkT4hNJ.mjs} +3 -3
- package/dist/{workScope-BhsWde4k.mjs → workScope-CxKqoIFn.mjs} +2 -2
- package/package.json +574 -574
package/dist/utils/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*! @classytic/arc v2.41.
|
|
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-
|
|
3
|
-
import { n as requireSingleHeaderValue, t as getHeader } from "../headers-
|
|
4
|
-
import { n as getUserRoles, r as normalizeRoles, t as getUserId } from "../userHelpers-
|
|
5
|
-
import { t as simpleEqualityMatcher } from "../simpleEqualityMatcher-
|
|
6
|
-
import { A as NEUTRAL_DIALECT, C as offsetListResponse, D as ArcQueryParser, E as responses, O as createQueryParser, S as listResponse, T as queryParams, _ as errorContractSchema, a as defineCompensation, b as getListQueryParams, c as CircuitBreaker, d as CircuitState, f as createCircuitBreaker, g as deleteResponse, h as bareListResponse, i as defineErrorMapper, j as scheduleBackground, k as MONGO_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 errorDetailSchema, w as paginationSchema, x as keysetListResponse, y as getDefaultCrudSchemas } from "../utils-
|
|
7
|
-
import { a as isZodSchema, i as isJsonSchema, n as convertRouteSchema, o as toJsonSchema, t as convertOpenApiSchemas } from "../schemaConverter-
|
|
8
|
-
import { a as promoteStreamTokenToHeader, i as pipeUIMessageStreamToReply, n as forwardedStreamHeaders, r as isReadableStream, t as UI_MESSAGE_STREAM_HEADERS } from "../streaming-
|
|
9
|
-
import { n as declareRuntimeCapability } from "../runtimeCapabilities-
|
|
10
|
-
import { t as openSseStream } from "../sseStream-
|
|
11
|
-
import { t as hasEvents } from "../typeGuards-
|
|
1
|
+
/*! @classytic/arc v2.41.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-BH7YU_9O.mjs";
|
|
3
|
+
import { n as requireSingleHeaderValue, t as getHeader } from "../headers-BIXWKrzQ.mjs";
|
|
4
|
+
import { n as getUserRoles, r as normalizeRoles, t as getUserId } from "../userHelpers-ChRvkuSZ.mjs";
|
|
5
|
+
import { t as simpleEqualityMatcher } from "../simpleEqualityMatcher-C9bzq2gO.mjs";
|
|
6
|
+
import { A as NEUTRAL_DIALECT, C as offsetListResponse, D as ArcQueryParser, E as responses, O as createQueryParser, S as listResponse, T as queryParams, _ as errorContractSchema, a as defineCompensation, b as getListQueryParams, c as CircuitBreaker, d as CircuitState, f as createCircuitBreaker, g as deleteResponse, h as bareListResponse, i as defineErrorMapper, j as scheduleBackground, k as MONGO_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 errorDetailSchema, w as paginationSchema, x as keysetListResponse, y as getDefaultCrudSchemas } from "../utils-CxcctrAh.mjs";
|
|
7
|
+
import { a as isZodSchema, i as isJsonSchema, n as convertRouteSchema, o as toJsonSchema, t as convertOpenApiSchemas } from "../schemaConverter-BVA7cFRG.mjs";
|
|
8
|
+
import { a as promoteStreamTokenToHeader, i as pipeUIMessageStreamToReply, n as forwardedStreamHeaders, r as isReadableStream, t as UI_MESSAGE_STREAM_HEADERS } from "../streaming-IcRFjWQU.mjs";
|
|
9
|
+
import { n as declareRuntimeCapability } from "../runtimeCapabilities-CkhS6jn6.mjs";
|
|
10
|
+
import { t as openSseStream } from "../sseStream-Ppzo-WUH.mjs";
|
|
11
|
+
import { t as hasEvents } from "../typeGuards-BLjPgVBm.mjs";
|
|
12
12
|
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, errorDetailSchema, forwardedStreamHeaders, getDefaultCrudSchemas, getHeader, getListQueryParams, getUserId, getUserRoles, handleRaw, hasEvents, isArcError, isJsonSchema, isReadableStream, isZodSchema, keysetListResponse, listResponse, normalizeRoles, offsetListResponse, openSseStream, paginationSchema, pipeUIMessageStreamToReply, promoteStreamTokenToHeader, queryParams, requireSingleHeaderValue, responses, scheduleBackground, simpleEqualityMatcher, toJsonSchema, withCompensation };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @classytic/arc v2.41.
|
|
2
|
-
import { m as RESERVED_QUERY_PARAMS } from "./constants-
|
|
1
|
+
/*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
|
|
2
|
+
import { m as RESERVED_QUERY_PARAMS } from "./constants-D5Ubn1fe.mjs";
|
|
3
3
|
import { arcLog } from "./logger/index.mjs";
|
|
4
|
-
import { t as ArcError, u as ValidationError } from "./errors-
|
|
4
|
+
import { t as ArcError, u as ValidationError } from "./errors-BH7YU_9O.mjs";
|
|
5
5
|
import { scheduleBackground } from "@classytic/repo-core/cache";
|
|
6
6
|
import { errorContractSchema as errorContractSchema$1, errorDetailSchema as errorDetailSchema$1 } from "@classytic/repo-core/errors";
|
|
7
7
|
//#region src/utils/filter-dialect.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.41.
|
|
2
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
1
|
+
/*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
|
|
2
|
+
import { t as __exportAll } from "./rolldown-runtime-eysyzFAF.mjs";
|
|
3
3
|
//#region src/core/aggregation/normalize.ts
|
|
4
4
|
/**
|
|
5
5
|
* Framework cap on URL-driven aggregation limits when the host opts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.41.
|
|
2
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
3
|
-
import { d as createDomainError } from "./errors-
|
|
1
|
+
/*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
|
|
2
|
+
import { t as __exportAll } from "./rolldown-runtime-eysyzFAF.mjs";
|
|
3
|
+
import { d as createDomainError } from "./errors-BH7YU_9O.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.41.
|
|
2
|
-
import { n as requestContext } from "./requestContext-
|
|
1
|
+
/*! @classytic/arc v2.41.1 | MIT | https://classytic.com */
|
|
2
|
+
import { n as requestContext } from "./requestContext-cDkAUr-P.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) {
|