@classytic/arc 2.45.2 → 2.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{EventTransport-DHb1tpu-.mjs → EventTransport-BHKy4_Bi.mjs} +5 -6
- package/dist/{EventTransport-CiicKz2Z.d.mts → EventTransport-CYEoCJGe.d.mts} +0 -2
- package/dist/{HookSystem-C1u0EUnt.mjs → HookSystem-CAIDVoKC.mjs} +3 -4
- package/dist/{QueryCache--5uAuYPW.d.mts → QueryCache-DdvrGG8Q.d.mts} +1 -3
- package/dist/{ResourceRegistry-D2jXWVN_.mjs → ResourceRegistry-23Ml6FNe.mjs} +15 -4
- package/dist/{acquire-DTkA8Lme.mjs → acquire-DoFX06fm.mjs} +2 -3
- package/dist/{actionPermissions-DRVk6m7x.mjs → actionPermissions-DXrlWHHK.mjs} +37 -42
- package/dist/audit/index.d.mts +2 -10
- package/dist/audit/index.mjs +8 -12
- package/dist/auth/audit.d.mts +0 -2
- package/dist/auth/audit.mjs +2 -3
- package/dist/auth/index.d.mts +9 -17
- package/dist/auth/index.mjs +26 -29
- package/dist/auth/redis-session.d.mts +2 -4
- package/dist/auth/redis-session.mjs +2 -3
- package/dist/{authorizationDecision-D48fUJv1.mjs → authorizationDecision-DYiubkYw.mjs} +5 -6
- package/dist/{base-CZyixEQR.d.mts → base-HXNgPQww.d.mts} +1 -7
- package/dist/{boundedMap-DkKiPifd.mjs → boundedMap-CtdzpJ3X.mjs} +2 -3
- package/dist/{buildHandler-BiZ4VATS.mjs → buildHandler-CARdmPNo.mjs} +5 -6
- package/dist/cache/index.d.mts +4 -10
- package/dist/cache/index.mjs +5 -6
- package/dist/{caching-Cj0as-P1.mjs → caching-QRiryDLs.mjs} +3 -4
- package/dist/{claimed-ChI13rUR.mjs → claimed-BLecr1j3.mjs} +2 -3
- package/dist/cleanup/index.d.mts +4 -18
- package/dist/cleanup/index.mjs +12 -20
- package/dist/cli/commands/describe.d.mts +1 -3
- package/dist/cli/commands/describe.mjs +4 -5
- package/dist/cli/commands/docs.d.mts +1 -3
- package/dist/cli/commands/docs.mjs +4 -5
- package/dist/cli/commands/doctor.d.mts +1 -3
- package/dist/cli/commands/doctor.mjs +2 -3
- package/dist/cli/commands/generate.d.mts +1 -1
- package/dist/cli/commands/generate.mjs +2 -2
- package/dist/cli/commands/init.d.mts +1 -1
- package/dist/cli/commands/init.mjs +2 -2
- package/dist/cli/commands/introspect.d.mts +1 -3
- package/dist/cli/commands/introspect.mjs +3 -4
- package/dist/cli/index.d.mts +2 -2
- package/dist/cli/index.mjs +3 -3
- package/dist/{constants-D_aiew34.mjs → constants-Cx7BcnHT.mjs} +2 -3
- package/dist/context/index.d.mts +0 -8
- package/dist/context/index.mjs +6 -7
- package/dist/core/index.d.mts +3 -3
- package/dist/core/index.mjs +8 -8
- package/dist/{core-QIZ2560Y.mjs → core-0WyMuo0f.mjs} +9 -12
- package/dist/{createActionRouter-CvH84dyx.mjs → createActionRouter-mLAGbpDV.mjs} +7 -8
- package/dist/{createAggregationRouter-DGyK2Hp6.mjs → createAggregationRouter-BEAjn3dA.mjs} +9 -10
- package/dist/{createApp-CKjZpmq9.mjs → createApp-QDP4vYWH.mjs} +49 -62
- package/dist/{createMcpServer-DSztofa9.d.mts → createMcpServer-DzXHX0SO.d.mts} +1 -3
- package/dist/{defineAggregation-BLza7Ca4.mjs → defineAggregation-CFNfvz-C.mjs} +2 -3
- package/dist/{defineResource-CEo0gDCb.mjs → defineResource-BROJmhzJ.mjs} +80 -29
- package/dist/discovery/index.d.mts +1 -3
- package/dist/discovery/index.mjs +2 -3
- package/dist/docs/index.d.mts +8 -8
- package/dist/docs/index.mjs +4 -5
- package/dist/{elevation-BW2J3tNj.d.mts → elevation-DPD0hcU-.d.mts} +0 -2
- package/dist/{elevation-BJTsSnke.mjs → elevation-DrXeEWWk.mjs} +9 -10
- package/dist/encryption/index.d.mts +1 -7
- package/dist/encryption/index.mjs +8 -13
- package/dist/{errorHandler--4rSMMvq.d.mts → errorHandler-B9r88jZV.d.mts} +8 -3
- package/dist/{errorHandler-2p4SL5zm.mjs → errorHandler-BiBXtxj4.mjs} +16 -6
- package/dist/{errors-JYc9vwqE.d.mts → errors-DTo0me1o.d.mts} +0 -2
- package/dist/{errors-grZkIA8N.mjs → errors-DnrUChAy.mjs} +2 -3
- package/dist/{eventPlugin-BtmA4-3P.d.mts → eventPlugin-BY38F6yK.d.mts} +1 -7
- package/dist/{eventPlugin-ItcYBGUs.mjs → eventPlugin-BhKLUe7H.mjs} +10 -12
- package/dist/{eventTypes-Ck6fD3ne.mjs → eventTypes-CCIRGakw.mjs} +5 -8
- package/dist/events/index.d.mts +5 -17
- package/dist/events/index.mjs +9 -9
- package/dist/events/transports/redis-stream-entry.d.mts +1 -1
- package/dist/events/transports/redis-stream-entry.mjs +5 -6
- package/dist/events/transports/redis.d.mts +2 -4
- package/dist/events/transports/redis.mjs +3 -4
- package/dist/{externalPaths-CmGOxOtD.d.mts → externalPaths-BOqdq5wr.d.mts} +0 -2
- package/dist/factory/index.d.mts +4 -14
- package/dist/factory/index.mjs +12 -18
- package/dist/{fastify-augmentation-DRlCIWE9.d.mts → fastify-augmentation-bzkWPt1f.d.mts} +4 -10
- package/dist/{fields-BRX0Krcj.mjs → fields-CYdpcV73.mjs} +2 -3
- package/dist/{fields-BBSpf8pS.d.mts → fields-JTkrtO-r.d.mts} +0 -2
- package/dist/{filter-merge-CDc7YMwX.mjs → filter-merge-6kasezRH.mjs} +2 -3
- package/dist/{generate-DCGuEbqI.d.mts → generate-C-g_KOkV.d.mts} +0 -4
- package/dist/{generate-hvg7V2g1.mjs → generate-DUkcbc4r.mjs} +7 -12
- package/dist/{headers-Cqkg4LzI.mjs → headers-KxhrKevA.mjs} +3 -4
- package/dist/{health-PVt0VjOx.mjs → health-CRJg3IIq.mjs} +2 -3
- package/dist/{health-DyeP3mTW.mjs → health-jkYNdobJ.mjs} +4 -7
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/http-cache/index.d.mts +211 -0
- package/dist/http-cache/index.mjs +605 -0
- package/dist/http-cache/purgers/cloudflare.d.mts +13 -0
- package/dist/http-cache/purgers/cloudflare.mjs +46 -0
- package/dist/http-cache/purgers/fastly.d.mts +12 -0
- package/dist/http-cache/purgers/fastly.mjs +47 -0
- package/dist/http-cache/testing/index.d.mts +68 -0
- package/dist/http-cache/testing/index.mjs +168 -0
- package/dist/idempotency/index.d.mts +3 -9
- package/dist/idempotency/index.mjs +11 -14
- package/dist/idempotency/redis.d.mts +1 -1
- package/dist/idempotency/redis.mjs +3 -4
- package/dist/{index-Bxriq3so.d.mts → index-B5i9-vuP.d.mts} +4 -26
- package/dist/{index-Chgz3d0i.d.mts → index-BAXDo5eE.d.mts} +1 -7
- package/dist/{index-Beg3aNnK.d.mts → index-BxZS-8So.d.mts} +67 -25
- package/dist/{index-WH7xgvxS.d.mts → index-Cy2-QffW.d.mts} +40 -92
- package/dist/{index-uhkUA5-U.d.mts → index-D1X_C_qz.d.mts} +13 -23
- package/dist/{index-CUJvoyw3.d.mts → index-DFCCQ9AE.d.mts} +2 -24
- package/dist/index.d.mts +7 -9
- package/dist/index.mjs +12 -13
- package/dist/{init-jC3rMPzb.mjs → init-CACwpktI.mjs} +18 -35
- package/dist/{init-Cscs4lab.d.mts → init-CV2_Fw3H.d.mts} +0 -4
- package/dist/integrations/event-gateway.d.mts +3 -5
- package/dist/integrations/event-gateway.mjs +3 -4
- package/dist/integrations/index.d.mts +3 -3
- package/dist/integrations/index.mjs +1 -1
- package/dist/integrations/jobs/index.d.mts +1 -1
- package/dist/integrations/jobs/index.mjs +7 -11
- package/dist/integrations/mcp/index.d.mts +7 -39
- package/dist/integrations/mcp/index.mjs +8 -14
- package/dist/integrations/mcp/testing.d.mts +3 -5
- package/dist/integrations/mcp/testing.mjs +3 -4
- package/dist/integrations/streamline.d.mts +1 -3
- package/dist/integrations/streamline.mjs +4 -5
- package/dist/integrations/webhooks.d.mts +2 -4
- package/dist/integrations/webhooks.mjs +5 -5
- package/dist/integrations/websocket-pushref-redis.d.mts +2 -4
- package/dist/integrations/websocket-pushref-redis.mjs +2 -3
- package/dist/integrations/websocket-redis.d.mts +2 -4
- package/dist/integrations/websocket-redis.mjs +2 -3
- package/dist/integrations/websocket.d.mts +2 -2
- package/dist/integrations/websocket.mjs +13 -24
- package/dist/{interface-JJzwH4Ro.d.mts → interface-BmExzQRD.d.mts} +0 -2
- package/dist/{interface-BOk3YnTz.d.mts → interface-WR1U0K7t.d.mts} +0 -2
- package/dist/{jsonBody-ptwyzZQ-.mjs → jsonBody-CzDBkCme.mjs} +3 -4
- package/dist/{keys-C1vFuSbv.mjs → keys-Cbwf6r1B.mjs} +2 -3
- package/dist/{loadResources-CHPDyIPn.mjs → loadResources-Kr6vuljv.mjs} +4 -5
- package/dist/{loadResourcesFromEntry-BkHHTu_B.mjs → loadResourcesFromEntry-D2e0qoDR.mjs} +3 -4
- package/dist/logger/index.d.mts +1 -3
- package/dist/logger/index.mjs +2 -2
- package/dist/{logger-C5bvCiAK.mjs → logger-C110X5Yz.mjs} +3 -5
- package/dist/{mcpPlugin-C9qohJCF.mjs → mcpPlugin-4lIPr9OJ.mjs} +41 -60
- package/dist/{memory-CxiTwT0j.mjs → memory-D9qkhXiB.mjs} +4 -5
- package/dist/{metrics-Ckp2zRy-.mjs → metrics-B-qrrWfI.mjs} +4 -5
- package/dist/middleware/index.d.mts +1 -5
- package/dist/middleware/index.mjs +4 -5
- package/dist/migrations/index.d.mts +0 -2
- package/dist/migrations/index.mjs +3 -4
- package/dist/{module-CfnKuIuH.mjs → module-BD8xHgrz.mjs} +2 -3
- package/dist/{multiTenant-CAtYlW6H.d.mts → multiTenant-KZj8j1uJ.d.mts} +1 -5
- package/dist/{multipartBody-BFasGtP9.mjs → multipartBody-qU7KCn1l.mjs} +2 -3
- package/dist/observeSend-BnPtTotW.mjs +20 -0
- package/dist/{openapi-DAPxjYHX.mjs → openapi-DoVa5SVP.mjs} +18 -28
- package/dist/outbox-admin/index.d.mts +2 -4
- package/dist/outbox-admin/index.mjs +6 -7
- package/dist/{outbox-module-gZCHoE4H.d.mts → outbox-module-5Mnwcycy.d.mts} +3 -9
- package/dist/outbox-module-DyITEIop.mjs +297 -0
- package/dist/permissions/index.d.mts +4 -4
- package/dist/permissions/index.mjs +7 -7
- package/dist/{permissions-B14c3OMp.mjs → permissions-BBy4bOGi.mjs} +19 -29
- package/dist/{pipe-CQv7PsAK.mjs → pipe-BOm2o4UA.mjs} +3 -4
- package/dist/pipeline/index.d.mts +1 -9
- package/dist/pipeline/index.mjs +5 -8
- package/dist/{plan-CpnTykjb.mjs → plan-DDIGwuxr.mjs} +5 -9
- package/dist/{plugin-DXTjVg_Q.mjs → plugin-Bn4D_0XK.mjs} +156 -64
- package/dist/plugins/index.d.mts +8 -16
- package/dist/plugins/index.mjs +22 -26
- package/dist/plugins/response-cache.d.mts +2 -4
- package/dist/plugins/response-cache.mjs +10 -10
- package/dist/plugins/tracing-entry.d.mts +1 -1
- package/dist/plugins/tracing-entry.mjs +3 -4
- package/dist/{pluralize-C3VJKRGp.mjs → pluralize-ClEjcKlG.mjs} +2 -3
- package/dist/policy.types-DPqToKG1.d.mts +50 -0
- package/dist/presets/filesUpload.d.mts +4 -6
- package/dist/presets/filesUpload.mjs +6 -7
- package/dist/presets/index.d.mts +3 -19
- package/dist/presets/index.mjs +2 -2
- package/dist/presets/multiTenant.d.mts +1 -1
- package/dist/presets/multiTenant.mjs +7 -7
- package/dist/presets/search.d.mts +3 -5
- package/dist/presets/search.mjs +3 -4
- package/dist/{presets-CquqYJPy.mjs → presets-DK2jh5YR.mjs} +11 -18
- package/dist/{projection-CgfSLOSM.mjs → projection-BHH-sXyS.mjs} +3 -4
- package/dist/purger.types-2wNJK_89.mjs +24 -0
- package/dist/purger.types-DvPp4-yd.d.mts +26 -0
- package/dist/{pushref-registry-UxCkoA4C.d.mts → pushref-registry-d86QUaSq.d.mts} +0 -6
- package/dist/{queryCachePlugin-D0HUISHJ.mjs → queryCachePlugin-Ckqe98AM.mjs} +8 -10
- package/dist/{queryCachePlugin-C2lZjTxk.d.mts → queryCachePlugin-DYQUyeJ9.d.mts} +2 -4
- package/dist/{rateLimitKey-AvkBOMkl.mjs → rateLimitKey-CWAjlqcN.mjs} +2 -3
- package/dist/{realtime-CbWtVbqK.mjs → realtime-BIJi9USY.mjs} +17 -19
- package/dist/{redis-BDgv9Glw.d.mts → redis-RpDMemdm.d.mts} +2 -4
- package/dist/{redis-stream-BMk-bpQS.d.mts → redis-stream-CS1N9dwM.d.mts} +1 -3
- package/dist/{redisShapes-CQksY67q.d.mts → redisShapes-CqBXTn_s.d.mts} +0 -2
- package/dist/registry/index.d.mts +2 -12
- package/dist/registry/index.mjs +3 -3
- package/dist/{registry-BVwpAuFI.mjs → registry-y9ZA-R_J.mjs} +7 -12
- package/dist/{outbox-module-B4FAkx3A.mjs → relay-BNrC1CEP.mjs} +8 -306
- package/dist/{renewingLease-CykpeNcQ.mjs → renewingLease-CS43br5E.mjs} +2 -3
- package/dist/{replyHelpers-DA51IZio.mjs → replyHelpers-oZDzakGb.mjs} +3 -4
- package/dist/{requestContext-DIWHKDtQ.mjs → requestContext-fWb_YaV2.mjs} +2 -3
- package/dist/{requirement-Cp_fsMDL.mjs → requirement--2hWyyHi.mjs} +2 -3
- package/dist/{requirement-CbiLdQ1n.d.mts → requirement-CTRQjjQx.d.mts} +0 -2
- package/dist/{resourceRateLimit-BFuluodF.mjs → resourceRateLimit-1WbcyMZY.mjs} +3 -4
- package/dist/{resourceRateLimit-Wf6d6FL9.d.mts → resourceRateLimit-DCWglD7V.d.mts} +1 -3
- package/dist/{rolldown-runtime-D_lMdYOd.mjs → rolldown-runtime-yH2lHMo_.mjs} +2 -3
- package/dist/{routeValidator-DuLonYwr.mjs → routeValidator-BSlRIA5c.mjs} +2 -3
- package/dist/{runtimeCapabilities-CydRfm0i.mjs → runtimeCapabilities-CYCEtU1W.mjs} +2 -3
- package/dist/{schedules-B693KXxa.mjs → schedules-B5WGlYIT.mjs} +132 -9
- package/dist/{schemaConverter-DNvZWTV6.mjs → schemaConverter-DtNvts-6.mjs} +3 -4
- package/dist/{schemaIR-REV2y7Wd.mjs → schemaIR-uS_RHqa3.mjs} +3 -4
- package/dist/schemas/index.d.mts +0 -2
- package/dist/schemas/index.mjs +2 -3
- package/dist/scim/index.d.mts +0 -12
- package/dist/scim/index.mjs +10 -18
- package/dist/scope/index.d.mts +2 -6
- package/dist/scope/index.mjs +5 -5
- package/dist/{scope-Bevxy_ST.mjs → scope-BwVLSyNG.mjs} +5 -6
- package/dist/{sessionManager-qimlKV0P.d.mts → sessionManager-CdvDF04x.d.mts} +2 -4
- package/dist/{shutdown-CfrqPR7A.mjs → shutdown-BJiJN7FT.mjs} +2 -3
- package/dist/{simpleEqualityMatcher-BJwfuRKP.mjs → simpleEqualityMatcher-DGRLq-1k.mjs} +2 -3
- package/dist/{sse-CuNNWr2z.mjs → sse-B_50llZu.mjs} +8 -9
- package/dist/{sseStream-C_2ujAVY.mjs → sseStream-BjSo9Ult.mjs} +3 -4
- package/dist/{storage-Cx9Sz3Ou.d.mts → storage-odC5MNKN.d.mts} +0 -2
- package/dist/{store-helpers-C8uBGCbb.mjs → store-helpers-D-n5cwy5.mjs} +2 -3
- package/dist/{streaming-Bdq_M4d5.mjs → streaming-Dcgqa-hH.mjs} +2 -3
- package/dist/{subscriberIdentity-B-KpZkdl.mjs → subscriberIdentity-C9KhIXTF.mjs} +2 -3
- package/dist/{tenancy-C5PCvm1h.mjs → tenancy-COrhjPRZ.mjs} +3 -4
- package/dist/{tenantPreparation-dYvWrgNa.mjs → tenantPreparation-BElWHytd.mjs} +5 -6
- package/dist/testing/cleanupStoreContract.d.mts +2 -4
- package/dist/testing/cleanupStoreContract.mjs +2 -3
- package/dist/testing/index.d.mts +6 -32
- package/dist/testing/index.mjs +24 -37
- package/dist/testing/outboxStoreContract.d.mts +1 -3
- package/dist/testing/outboxStoreContract.mjs +3 -4
- package/dist/testing/requiredPorts.d.mts +2 -4
- package/dist/testing/requiredPorts.mjs +3 -4
- package/dist/testing/storageContract.d.mts +2 -4
- package/dist/testing/storageContract.mjs +2 -3
- package/dist/{timing-DCqsezX8.mjs → timing-CaxKbRk_.mjs} +3 -5
- package/dist/{tracing-Dro5eH6j.d.mts → tracing-JSFiBl5r.d.mts} +0 -2
- package/dist/{transactionContext-DrcNyjpv.mjs → transactionContext-8qKON0Nk.mjs} +2 -3
- package/dist/{typeGuards-CEl10KPy.mjs → typeGuards-DVjVSsXO.mjs} +2 -3
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.mjs +1 -1
- package/dist/types/storage.d.mts +1 -1
- package/dist/types/storage.mjs +1 -1
- package/dist/{types-ByHn9rEO.d.mts → types-0Dqlbgn8.d.mts} +0 -2
- package/dist/{types-BJ-2XqVF.d.mts → types-BeEJm-DV.d.mts} +114 -14
- package/dist/{types-DVLddu2q.d.mts → types-C0YJAiL0.d.mts} +0 -2
- package/dist/{types-D9NWjpYc.mjs → types-DZHqOuJE.mjs} +5 -6
- package/dist/{types-D3Ixsh00.d.mts → types-DeLiuaNv.d.mts} +2 -4
- package/dist/{types-Ddl9OjmE.d.mts → types-DnkIALZ8.d.mts} +0 -4
- package/dist/usage/index.d.mts +2 -10
- package/dist/usage/index.mjs +8 -12
- package/dist/{userHelpers-BHig1kHq.mjs → userHelpers-_eGj6kf0.mjs} +2 -3
- package/dist/utils/index.d.mts +5 -39
- package/dist/utils/index.mjs +12 -12
- package/dist/{utils-BG5P7_Vb.mjs → utils-Dd6MWpye.mjs} +20 -30
- package/dist/{validate-D_mdOCir.mjs → validate-BaF5wd0x.mjs} +5 -7
- package/dist/{versioning-DBGHjPh7.mjs → versioning-DyV7mwtK.mjs} +4 -5
- package/dist/{versioning-Bqm_57Qt.d.mts → versioning-S18y2-0C.d.mts} +1 -15
- package/dist/{websocket-Cs4awVyD.d.mts → websocket-BGuc-WVZ.d.mts} +1 -15
- package/dist/{workScope-DPPfM4m6.mjs → workScope-CmCBUmPR.mjs} +3 -4
- package/llms.txt +37 -30
- package/package.json +51 -22
- package/skills/arc/SKILL.md +65 -844
- package/skills/arc/references/agent-auth.md +82 -193
- package/skills/arc/references/api-reference.md +41 -245
- package/skills/arc/references/auth-api-keys.md +99 -0
- package/skills/arc/references/auth-better-auth-overlay.md +87 -0
- package/skills/arc/references/auth-better-auth.md +78 -0
- package/skills/arc/references/auth-permissions.md +100 -0
- package/skills/arc/references/auth-strategies.md +122 -0
- package/skills/arc/references/boot.md +80 -0
- package/skills/arc/references/enterprise-auth.md +65 -81
- package/skills/arc/references/events-outbox.md +90 -0
- package/skills/arc/references/events.md +75 -440
- package/skills/arc/references/integrations-jobs.md +74 -0
- package/skills/arc/references/integrations-realtime.md +84 -0
- package/skills/arc/references/integrations-webhooks.md +71 -0
- package/skills/arc/references/integrations-workflows.md +47 -0
- package/skills/arc/references/mcp-auth.md +83 -0
- package/skills/arc/references/mcp-custom-tools.md +125 -0
- package/skills/arc/references/mcp-setup.md +115 -0
- package/skills/arc/references/mcp-testing.md +63 -0
- package/skills/arc/references/multi-tenancy.md +56 -230
- package/skills/arc/references/permissions-scope.md +81 -0
- package/skills/arc/references/production-api.md +119 -0
- package/skills/arc/references/production-audit.md +101 -0
- package/skills/arc/references/production-boot.md +91 -0
- package/skills/arc/references/production-caching.md +63 -0
- package/skills/arc/references/production-distributed.md +75 -0
- package/skills/arc/references/production-idempotency.md +83 -0
- package/skills/arc/references/production-observability.md +83 -0
- package/skills/arc/references/production-realtime.md +70 -0
- package/skills/arc/references/production-reliability.md +100 -0
- package/skills/arc/references/production-shutdown.md +43 -0
- package/skills/arc/references/querying.md +76 -0
- package/skills/arc/references/resources.md +97 -0
- package/skills/arc/references/schedules.md +79 -0
- package/skills/arc/references/scim.md +61 -208
- package/skills/arc/references/tenancy-scope-install.md +82 -0
- package/skills/arc/references/testing.md +101 -144
- package/skills/arc/references/usage-cleanup-capabilities.md +45 -0
- package/skills/arc/references/validation.md +91 -0
- package/skills/arc/references/writes-hooks-errors.md +80 -0
- package/skills/arc-code-review/SKILL.md +67 -114
- package/skills/arc-code-review/references/arc-cheatsheet.md +68 -167
- package/skills/arc-code-review/references/mongokit-repositories.md +104 -0
- package/skills/arc-code-review/references/recipe-events-cache-jobs.md +112 -0
- package/skills/arc-code-review/references/recipe-resource.md +100 -0
- package/skills/arc-code-review/references/recipe-schemas-fields.md +93 -0
- package/skills/arc-code-review/references/recipe-scope-permissions.md +82 -0
- package/skills/arc-code-review/references/scaffolding.md +61 -198
- package/skills/arc-code-review/references/severity.md +49 -102
- package/skills/arc-code-review/references/smells-auth-scope.md +80 -0
- package/skills/arc-code-review/references/smells-data-events.md +66 -0
- package/skills/arc-code-review/references/smells-imports-style.md +59 -0
- package/skills/arc-code-review/references/smells-platform.md +89 -0
- package/skills/arc-code-review/references/smells-routes-schemas.md +66 -0
- package/skills/arc-module-publishing/SKILL.md +82 -208
- package/skills/arc-module-publishing/references/action-presets-and-plugins.md +87 -0
- package/skills/arc-module-publishing/references/build-and-types.md +73 -0
- package/skills/arc-module-publishing/references/module-lifecycle.md +101 -0
- package/skills/arc-module-publishing/references/package-manifest.md +34 -122
- package/skills/arc-module-publishing/references/publishing-workflow.md +44 -140
- package/skills/arc-module-publishing/references/resource-assembly.md +102 -0
- package/skills/arc-module-publishing/references/testing-packages.md +82 -0
- package/skills/arc/references/auth.md +0 -729
- package/skills/arc/references/integrations.md +0 -452
- package/skills/arc/references/mcp.md +0 -691
- package/skills/arc/references/production.md +0 -835
- package/skills/arc-code-review/references/anti-patterns.md +0 -1008
- package/skills/arc-code-review/references/migration-recipes.md +0 -649
- package/skills/arc-code-review/references/mongokit-migration.md +0 -360
- package/skills/arc-module-publishing/references/authoring-modules.md +0 -327
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
3
|
-
import { a as enterArcLoggerScope, i as runWithArcLogger, n as configureArcLogger, r as createPinoWriter, t as arcLog } from "./logger-
|
|
4
|
-
import { n as PUBLIC_SCOPE } from "./types-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { r as
|
|
15
|
-
import { r as
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { t as __exportAll } from "./rolldown-runtime-yH2lHMo_.mjs";
|
|
3
|
+
import { a as enterArcLoggerScope, i as runWithArcLogger, n as configureArcLogger, r as createPinoWriter, t as arcLog } from "./logger-C110X5Yz.mjs";
|
|
4
|
+
import { n as PUBLIC_SCOPE } from "./types-DZHqOuJE.mjs";
|
|
5
|
+
import { t as runObservingSend } from "./observeSend-BnPtTotW.mjs";
|
|
6
|
+
import { r as initRuntimeCapabilityRegistry, t as auditRuntimeCapabilities } from "./runtimeCapabilities-CYCEtU1W.mjs";
|
|
7
|
+
import { a as runShutdown, t as initShutdownRegistry } from "./shutdown-BJiJN7FT.mjs";
|
|
8
|
+
import { n as isScopeAwareKeyGenerator, t as createTenantKeyGenerator } from "./rateLimitKey-CWAjlqcN.mjs";
|
|
9
|
+
import { i as resolveResourceRateLimiter, n as markRateLimitingDisabled } from "./resourceRateLimit-1WbcyMZY.mjs";
|
|
10
|
+
import { r as markArcRootValidator, t as arcAjvCustomOptions } from "./routeValidator-BSlRIA5c.mjs";
|
|
11
|
+
import { c as createRequestIdGenerator, r as mergeHealthChecks } from "./health-jkYNdobJ.mjs";
|
|
12
|
+
import { t as parseJsonBody } from "./jsonBody-CzDBkCme.mjs";
|
|
13
|
+
import { a as portsForModule, b as verifyEventDurability, f as resolveModuleArm, g as crudEventsOf, h as buildModuleGraph, m as analyzeModuleGraph, n as composeModules, x as verifyModuleGraph } from "./plan-DDIGwuxr.mjs";
|
|
14
|
+
import { c as wrapWithAttribution, f as defineEvent, l as wrapWithBoundary, r as CRUD_EVENT_SCHEMA } from "./eventTypes-CCIRGakw.mjs";
|
|
15
|
+
import { r as withSubscriberId } from "./subscriberIdentity-C9KhIXTF.mjs";
|
|
16
|
+
import { r as getOptionalModuleExports } from "./module-BD8xHgrz.mjs";
|
|
16
17
|
import { isProductionEnv, readEnv } from "@classytic/primitives/environment";
|
|
17
18
|
import Fastify from "fastify";
|
|
18
19
|
import qs from "qs";
|
|
19
20
|
import { createEventRouter } from "@classytic/primitives/events";
|
|
20
|
-
|
|
21
|
+
// src/factory/security/pluginLoader.ts
|
|
21
22
|
const PLUGIN_REGISTRY = {
|
|
22
23
|
cors: {
|
|
23
24
|
package: "@fastify/cors",
|
|
@@ -121,8 +122,7 @@ async function loadPlugin(name, logger) {
|
|
|
121
122
|
throw new Error(`Failed to load plugin '${name}': ${err.message}`);
|
|
122
123
|
}
|
|
123
124
|
}
|
|
124
|
-
|
|
125
|
-
//#region src/factory/assets.ts
|
|
125
|
+
// src/factory/assets.ts
|
|
126
126
|
/**
|
|
127
127
|
* Cache-Control per preset.
|
|
128
128
|
*
|
|
@@ -211,8 +211,7 @@ async function registerAssetRoots(fastify, roots) {
|
|
|
211
211
|
fastify.log.debug(`[arc] asset root "${root.prefix}" → ${String(root.root)} (cache: ${root.cache ?? "revalidate"}, cross-origin: ${policy.crossOriginResourcePolicy})`);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
|
|
215
|
-
//#region src/factory/module/contributions.ts
|
|
214
|
+
// src/factory/module/contributions.ts
|
|
216
215
|
/**
|
|
217
216
|
* Collect every module's `healthChecks` in the caller's order. Fails at boot
|
|
218
217
|
* on a duplicate check `name` across modules, naming BOTH owning modules.
|
|
@@ -263,8 +262,7 @@ async function collectModuleScheduledJobs(fastify, modules, countsByModule) {
|
|
|
263
262
|
}
|
|
264
263
|
return out;
|
|
265
264
|
}
|
|
266
|
-
|
|
267
|
-
//#region src/factory/module/descriptor.ts
|
|
265
|
+
// src/factory/module/descriptor.ts
|
|
268
266
|
/**
|
|
269
267
|
* Build a descriptor. Called by `registerResources` once per module, after
|
|
270
268
|
* resources are resolved and `owns` is effective.
|
|
@@ -285,8 +283,7 @@ function describeResolvedModule(input) {
|
|
|
285
283
|
lifecycle: Object.freeze({ ...input.lifecycle })
|
|
286
284
|
});
|
|
287
285
|
}
|
|
288
|
-
|
|
289
|
-
//#region src/factory/module/disposers.ts
|
|
286
|
+
// src/factory/module/disposers.ts
|
|
290
287
|
const NO_PORTS = Object.freeze({});
|
|
291
288
|
/**
|
|
292
289
|
* The one typing boundary for ports: `assertModuleRequirements` has already proven every
|
|
@@ -337,8 +334,7 @@ function createDisposerRegistry(fastify, portsOf = () => NO_PORTS) {
|
|
|
337
334
|
}
|
|
338
335
|
};
|
|
339
336
|
}
|
|
340
|
-
|
|
341
|
-
//#region src/factory/module/lifecycle.ts
|
|
337
|
+
// src/factory/module/lifecycle.ts
|
|
342
338
|
/**
|
|
343
339
|
* Subscribe every module's `eventHandlers` in dependency order (pass the
|
|
344
340
|
* `orderModules`-sorted list). Returns the ordered list of unsubscribe
|
|
@@ -422,8 +418,7 @@ async function unsubscribeModuleEventHandlers(unsubscribes) {
|
|
|
422
418
|
}
|
|
423
419
|
return errors;
|
|
424
420
|
}
|
|
425
|
-
|
|
426
|
-
//#region src/factory/module/state.ts
|
|
421
|
+
// src/factory/module/state.ts
|
|
427
422
|
/**
|
|
428
423
|
* The honest read of the state map. `fastify.arc` is optional (see
|
|
429
424
|
* fastify-augmentation.ts) and `moduleStates` is populated by
|
|
@@ -501,8 +496,7 @@ function getModuleResources(fastify, name) {
|
|
|
501
496
|
}
|
|
502
497
|
return out;
|
|
503
498
|
}
|
|
504
|
-
|
|
505
|
-
//#region src/factory/module/teardown.ts
|
|
499
|
+
// src/factory/module/teardown.ts
|
|
506
500
|
function createModuleTeardown(fastify, modules, disposers) {
|
|
507
501
|
const initializedNames = /* @__PURE__ */ new Set();
|
|
508
502
|
const consumed = /* @__PURE__ */ new Set();
|
|
@@ -548,8 +542,7 @@ function createModuleTeardown(fastify, modules, disposers) {
|
|
|
548
542
|
hasComposedModules: () => modules.length > 0
|
|
549
543
|
};
|
|
550
544
|
}
|
|
551
|
-
|
|
552
|
-
//#region src/factory/presets.ts
|
|
545
|
+
// src/factory/presets.ts
|
|
553
546
|
/**
|
|
554
547
|
* Production preset - strict security, performance optimized
|
|
555
548
|
*/
|
|
@@ -763,8 +756,7 @@ function getPreset(name) {
|
|
|
763
756
|
default: throw new Error(`Unknown preset: ${name}`);
|
|
764
757
|
}
|
|
765
758
|
}
|
|
766
|
-
|
|
767
|
-
//#region src/factory/registerArcPlugins.ts
|
|
759
|
+
// src/factory/registerArcPlugins.ts
|
|
768
760
|
/**
|
|
769
761
|
* Register Arc core plugin and event system.
|
|
770
762
|
* Returns loaded plugin modules for registerArcPlugins (avoids duplicate dynamic import).
|
|
@@ -774,7 +766,7 @@ async function registerArcCore(fastify, config, trackPlugin) {
|
|
|
774
766
|
await fastify.register(arcCorePlugin, { emitEvents: config.arcPlugins?.emitEvents !== false });
|
|
775
767
|
trackPlugin("arc-core");
|
|
776
768
|
if (config.arcPlugins?.events !== false) {
|
|
777
|
-
const { default: eventPlugin } = await import("./eventPlugin-
|
|
769
|
+
const { default: eventPlugin } = await import("./eventPlugin-BhKLUe7H.mjs").then((n) => n.r);
|
|
778
770
|
const eventOpts = typeof config.arcPlugins?.events === "object" ? config.arcPlugins.events : {};
|
|
779
771
|
await fastify.register(eventPlugin, {
|
|
780
772
|
/**
|
|
@@ -829,15 +821,15 @@ async function registerArcPlugins(fastify, config, trackPlugin, modules, moduleH
|
|
|
829
821
|
trackPlugin("arc-graceful-shutdown", shutdownOpts);
|
|
830
822
|
}
|
|
831
823
|
if (config.arcPlugins?.caching) {
|
|
832
|
-
const { default: cachingPlugin } = await import("./caching-
|
|
824
|
+
const { default: cachingPlugin } = await import("./caching-QRiryDLs.mjs").then((n) => n.n);
|
|
833
825
|
const opts = config.arcPlugins.caching === true ? {} : config.arcPlugins.caching;
|
|
834
826
|
await fastify.register(cachingPlugin, opts);
|
|
835
827
|
trackPlugin("arc-caching", opts);
|
|
836
828
|
}
|
|
837
829
|
if (config.arcPlugins?.queryCache) {
|
|
838
|
-
const { queryCachePlugin } = await import("./queryCachePlugin-
|
|
830
|
+
const { queryCachePlugin } = await import("./queryCachePlugin-Ckqe98AM.mjs").then((n) => n.n);
|
|
839
831
|
const opts = config.arcPlugins.queryCache === true ? {} : config.arcPlugins.queryCache;
|
|
840
|
-
const store = config.stores?.queryCache ?? new (await (import("./memory-
|
|
832
|
+
const store = config.stores?.queryCache ?? new (await (import("./memory-D9qkhXiB.mjs").then((n) => n.n))).MemoryCacheStore();
|
|
841
833
|
await fastify.register(queryCachePlugin, {
|
|
842
834
|
store,
|
|
843
835
|
...opts
|
|
@@ -847,7 +839,7 @@ async function registerArcPlugins(fastify, config, trackPlugin, modules, moduleH
|
|
|
847
839
|
if (config.arcPlugins?.sse) {
|
|
848
840
|
if (config.arcPlugins?.events === false) fastify.log.warn("SSE plugin requires events plugin (arcPlugins.events). SSE disabled.");
|
|
849
841
|
else {
|
|
850
|
-
const { default: ssePlugin } = await import("./sse-
|
|
842
|
+
const { default: ssePlugin } = await import("./sse-B_50llZu.mjs").then((n) => n.n);
|
|
851
843
|
const opts = config.arcPlugins.sse === true ? {} : config.arcPlugins.sse;
|
|
852
844
|
await fastify.register(ssePlugin, opts);
|
|
853
845
|
trackPlugin("arc-sse", opts);
|
|
@@ -856,26 +848,25 @@ async function registerArcPlugins(fastify, config, trackPlugin, modules, moduleH
|
|
|
856
848
|
if (config.arcPlugins?.realtime) {
|
|
857
849
|
if (config.arcPlugins?.events === false) fastify.log.warn("Realtime plugin requires events plugin (arcPlugins.events). Realtime disabled.");
|
|
858
850
|
else {
|
|
859
|
-
const { default: realtimePlugin } = await import("./realtime-
|
|
851
|
+
const { default: realtimePlugin } = await import("./realtime-BIJi9USY.mjs").then((n) => n.n);
|
|
860
852
|
const opts = config.arcPlugins.realtime === true ? {} : config.arcPlugins.realtime;
|
|
861
853
|
await fastify.register(realtimePlugin, opts);
|
|
862
854
|
trackPlugin("arc-realtime", opts);
|
|
863
855
|
}
|
|
864
856
|
}
|
|
865
857
|
if (config.arcPlugins?.metrics) {
|
|
866
|
-
const { default: metricsPlugin } = await import("./metrics-
|
|
858
|
+
const { default: metricsPlugin } = await import("./metrics-B-qrrWfI.mjs").then((n) => n.n);
|
|
867
859
|
const opts = config.arcPlugins.metrics === true ? {} : config.arcPlugins.metrics;
|
|
868
860
|
await fastify.register(metricsPlugin, opts);
|
|
869
861
|
trackPlugin("arc-metrics", opts);
|
|
870
862
|
}
|
|
871
863
|
if (config.arcPlugins?.versioning) {
|
|
872
|
-
const { default: versioningPlugin } = await import("./versioning-
|
|
864
|
+
const { default: versioningPlugin } = await import("./versioning-DyV7mwtK.mjs").then((n) => n.n);
|
|
873
865
|
await fastify.register(versioningPlugin, config.arcPlugins.versioning);
|
|
874
866
|
trackPlugin("arc-versioning", config.arcPlugins.versioning);
|
|
875
867
|
}
|
|
876
868
|
}
|
|
877
|
-
|
|
878
|
-
//#region src/factory/registerAuth.ts
|
|
869
|
+
// src/factory/registerAuth.ts
|
|
879
870
|
/**
|
|
880
871
|
* Authentication registration for createApp.
|
|
881
872
|
*
|
|
@@ -919,7 +910,8 @@ async function registerAuth(fastify, config, trackPlugin) {
|
|
|
919
910
|
case "authenticator": {
|
|
920
911
|
const { authenticate, optionalAuthenticate } = authConfig;
|
|
921
912
|
fastify.decorate("authenticate", async (request, reply) => {
|
|
922
|
-
await authenticate(request, reply);
|
|
913
|
+
const { result, answered } = await runObservingSend(reply, () => authenticate(request, reply));
|
|
914
|
+
return answered ? reply : result;
|
|
923
915
|
});
|
|
924
916
|
if (!fastify.hasDecorator("optionalAuthenticate")) {
|
|
925
917
|
if (optionalAuthenticate) fastify.decorate("optionalAuthenticate", async (request, reply) => {
|
|
@@ -946,7 +938,7 @@ async function registerAuth(fastify, config, trackPlugin) {
|
|
|
946
938
|
*/
|
|
947
939
|
async function registerElevation(fastify, config, trackPlugin) {
|
|
948
940
|
if (!config.elevation) return;
|
|
949
|
-
const { elevationPlugin } = await import("./elevation-
|
|
941
|
+
const { elevationPlugin } = await import("./elevation-DrXeEWWk.mjs").then((n) => n.n);
|
|
950
942
|
await fastify.register(elevationPlugin, config.elevation);
|
|
951
943
|
trackPlugin("arc-elevation", config.elevation);
|
|
952
944
|
fastify.log.debug("Elevation plugin enabled");
|
|
@@ -961,7 +953,7 @@ async function registerElevation(fastify, config, trackPlugin) {
|
|
|
961
953
|
*/
|
|
962
954
|
async function registerErrorHandler(fastify, config, trackPlugin, moduleErrorMappers) {
|
|
963
955
|
if (config.errorHandler === false) return;
|
|
964
|
-
const { errorHandlerPlugin } = await import("./errorHandler-
|
|
956
|
+
const { errorHandlerPlugin } = await import("./errorHandler-BiBXtxj4.mjs").then((n) => n.r);
|
|
965
957
|
/**
|
|
966
958
|
* DISCLOSURE DEFAULTS MERGE — they used to be REPLACED, and that was two bugs.
|
|
967
959
|
*
|
|
@@ -1000,7 +992,8 @@ async function registerErrorHandler(fastify, config, trackPlugin, moduleErrorMap
|
|
|
1000
992
|
const productionEnv = config.preset !== void 0 ? config.preset === "production" : isProductionEnv(process.env.NODE_ENV);
|
|
1001
993
|
const derived = {
|
|
1002
994
|
includeStack: !productionEnv,
|
|
1003
|
-
exposeInternalMessages: !productionEnv
|
|
995
|
+
exposeInternalMessages: !productionEnv,
|
|
996
|
+
notFound: true
|
|
1004
997
|
};
|
|
1005
998
|
let errorOpts = typeof config.errorHandler === "object" ? {
|
|
1006
999
|
...derived,
|
|
@@ -1044,8 +1037,7 @@ function createOptionalAuthenticate(authenticate) {
|
|
|
1044
1037
|
} catch {}
|
|
1045
1038
|
};
|
|
1046
1039
|
}
|
|
1047
|
-
|
|
1048
|
-
//#region src/factory/registerResources.ts
|
|
1040
|
+
// src/factory/registerResources.ts
|
|
1049
1041
|
/** Resource registration and the module/app lifecycle for createApp. */
|
|
1050
1042
|
function isResourcesFactory(value) {
|
|
1051
1043
|
return typeof value === "function";
|
|
@@ -1180,7 +1172,7 @@ async function registerResources(fastify, config, preResolvedModules, skippedBri
|
|
|
1180
1172
|
let discoveryPath;
|
|
1181
1173
|
let discoveryYieldedZero = false;
|
|
1182
1174
|
if (resolvedResources === void 0 && config.resourceDir) {
|
|
1183
|
-
const { loadResources } = await import("./loadResources-
|
|
1175
|
+
const { loadResources } = await import("./loadResources-Kr6vuljv.mjs").then((n) => n.n);
|
|
1184
1176
|
const { resolve, dirname } = await import("node:path");
|
|
1185
1177
|
const { fileURLToPath } = await import("node:url");
|
|
1186
1178
|
const rawDir = config.resourceDir;
|
|
@@ -1305,7 +1297,7 @@ Resources supplied by "${m.name}": ${provided}.`);
|
|
|
1305
1297
|
if (fastify.hasDecorator("getScheduleStats")) throw new Error("[arc] modules declare scheduledJobs but schedulesPlugin was already registered manually. Configure their runner through arcPlugins.schedules so Arc can compose one schedule table.");
|
|
1306
1298
|
const frozenJobs = Object.freeze(scheduledJobs.map((job) => Object.freeze({ ...job })));
|
|
1307
1299
|
const scheduleOptions = typeof config.arcPlugins?.schedules === "object" ? config.arcPlugins.schedules : {};
|
|
1308
|
-
const { default: schedulesPlugin } = await import("./schedules-
|
|
1300
|
+
const { default: schedulesPlugin } = await import("./schedules-B5WGlYIT.mjs").then((n) => n.n);
|
|
1309
1301
|
await fastify.register(schedulesPlugin, {
|
|
1310
1302
|
...scheduleOptions,
|
|
1311
1303
|
schedules: frozenJobs
|
|
@@ -1459,8 +1451,7 @@ function isTransactionalOutbox(exports) {
|
|
|
1459
1451
|
const store = exports.store;
|
|
1460
1452
|
return typeof store === "object" && store !== null && "transactionalSave" in store && store.transactionalSave === true;
|
|
1461
1453
|
}
|
|
1462
|
-
|
|
1463
|
-
//#region src/factory/security/cors.ts
|
|
1454
|
+
// src/factory/security/cors.ts
|
|
1464
1455
|
/**
|
|
1465
1456
|
* Headers ARC ITSELF reads from cross-origin requests. Auto-merged into a
|
|
1466
1457
|
* host-declared CORS `allowedHeaders` allow-list (2.22) so hosts never
|
|
@@ -1521,8 +1512,7 @@ function resolveCorsOptions(config) {
|
|
|
1521
1512
|
warnings
|
|
1522
1513
|
};
|
|
1523
1514
|
}
|
|
1524
|
-
|
|
1525
|
-
//#region src/factory/security/rateLimit.ts
|
|
1515
|
+
// src/factory/security/rateLimit.ts
|
|
1526
1516
|
/** "Unlimited" as a number — @fastify/rate-limit's `max` fn must return one. */
|
|
1527
1517
|
const UNLIMITED_MAX = Number.MAX_SAFE_INTEGER;
|
|
1528
1518
|
/**
|
|
@@ -1612,8 +1602,7 @@ function compilePathMatcher(patterns) {
|
|
|
1612
1602
|
return false;
|
|
1613
1603
|
};
|
|
1614
1604
|
}
|
|
1615
|
-
|
|
1616
|
-
//#region src/factory/registerSecurity.ts
|
|
1605
|
+
// src/factory/registerSecurity.ts
|
|
1617
1606
|
/**
|
|
1618
1607
|
* Register security plugins (Helmet, CORS, Rate Limiting).
|
|
1619
1608
|
* All enabled by default — set to `false` to opt out.
|
|
@@ -1717,8 +1706,7 @@ async function registerUtilityPlugins(fastify, config) {
|
|
|
1717
1706
|
}
|
|
1718
1707
|
}
|
|
1719
1708
|
}
|
|
1720
|
-
|
|
1721
|
-
//#region src/factory/createApp.ts
|
|
1709
|
+
// src/factory/createApp.ts
|
|
1722
1710
|
/**
|
|
1723
1711
|
* ArcFactory - Production-ready Fastify application factory.
|
|
1724
1712
|
*
|
|
@@ -2011,7 +1999,7 @@ async function buildApp(options, loggerScope, onInstance, onBootDisposer) {
|
|
|
2011
1999
|
await registerErrorHandler(fastify, config, trackPlugin, moduleErrorMappers);
|
|
2012
2000
|
await registerResources(fastify, config, resolvedModules, skippedBridges);
|
|
2013
2001
|
if (config.replyHelpers) {
|
|
2014
|
-
const { replyHelpersPlugin } = await import("./replyHelpers-
|
|
2002
|
+
const { replyHelpersPlugin } = await import("./replyHelpers-oZDzakGb.mjs").then((n) => n.n);
|
|
2015
2003
|
await fastify.register(replyHelpersPlugin);
|
|
2016
2004
|
}
|
|
2017
2005
|
if (config.serializeBigInt) {
|
|
@@ -2061,5 +2049,4 @@ const ArcFactory = {
|
|
|
2061
2049
|
});
|
|
2062
2050
|
}
|
|
2063
2051
|
};
|
|
2064
|
-
//#endregion
|
|
2065
2052
|
export { developmentPreset as a, productionPreset as c, getModuleResources as d, getModuleState as f, collectModuleWorkflows as g, asModulePorts as h, createApp_exports as i, testingPreset as l, subscribeModuleEventHandlers as m, DEFAULT_LOGGER_REDACT_PATHS as n, edgePreset as o, hasModule as p, createApp as r, getPreset as s, ArcFactory as t, workerPreset as u };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { _ as ToolDefinition, c as McpAuthResult, r as CreateMcpServerConfig } from "./types-
|
|
3
|
-
//#region src/integrations/mcp/createMcpServer.d.ts
|
|
2
|
+
import { _ as ToolDefinition, c as McpAuthResult, r as CreateMcpServerConfig } from "./types-DeLiuaNv.mjs";
|
|
4
3
|
/**
|
|
5
4
|
* Mutable auth ref — updated per-request by mcpPlugin.
|
|
6
5
|
* Tool handlers read from this to get the current request's auth context.
|
|
@@ -44,5 +43,4 @@ interface McpServerInstance {
|
|
|
44
43
|
/** v2 name. v1 called this `resource()` — same four arguments. */
|
|
45
44
|
registerResource: (...args: unknown[]) => void;
|
|
46
45
|
}
|
|
47
|
-
//#endregion
|
|
48
46
|
export { resolveToolCollisions as i, McpServerInstance as n, createMcpServer as r, AuthRef as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
// src/core/aggregation/defineAggregation.ts
|
|
3
3
|
/**
|
|
4
4
|
* Declare a single resource aggregation. Exported configs flow into
|
|
5
5
|
* `defineResource({ aggregations: { ... } })` either as named keys or
|
|
@@ -21,5 +21,4 @@
|
|
|
21
21
|
function defineAggregation(config) {
|
|
22
22
|
return config;
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
export { defineAggregation as t };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { m as MUTATION_OPERATIONS, t as CRUD_OPERATIONS } from "./constants-
|
|
3
|
-
import { t as arcLog } from "./logger-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { m as MUTATION_OPERATIONS, t as CRUD_OPERATIONS } from "./constants-Cx7BcnHT.mjs";
|
|
3
|
+
import { t as arcLog } from "./logger-C110X5Yz.mjs";
|
|
4
|
+
import { C as isWriteVerbCapable, S as detectOverriddenWriteSlots, f as BaseController, i as resolveOpenApiSchemas, l as autoInjectTenantFieldRules, t as buildResourcePlugin } from "./plugin-Bn4D_0XK.mjs";
|
|
5
|
+
import { a as isZodSchema, i as isJsonSchema } from "./schemaConverter-DtNvts-6.mjs";
|
|
6
|
+
import { B as requireAuth } from "./permissions-BBy4bOGi.mjs";
|
|
7
|
+
import { n as getAvailablePresets, t as applyPresets } from "./presets-DK2jh5YR.mjs";
|
|
8
|
+
import { t as pluralize } from "./pluralize-ClEjcKlG.mjs";
|
|
8
9
|
import { isReadOnlyRepo } from "@classytic/repo-core/repository";
|
|
9
10
|
import { readEnv } from "@classytic/primitives/environment";
|
|
10
|
-
|
|
11
|
+
// src/core/defineResource/writeVerbs.ts
|
|
11
12
|
/**
|
|
12
13
|
* Phase 4b — write-verb registration policy.
|
|
13
14
|
*
|
|
@@ -77,8 +78,7 @@ function warnOnWriteMethodOverride(controller, resolvedConfig) {
|
|
|
77
78
|
if (overridden.length === 0) return;
|
|
78
79
|
arcLog("defineResource").warn(`Resource "${resolvedConfig.name}" overrides controller method(s) [${overridden.join(", ")}] AND declares field protection (${protectedFields.length > 0 ? `fieldRules: ${protectedFields.join(", ")}` : "fields"}). An override replaces arc's entire write pipeline — body sanitization against those field rules, tenant injection, createdBy/updatedBy stamping and the before/around/after hooks all stop running for that op, so the declared protection is NOT enforced. If the override exists to reach a domain command, declare it as a write verb instead (\`writes: { ${overridden[0]}: (…) => engine.<verb>(…) } \`) — arc keeps the pipeline and calls your command in place of the repository. If the override genuinely needs to replace the pipeline, call \`this.bodySanitizer.sanitize(body, op, req, ctx)\` inside it.`);
|
|
79
80
|
}
|
|
80
|
-
|
|
81
|
-
//#region src/core/defineResource/controller.ts
|
|
81
|
+
// src/core/defineResource/controller.ts
|
|
82
82
|
/** CRUD routes refused over a read-only repository. */
|
|
83
83
|
const READ_ONLY_REFUSED_ROUTES = [
|
|
84
84
|
"create",
|
|
@@ -249,8 +249,7 @@ function assertTransactionCapability(repository, resourceName) {
|
|
|
249
249
|
if (!capabilities || capabilities.transactions === true) return;
|
|
250
250
|
throw new Error(`Resource "${resourceName}" declares \`transactional: true\` but its repository reports \`capabilities.transactions: ${String(capabilities.transactions)}\` — this deployment cannot run transactions (standalone MongoDB, D1, or a topology arc could not confirm). \`withTransaction\` exists but every call would fail at BEGIN. Point at a replica set / transactional backend, or remove the flag. Checked at REGISTRATION, so a connection opened in \`beforeBoot()\` is already live by now.`);
|
|
251
251
|
}
|
|
252
|
-
|
|
253
|
-
//#region src/core/defineResource/hooks.ts
|
|
252
|
+
// src/core/defineResource/hooks.ts
|
|
254
253
|
/**
|
|
255
254
|
* Combined entry-point for Phase 6. Pushes preset-collected hooks
|
|
256
255
|
* first, then inline `config.hooks` (so hosts can rely on
|
|
@@ -328,8 +327,7 @@ function buildHookContext(ctx) {
|
|
|
328
327
|
meta: ctx.meta
|
|
329
328
|
};
|
|
330
329
|
}
|
|
331
|
-
|
|
332
|
-
//#region src/core/defineResource/idField.ts
|
|
330
|
+
// src/core/defineResource/idField.ts
|
|
333
331
|
/**
|
|
334
332
|
* Returns a fresh config with `idField` filled in (when applicable),
|
|
335
333
|
* or the original reference when nothing changes. Never mutates the
|
|
@@ -344,8 +342,7 @@ function resolveIdField(config, repository) {
|
|
|
344
342
|
};
|
|
345
343
|
return config;
|
|
346
344
|
}
|
|
347
|
-
|
|
348
|
-
//#region src/core/defineResource/normalizeConfig.ts
|
|
345
|
+
// src/core/defineResource/normalizeConfig.ts
|
|
349
346
|
/**
|
|
350
347
|
* Run all Phase-0 expansions in order and return the canonical config.
|
|
351
348
|
*
|
|
@@ -503,8 +500,7 @@ function resolveCrudAllowList(config) {
|
|
|
503
500
|
disableDefaultRoutes: legacyDisableAll ?? false
|
|
504
501
|
};
|
|
505
502
|
}
|
|
506
|
-
|
|
507
|
-
//#region src/core/defineResource/presets.ts
|
|
503
|
+
// src/core/defineResource/presets.ts
|
|
508
504
|
/**
|
|
509
505
|
* Phase 3 — apply presets + auto-inject tenant-field schema rules.
|
|
510
506
|
*
|
|
@@ -627,8 +623,7 @@ function collectUngatedCrudDiagnostics(config, strict = false) {
|
|
|
627
623
|
permissions: { ${ungated[0]}: requireAuth(), ... } // per-operation` + (severity === "warn" ? "\nRecommended in production: ARC_STRICT_PERMISSIONS=true (or `strictPermissions: true` on the resource) makes an ungated WRITE fail the boot instead of shipping. This is the arc v3 default." : "")
|
|
628
624
|
}];
|
|
629
625
|
}
|
|
630
|
-
|
|
631
|
-
//#region src/registry/resolveTenantPurge.ts
|
|
626
|
+
// src/registry/resolveTenantPurge.ts
|
|
632
627
|
const DEFAULT_PRIORITY = 100;
|
|
633
628
|
function resolveTenantPurge(input) {
|
|
634
629
|
const { resourceName, tenantField, onTenantDelete } = input;
|
|
@@ -660,8 +655,7 @@ function resolveTenantPurge(input) {
|
|
|
660
655
|
function assertTenantFieldUsable(resourceName, tenantField, strategyType) {
|
|
661
656
|
if (tenantField === false) throw new Error(`[Arc/Cascade] Resource '${resourceName}' declares onTenantDelete (strategy: ${strategyType}) but \`tenantField: false\`. Company-wide resources can't be cascaded by org — set a real \`tenantField\` or remove the \`onTenantDelete\` declaration.`);
|
|
662
657
|
}
|
|
663
|
-
|
|
664
|
-
//#region src/core/defineResource/ResourceDefinition.ts
|
|
658
|
+
// src/core/defineResource/ResourceDefinition.ts
|
|
665
659
|
var ResourceDefinition = class {
|
|
666
660
|
name;
|
|
667
661
|
displayName;
|
|
@@ -684,6 +678,7 @@ var ResourceDefinition = class {
|
|
|
684
678
|
events;
|
|
685
679
|
rateLimit;
|
|
686
680
|
idempotency;
|
|
681
|
+
httpCache;
|
|
687
682
|
lookupFields;
|
|
688
683
|
audit;
|
|
689
684
|
updateMethod;
|
|
@@ -813,6 +808,7 @@ var ResourceDefinition = class {
|
|
|
813
808
|
this.aggregations = config.aggregations;
|
|
814
809
|
this.rateLimit = config.rateLimit;
|
|
815
810
|
this.idempotency = config.idempotency;
|
|
811
|
+
this.httpCache = config.httpCache;
|
|
816
812
|
this.lookupFields = config.lookupFields;
|
|
817
813
|
this.audit = config.audit;
|
|
818
814
|
this.updateMethod = config.updateMethod;
|
|
@@ -947,8 +943,65 @@ function freezeActions(actions) {
|
|
|
947
943
|
for (const [name, entry] of Object.entries(actions)) frozen[name] = typeof entry === "function" ? entry : Object.freeze({ ...entry });
|
|
948
944
|
return Object.freeze(frozen);
|
|
949
945
|
}
|
|
950
|
-
|
|
951
|
-
|
|
946
|
+
// src/core/defineResource/schemaDiagnostics.ts
|
|
947
|
+
/**
|
|
948
|
+
* Define-time detection of a `{ body: X }` wrapper where arc expects the schema ITSELF.
|
|
949
|
+
*
|
|
950
|
+
* An action's `schema` (and every `body` / `querystring` / `params` slot) is the JSON Schema or Zod
|
|
951
|
+
* schema. `{ body: X }` there has no `type` / `properties`, so arc reads it as an empty schema and
|
|
952
|
+
* the endpoint accepts ANY input: no error, no log, no validation. Warn by default; `strictSchemas`
|
|
953
|
+
* (or `ARC_STRICT_SCHEMAS=true`) makes it a define-time error.
|
|
954
|
+
*/
|
|
955
|
+
const SLOT_KEYS = [
|
|
956
|
+
"body",
|
|
957
|
+
"querystring",
|
|
958
|
+
"params",
|
|
959
|
+
"headers",
|
|
960
|
+
"response"
|
|
961
|
+
];
|
|
962
|
+
const SCHEMA_SLOT_WRAPPER = "schema.slot_wrapper";
|
|
963
|
+
/** Slot names present on `value` when it is a slot-wrapper object, not a schema; else `[]`. */
|
|
964
|
+
function findSlotWrapper(value) {
|
|
965
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) return [];
|
|
966
|
+
const proto = Object.getPrototypeOf(value);
|
|
967
|
+
if (proto !== Object.prototype && proto !== null) return [];
|
|
968
|
+
if (isZodSchema(value) || isJsonSchema(value)) return [];
|
|
969
|
+
return SLOT_KEYS.filter((key) => key in value);
|
|
970
|
+
}
|
|
971
|
+
function collectSchemaSlotDiagnostics(config, strict) {
|
|
972
|
+
const out = [];
|
|
973
|
+
const flag = (where, found, fix) => {
|
|
974
|
+
out.push({
|
|
975
|
+
severity: strict ? "error" : "warn",
|
|
976
|
+
code: SCHEMA_SLOT_WRAPPER,
|
|
977
|
+
message: `[Arc] Resource '${config.name}': ${where} is a \`{ ${found.join(", ")} }\` wrapper, not a schema. It has no \`type\` / \`properties\`, so arc treats it as an empty schema and the endpoint accepts ANY input. ${fix}`
|
|
978
|
+
});
|
|
979
|
+
};
|
|
980
|
+
for (const [name, entry] of Object.entries(config.actions ?? {})) {
|
|
981
|
+
const schema = entry?.schema;
|
|
982
|
+
const found = findSlotWrapper(schema);
|
|
983
|
+
if (found.length > 0) flag(`action '${name}' schema`, found, "An action's `schema` IS its body schema: pass the schema directly (`schema: X`, not `schema: { body: X }`).");
|
|
984
|
+
}
|
|
985
|
+
const slots = (where, schema) => {
|
|
986
|
+
if (schema === null || typeof schema !== "object") return;
|
|
987
|
+
for (const slot of [
|
|
988
|
+
"body",
|
|
989
|
+
"querystring",
|
|
990
|
+
"params",
|
|
991
|
+
"headers"
|
|
992
|
+
]) {
|
|
993
|
+
const found = findSlotWrapper(schema[slot]);
|
|
994
|
+
if (found.length > 0) flag(`${where}.${slot}`, found, `Slots take the schema itself (\`${slot}: X\`), not a nested \`{ ${found[0]}: X }\`.`);
|
|
995
|
+
}
|
|
996
|
+
};
|
|
997
|
+
for (const route of config.routes ?? []) {
|
|
998
|
+
const r = route;
|
|
999
|
+
slots(`route ${String(r.method)} ${String(r.path)} schema`, r.schema);
|
|
1000
|
+
}
|
|
1001
|
+
for (const [op, schema] of Object.entries(config.customSchemas ?? {})) slots(`customSchemas.${op}`, schema);
|
|
1002
|
+
return out;
|
|
1003
|
+
}
|
|
1004
|
+
// src/core/validateResourceConfig.ts
|
|
952
1005
|
/**
|
|
953
1006
|
* Resource Configuration Validator
|
|
954
1007
|
*
|
|
@@ -1285,8 +1338,7 @@ function assertValidConfig(config, options) {
|
|
|
1285
1338
|
throw new Error(errorMsg);
|
|
1286
1339
|
}
|
|
1287
1340
|
}
|
|
1288
|
-
|
|
1289
|
-
//#region src/core/defineResource/validate.ts
|
|
1341
|
+
// src/core/defineResource/validate.ts
|
|
1290
1342
|
/**
|
|
1291
1343
|
* CRUD op names — kept module-scope (vs allocated per `defineResource()`
|
|
1292
1344
|
* call) since the set is fixed and the cost of re-allocating is a
|
|
@@ -1501,8 +1553,7 @@ function validateActionsShape(config) {
|
|
|
1501
1553
|
}
|
|
1502
1554
|
}
|
|
1503
1555
|
}
|
|
1504
|
-
|
|
1505
|
-
//#region src/core/defineResource.ts
|
|
1556
|
+
// src/core/defineResource.ts
|
|
1506
1557
|
/**
|
|
1507
1558
|
* Resource Definition — database-agnostic single source of truth.
|
|
1508
1559
|
*
|
|
@@ -1547,6 +1598,7 @@ function defineResource(config) {
|
|
|
1547
1598
|
const hasCrudRoutes = computeHasCrudRoutes(resolvedConfig);
|
|
1548
1599
|
const strict = resolvedConfig.strictPermissions ?? readEnv(process.env).bool("ARC_STRICT_PERMISSIONS", true);
|
|
1549
1600
|
diagnostics = diagnostics.concat(collectUngatedCrudDiagnostics(resolvedConfig, strict));
|
|
1601
|
+
diagnostics = diagnostics.concat(collectSchemaSlotDiagnostics(resolvedConfig, resolvedConfig.strictSchemas ?? readEnv(process.env).bool("ARC_STRICT_SCHEMAS", false)));
|
|
1550
1602
|
const fatal = diagnostics.filter((d) => d.severity === "error");
|
|
1551
1603
|
if (fatal.length > 0) throw new Error(fatal.map((d) => d.message).join("\n\n"));
|
|
1552
1604
|
const narrowedConfig = resolvedConfig;
|
|
@@ -1576,5 +1628,4 @@ function defineResource(config) {
|
|
|
1576
1628
|
if (diagnostics.length > 0) resource._diagnostics = diagnostics;
|
|
1577
1629
|
return resource;
|
|
1578
1630
|
}
|
|
1579
|
-
//#endregion
|
|
1580
1631
|
export { ResourceDefinition as a, validateResourceConfig as i, assertValidConfig as n, formatValidationErrors as r, defineResource as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { FastifyPluginAsync } from "fastify";
|
|
3
|
-
//#region src/discovery/index.d.ts
|
|
4
3
|
/** A discovered resource — must have toPlugin() method */
|
|
5
4
|
export interface DiscoverableResource {
|
|
6
5
|
toPlugin(): FastifyPluginAsync;
|
|
@@ -41,5 +40,4 @@ export declare function discoverResources(options: DiscoveryOptions): Promise<Ar
|
|
|
41
40
|
filePath: string;
|
|
42
41
|
}>>;
|
|
43
42
|
/** Auto-discovery plugin for Arc resources */
|
|
44
|
-
export declare const discoveryPlugin: FastifyPluginAsync<DiscoveryPluginOptions>;
|
|
45
|
-
//#endregion
|
|
43
|
+
export declare const discoveryPlugin: FastifyPluginAsync<DiscoveryPluginOptions>;
|
package/dist/discovery/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
2
|
import { readdir } from "node:fs/promises";
|
|
3
3
|
import { extname, join, resolve } from "node:path";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
5
|
-
|
|
5
|
+
// src/discovery/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* Arc Auto-Discovery Plugin
|
|
8
8
|
*
|
|
@@ -138,5 +138,4 @@ const discoveryPluginImpl = async (fastify, options) => {
|
|
|
138
138
|
};
|
|
139
139
|
/** Auto-discovery plugin for Arc resources */
|
|
140
140
|
const discoveryPlugin = discoveryPluginImpl;
|
|
141
|
-
//#endregion
|
|
142
141
|
export { discoverResources, discoveryPlugin };
|
package/dist/docs/index.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { o as RegistryEntry } from "../index-
|
|
3
|
-
import { t as ExternalOpenApiPaths } from "../externalPaths-
|
|
2
|
+
import { o as RegistryEntry } from "../index-Cy2-QffW.mjs";
|
|
3
|
+
import { t as ExternalOpenApiPaths } from "../externalPaths-BOqdq5wr.mjs";
|
|
4
4
|
import { FastifyPluginAsync } from "fastify";
|
|
5
|
-
//#region src/docs/openapi/types.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* OpenAPI 3.0 type primitives used by arc's spec emitter.
|
|
8
7
|
*
|
|
@@ -86,6 +85,12 @@ interface Operation {
|
|
|
86
85
|
type: string;
|
|
87
86
|
name: string;
|
|
88
87
|
}>;
|
|
88
|
+
/** Filter fields, operators and sort fields the list route accepts (declared by the query parser). */
|
|
89
|
+
"x-arc-query"?: {
|
|
90
|
+
filterFields?: readonly string[];
|
|
91
|
+
operators?: readonly string[];
|
|
92
|
+
sortFields?: readonly string[];
|
|
93
|
+
};
|
|
89
94
|
/** Idempotency-key fence: every call (`required`) or the listed actions (`requiredActions`). */
|
|
90
95
|
"x-arc-idempotency"?: {
|
|
91
96
|
required?: true;
|
|
@@ -143,16 +148,12 @@ interface SecurityScheme {
|
|
|
143
148
|
in?: string;
|
|
144
149
|
name?: string;
|
|
145
150
|
}
|
|
146
|
-
//#endregion
|
|
147
|
-
//#region src/docs/openapi/index.d.ts
|
|
148
151
|
/**
|
|
149
152
|
* Build OpenAPI spec from registry resources.
|
|
150
153
|
* Shared by HTTP docs endpoint and CLI export command.
|
|
151
154
|
*/
|
|
152
155
|
export declare function buildOpenApiSpec(resources: RegistryEntry[], options?: OpenApiBuildOptions, externalPaths?: ExternalOpenApiPaths[]): OpenApiSpec;
|
|
153
156
|
declare const _default: FastifyPluginAsync<OpenApiOptions>;
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region src/docs/scalar.d.ts
|
|
156
157
|
interface ScalarOptions {
|
|
157
158
|
/** Route prefix for UI (default: '/docs') */
|
|
158
159
|
routePrefix?: string;
|
|
@@ -174,5 +175,4 @@ interface ScalarOptions {
|
|
|
174
175
|
favicon?: string;
|
|
175
176
|
}
|
|
176
177
|
declare const _default$1: FastifyPluginAsync<ScalarOptions>;
|
|
177
|
-
//#endregion
|
|
178
178
|
export { type ExternalOpenApiPaths, type OpenApiBuildOptions, type OpenApiOptions, type OpenApiSpec, type ScalarOptions, _default as openApiPlugin, _default$1 as scalarPlugin };
|
package/dist/docs/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @classytic/arc v2.
|
|
2
|
-
import { n as getUserRoles } from "../userHelpers-
|
|
3
|
-
import { n as openapi_default, t as buildOpenApiSpec } from "../openapi-
|
|
1
|
+
/*! @classytic/arc v2.47.0 | MIT | https://classytic.com */
|
|
2
|
+
import { n as getUserRoles } from "../userHelpers-_eGj6kf0.mjs";
|
|
3
|
+
import { n as openapi_default, t as buildOpenApiSpec } from "../openapi-DoVa5SVP.mjs";
|
|
4
4
|
import fp from "fastify-plugin";
|
|
5
|
-
|
|
5
|
+
// src/docs/scalar.ts
|
|
6
6
|
const scalarPlugin = async (fastify, opts = {}) => {
|
|
7
7
|
const { routePrefix = "/docs", specUrl = "/_docs/openapi.json", title = "API Documentation", theme = "default", showSidebar = true, darkMode = false, authRoles = [], customCss = "", favicon } = opts;
|
|
8
8
|
const scalarConfig = JSON.stringify({
|
|
@@ -53,5 +53,4 @@ var scalar_default = fp(scalarPlugin, {
|
|
|
53
53
|
name: "arc-scalar",
|
|
54
54
|
fastify: "5.x"
|
|
55
55
|
});
|
|
56
|
-
//#endregion
|
|
57
56
|
export { buildOpenApiSpec, openapi_default as openApiPlugin, scalar_default as scalarPlugin };
|