@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.
- package/dist/{EventTransport-4b0noGwa.mjs → EventTransport-DHb1tpu-.mjs} +2 -2
- package/dist/{HookSystem-4pABQnGn.mjs → HookSystem-C1u0EUnt.mjs} +2 -2
- package/dist/{ResourceRegistry-BBaN_Ne-.mjs → ResourceRegistry-D2jXWVN_.mjs} +2 -2
- package/dist/{acquire-kiZzy5bX.mjs → acquire-DTkA8Lme.mjs} +1 -1
- package/dist/{actionPermissions-BLnbDA6g.mjs → actionPermissions-DRVk6m7x.mjs} +13 -13
- package/dist/audit/index.mjs +4 -4
- 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-CVlaTjAX.mjs → authorizationDecision-D48fUJv1.mjs} +4 -4
- package/dist/{boundedMap-DSy7KkeX.mjs → boundedMap-DkKiPifd.mjs} +1 -1
- package/dist/{buildHandler-B4IhILv9.mjs → buildHandler-BiZ4VATS.mjs} +4 -4
- package/dist/cache/index.mjs +4 -4
- package/dist/{caching-DqakP2vY.mjs → caching-Cj0as-P1.mjs} +2 -2
- package/dist/{claimed-XoiVrWZ2.mjs → claimed-ChI13rUR.mjs} +1 -1
- package/dist/cleanup/index.d.mts +6 -1
- 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-CtWkmWn3.mjs → constants-D_aiew34.mjs} +1 -1
- package/dist/context/index.mjs +5 -5
- package/dist/core/index.mjs +7 -7
- package/dist/{core-Cro2v5a7.mjs → core-QIZ2560Y.mjs} +3 -3
- package/dist/{createActionRouter-k-gwiPv6.mjs → createActionRouter-CvH84dyx.mjs} +6 -6
- package/dist/{createAggregationRouter-BqWqhAPG.mjs → createAggregationRouter-DGyK2Hp6.mjs} +7 -7
- package/dist/{createApp-Dw7L72Hz.mjs → createApp-CKjZpmq9.mjs} +28 -28
- package/dist/{defineAggregation-pxbd7BBK.mjs → defineAggregation-BLza7Ca4.mjs} +1 -1
- package/dist/{defineResource-DwgEjLCO.mjs → defineResource-CEo0gDCb.mjs} +7 -7
- package/dist/discovery/index.mjs +1 -1
- package/dist/docs/index.mjs +3 -3
- package/dist/{elevation-B9wF2Z1F.mjs → elevation-BJTsSnke.mjs} +5 -5
- package/dist/encryption/index.mjs +3 -3
- package/dist/{errorHandler-Dr2nG0Ui.mjs → errorHandler-2p4SL5zm.mjs} +3 -3
- package/dist/{errors-BtHzrSA6.mjs → errors-grZkIA8N.mjs} +1 -1
- package/dist/{eventPlugin-Dvs7OBw8.mjs → eventPlugin-ItcYBGUs.mjs} +8 -8
- package/dist/{eventTypes-BVoCTG5c.mjs → eventTypes-Ck6fD3ne.mjs} +2 -2
- package/dist/events/index.mjs +7 -7
- package/dist/events/transports/redis-stream-entry.mjs +4 -4
- package/dist/events/transports/redis.mjs +2 -2
- package/dist/factory/index.mjs +6 -6
- package/dist/{fields-C1e_7Fwi.mjs → fields-BRX0Krcj.mjs} +1 -1
- package/dist/{filter-merge-xaiEKtz8.mjs → filter-merge-CDc7YMwX.mjs} +1 -1
- package/dist/{generate-DJiJMaXN.mjs → generate-hvg7V2g1.mjs} +2 -2
- package/dist/{headers-Dr-wt6Tr.mjs → headers-Cqkg4LzI.mjs} +2 -2
- package/dist/{health-BLYn_Hds.mjs → health-DyeP3mTW.mjs} +1 -1
- package/dist/{health-DkkWbJtQ.mjs → health-PVt0VjOx.mjs} +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/idempotency/index.mjs +7 -7
- package/dist/idempotency/redis.mjs +2 -2
- package/dist/index.mjs +11 -11
- package/dist/{init-CW3kJqNW.mjs → init-jC3rMPzb.mjs} +1 -1
- package/dist/integrations/event-gateway.mjs +2 -2
- package/dist/integrations/index.mjs +1 -1
- package/dist/integrations/jobs/index.mjs +3 -3
- 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/{jsonBody-DPU8yYwA.mjs → jsonBody-ptwyzZQ-.mjs} +2 -2
- package/dist/{keys-Dgn6OYhl.mjs → keys-C1vFuSbv.mjs} +1 -1
- package/dist/{loadResources-BtKj6P1P.mjs → loadResources-CHPDyIPn.mjs} +3 -3
- package/dist/{loadResourcesFromEntry-Bmq6TnB7.mjs → loadResourcesFromEntry-BkHHTu_B.mjs} +2 -2
- package/dist/logger/index.mjs +2 -2
- package/dist/{logger-qQNLlOAU.mjs → logger-C5bvCiAK.mjs} +1 -1
- package/dist/{mcpPlugin-DDfe8jAP.mjs → mcpPlugin-C9qohJCF.mjs} +22 -22
- package/dist/{memory-C0Blueoh.mjs → memory-CxiTwT0j.mjs} +3 -3
- package/dist/{metrics-DYka72iN.mjs → metrics-Ckp2zRy-.mjs} +3 -3
- package/dist/middleware/index.mjs +3 -3
- package/dist/migrations/index.mjs +2 -2
- package/dist/{module-BszSyWbd.mjs → module-CfnKuIuH.mjs} +1 -1
- package/dist/{multipartBody-RHvIkNmc.mjs → multipartBody-BFasGtP9.mjs} +1 -1
- package/dist/{openapi-BrFPc3Ny.mjs → openapi-DAPxjYHX.mjs} +6 -6
- package/dist/outbox-admin/index.mjs +5 -5
- package/dist/{outbox-module-DF4Bu_Qa.mjs → outbox-module-B4FAkx3A.mjs} +9 -9
- package/dist/permissions/index.mjs +7 -7
- package/dist/{permissions-DN1CWH56.mjs → permissions-B14c3OMp.mjs} +9 -9
- package/dist/{pipe-B8uq865o.mjs → pipe-CQv7PsAK.mjs} +2 -2
- package/dist/pipeline/index.mjs +2 -2
- package/dist/{plan-DUGfynNg.mjs → plan-CpnTykjb.mjs} +1 -1
- package/dist/{plugin-ByU3h-bR.mjs → plugin-DXTjVg_Q.mjs} +22 -22
- package/dist/plugins/index.mjs +17 -17
- package/dist/plugins/response-cache.mjs +4 -4
- package/dist/plugins/tracing-entry.mjs +2 -2
- package/dist/{pluralize-Cdya8zYt.mjs → pluralize-C3VJKRGp.mjs} +1 -1
- package/dist/presets/filesUpload.mjs +5 -5
- package/dist/presets/index.mjs +2 -2
- package/dist/presets/multiTenant.mjs +5 -5
- package/dist/presets/search.mjs +2 -2
- package/dist/{presets-CCOlKTZw.mjs → presets-CquqYJPy.mjs} +4 -4
- package/dist/{projection-BGty6ie4.mjs → projection-CgfSLOSM.mjs} +2 -2
- package/dist/{queryCachePlugin-B7itTkWu.mjs → queryCachePlugin-D0HUISHJ.mjs} +6 -6
- package/dist/{rateLimitKey-DBWO59H9.mjs → rateLimitKey-AvkBOMkl.mjs} +1 -1
- package/dist/{realtime-_59Rlje8.mjs → realtime-CbWtVbqK.mjs} +11 -11
- package/dist/registry/index.mjs +3 -3
- package/dist/{registry-uG4wr541.mjs → registry-BVwpAuFI.mjs} +2 -2
- package/dist/{renewingLease-CiU3ZynH.mjs → renewingLease-CykpeNcQ.mjs} +1 -1
- package/dist/{replyHelpers-Dr2pnXZg.mjs → replyHelpers-DA51IZio.mjs} +2 -2
- package/dist/{requestContext-DBKIdmDi.mjs → requestContext-DIWHKDtQ.mjs} +1 -1
- package/dist/{requirement-DxOaghWD.mjs → requirement-Cp_fsMDL.mjs} +1 -1
- package/dist/{resourceRateLimit-BBdj5yRq.mjs → resourceRateLimit-BFuluodF.mjs} +2 -2
- package/dist/{rolldown-runtime-DpVPUeXF.mjs → rolldown-runtime-D_lMdYOd.mjs} +1 -1
- package/dist/{routeValidator-BNTqM1Eh.mjs → routeValidator-DuLonYwr.mjs} +1 -1
- package/dist/{runtimeCapabilities-D_3eUO6V.mjs → runtimeCapabilities-CydRfm0i.mjs} +1 -1
- package/dist/{schedules-CVS7c1nv.mjs → schedules-B693KXxa.mjs} +5 -5
- package/dist/{schemaConverter-BQbg7loK.mjs → schemaConverter-DNvZWTV6.mjs} +2 -2
- package/dist/{schemaIR-CUI3hPQR.mjs → schemaIR-REV2y7Wd.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-DFXngazv.mjs → scope-Bevxy_ST.mjs} +4 -4
- package/dist/{shutdown-BCXCwghd.mjs → shutdown-CfrqPR7A.mjs} +1 -1
- package/dist/{simpleEqualityMatcher-5jOzYQ_L.mjs → simpleEqualityMatcher-BJwfuRKP.mjs} +1 -1
- package/dist/{sse-BilBz766.mjs → sse-CuNNWr2z.mjs} +7 -7
- package/dist/{sseStream-BG_uJL6J.mjs → sseStream-C_2ujAVY.mjs} +2 -2
- package/dist/{store-helpers-CzLZdVa1.mjs → store-helpers-C8uBGCbb.mjs} +1 -1
- package/dist/{streaming-DgUvMWlv.mjs → streaming-Bdq_M4d5.mjs} +1 -1
- package/dist/{subscriberIdentity-EWnIZ-U8.mjs → subscriberIdentity-B-KpZkdl.mjs} +1 -1
- package/dist/{tenancy-CVMvO5DH.mjs → tenancy-C5PCvm1h.mjs} +2 -2
- package/dist/{tenantPreparation-DIH-GX4g.mjs → tenantPreparation-dYvWrgNa.mjs} +4 -4
- package/dist/testing/cleanupStoreContract.mjs +1 -1
- package/dist/testing/index.mjs +11 -11
- package/dist/testing/outboxStoreContract.mjs +2 -2
- package/dist/testing/requiredPorts.mjs +2 -2
- package/dist/testing/storageContract.mjs +1 -1
- package/dist/{timing-q9NITK04.mjs → timing-DCqsezX8.mjs} +1 -1
- package/dist/{transactionContext-NHmhDIOF.mjs → transactionContext-DrcNyjpv.mjs} +1 -1
- package/dist/{typeGuards-CPYR9RCg.mjs → typeGuards-CEl10KPy.mjs} +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/types/storage.mjs +1 -1
- package/dist/{types-BI4sbUJ3.mjs → types-D9NWjpYc.mjs} +4 -4
- package/dist/usage/index.mjs +4 -4
- package/dist/{userHelpers-oBTU3a_k.mjs → userHelpers-BHig1kHq.mjs} +1 -1
- package/dist/utils/index.mjs +12 -12
- package/dist/{utils-BmE8zRrh.mjs → utils-BG5P7_Vb.mjs} +4 -4
- package/dist/{validate-Dby08LhR.mjs → validate-D_mdOCir.mjs} +3 -3
- package/dist/{versioning-P6JMNcJr.mjs → versioning-DBGHjPh7.mjs} +3 -3
- package/dist/{workScope-BcMLKa3G.mjs → workScope-DPPfM4m6.mjs} +2 -2
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
3
|
-
import { t as arcLog } from "./logger-
|
|
4
|
-
import { d as createDomainError } from "./errors-
|
|
5
|
-
import { n as requestContext } from "./requestContext-
|
|
6
|
-
import { i as runAdmittedWork, n as isAdmittedWork, r as registerShutdownParticipant } from "./shutdown-
|
|
7
|
-
import { n as MemoryEventTransport, r as createEvent, t as ARC_EVENT_TRANSPORT } from "./EventTransport-
|
|
8
|
-
import { n as preserveSubscriberIdentity } from "./subscriberIdentity-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as __exportAll } from "./rolldown-runtime-D_lMdYOd.mjs";
|
|
3
|
+
import { t as arcLog } from "./logger-C5bvCiAK.mjs";
|
|
4
|
+
import { d as createDomainError } from "./errors-grZkIA8N.mjs";
|
|
5
|
+
import { n as requestContext } from "./requestContext-DIWHKDtQ.mjs";
|
|
6
|
+
import { i as runAdmittedWork, n as isAdmittedWork, r as registerShutdownParticipant } from "./shutdown-CfrqPR7A.mjs";
|
|
7
|
+
import { n as MemoryEventTransport, r as createEvent, t as ARC_EVENT_TRANSPORT } from "./EventTransport-DHb1tpu-.mjs";
|
|
8
|
+
import { n as preserveSubscriberIdentity } from "./subscriberIdentity-B-KpZkdl.mjs";
|
|
9
9
|
import { isProductionEnv } from "@classytic/primitives/environment";
|
|
10
10
|
import fp from "fastify-plugin";
|
|
11
11
|
import { NonDurablePublishError } from "@classytic/primitives/durable-events";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { r as createEvent } from "./EventTransport-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { r as createEvent } from "./EventTransport-DHb1tpu-.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { durableEventMeta } from "@classytic/primitives/durable-events";
|
|
5
5
|
//#region src/events/defineEvent.ts
|
package/dist/events/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { n as MemoryEventTransport } from "../EventTransport-
|
|
3
|
-
import { a as crudEventType, d as createEventRegistry, f as defineEvent, i as CRUD_EVENT_SUFFIXES, l as wrapWithBoundary, n as CACHE_EVENTS, o as subscribeWithBoundary, s as subscribeWithSchema, t as ARC_LIFECYCLE_EVENTS, u as wrapWithSchema } from "../eventTypes-
|
|
4
|
-
import { r as withSubscriberId } from "../subscriberIdentity-
|
|
5
|
-
import { a as withRetry, i as createDeadLetterPublisher, n as eventPlugin } from "../eventPlugin-
|
|
6
|
-
import { r as readOutboxHealth, t as DEFAULT_RELAY_LAG_UNHEALTHY_MS } from "../health-
|
|
7
|
-
import { i as exponentialBackoff, n as EventOutbox, r as repositoryAsOutboxStore, t as createOutboxModule } from "../outbox-module-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { n as MemoryEventTransport } from "../EventTransport-DHb1tpu-.mjs";
|
|
3
|
+
import { a as crudEventType, d as createEventRegistry, f as defineEvent, i as CRUD_EVENT_SUFFIXES, l as wrapWithBoundary, n as CACHE_EVENTS, o as subscribeWithBoundary, s as subscribeWithSchema, t as ARC_LIFECYCLE_EVENTS, u as wrapWithSchema } from "../eventTypes-Ck6fD3ne.mjs";
|
|
4
|
+
import { r as withSubscriberId } from "../subscriberIdentity-B-KpZkdl.mjs";
|
|
5
|
+
import { a as withRetry, i as createDeadLetterPublisher, n as eventPlugin } from "../eventPlugin-ItcYBGUs.mjs";
|
|
6
|
+
import { r as readOutboxHealth, t as DEFAULT_RELAY_LAG_UNHEALTHY_MS } from "../health-PVt0VjOx.mjs";
|
|
7
|
+
import { i as exponentialBackoff, n as EventOutbox, r as repositoryAsOutboxStore, t as createOutboxModule } from "../outbox-module-B4FAkx3A.mjs";
|
|
8
8
|
import { fingerprintRequest, runIdempotent } from "@classytic/repo-core/idempotency";
|
|
9
9
|
import { MemoryOutboxStore } from "@classytic/primitives/memory-outbox";
|
|
10
10
|
//#region src/events/inbox.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { n as evictToSize } from "../../boundedMap-
|
|
3
|
-
import { r as workSeedFromEvent, t as runWorkScope } from "../../workScope-
|
|
4
|
-
import { t as getSubscriberId } from "../../subscriberIdentity-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { n as evictToSize } from "../../boundedMap-DkKiPifd.mjs";
|
|
3
|
+
import { r as workSeedFromEvent, t as runWorkScope } from "../../workScope-DPPfM4m6.mjs";
|
|
4
|
+
import { t as getSubscriberId } from "../../subscriberIdentity-B-KpZkdl.mjs";
|
|
5
5
|
import sjson from "secure-json-parse";
|
|
6
6
|
import { createEventRouter } from "@classytic/primitives/events";
|
|
7
7
|
//#region src/events/transports/redis-stream.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { r as workSeedFromEvent, t as runWorkScope } from "../../workScope-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { r as workSeedFromEvent, t as runWorkScope } from "../../workScope-DPPfM4m6.mjs";
|
|
3
3
|
import sjson from "secure-json-parse";
|
|
4
4
|
//#region src/events/transports/redis.ts
|
|
5
5
|
/**
|
package/dist/factory/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { r as mergeHealthChecks, t as healthPlugin } from "../health-
|
|
3
|
-
import { a as developmentPreset, c as productionPreset, d as getModuleResources, f as getModuleState, g as collectModuleWorkflows, l as testingPreset, m as subscribeModuleEventHandlers, n as DEFAULT_LOGGER_REDACT_PATHS, o as edgePreset, p as hasModule, r as createApp, s as getPreset, t as ArcFactory, u as workerPreset } from "../createApp-
|
|
4
|
-
import { _ as dependentsOf, b as verifyEventDurability, d as resolveModule, g as crudEventsOf, h as buildModuleGraph, i as planModules, m as analyzeModuleGraph, o as resolveModuleClosure, p as activateBridges, r as compositionProblems, s as orderModules, t as assertComposable, u as resolveContribution, v as eventTopology, x as verifyModuleGraph, y as renderModuleGraph } from "../plan-
|
|
5
|
-
import { a as lazyModuleExports, i as hasModuleExports, n as getModuleExports, o as lazyRequiredModuleExports, r as getOptionalModuleExports, t as defineModule } from "../module-
|
|
6
|
-
import { t as loadResources } from "../loadResources-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { r as mergeHealthChecks, t as healthPlugin } from "../health-DyeP3mTW.mjs";
|
|
3
|
+
import { a as developmentPreset, c as productionPreset, d as getModuleResources, f as getModuleState, g as collectModuleWorkflows, l as testingPreset, m as subscribeModuleEventHandlers, n as DEFAULT_LOGGER_REDACT_PATHS, o as edgePreset, p as hasModule, r as createApp, s as getPreset, t as ArcFactory, u as workerPreset } from "../createApp-CKjZpmq9.mjs";
|
|
4
|
+
import { _ as dependentsOf, b as verifyEventDurability, d as resolveModule, g as crudEventsOf, h as buildModuleGraph, i as planModules, m as analyzeModuleGraph, o as resolveModuleClosure, p as activateBridges, r as compositionProblems, s as orderModules, t as assertComposable, u as resolveContribution, v as eventTopology, x as verifyModuleGraph, y as renderModuleGraph } from "../plan-CpnTykjb.mjs";
|
|
5
|
+
import { a as lazyModuleExports, i as hasModuleExports, n as getModuleExports, o as lazyRequiredModuleExports, r as getOptionalModuleExports, t as defineModule } from "../module-CfnKuIuH.mjs";
|
|
6
|
+
import { t as loadResources } from "../loadResources-CHPDyIPn.mjs";
|
|
7
7
|
//#region src/factory/module/asyncapi.ts
|
|
8
8
|
/**
|
|
9
9
|
* The module graph as an AsyncAPI 3.0 document — one channel per event (addressed by the event
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as pluralize } from "./pluralize-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as pluralize } from "./pluralize-C3VJKRGp.mjs";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
5
5
|
//#region src/cli/commands/generate/name-helpers.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { u as ValidationError } from "./errors-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { u as ValidationError } from "./errors-grZkIA8N.mjs";
|
|
3
3
|
//#region src/utils/headers.ts
|
|
4
4
|
/**
|
|
5
5
|
* Canonical header typing + accessor.
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
export { t as HookSystem, n as afterCreate, r as afterDelete, i as afterUpdate, a as beforeCreate, o as beforeDelete, s as beforeUpdate, c as createHookSystem, l as defineHook } from "../HookSystem-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
export { t as HookSystem, n as afterCreate, r as afterDelete, i as afterUpdate, a as beforeCreate, o as beforeDelete, s as beforeUpdate, c as createHookSystem, l as defineHook } from "../HookSystem-C1u0EUnt.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { d as createDomainError } from "../errors-
|
|
3
|
-
import { n as requireSingleHeaderValue } from "../headers-
|
|
4
|
-
import { i as requestRequiresIdempotencyKey, n as idempotencyConfigProblem, r as requestDedupedByHandler, t as declaresIdempotencyFence } from "../requirement-
|
|
5
|
-
import { n as createSafeGetOne, t as createIsDuplicateKeyError } from "../store-helpers-
|
|
6
|
-
import { n as createIdempotencyResult, r as operationIdentity, t as resolveIdempotencyTiming } from "../timing-
|
|
7
|
-
import { n as acquireIdempotencyKey, r as releaseIdempotencyLock } from "../acquire-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { d as createDomainError } from "../errors-grZkIA8N.mjs";
|
|
3
|
+
import { n as requireSingleHeaderValue } from "../headers-Cqkg4LzI.mjs";
|
|
4
|
+
import { i as requestRequiresIdempotencyKey, n as idempotencyConfigProblem, r as requestDedupedByHandler, t as declaresIdempotencyFence } from "../requirement-Cp_fsMDL.mjs";
|
|
5
|
+
import { n as createSafeGetOne, t as createIsDuplicateKeyError } from "../store-helpers-C8uBGCbb.mjs";
|
|
6
|
+
import { n as createIdempotencyResult, r as operationIdentity, t as resolveIdempotencyTiming } from "../timing-DCqsezX8.mjs";
|
|
7
|
+
import { n as acquireIdempotencyKey, r as releaseIdempotencyLock } from "../acquire-DTkA8Lme.mjs";
|
|
8
8
|
import { ARC_ERROR_CODES } from "@classytic/repo-core/errors";
|
|
9
9
|
import { and, eq, exists, gt, lt, or, startsWith } from "@classytic/repo-core/filter";
|
|
10
10
|
import { createHash } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as acquireBySteps } from "../acquire-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as acquireBySteps } from "../acquire-DTkA8Lme.mjs";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
//#region src/idempotency/stores/redis.ts
|
|
5
5
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { a as DEFAULT_SORT, d as MAX_FILTER_DEPTH, f as MAX_REGEX_LENGTH, g as SYSTEM_FIELDS, h as RESERVED_QUERY_PARAMS, i as DEFAULT_MAX_LIMIT, l as HOOK_OPERATIONS, m as MUTATION_OPERATIONS, n as DEFAULT_ID_FIELD, o as DEFAULT_TENANT_FIELD, p as MAX_SEARCH_LENGTH, r as DEFAULT_LIMIT, s as DEFAULT_UPDATE_METHOD, t as CRUD_OPERATIONS, u as HOOK_PHASES } from "./constants-
|
|
3
|
-
import { d as createDomainError, i as NotFoundError, l as UnauthorizedError, r as ForbiddenError, t as ArcError, u as ValidationError } from "./errors-
|
|
4
|
-
import { S as nativePolicyFilter, c as BaseController, d as SlugMixin, f as BulkMixin, l as TreeMixin, p as BaseCrudController, u as SoftDeleteMixin } from "./plugin-
|
|
5
|
-
import { t as defineAggregation } from "./defineAggregation-
|
|
6
|
-
import { i as fields, n as applyFieldWritePermissions, t as applyFieldReadPermissions } from "./fields-
|
|
7
|
-
import { S as getControllerScope } from "./actionPermissions-
|
|
8
|
-
import { a as defineResourceVariants, o as mergeResourceConfig, s as defineAction } from "./core-
|
|
9
|
-
import { a as ResourceDefinition, t as defineResource } from "./defineResource-
|
|
10
|
-
import { B as requireAuth, C as createOrgPermissions, D as requireScopeContext, E as requireOrgRole, F as allowPublic, G as when, I as anyOf, N as allOf, O as requireServiceScope, R as denyAll, S as createDynamicPermissionMatrix, T as requireOrgMembership, U as requireRoles, V as requireOwnership, a as adminOnly, c as ownerWithAdminBypass, d as publicRead, f as publicReadAdminWrite, k as requireTeamMembership, o as authenticated, p as readOnly, s as fullPublic, u as presets_exports, w as requireOrgInScope } from "./permissions-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { a as DEFAULT_SORT, d as MAX_FILTER_DEPTH, f as MAX_REGEX_LENGTH, g as SYSTEM_FIELDS, h as RESERVED_QUERY_PARAMS, i as DEFAULT_MAX_LIMIT, l as HOOK_OPERATIONS, m as MUTATION_OPERATIONS, n as DEFAULT_ID_FIELD, o as DEFAULT_TENANT_FIELD, p as MAX_SEARCH_LENGTH, r as DEFAULT_LIMIT, s as DEFAULT_UPDATE_METHOD, t as CRUD_OPERATIONS, u as HOOK_PHASES } from "./constants-D_aiew34.mjs";
|
|
3
|
+
import { d as createDomainError, i as NotFoundError, l as UnauthorizedError, r as ForbiddenError, t as ArcError, u as ValidationError } from "./errors-grZkIA8N.mjs";
|
|
4
|
+
import { S as nativePolicyFilter, c as BaseController, d as SlugMixin, f as BulkMixin, l as TreeMixin, p as BaseCrudController, u as SoftDeleteMixin } from "./plugin-DXTjVg_Q.mjs";
|
|
5
|
+
import { t as defineAggregation } from "./defineAggregation-BLza7Ca4.mjs";
|
|
6
|
+
import { i as fields, n as applyFieldWritePermissions, t as applyFieldReadPermissions } from "./fields-BRX0Krcj.mjs";
|
|
7
|
+
import { S as getControllerScope } from "./actionPermissions-DRVk6m7x.mjs";
|
|
8
|
+
import { a as defineResourceVariants, o as mergeResourceConfig, s as defineAction } from "./core-QIZ2560Y.mjs";
|
|
9
|
+
import { a as ResourceDefinition, t as defineResource } from "./defineResource-CEo0gDCb.mjs";
|
|
10
|
+
import { B as requireAuth, C as createOrgPermissions, D as requireScopeContext, E as requireOrgRole, F as allowPublic, G as when, I as anyOf, N as allOf, O as requireServiceScope, R as denyAll, S as createDynamicPermissionMatrix, T as requireOrgMembership, U as requireRoles, V as requireOwnership, a as adminOnly, c as ownerWithAdminBypass, d as publicRead, f as publicReadAdminWrite, k as requireTeamMembership, o as authenticated, p as readOnly, s as fullPublic, u as presets_exports, w as requireOrgInScope } from "./permissions-B14c3OMp.mjs";
|
|
11
11
|
//#region src/index.ts
|
|
12
|
-
const version = "2.45.
|
|
12
|
+
const version = "2.45.2";
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ArcError, BaseController, BaseCrudController, BulkMixin, CRUD_OPERATIONS, DEFAULT_ID_FIELD, DEFAULT_LIMIT, DEFAULT_MAX_LIMIT, DEFAULT_SORT, DEFAULT_TENANT_FIELD, DEFAULT_UPDATE_METHOD, ForbiddenError, HOOK_OPERATIONS, HOOK_PHASES, MAX_FILTER_DEPTH, MAX_REGEX_LENGTH, MAX_SEARCH_LENGTH, MUTATION_OPERATIONS, NotFoundError, RESERVED_QUERY_PARAMS, ResourceDefinition, SYSTEM_FIELDS, SlugMixin, SoftDeleteMixin, TreeMixin, UnauthorizedError, ValidationError, adminOnly, allOf, allowPublic, anyOf, applyFieldReadPermissions, applyFieldWritePermissions, authenticated, createDomainError, createDynamicPermissionMatrix, createOrgPermissions, defineAction, defineAggregation, defineResource, defineResourceVariants, denyAll, fields, fullPublic, getControllerScope, mergeResourceConfig, nativePolicyFilter, ownerWithAdminBypass, presets_exports as permissions, publicRead, publicReadAdminWrite, readOnly, requireAuth, requireOrgInScope, requireOrgMembership, requireOrgRole, requireOwnership, requireRoles, requireScopeContext, requireServiceScope, requireTeamMembership, version, when };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
2
|
import fp from "fastify-plugin";
|
|
3
3
|
//#region src/integrations/event-gateway.ts
|
|
4
4
|
const eventGatewayPluginImpl = async (fastify, opts = {}) => {
|
|
5
5
|
const { auth = true, orgScoped, roomPolicy, maxMessageBytes, maxSubscriptionsPerClient, authenticate } = opts;
|
|
6
6
|
if (auth && !authenticate && !fastify.hasDecorator("authenticate")) throw new Error("[arc-event-gateway] auth is true but fastify.authenticate is not registered. Register an auth plugin first, provide a custom authenticate function, or set auth: false.");
|
|
7
7
|
if (opts.sse !== false) {
|
|
8
|
-
const { default: ssePlugin } = await import("../sse-
|
|
8
|
+
const { default: ssePlugin } = await import("../sse-CuNNWr2z.mjs").then((n) => n.n);
|
|
9
9
|
await fastify.register(ssePlugin, {
|
|
10
10
|
path: opts.sse?.path ?? "/events/stream",
|
|
11
11
|
requireAuth: auth,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
2
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { n as evaluateAndApplyPermission } from "../../authorizationDecision-
|
|
3
|
-
import { i as runAdmittedWork, r as registerShutdownParticipant } from "../../shutdown-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { n as evaluateAndApplyPermission } from "../../authorizationDecision-D48fUJv1.mjs";
|
|
3
|
+
import { i as runAdmittedWork, r as registerShutdownParticipant } from "../../shutdown-CfrqPR7A.mjs";
|
|
4
4
|
import fp from "fastify-plugin";
|
|
5
5
|
//#region src/integrations/jobs/execution.ts
|
|
6
6
|
async function executeTimedHandler(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { _ as resolveToolCollisions, a as toolInputShape, c as resolveCrudDescription, d as permissionDeniedResult, f as toCallToolError, g as createMcpServer, h as buildRequestContext, i as isZodTypeSchema, l as invokeController, m as toCallToolSuccess, n as mcpPlugin, o as fieldRulesToZod, p as toCallToolResult, r as resourceToTools, s as defaultCrudDescription, t as filterResourcesForMcp, u as mcpHandlerAdapter } from "../../mcpPlugin-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { _ as resolveToolCollisions, a as toolInputShape, c as resolveCrudDescription, d as permissionDeniedResult, f as toCallToolError, g as createMcpServer, h as buildRequestContext, i as isZodTypeSchema, l as invokeController, m as toCallToolSuccess, n as mcpPlugin, o as fieldRulesToZod, p as toCallToolResult, r as resourceToTools, s as defaultCrudDescription, t as filterResourcesForMcp, u as mcpHandlerAdapter } from "../../mcpPlugin-C9qohJCF.mjs";
|
|
3
3
|
//#region src/integrations/mcp/defineTool.ts
|
|
4
4
|
/**
|
|
5
5
|
* Define a type-safe MCP tool.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { g as createMcpServer, r as resourceToTools, t as filterResourcesForMcp } from "../../mcpPlugin-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { g as createMcpServer, r as resourceToTools, t as filterResourcesForMcp } from "../../mcpPlugin-C9qohJCF.mjs";
|
|
3
3
|
//#region src/integrations/mcp/testing.ts
|
|
4
4
|
/**
|
|
5
5
|
* Serve an already-built `McpServer` on an ephemeral loopback port and connect
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { f as createError, i as NotFoundError, r as ForbiddenError } from "../errors-
|
|
3
|
-
import { a as promoteStreamTokenToHeader, n as forwardedStreamHeaders } from "../streaming-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { f as createError, i as NotFoundError, r as ForbiddenError } from "../errors-grZkIA8N.mjs";
|
|
3
|
+
import { a as promoteStreamTokenToHeader, n as forwardedStreamHeaders } from "../streaming-Bdq_M4d5.mjs";
|
|
4
4
|
import { ARC_ERROR_CODES } from "@classytic/repo-core/errors";
|
|
5
5
|
import fp from "fastify-plugin";
|
|
6
6
|
//#region src/integrations/streamline.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { n as declareRuntimeCapability } from "../runtimeCapabilities-
|
|
3
|
-
import { i as exponentialBackoff, t as createOutboxModule } from "../outbox-module-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { n as declareRuntimeCapability } from "../runtimeCapabilities-CydRfm0i.mjs";
|
|
3
|
+
import { i as exponentialBackoff, t as createOutboxModule } from "../outbox-module-B4FAkx3A.mjs";
|
|
4
4
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
5
5
|
import fp from "fastify-plugin";
|
|
6
6
|
import { createChildEvent, matchEventPattern } from "@classytic/primitives/events";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { n as declareRuntimeCapability } from "../runtimeCapabilities-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { n as declareRuntimeCapability } from "../runtimeCapabilities-CydRfm0i.mjs";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import sjson from "secure-json-parse";
|
|
5
5
|
import fp from "fastify-plugin";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as ArcError } from "./errors-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as ArcError } from "./errors-grZkIA8N.mjs";
|
|
3
3
|
import sjson from "secure-json-parse";
|
|
4
4
|
//#region src/utils/jsonBody.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
3
|
-
import { t as arcLog } from "./logger-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as __exportAll } from "./rolldown-runtime-D_lMdYOd.mjs";
|
|
3
|
+
import { t as arcLog } from "./logger-C5bvCiAK.mjs";
|
|
4
4
|
import { readdir } from "node:fs/promises";
|
|
5
5
|
import { dirname, join, resolve } from "node:path";
|
|
6
6
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as ResourceRegistry } from "./ResourceRegistry-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as ResourceRegistry } from "./ResourceRegistry-D2jXWVN_.mjs";
|
|
3
3
|
import { resolve } from "node:path";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
5
5
|
//#region src/cli/utils/loadResourcesFromEntry.ts
|
package/dist/logger/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
export { t as arcLog, n as configureArcLogger, r as createPinoWriter, i as runWithArcLogger } from "../logger-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
export { t as arcLog, n as configureArcLogger, r as createPinoWriter, i as runWithArcLogger } from "../logger-C5bvCiAK.mjs";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as arcLog } from "./logger-
|
|
3
|
-
import { i as NotFoundError, p as isArcError, t as ArcError } from "./errors-
|
|
4
|
-
import { c as BaseController, n as normalizeActionsToRouterConfig, r as resolveActionTargetFence } from "./plugin-
|
|
5
|
-
import { n as requireSingleHeaderValue } from "./headers-
|
|
6
|
-
import { b as isElevated, c as getOrgId, g as getUserId, x as isMember } from "./types-
|
|
7
|
-
import { a as resolveEffectiveRoles, t as applyFieldReadPermissions } from "./fields-
|
|
8
|
-
import { o as toJsonSchema } from "./schemaConverter-
|
|
9
|
-
import { t as buildRequestScopeProjection } from "./projection-
|
|
10
|
-
import { l as resolvePipelineSteps, t as resolveActionPermission } from "./actionPermissions-
|
|
11
|
-
import { a as withoutTenantInjection, r as prepareTenantContext } from "./tenantPreparation-
|
|
12
|
-
import { r as evaluatePermissionDecision } from "./authorizationDecision-
|
|
13
|
-
import { n as declareRuntimeCapability } from "./runtimeCapabilities-
|
|
14
|
-
import { t as executePipeline } from "./pipe-
|
|
15
|
-
import { a as resourceRateLimitWindowMs, i as resolveResourceRateLimiter, t as createMemoryResourceRateLimiter } from "./resourceRateLimit-
|
|
16
|
-
import { n as evictToSize, r as touch, t as assertCapacity } from "./boundedMap-
|
|
17
|
-
import { t as pluralize } from "./pluralize-
|
|
18
|
-
import { n as createIdempotencyResult, r as operationIdentity, t as resolveIdempotencyTiming } from "./timing-
|
|
19
|
-
import { n as acquireIdempotencyKey, r as releaseIdempotencyLock } from "./acquire-
|
|
20
|
-
import { r as shouldRejectAdditionalProperties, t as normalizeSchemaIR } from "./schemaIR-
|
|
21
|
-
import { n as validateAggregations } from "./validate-
|
|
22
|
-
import { n as executeAggregation } from "./buildHandler-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as arcLog } from "./logger-C5bvCiAK.mjs";
|
|
3
|
+
import { i as NotFoundError, p as isArcError, t as ArcError } from "./errors-grZkIA8N.mjs";
|
|
4
|
+
import { c as BaseController, n as normalizeActionsToRouterConfig, r as resolveActionTargetFence } from "./plugin-DXTjVg_Q.mjs";
|
|
5
|
+
import { n as requireSingleHeaderValue } from "./headers-Cqkg4LzI.mjs";
|
|
6
|
+
import { b as isElevated, c as getOrgId, g as getUserId, x as isMember } from "./types-D9NWjpYc.mjs";
|
|
7
|
+
import { a as resolveEffectiveRoles, t as applyFieldReadPermissions } from "./fields-BRX0Krcj.mjs";
|
|
8
|
+
import { o as toJsonSchema } from "./schemaConverter-DNvZWTV6.mjs";
|
|
9
|
+
import { t as buildRequestScopeProjection } from "./projection-CgfSLOSM.mjs";
|
|
10
|
+
import { l as resolvePipelineSteps, t as resolveActionPermission } from "./actionPermissions-DRVk6m7x.mjs";
|
|
11
|
+
import { a as withoutTenantInjection, r as prepareTenantContext } from "./tenantPreparation-dYvWrgNa.mjs";
|
|
12
|
+
import { r as evaluatePermissionDecision } from "./authorizationDecision-D48fUJv1.mjs";
|
|
13
|
+
import { n as declareRuntimeCapability } from "./runtimeCapabilities-CydRfm0i.mjs";
|
|
14
|
+
import { t as executePipeline } from "./pipe-CQv7PsAK.mjs";
|
|
15
|
+
import { a as resourceRateLimitWindowMs, i as resolveResourceRateLimiter, t as createMemoryResourceRateLimiter } from "./resourceRateLimit-BFuluodF.mjs";
|
|
16
|
+
import { n as evictToSize, r as touch, t as assertCapacity } from "./boundedMap-DkKiPifd.mjs";
|
|
17
|
+
import { t as pluralize } from "./pluralize-C3VJKRGp.mjs";
|
|
18
|
+
import { n as createIdempotencyResult, r as operationIdentity, t as resolveIdempotencyTiming } from "./timing-DCqsezX8.mjs";
|
|
19
|
+
import { n as acquireIdempotencyKey, r as releaseIdempotencyLock } from "./acquire-DTkA8Lme.mjs";
|
|
20
|
+
import { r as shouldRejectAdditionalProperties, t as normalizeSchemaIR } from "./schemaIR-REV2y7Wd.mjs";
|
|
21
|
+
import { n as validateAggregations } from "./validate-D_mdOCir.mjs";
|
|
22
|
+
import { n as executeAggregation } from "./buildHandler-BiZ4VATS.mjs";
|
|
23
23
|
import { ARC_ERROR_CODES, isHttpError, toErrorContract } from "@classytic/repo-core/errors";
|
|
24
24
|
import { createHash, randomUUID } from "node:crypto";
|
|
25
25
|
import fp from "fastify-plugin";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
3
|
-
import { n as evictToSize } from "./boundedMap-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as __exportAll } from "./rolldown-runtime-D_lMdYOd.mjs";
|
|
3
|
+
import { n as evictToSize } from "./boundedMap-DkKiPifd.mjs";
|
|
4
4
|
//#region src/cache/memory.ts
|
|
5
5
|
var memory_exports = /* @__PURE__ */ __exportAll({ MemoryCacheStore: () => MemoryCacheStore });
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
3
|
-
import { a as MetricHistogram, i as DURATION_BUCKETS_SECONDS, o as MetricSeries, s as renderMetricSample } from "./health-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as __exportAll } from "./rolldown-runtime-D_lMdYOd.mjs";
|
|
3
|
+
import { a as MetricHistogram, i as DURATION_BUCKETS_SECONDS, o as MetricSeries, s as renderMetricSample } from "./health-DyeP3mTW.mjs";
|
|
4
4
|
import fp from "fastify-plugin";
|
|
5
5
|
//#region src/plugins/metrics.ts
|
|
6
6
|
var metrics_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as CRUD_OPERATIONS } from "../constants-
|
|
3
|
-
import { t as multipartBody } from "../multipartBody-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as CRUD_OPERATIONS } from "../constants-D_aiew34.mjs";
|
|
3
|
+
import { t as multipartBody } from "../multipartBody-BFasGtP9.mjs";
|
|
4
4
|
//#region src/middleware/middleware.ts
|
|
5
5
|
/**
|
|
6
6
|
* Named Middleware — Priority-based, conditional middleware execution.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as startRenewingLease } from "../renewingLease-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as startRenewingLease } from "../renewingLease-CykpeNcQ.mjs";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
4
4
|
//#region src/migrations/index.ts
|
|
5
5
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { n as getUserRoles } from "./userHelpers-
|
|
3
|
-
import { n as convertRouteSchema } from "./schemaConverter-
|
|
4
|
-
import { t as resolveActionPermission } from "./actionPermissions-
|
|
5
|
-
import { t as pluralize } from "./pluralize-
|
|
6
|
-
import { t as buildActionBodySchema } from "./createActionRouter-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { n as getUserRoles } from "./userHelpers-BHig1kHq.mjs";
|
|
3
|
+
import { n as convertRouteSchema } from "./schemaConverter-DNvZWTV6.mjs";
|
|
4
|
+
import { t as resolveActionPermission } from "./actionPermissions-DRVk6m7x.mjs";
|
|
5
|
+
import { t as pluralize } from "./pluralize-C3VJKRGp.mjs";
|
|
6
|
+
import { t as buildActionBodySchema } from "./createActionRouter-CvH84dyx.mjs";
|
|
7
7
|
import fp from "fastify-plugin";
|
|
8
8
|
//#region src/docs/openapi/canonical-schemas.ts
|
|
9
9
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { i as NotFoundError, u as ValidationError } from "../errors-
|
|
3
|
-
import { t as defineResource } from "../defineResource-
|
|
4
|
-
import { n as getModuleExports, t as defineModule } from "../module-
|
|
5
|
-
import { r as readOutboxHealth } from "../health-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { i as NotFoundError, u as ValidationError } from "../errors-grZkIA8N.mjs";
|
|
3
|
+
import { t as defineResource } from "../defineResource-CEo0gDCb.mjs";
|
|
4
|
+
import { n as getModuleExports, t as defineModule } from "../module-CfnKuIuH.mjs";
|
|
5
|
+
import { r as readOutboxHealth } from "../health-PVt0VjOx.mjs";
|
|
6
6
|
//#region src/outbox-admin/module.ts
|
|
7
7
|
/**
|
|
8
8
|
* Strip the domain payload and the stack unless explicitly opted in.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as transactionContext } from "./transactionContext-
|
|
3
|
-
import { n as requestContext } from "./requestContext-
|
|
4
|
-
import { n as evictToSize, r as touch } from "./boundedMap-
|
|
5
|
-
import { i as resolveEventTransport } from "./EventTransport-
|
|
6
|
-
import { t as emitObserved } from "./eventPlugin-
|
|
7
|
-
import { n as canReportHealth, r as readOutboxHealth } from "./health-
|
|
8
|
-
import { n as createSafeGetOne, t as createIsDuplicateKeyError } from "./store-helpers-
|
|
9
|
-
import { t as claimedAttempts } from "./claimed-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as transactionContext } from "./transactionContext-DrcNyjpv.mjs";
|
|
3
|
+
import { n as requestContext } from "./requestContext-DIWHKDtQ.mjs";
|
|
4
|
+
import { n as evictToSize, r as touch } from "./boundedMap-DkKiPifd.mjs";
|
|
5
|
+
import { i as resolveEventTransport } from "./EventTransport-DHb1tpu-.mjs";
|
|
6
|
+
import { t as emitObserved } from "./eventPlugin-ItcYBGUs.mjs";
|
|
7
|
+
import { n as canReportHealth, r as readOutboxHealth } from "./health-PVt0VjOx.mjs";
|
|
8
|
+
import { n as createSafeGetOne, t as createIsDuplicateKeyError } from "./store-helpers-C8uBGCbb.mjs";
|
|
9
|
+
import { t as claimedAttempts } from "./claimed-ChI13rUR.mjs";
|
|
10
10
|
import { and, anyOf, eq, lte, ne, or } from "@classytic/repo-core/filter";
|
|
11
11
|
import { randomBytes } from "node:crypto";
|
|
12
12
|
import { InvalidOutboxEventError, OutboxConflictError, OutboxOwnershipError, outboxPayloadFingerprint } from "@classytic/primitives/outbox";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @classytic/arc v2.45.
|
|
2
|
-
import { t as conjoinPolicyFilters } from "../filter-merge-
|
|
3
|
-
import { n as getUserRoles, r as normalizeRoles } from "../userHelpers-
|
|
4
|
-
import { a as resolveEffectiveRoles, i as fields, n as applyFieldWritePermissions, t as applyFieldReadPermissions } from "../fields-
|
|
5
|
-
import { i as normalizeToDecision, r as evaluatePermissionDecision, t as applyAuthorizationDecision } from "../authorizationDecision-
|
|
6
|
-
import { i as resolveResourceRateLimiter, t as createMemoryResourceRateLimiter } from "../resourceRateLimit-
|
|
7
|
-
import { A as requireAgentScope, B as requireAuth, C as createOrgPermissions, D as requireScopeContext, E as requireOrgRole, F as allowPublic, G as when, H as requirePlatformRole, I as anyOf, K as scopeOf, L as deny, M as requireMandate, N as allOf, O as requireServiceScope, P as allow, R as denyAll, S as createDynamicPermissionMatrix, T as requireOrgMembership, U as requireRoles, V as requireOwnership, W as roles, _ as requireGrant, a as adminOnly, b as describePermissionMap, c as ownerWithAdminBypass, d as publicRead, f as publicReadAdminWrite, g as modeSatisfies, h as GRANT_MODES, i as introspectRegistry, j as requireDPoP, k as requireTeamMembership, l as permissionMatrix, m as createRoleHierarchy, n as introspectCheck, o as authenticated, p as readOnly, r as introspectModule, s as fullPublic, t as buildPermissionMatrix, u as presets_exports, v as collectPublicSurface, w as requireOrgInScope, x as explainAccess, y as describePermission, z as not } from "../permissions-
|
|
1
|
+
/*! @classytic/arc v2.45.2 | MIT | https://classytic.com */
|
|
2
|
+
import { t as conjoinPolicyFilters } from "../filter-merge-CDc7YMwX.mjs";
|
|
3
|
+
import { n as getUserRoles, r as normalizeRoles } from "../userHelpers-BHig1kHq.mjs";
|
|
4
|
+
import { a as resolveEffectiveRoles, i as fields, n as applyFieldWritePermissions, t as applyFieldReadPermissions } from "../fields-BRX0Krcj.mjs";
|
|
5
|
+
import { i as normalizeToDecision, r as evaluatePermissionDecision, t as applyAuthorizationDecision } from "../authorizationDecision-D48fUJv1.mjs";
|
|
6
|
+
import { i as resolveResourceRateLimiter, t as createMemoryResourceRateLimiter } from "../resourceRateLimit-BFuluodF.mjs";
|
|
7
|
+
import { A as requireAgentScope, B as requireAuth, C as createOrgPermissions, D as requireScopeContext, E as requireOrgRole, F as allowPublic, G as when, H as requirePlatformRole, I as anyOf, K as scopeOf, L as deny, M as requireMandate, N as allOf, O as requireServiceScope, P as allow, R as denyAll, S as createDynamicPermissionMatrix, T as requireOrgMembership, U as requireRoles, V as requireOwnership, W as roles, _ as requireGrant, a as adminOnly, b as describePermissionMap, c as ownerWithAdminBypass, d as publicRead, f as publicReadAdminWrite, g as modeSatisfies, h as GRANT_MODES, i as introspectRegistry, j as requireDPoP, k as requireTeamMembership, l as permissionMatrix, m as createRoleHierarchy, n as introspectCheck, o as authenticated, p as readOnly, r as introspectModule, s as fullPublic, t as buildPermissionMatrix, u as presets_exports, v as collectPublicSurface, w as requireOrgInScope, x as explainAccess, y as describePermission, z as not } from "../permissions-B14c3OMp.mjs";
|
|
8
8
|
export { GRANT_MODES, adminOnly, allOf, allow, allowPublic, anyOf, applyAuthorizationDecision, applyFieldReadPermissions, applyFieldWritePermissions, authenticated, buildPermissionMatrix, collectPublicSurface, conjoinPolicyFilters, createDynamicPermissionMatrix, createMemoryResourceRateLimiter, createOrgPermissions, createRoleHierarchy, deny, denyAll, describePermission, describePermissionMap, evaluatePermissionDecision, explainAccess, fields, fullPublic, getUserRoles, introspectCheck, introspectModule, introspectRegistry, modeSatisfies, normalizeRoles, normalizeToDecision, not, ownerWithAdminBypass, permissionMatrix, presets_exports as permissions, publicRead, publicReadAdminWrite, readOnly, requireAgentScope, requireAuth, requireDPoP, requireGrant, requireMandate, requireOrgInScope, requireOrgMembership, requireOrgRole, requireOwnership, requirePlatformRole, requireRoles, requireScopeContext, requireServiceScope, requireTeamMembership, resolveEffectiveRoles, resolveResourceRateLimiter, roles, scopeOf, when };
|