@geekmidas/constructs 10.0.0-alpha.9 → 10.0.0-alpha.91
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 +222 -158
- package/dist/{Construct-BD5neF7w.mjs → Construct-B1vGBPme.mjs} +33 -34
- package/dist/Construct-B1vGBPme.mjs.map +1 -0
- package/dist/Construct-BQALFCh2.d.cts +230 -0
- package/dist/Construct-BQALFCh2.d.cts.map +1 -0
- package/dist/{Construct-CyS3RpTL.cjs → Construct-DUSXuTHP.cjs} +53 -48
- package/dist/Construct-DUSXuTHP.cjs.map +1 -0
- package/dist/Construct-QXnl3VqT.d.mts +230 -0
- package/dist/Construct-QXnl3VqT.d.mts.map +1 -0
- package/dist/{Cron-DmQ8vQ4b.d.cts → Cron-DI3nKoic.d.cts} +15 -9
- package/dist/Cron-DI3nKoic.d.cts.map +1 -0
- package/dist/{Cron-dh4rUgib.d.mts → Cron-uYAHPnp7.d.mts} +15 -9
- package/dist/Cron-uYAHPnp7.d.mts.map +1 -0
- package/dist/{CronBuilder-Da0C0edR.cjs → CronBuilder-C0Ek1-RA.cjs} +47 -31
- package/dist/CronBuilder-C0Ek1-RA.cjs.map +1 -0
- package/dist/CronBuilder-DaSUm2Na.d.mts +47 -0
- package/dist/CronBuilder-DaSUm2Na.d.mts.map +1 -0
- package/dist/{CronBuilder-CYKT5RiO.mjs → CronBuilder-Dmix_Pen.mjs} +37 -21
- package/dist/CronBuilder-Dmix_Pen.mjs.map +1 -0
- package/dist/CronBuilder-g1lZLWyG.d.cts +47 -0
- package/dist/CronBuilder-g1lZLWyG.d.cts.map +1 -0
- package/dist/{Endpoint-DCQPMdUX.mjs → Endpoint-BG4UJ9oA.mjs} +146 -109
- package/dist/Endpoint-BG4UJ9oA.mjs.map +1 -0
- package/dist/{Endpoint-DcWXE-SZ.cjs → Endpoint-BoUg8ocM.cjs} +174 -131
- package/dist/Endpoint-BoUg8ocM.cjs.map +1 -0
- package/dist/{Endpoint-BjWKinFA.d.mts → Endpoint-Du-NwPX2.d.mts} +83 -91
- package/dist/Endpoint-Du-NwPX2.d.mts.map +1 -0
- package/dist/{Endpoint-dav89W6-.d.cts → Endpoint-aCvBMPoH.d.cts} +82 -90
- package/dist/Endpoint-aCvBMPoH.d.cts.map +1 -0
- package/dist/{EndpointFactory-CjV8F_lJ.mjs → EndpointFactory-BDtsrEvJ.mjs} +57 -76
- package/dist/EndpointFactory-BDtsrEvJ.mjs.map +1 -0
- package/dist/{EndpointFactory-CdWB7wPw.cjs → EndpointFactory-DJ7gXLpR.cjs} +93 -112
- package/dist/EndpointFactory-DJ7gXLpR.cjs.map +1 -0
- package/dist/{index-Bd5FqCoe.d.cts → EndpointFactory-DMYdJCOj.d.mts} +78 -134
- package/dist/EndpointFactory-DMYdJCOj.d.mts.map +1 -0
- package/dist/{index-lAO9egTb.d.mts → EndpointFactory-I7s1co3Y.d.cts} +79 -135
- package/dist/EndpointFactory-I7s1co3Y.d.cts.map +1 -0
- package/dist/Function-DuqGcbOI.d.mts +76 -0
- package/dist/Function-DuqGcbOI.d.mts.map +1 -0
- package/dist/Function-Pu-1kKZz.d.cts +76 -0
- package/dist/Function-Pu-1kKZz.d.cts.map +1 -0
- package/dist/{HonoEndpointAdaptor-P1ahhZHu.mjs → HonoEndpointAdaptor-PtPlbeKY.mjs} +75 -56
- package/dist/HonoEndpointAdaptor-PtPlbeKY.mjs.map +1 -0
- package/dist/{HonoEndpointAdaptor-DtL9j19R.cjs → HonoEndpointAdaptor-zVzVLJEO.cjs} +83 -61
- package/dist/HonoEndpointAdaptor-zVzVLJEO.cjs.map +1 -0
- package/dist/Queue-A3wfD0it.cjs +109 -0
- package/dist/Queue-A3wfD0it.cjs.map +1 -0
- package/dist/Queue-D6USGS4q.mjs +104 -0
- package/dist/Queue-D6USGS4q.mjs.map +1 -0
- package/dist/{Queue-D7ZuwBhy.d.cts → Queue-DlsHRzUp.d.mts} +48 -48
- package/dist/Queue-DlsHRzUp.d.mts.map +1 -0
- package/dist/{Queue-gVGfi2Yk.d.mts → Queue-HPyi0e1i.d.cts} +49 -49
- package/dist/Queue-HPyi0e1i.d.cts.map +1 -0
- package/dist/QueueBuilder-BjuF0UBl.cjs +135 -0
- package/dist/QueueBuilder-BjuF0UBl.cjs.map +1 -0
- package/dist/QueueBuilder-Cue73M4t.mjs +118 -0
- package/dist/QueueBuilder-Cue73M4t.mjs.map +1 -0
- package/dist/QueueBuilder-OSi6LkV9.d.cts +75 -0
- package/dist/QueueBuilder-OSi6LkV9.d.cts.map +1 -0
- package/dist/QueueBuilder-QHsnVt1P.d.mts +75 -0
- package/dist/QueueBuilder-QHsnVt1P.d.mts.map +1 -0
- package/dist/{Subscriber-2mEi0ImH.d.cts → Subscriber-Bpp02cGr.d.cts} +29 -20
- package/dist/Subscriber-Bpp02cGr.d.cts.map +1 -0
- package/dist/{Subscriber-xTJ9ayPN.d.mts → Subscriber-CtN9R48-.d.mts} +29 -20
- package/dist/Subscriber-CtN9R48-.d.mts.map +1 -0
- package/dist/{SubscriberBuilder-BjkbeT9l.mjs → SubscriberBuilder-CDy4nHCz.mjs} +50 -24
- package/dist/SubscriberBuilder-CDy4nHCz.mjs.map +1 -0
- package/dist/SubscriberBuilder-CuCMFpYW.d.mts +67 -0
- package/dist/SubscriberBuilder-CuCMFpYW.d.mts.map +1 -0
- package/dist/{SubscriberBuilder-4OPehf2R.cjs → SubscriberBuilder-D_owVoHo.cjs} +61 -36
- package/dist/SubscriberBuilder-D_owVoHo.cjs.map +1 -0
- package/dist/SubscriberBuilder-g3fAVWgs.d.cts +67 -0
- package/dist/SubscriberBuilder-g3fAVWgs.d.cts.map +1 -0
- package/dist/Topic-D74b5cgs.mjs +99 -0
- package/dist/Topic-D74b5cgs.mjs.map +1 -0
- package/dist/Topic-GHxcU8AG.cjs +104 -0
- package/dist/Topic-GHxcU8AG.cjs.map +1 -0
- package/dist/adaptors/aws.cjs +131 -220
- package/dist/adaptors/aws.cjs.map +1 -1
- package/dist/adaptors/aws.d.cts +34 -53
- package/dist/adaptors/aws.d.cts.map +1 -1
- package/dist/adaptors/aws.d.mts +34 -53
- package/dist/adaptors/aws.d.mts.map +1 -1
- package/dist/adaptors/aws.mjs +102 -193
- package/dist/adaptors/aws.mjs.map +1 -1
- package/dist/adaptors/hono.cjs +3 -10
- package/dist/adaptors/hono.d.cts +7 -16
- package/dist/adaptors/hono.d.cts.map +1 -1
- package/dist/adaptors/hono.d.mts +8 -17
- package/dist/adaptors/hono.d.mts.map +1 -1
- package/dist/adaptors/hono.mjs +2 -10
- package/dist/adaptors/testing.cjs +743 -89
- package/dist/adaptors/testing.cjs.map +1 -1
- package/dist/adaptors/testing.d.cts +351 -54
- package/dist/adaptors/testing.d.cts.map +1 -1
- package/dist/adaptors/testing.d.mts +351 -54
- package/dist/adaptors/testing.d.mts.map +1 -1
- package/dist/adaptors/testing.mjs +706 -70
- package/dist/adaptors/testing.mjs.map +1 -1
- package/dist/auth-BMCJN30Y.d.cts +268 -0
- package/dist/auth-BMCJN30Y.d.cts.map +1 -0
- package/dist/auth-CcuceLYo.d.mts +268 -0
- package/dist/auth-CcuceLYo.d.mts.map +1 -0
- package/dist/auth.cjs +301 -33
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +2 -108
- package/dist/auth.d.mts +2 -108
- package/dist/auth.mjs +289 -27
- package/dist/auth.mjs.map +1 -1
- package/dist/{cache-BrRz3fEB.d.mts → cache-CXh6GIgb.d.mts} +3 -6
- package/dist/cache-CXh6GIgb.d.mts.map +1 -0
- package/dist/{cache-BtZY_tHe.d.cts → cache-DnGDGly3.d.cts} +3 -6
- package/dist/cache-DnGDGly3.d.cts.map +1 -0
- package/dist/cache.cjs +68 -2
- package/dist/cache.cjs.map +1 -0
- package/dist/cache.d.cts +1 -2
- package/dist/cache.d.mts +1 -2
- package/dist/cache.mjs +67 -2
- package/dist/cache.mjs.map +1 -0
- package/dist/cipher-C1lEFX63.mjs +225 -0
- package/dist/cipher-C1lEFX63.mjs.map +1 -0
- package/dist/cipher-CVxfwLjk.cjs +332 -0
- package/dist/cipher-CVxfwLjk.cjs.map +1 -0
- package/dist/{clone-DblgEZZa.mjs → clone-EKNovYHu.mjs} +3 -3
- package/dist/clone-EKNovYHu.mjs.map +1 -0
- package/dist/{clone-Dy0cR2SZ.cjs → clone-UGJpvQnL.cjs} +7 -8
- package/dist/clone-UGJpvQnL.cjs.map +1 -0
- package/dist/{construct-interface-D9d4Gm4p.d.cts → construct-interface-B1AfqRl4.d.cts} +42 -11
- package/dist/construct-interface-B1AfqRl4.d.cts.map +1 -0
- package/dist/{construct-interface-g5GM5pwR.d.mts → construct-interface-DluK3_da.d.mts} +42 -11
- package/dist/construct-interface-DluK3_da.d.mts.map +1 -0
- package/dist/construct-interface.cjs +113 -7
- package/dist/construct-interface.cjs.map +1 -0
- package/dist/construct-interface.d.cts +2 -2
- package/dist/construct-interface.d.mts +2 -2
- package/dist/construct-interface.mjs +106 -2
- package/dist/construct-interface.mjs.map +1 -0
- package/dist/credential.cjs +77 -17
- package/dist/credential.cjs.map +1 -1
- package/dist/credential.d.cts +34 -9
- package/dist/credential.d.cts.map +1 -1
- package/dist/credential.d.mts +34 -9
- package/dist/credential.d.mts.map +1 -1
- package/dist/credential.mjs +71 -13
- package/dist/credential.mjs.map +1 -1
- package/dist/crons/index.cjs +129 -7
- package/dist/crons/index.cjs.map +1 -1
- package/dist/crons/index.d.cts +45 -11
- package/dist/crons/index.d.cts.map +1 -1
- package/dist/crons/index.d.mts +45 -11
- package/dist/crons/index.d.mts.map +1 -1
- package/dist/crons/index.mjs +127 -8
- package/dist/crons/index.mjs.map +1 -1
- package/dist/database/kysely.cjs +4 -181
- package/dist/database/kysely.d.cts +2 -152
- package/dist/database/kysely.d.mts +2 -152
- package/dist/database/kysely.mjs +2 -180
- package/dist/email.cjs +25 -12
- package/dist/email.cjs.map +1 -1
- package/dist/email.d.cts +3 -7
- package/dist/email.d.cts.map +1 -1
- package/dist/email.d.mts +3 -7
- package/dist/email.d.mts.map +1 -1
- package/dist/email.mjs +16 -3
- package/dist/email.mjs.map +1 -1
- package/dist/encryption.cjs +96 -0
- package/dist/encryption.cjs.map +1 -0
- package/dist/encryption.d.cts +117 -0
- package/dist/encryption.d.cts.map +1 -0
- package/dist/encryption.d.mts +117 -0
- package/dist/encryption.d.mts.map +1 -0
- package/dist/encryption.mjs +83 -0
- package/dist/encryption.mjs.map +1 -0
- package/dist/endpoints/index.cjs +8 -10
- package/dist/endpoints/index.d.cts +51 -7
- package/dist/endpoints/index.d.cts.map +1 -0
- package/dist/endpoints/index.d.mts +51 -7
- package/dist/endpoints/index.d.mts.map +1 -0
- package/dist/endpoints/index.mjs +6 -10
- package/dist/external-api-MJ8id87V.d.mts +105 -0
- package/dist/external-api-MJ8id87V.d.mts.map +1 -0
- package/dist/external-api-O107yzZJ.d.cts +105 -0
- package/dist/external-api-O107yzZJ.d.cts.map +1 -0
- package/dist/external-api.cjs +142 -0
- package/dist/external-api.cjs.map +1 -0
- package/dist/external-api.d.cts +2 -0
- package/dist/external-api.d.mts +2 -0
- package/dist/external-api.mjs +139 -0
- package/dist/external-api.mjs.map +1 -0
- package/dist/file-server.cjs +42 -10
- package/dist/file-server.cjs.map +1 -1
- package/dist/file-server.d.cts +6 -10
- package/dist/file-server.d.cts.map +1 -1
- package/dist/file-server.d.mts +6 -10
- package/dist/file-server.d.mts.map +1 -1
- package/dist/file-server.mjs +34 -2
- package/dist/file-server.mjs.map +1 -1
- package/dist/functions/index.cjs +3 -6
- package/dist/functions/index.d.cts +3 -4
- package/dist/functions/index.d.mts +3 -4
- package/dist/functions/index.mjs +2 -6
- package/dist/{functions-14lpEFL4.mjs → functions-BFizikJU.mjs} +376 -238
- package/dist/{functions-14lpEFL4.mjs.map → functions-BFizikJU.mjs.map} +1 -1
- package/dist/{functions-i_la-N5r.cjs → functions-CfzJG9hK.cjs} +414 -264
- package/dist/functions-CfzJG9hK.cjs.map +1 -0
- package/dist/index-BuzRvKOQ.d.cts +115 -0
- package/dist/index-BuzRvKOQ.d.cts.map +1 -0
- package/dist/index-CTkKOer4.d.mts +115 -0
- package/dist/index-CTkKOer4.d.mts.map +1 -0
- package/dist/index-CeEtxDmK.d.cts +79 -0
- package/dist/index-CeEtxDmK.d.cts.map +1 -0
- package/dist/index-CeEtxDmK.d.mts +79 -0
- package/dist/index-CeEtxDmK.d.mts.map +1 -0
- package/dist/index.cjs +6 -3
- package/dist/index.d.cts +27 -4
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +27 -4
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +3 -3
- package/dist/kms-B-Hm3d5r.cjs +85 -0
- package/dist/kms-B-Hm3d5r.cjs.map +1 -0
- package/dist/kms-BdUlMJEZ.mjs +85 -0
- package/dist/kms-BdUlMJEZ.mjs.map +1 -0
- package/dist/kysely-Bii4l6eP.mjs +370 -0
- package/dist/kysely-Bii4l6eP.mjs.map +1 -0
- package/dist/kysely-CO_Dk43W.cjs +383 -0
- package/dist/kysely-CO_Dk43W.cjs.map +1 -0
- package/dist/kysely-D0bpzgPs.d.cts +175 -0
- package/dist/kysely-D0bpzgPs.d.cts.map +1 -0
- package/dist/kysely-DUqC3Ie0.d.mts +175 -0
- package/dist/kysely-DUqC3Ie0.d.mts.map +1 -0
- package/dist/{telemetry-C3L0iS28.d.cts → lambdaTelemetry-8vnmVZQ5.d.cts} +3 -6
- package/dist/lambdaTelemetry-8vnmVZQ5.d.cts.map +1 -0
- package/dist/{telemetry-D7bVFLGi.d.mts → lambdaTelemetry-8vnmVZQ5.d.mts} +3 -6
- package/dist/lambdaTelemetry-8vnmVZQ5.d.mts.map +1 -0
- package/dist/{lazyAccessors-BoJN3SMd.mjs → lazyAccessors-CFanua0O.mjs} +20 -60
- package/dist/lazyAccessors-CFanua0O.mjs.map +1 -0
- package/dist/{lazyAccessors-e3j2oE2m.cjs → lazyAccessors-hJKGv8Ay.cjs} +60 -113
- package/dist/lazyAccessors-hJKGv8Ay.cjs.map +1 -0
- package/dist/mobile-app.cjs +73 -0
- package/dist/mobile-app.cjs.map +1 -0
- package/dist/mobile-app.d.cts +61 -0
- package/dist/mobile-app.d.cts.map +1 -0
- package/dist/mobile-app.d.mts +61 -0
- package/dist/mobile-app.d.mts.map +1 -0
- package/dist/mobile-app.mjs +72 -0
- package/dist/mobile-app.mjs.map +1 -0
- package/dist/object-storage.cjs +18 -10
- package/dist/object-storage.cjs.map +1 -1
- package/dist/object-storage.d.cts +3 -7
- package/dist/object-storage.d.cts.map +1 -1
- package/dist/object-storage.d.mts +3 -7
- package/dist/object-storage.d.mts.map +1 -1
- package/dist/object-storage.mjs +11 -3
- package/dist/object-storage.mjs.map +1 -1
- package/dist/processAudits-BRRVVHUB.mjs +131 -0
- package/dist/processAudits-BRRVVHUB.mjs.map +1 -0
- package/dist/processAudits-DasOZjPl.cjs +154 -0
- package/dist/processAudits-DasOZjPl.cjs.map +1 -0
- package/dist/queue/index.cjs +6 -189
- package/dist/queue/index.d.cts +3 -60
- package/dist/queue/index.d.mts +3 -60
- package/dist/queue/index.mjs +3 -186
- package/dist/rest-api.cjs +90 -59
- package/dist/rest-api.cjs.map +1 -1
- package/dist/rest-api.d.cts +70 -42
- package/dist/rest-api.d.cts.map +1 -1
- package/dist/rest-api.d.mts +70 -42
- package/dist/rest-api.d.mts.map +1 -1
- package/dist/rest-api.mjs +82 -51
- package/dist/rest-api.mjs.map +1 -1
- package/dist/{chunk-DWy1uDak.cjs → rolldown-runtime-y5ARvAq5.cjs} +14 -18
- package/dist/runSubscriber-BHvJ8POr.mjs +109 -0
- package/dist/runSubscriber-BHvJ8POr.mjs.map +1 -0
- package/dist/runSubscriber-D8nLXIv1.cjs +126 -0
- package/dist/runSubscriber-D8nLXIv1.cjs.map +1 -0
- package/dist/shutdown-BMJmAhSt.cjs +38 -0
- package/dist/shutdown-BMJmAhSt.cjs.map +1 -0
- package/dist/shutdown-C7xa8x9S.mjs +27 -0
- package/dist/shutdown-C7xa8x9S.mjs.map +1 -0
- package/dist/site.cjs +33 -7
- package/dist/site.cjs.map +1 -1
- package/dist/site.d.cts +17 -7
- package/dist/site.d.cts.map +1 -1
- package/dist/site.d.mts +17 -7
- package/dist/site.d.mts.map +1 -1
- package/dist/site.mjs +29 -3
- package/dist/site.mjs.map +1 -1
- package/dist/stages-BSCF19o2.d.cts +56 -0
- package/dist/stages-BSCF19o2.d.cts.map +1 -0
- package/dist/stages-BSCF19o2.d.mts +56 -0
- package/dist/stages-BSCF19o2.d.mts.map +1 -0
- package/dist/subscribers/index.cjs +118 -6
- package/dist/subscribers/index.cjs.map +1 -0
- package/dist/subscribers/index.d.cts +51 -6
- package/dist/subscribers/index.d.cts.map +1 -0
- package/dist/subscribers/index.d.mts +51 -6
- package/dist/subscribers/index.d.mts.map +1 -0
- package/dist/subscribers/index.mjs +115 -5
- package/dist/subscribers/index.mjs.map +1 -0
- package/dist/surfaceEnv-CNimK76p.cjs +56 -0
- package/dist/surfaceEnv-CNimK76p.cjs.map +1 -0
- package/dist/surfaceEnv-wMT5QzgZ.mjs +45 -0
- package/dist/surfaceEnv-wMT5QzgZ.mjs.map +1 -0
- package/dist/telemetry-B48RLjyk.d.cts +40 -0
- package/dist/telemetry-B48RLjyk.d.cts.map +1 -0
- package/dist/telemetry-DRtT1_0A.d.mts +40 -0
- package/dist/telemetry-DRtT1_0A.d.mts.map +1 -0
- package/dist/telemetry.cjs +56 -0
- package/dist/telemetry.cjs.map +1 -0
- package/dist/telemetry.d.cts +2 -0
- package/dist/telemetry.d.mts +2 -0
- package/dist/telemetry.mjs +55 -0
- package/dist/telemetry.mjs.map +1 -0
- package/dist/topic/index.cjs +3 -137
- package/dist/topic/index.d.cts +2 -4
- package/dist/topic/index.d.mts +2 -4
- package/dist/topic/index.mjs +2 -134
- package/dist/tracing-CxaZ98IB.mjs +110 -0
- package/dist/tracing-CxaZ98IB.mjs.map +1 -0
- package/dist/tracing-DPMidF_r.cjs +127 -0
- package/dist/tracing-DPMidF_r.cjs.map +1 -0
- package/dist/{types-BlAkSuGI.d.cts → types-DMuSQeLL.d.cts} +3 -5
- package/dist/types-DMuSQeLL.d.cts.map +1 -0
- package/dist/{types-aKksMEWL.d.mts → types-DMuSQeLL.d.mts} +3 -5
- package/dist/types-DMuSQeLL.d.mts.map +1 -0
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +1 -0
- package/dist/worker.cjs +59 -34
- package/dist/worker.cjs.map +1 -1
- package/dist/worker.d.cts +70 -45
- package/dist/worker.d.cts.map +1 -1
- package/dist/worker.d.mts +70 -44
- package/dist/worker.d.mts.map +1 -1
- package/dist/worker.mjs +54 -29
- package/dist/worker.mjs.map +1 -1
- package/package.json +96 -42
- package/dist/Construct-BD5neF7w.mjs.map +0 -1
- package/dist/Construct-C0ijr2qp.d.cts +0 -117
- package/dist/Construct-C0ijr2qp.d.cts.map +0 -1
- package/dist/Construct-Ct8nalEi.d.mts +0 -117
- package/dist/Construct-Ct8nalEi.d.mts.map +0 -1
- package/dist/Construct-CyS3RpTL.cjs.map +0 -1
- package/dist/Cron-DmQ8vQ4b.d.cts.map +0 -1
- package/dist/Cron-dh4rUgib.d.mts.map +0 -1
- package/dist/CronBuilder-BquXDbDI.d.cts +0 -44
- package/dist/CronBuilder-BquXDbDI.d.cts.map +0 -1
- package/dist/CronBuilder-CGgY2080.d.mts +0 -44
- package/dist/CronBuilder-CGgY2080.d.mts.map +0 -1
- package/dist/CronBuilder-CYKT5RiO.mjs.map +0 -1
- package/dist/CronBuilder-Da0C0edR.cjs.map +0 -1
- package/dist/Endpoint-BjWKinFA.d.mts.map +0 -1
- package/dist/Endpoint-DCQPMdUX.mjs.map +0 -1
- package/dist/Endpoint-DcWXE-SZ.cjs.map +0 -1
- package/dist/Endpoint-dav89W6-.d.cts.map +0 -1
- package/dist/EndpointFactory-CdWB7wPw.cjs.map +0 -1
- package/dist/EndpointFactory-CjV8F_lJ.mjs.map +0 -1
- package/dist/HonoEndpointAdaptor-DtL9j19R.cjs.map +0 -1
- package/dist/HonoEndpointAdaptor-P1ahhZHu.mjs.map +0 -1
- package/dist/Queue-D7ZuwBhy.d.cts.map +0 -1
- package/dist/Queue-gVGfi2Yk.d.mts.map +0 -1
- package/dist/Subscriber-2mEi0ImH.d.cts.map +0 -1
- package/dist/Subscriber-xTJ9ayPN.d.mts.map +0 -1
- package/dist/SubscriberBuilder-4OPehf2R.cjs.map +0 -1
- package/dist/SubscriberBuilder-BjkbeT9l.mjs.map +0 -1
- package/dist/SubscriberBuilder-Dptmo-1A.d.mts +0 -62
- package/dist/SubscriberBuilder-Dptmo-1A.d.mts.map +0 -1
- package/dist/SubscriberBuilder-waNhzjSM.d.cts +0 -62
- package/dist/SubscriberBuilder-waNhzjSM.d.cts.map +0 -1
- package/dist/Topic-19QeHBIR.d.cts +0 -91
- package/dist/Topic-19QeHBIR.d.cts.map +0 -1
- package/dist/Topic-DuFeqkBh.d.mts +0 -91
- package/dist/Topic-DuFeqkBh.d.mts.map +0 -1
- package/dist/auth.d.cts.map +0 -1
- package/dist/auth.d.mts.map +0 -1
- package/dist/cache-0ANvRQnD.mjs +0 -51
- package/dist/cache-0ANvRQnD.mjs.map +0 -1
- package/dist/cache-3WSvAulx.cjs +0 -57
- package/dist/cache-3WSvAulx.cjs.map +0 -1
- package/dist/cache-BrRz3fEB.d.mts.map +0 -1
- package/dist/cache-BtZY_tHe.d.cts.map +0 -1
- package/dist/clone-DblgEZZa.mjs.map +0 -1
- package/dist/clone-Dy0cR2SZ.cjs.map +0 -1
- package/dist/construct-interface-BfjcOD_E.cjs +0 -117
- package/dist/construct-interface-BfjcOD_E.cjs.map +0 -1
- package/dist/construct-interface-D9d4Gm4p.d.cts.map +0 -1
- package/dist/construct-interface-Z4CpS8tK.mjs +0 -81
- package/dist/construct-interface-Z4CpS8tK.mjs.map +0 -1
- package/dist/construct-interface-g5GM5pwR.d.mts.map +0 -1
- package/dist/database/kysely.cjs.map +0 -1
- package/dist/database/kysely.d.cts.map +0 -1
- package/dist/database/kysely.d.mts.map +0 -1
- package/dist/database/kysely.mjs.map +0 -1
- package/dist/functions-i_la-N5r.cjs.map +0 -1
- package/dist/index-Bd5FqCoe.d.cts.map +0 -1
- package/dist/index-BknhM6Ux.d.mts +0 -31
- package/dist/index-BknhM6Ux.d.mts.map +0 -1
- package/dist/index-CBSfrowv.d.cts +0 -31
- package/dist/index-CBSfrowv.d.cts.map +0 -1
- package/dist/index-D24Xm79M.d.cts +0 -171
- package/dist/index-D24Xm79M.d.cts.map +0 -1
- package/dist/index-_ajboYxK.d.mts +0 -171
- package/dist/index-_ajboYxK.d.mts.map +0 -1
- package/dist/index-lAO9egTb.d.mts.map +0 -1
- package/dist/lazyAccessors-BoJN3SMd.mjs.map +0 -1
- package/dist/lazyAccessors-e3j2oE2m.cjs.map +0 -1
- package/dist/processAudits-CGqttuXm.cjs +0 -92
- package/dist/processAudits-CGqttuXm.cjs.map +0 -1
- package/dist/processAudits-Dmts9H_b.mjs +0 -80
- package/dist/processAudits-Dmts9H_b.mjs.map +0 -1
- package/dist/queue/index.cjs.map +0 -1
- package/dist/queue/index.d.cts.map +0 -1
- package/dist/queue/index.d.mts.map +0 -1
- package/dist/queue/index.mjs.map +0 -1
- package/dist/surfaceEnv-BFXEms2f.cjs +0 -39
- package/dist/surfaceEnv-BFXEms2f.cjs.map +0 -1
- package/dist/surfaceEnv-C3Ktahea.mjs +0 -27
- package/dist/surfaceEnv-C3Ktahea.mjs.map +0 -1
- package/dist/telemetry-C3L0iS28.d.cts.map +0 -1
- package/dist/telemetry-D7bVFLGi.d.mts.map +0 -1
- package/dist/topic/index.cjs.map +0 -1
- package/dist/topic/index.mjs.map +0 -1
- package/dist/types-BlAkSuGI.d.cts.map +0 -1
- package/dist/types-aKksMEWL.d.mts.map +0 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
const require_functions = require(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-y5ARvAq5.cjs");
|
|
2
|
+
require("./Construct-DUSXuTHP.cjs");
|
|
3
|
+
const require_functions = require("./functions-CfzJG9hK.cjs");
|
|
4
|
+
let _geekmidas_schema_conversion = require("@geekmidas/schema/conversion");
|
|
5
|
+
let _geekmidas_schema_openapi = require("@geekmidas/schema/openapi");
|
|
7
6
|
//#region ../../node_modules/.pnpm/lodash.pick@4.4.0/node_modules/lodash.pick/index.js
|
|
8
|
-
var
|
|
7
|
+
var require_lodash_pick = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
9
8
|
/**
|
|
10
9
|
* lodash (Custom Build) <https://lodash.com/>
|
|
11
10
|
* Build: `lodash modularize exports="npm" -o ./`
|
|
@@ -15,15 +14,18 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
15
14
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
16
15
|
*/
|
|
17
16
|
/** Used as references for various `Number` constants. */
|
|
18
|
-
var
|
|
17
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
19
18
|
/** `Object#toString` result references. */
|
|
20
|
-
var argsTag = "[object Arguments]"
|
|
19
|
+
var argsTag = "[object Arguments]";
|
|
20
|
+
var funcTag = "[object Function]";
|
|
21
|
+
var genTag = "[object GeneratorFunction]";
|
|
22
|
+
var symbolTag = "[object Symbol]";
|
|
21
23
|
/** Detect free variable `global` from Node.js. */
|
|
22
|
-
var freeGlobal
|
|
24
|
+
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
23
25
|
/** Detect free variable `self`. */
|
|
24
|
-
var freeSelf
|
|
26
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
25
27
|
/** Used as a reference to the global object. */
|
|
26
|
-
var root
|
|
28
|
+
var root = freeGlobal || freeSelf || Function("return this")();
|
|
27
29
|
/**
|
|
28
30
|
* A faster alternative to `Function#apply`, this function invokes `func`
|
|
29
31
|
* with the `this` binding of `thisArg` and the arguments of `args`.
|
|
@@ -71,17 +73,19 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
71
73
|
return array;
|
|
72
74
|
}
|
|
73
75
|
/** Used for built-in method references. */
|
|
74
|
-
var objectProto
|
|
76
|
+
var objectProto = Object.prototype;
|
|
75
77
|
/** Used to check objects for own properties. */
|
|
76
|
-
var hasOwnProperty
|
|
78
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
77
79
|
/**
|
|
78
80
|
* Used to resolve the
|
|
79
81
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
80
82
|
* of values.
|
|
81
83
|
*/
|
|
82
|
-
var objectToString
|
|
84
|
+
var objectToString = objectProto.toString;
|
|
83
85
|
/** Built-in value references. */
|
|
84
|
-
var Symbol
|
|
86
|
+
var Symbol = root.Symbol;
|
|
87
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
88
|
+
var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : void 0;
|
|
85
89
|
var nativeMax = Math.max;
|
|
86
90
|
/**
|
|
87
91
|
* The base implementation of `_.flatten` with support for restricting flattening.
|
|
@@ -100,9 +104,10 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
100
104
|
result || (result = []);
|
|
101
105
|
while (++index < length) {
|
|
102
106
|
var value = array[index];
|
|
103
|
-
if (depth > 0 && predicate(value))
|
|
104
|
-
|
|
105
|
-
|
|
107
|
+
if (depth > 0 && predicate(value)) {
|
|
108
|
+
if (depth > 1) baseFlatten(value, depth - 1, predicate, isStrict, result);
|
|
109
|
+
else arrayPush(result, value);
|
|
110
|
+
} else if (!isStrict) result[result.length] = value;
|
|
106
111
|
}
|
|
107
112
|
return result;
|
|
108
113
|
}
|
|
@@ -166,7 +171,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
166
171
|
* @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
|
|
167
172
|
*/
|
|
168
173
|
function isFlattenable(value) {
|
|
169
|
-
return isArray
|
|
174
|
+
return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
|
|
170
175
|
}
|
|
171
176
|
/**
|
|
172
177
|
* Converts `value` to a string key if it's not a string or symbol.
|
|
@@ -175,10 +180,10 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
175
180
|
* @param {*} value The value to inspect.
|
|
176
181
|
* @returns {string|symbol} Returns the key.
|
|
177
182
|
*/
|
|
178
|
-
function toKey
|
|
179
|
-
if (typeof value == "string" || isSymbol
|
|
183
|
+
function toKey(value) {
|
|
184
|
+
if (typeof value == "string" || isSymbol(value)) return value;
|
|
180
185
|
var result = value + "";
|
|
181
|
-
return result == "0" && 1 / value == -
|
|
186
|
+
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
182
187
|
}
|
|
183
188
|
/**
|
|
184
189
|
* Checks if `value` is likely an `arguments` object.
|
|
@@ -199,7 +204,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
199
204
|
* // => false
|
|
200
205
|
*/
|
|
201
206
|
function isArguments(value) {
|
|
202
|
-
return isArrayLikeObject(value) && hasOwnProperty
|
|
207
|
+
return isArrayLikeObject(value) && hasOwnProperty.call(value, "callee") && (!propertyIsEnumerable.call(value, "callee") || objectToString.call(value) == argsTag);
|
|
203
208
|
}
|
|
204
209
|
/**
|
|
205
210
|
* Checks if `value` is classified as an `Array` object.
|
|
@@ -224,7 +229,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
224
229
|
* _.isArray(_.noop);
|
|
225
230
|
* // => false
|
|
226
231
|
*/
|
|
227
|
-
var isArray
|
|
232
|
+
var isArray = Array.isArray;
|
|
228
233
|
/**
|
|
229
234
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
230
235
|
* not a function and has a `value.length` that's an integer greater than or
|
|
@@ -251,7 +256,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
251
256
|
* // => false
|
|
252
257
|
*/
|
|
253
258
|
function isArrayLike(value) {
|
|
254
|
-
return value != null && isLength(value.length) && !isFunction
|
|
259
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
255
260
|
}
|
|
256
261
|
/**
|
|
257
262
|
* This method is like `_.isArrayLike` except that it also checks if `value`
|
|
@@ -279,7 +284,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
279
284
|
* // => false
|
|
280
285
|
*/
|
|
281
286
|
function isArrayLikeObject(value) {
|
|
282
|
-
return isObjectLike
|
|
287
|
+
return isObjectLike(value) && isArrayLike(value);
|
|
283
288
|
}
|
|
284
289
|
/**
|
|
285
290
|
* Checks if `value` is classified as a `Function` object.
|
|
@@ -298,9 +303,9 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
298
303
|
* _.isFunction(/abc/);
|
|
299
304
|
* // => false
|
|
300
305
|
*/
|
|
301
|
-
function isFunction
|
|
302
|
-
var tag = isObject
|
|
303
|
-
return tag == funcTag
|
|
306
|
+
function isFunction(value) {
|
|
307
|
+
var tag = isObject(value) ? objectToString.call(value) : "";
|
|
308
|
+
return tag == funcTag || tag == genTag;
|
|
304
309
|
}
|
|
305
310
|
/**
|
|
306
311
|
* Checks if `value` is a valid array-like length.
|
|
@@ -329,7 +334,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
329
334
|
* // => false
|
|
330
335
|
*/
|
|
331
336
|
function isLength(value) {
|
|
332
|
-
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER
|
|
337
|
+
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
333
338
|
}
|
|
334
339
|
/**
|
|
335
340
|
* Checks if `value` is the
|
|
@@ -356,7 +361,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
356
361
|
* _.isObject(null);
|
|
357
362
|
* // => false
|
|
358
363
|
*/
|
|
359
|
-
function isObject
|
|
364
|
+
function isObject(value) {
|
|
360
365
|
var type = typeof value;
|
|
361
366
|
return !!value && (type == "object" || type == "function");
|
|
362
367
|
}
|
|
@@ -384,7 +389,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
384
389
|
* _.isObjectLike(null);
|
|
385
390
|
* // => false
|
|
386
391
|
*/
|
|
387
|
-
function isObjectLike
|
|
392
|
+
function isObjectLike(value) {
|
|
388
393
|
return !!value && typeof value == "object";
|
|
389
394
|
}
|
|
390
395
|
/**
|
|
@@ -404,35 +409,16 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
404
409
|
* _.isSymbol('abc');
|
|
405
410
|
* // => false
|
|
406
411
|
*/
|
|
407
|
-
function isSymbol
|
|
408
|
-
return typeof value == "symbol" || isObjectLike
|
|
412
|
+
function isSymbol(value) {
|
|
413
|
+
return typeof value == "symbol" || isObjectLike(value) && objectToString.call(value) == symbolTag;
|
|
409
414
|
}
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
*
|
|
413
|
-
* @static
|
|
414
|
-
* @since 0.1.0
|
|
415
|
-
* @memberOf _
|
|
416
|
-
* @category Object
|
|
417
|
-
* @param {Object} object The source object.
|
|
418
|
-
* @param {...(string|string[])} [props] The property identifiers to pick.
|
|
419
|
-
* @returns {Object} Returns the new object.
|
|
420
|
-
* @example
|
|
421
|
-
*
|
|
422
|
-
* var object = { 'a': 1, 'b': '2', 'c': 3 };
|
|
423
|
-
*
|
|
424
|
-
* _.pick(object, ['a', 'c']);
|
|
425
|
-
* // => { 'a': 1, 'c': 3 }
|
|
426
|
-
*/
|
|
427
|
-
var pick$1 = baseRest(function(object, props) {
|
|
428
|
-
return object == null ? {} : basePick(object, arrayMap(baseFlatten(props, 1), toKey$1));
|
|
415
|
+
module.exports = baseRest(function(object, props) {
|
|
416
|
+
return object == null ? {} : basePick(object, arrayMap(baseFlatten(props, 1), toKey));
|
|
429
417
|
});
|
|
430
|
-
|
|
431
|
-
} });
|
|
432
|
-
|
|
418
|
+
}));
|
|
433
419
|
//#endregion
|
|
434
420
|
//#region ../../node_modules/.pnpm/lodash.set@4.3.2/node_modules/lodash.set/index.js
|
|
435
|
-
var
|
|
421
|
+
var require_lodash_set = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
436
422
|
/**
|
|
437
423
|
* lodash (Custom Build) <https://lodash.com/>
|
|
438
424
|
* Build: `lodash modularize exports="npm" -o ./`
|
|
@@ -445,12 +431,16 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
445
431
|
var FUNC_ERROR_TEXT = "Expected a function";
|
|
446
432
|
/** Used to stand-in for `undefined` hash values. */
|
|
447
433
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
448
|
-
|
|
449
|
-
var INFINITY = Infinity, MAX_SAFE_INTEGER = 9007199254740991;
|
|
434
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
450
435
|
/** `Object#toString` result references. */
|
|
451
|
-
var funcTag = "[object Function]"
|
|
436
|
+
var funcTag = "[object Function]";
|
|
437
|
+
var genTag = "[object GeneratorFunction]";
|
|
438
|
+
var symbolTag = "[object Symbol]";
|
|
452
439
|
/** Used to match property names within property paths. */
|
|
453
|
-
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]
|
|
440
|
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
|
441
|
+
var reIsPlainProp = /^\w*$/;
|
|
442
|
+
var reLeadingDot = /^\./;
|
|
443
|
+
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
454
444
|
/**
|
|
455
445
|
* Used to match `RegExp`
|
|
456
446
|
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
@@ -494,7 +484,9 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
494
484
|
return result;
|
|
495
485
|
}
|
|
496
486
|
/** Used for built-in method references. */
|
|
497
|
-
var arrayProto = Array.prototype
|
|
487
|
+
var arrayProto = Array.prototype;
|
|
488
|
+
var funcProto = Function.prototype;
|
|
489
|
+
var objectProto = Object.prototype;
|
|
498
490
|
/** Used to detect overreaching core-js shims. */
|
|
499
491
|
var coreJsData = root["__core-js_shared__"];
|
|
500
492
|
/** Used to detect methods masquerading as native. */
|
|
@@ -515,10 +507,13 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
515
507
|
/** Used to detect if a method is native. */
|
|
516
508
|
var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
517
509
|
/** Built-in value references. */
|
|
518
|
-
var Symbol = root.Symbol
|
|
519
|
-
var
|
|
510
|
+
var Symbol = root.Symbol;
|
|
511
|
+
var splice = arrayProto.splice;
|
|
512
|
+
var Map = getNative(root, "Map");
|
|
513
|
+
var nativeCreate = getNative(Object, "create");
|
|
520
514
|
/** Used to convert symbols to primitives and strings. */
|
|
521
|
-
var symbolProto = Symbol ? Symbol.prototype : void 0
|
|
515
|
+
var symbolProto = Symbol ? Symbol.prototype : void 0;
|
|
516
|
+
var symbolToString = symbolProto ? symbolProto.toString : void 0;
|
|
522
517
|
/**
|
|
523
518
|
* Creates a hash object.
|
|
524
519
|
*
|
|
@@ -644,8 +639,7 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
644
639
|
function listCacheDelete(key) {
|
|
645
640
|
var data = this.__data__, index = assocIndexOf(data, key);
|
|
646
641
|
if (index < 0) return false;
|
|
647
|
-
|
|
648
|
-
if (index == lastIndex) data.pop();
|
|
642
|
+
if (index == data.length - 1) data.pop();
|
|
649
643
|
else splice.call(data, index, 1);
|
|
650
644
|
return true;
|
|
651
645
|
}
|
|
@@ -720,7 +714,7 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
720
714
|
function mapCacheClear() {
|
|
721
715
|
this.__data__ = {
|
|
722
716
|
"hash": new Hash(),
|
|
723
|
-
"map": new (Map
|
|
717
|
+
"map": new (Map || ListCache)(),
|
|
724
718
|
"string": new Hash()
|
|
725
719
|
};
|
|
726
720
|
}
|
|
@@ -816,8 +810,7 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
816
810
|
*/
|
|
817
811
|
function baseIsNative(value) {
|
|
818
812
|
if (!isObject(value) || isMasked(value)) return false;
|
|
819
|
-
|
|
820
|
-
return pattern.test(toSource(value));
|
|
813
|
+
return (isFunction(value) || isHostObject(value) ? reIsNative : reIsHostCtor).test(toSource(value));
|
|
821
814
|
}
|
|
822
815
|
/**
|
|
823
816
|
* The base implementation of `_.set`.
|
|
@@ -857,7 +850,7 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
857
850
|
if (typeof value == "string") return value;
|
|
858
851
|
if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
|
|
859
852
|
var result = value + "";
|
|
860
|
-
return result == "0" && 1 / value == -
|
|
853
|
+
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
861
854
|
}
|
|
862
855
|
/**
|
|
863
856
|
* Casts `value` to a path array if it's not one.
|
|
@@ -951,8 +944,8 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
951
944
|
string = toString(string);
|
|
952
945
|
var result = [];
|
|
953
946
|
if (reLeadingDot.test(string)) result.push("");
|
|
954
|
-
string.replace(rePropName, function(match, number, quote, string
|
|
955
|
-
result.push(quote ? string
|
|
947
|
+
string.replace(rePropName, function(match, number, quote, string) {
|
|
948
|
+
result.push(quote ? string.replace(reEscapeChar, "$1") : number || match);
|
|
956
949
|
});
|
|
957
950
|
return result;
|
|
958
951
|
});
|
|
@@ -966,7 +959,7 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
966
959
|
function toKey(value) {
|
|
967
960
|
if (typeof value == "string" || isSymbol(value)) return value;
|
|
968
961
|
var result = value + "";
|
|
969
|
-
return result == "0" && 1 / value == -
|
|
962
|
+
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
970
963
|
}
|
|
971
964
|
/**
|
|
972
965
|
* Converts `func` to its source code.
|
|
@@ -1251,16 +1244,54 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
1251
1244
|
* console.log(object.x[0].y.z);
|
|
1252
1245
|
* // => 5
|
|
1253
1246
|
*/
|
|
1254
|
-
function set
|
|
1247
|
+
function set(object, path, value) {
|
|
1255
1248
|
return object == null ? object : baseSet(object, path, value);
|
|
1256
1249
|
}
|
|
1257
|
-
module.exports = set
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1250
|
+
module.exports = set;
|
|
1251
|
+
}));
|
|
1252
|
+
//#endregion
|
|
1253
|
+
//#region src/endpoints/sessionAuth.ts
|
|
1254
|
+
var import_lodash_pick = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_lodash_pick(), 1);
|
|
1255
|
+
var import_lodash_set = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_lodash_set(), 1);
|
|
1256
|
+
/**
|
|
1257
|
+
* What is forwarded to the auth server: the headers a session travels in, and
|
|
1258
|
+
* whose request it is — nothing else.
|
|
1259
|
+
*
|
|
1260
|
+
* The client's address goes with the session because the auth server
|
|
1261
|
+
* rate-limits by it, `/get-session` included. Without it every user's session
|
|
1262
|
+
* check arrived from the surface itself — one shared bucket, so enough
|
|
1263
|
+
* traffic from anyone turned every session check into a 429 — and in tests,
|
|
1264
|
+
* concurrent tests queued on the same rate-limit row.
|
|
1265
|
+
*/
|
|
1266
|
+
const SESSION_HEADERS = [
|
|
1267
|
+
"cookie",
|
|
1268
|
+
"authorization",
|
|
1269
|
+
"x-forwarded-for"
|
|
1270
|
+
];
|
|
1271
|
+
/** `auth` for one request on one surface. */
|
|
1272
|
+
function sessionAuth(surface, header) {
|
|
1273
|
+
return { async getSession() {
|
|
1274
|
+
const authenticator = surface?.auth;
|
|
1275
|
+
if (!surface || !authenticator) throw new NoAuthenticator(surface?.id);
|
|
1276
|
+
const headers = new Headers();
|
|
1277
|
+
for (const name of SESSION_HEADERS) {
|
|
1278
|
+
const value = header(name);
|
|
1279
|
+
if (value) headers.set(name, value);
|
|
1280
|
+
}
|
|
1281
|
+
return await authenticator.verify(headers, surface.envParser);
|
|
1282
|
+
} };
|
|
1283
|
+
}
|
|
1284
|
+
/** `auth.getSession()` was called on a surface that names no authenticator. */
|
|
1285
|
+
var NoAuthenticator = class extends Error {
|
|
1286
|
+
surface;
|
|
1287
|
+
constructor(surface) {
|
|
1288
|
+
super(`auth.getSession() needs an authenticator, and ${surface ? `the surface '${surface}'` : "this endpoint"} declares none: declare one on the surface with .auth(construct).`);
|
|
1289
|
+
this.surface = surface;
|
|
1290
|
+
this.name = "NoAuthenticator";
|
|
1291
|
+
}
|
|
1292
|
+
};
|
|
1260
1293
|
//#endregion
|
|
1261
1294
|
//#region src/endpoints/Endpoint.ts
|
|
1262
|
-
var import_lodash = require_chunk.__toESM(require_lodash$1(), 1);
|
|
1263
|
-
var import_lodash$1 = require_chunk.__toESM(require_lodash(), 1);
|
|
1264
1295
|
/**
|
|
1265
1296
|
* Represents an HTTP endpoint that can handle requests with type-safe input/output validation,
|
|
1266
1297
|
* dependency injection, session management, and authorization.
|
|
@@ -1312,10 +1343,22 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1312
1343
|
* Content-Type header instead of JSON-serializing.
|
|
1313
1344
|
*/
|
|
1314
1345
|
responseType;
|
|
1346
|
+
/**
|
|
1347
|
+
* This route's telemetry — `.telemetry({ ignore, attributes })` — read by
|
|
1348
|
+
* the build, which hands it to the request middleware.
|
|
1349
|
+
*/
|
|
1350
|
+
telemetry;
|
|
1315
1351
|
/** Default headers to apply to all responses */
|
|
1316
1352
|
defaultHeaders = {};
|
|
1317
1353
|
/** Function to extract session data from the request context */
|
|
1318
1354
|
getSession = () => ({});
|
|
1355
|
+
/**
|
|
1356
|
+
* Whether a session callback was given — `.session()` on the factory it was
|
|
1357
|
+
* built from. A generated handler reads the session only when it is, so
|
|
1358
|
+
* an endpoint with a session and no authorizer must say so: it used to be
|
|
1359
|
+
* handed `undefined` in a production build and its session in `gkm dev`.
|
|
1360
|
+
*/
|
|
1361
|
+
hasSession = false;
|
|
1319
1362
|
/** Function to determine if the request is authorized */
|
|
1320
1363
|
authorize = () => true;
|
|
1321
1364
|
/** Optional rate limiting configuration */
|
|
@@ -1351,7 +1394,7 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1351
1394
|
* ```
|
|
1352
1395
|
*/
|
|
1353
1396
|
static async buildOpenApiSchema(endpoints, options) {
|
|
1354
|
-
return (0,
|
|
1397
|
+
return (0, _geekmidas_schema_openapi.buildOpenApiSchema)(endpoints, options);
|
|
1355
1398
|
}
|
|
1356
1399
|
/**
|
|
1357
1400
|
* Gets the full path including HTTP method and route.
|
|
@@ -1481,12 +1524,11 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1481
1524
|
* @internal
|
|
1482
1525
|
*/
|
|
1483
1526
|
refineInput(ctx) {
|
|
1484
|
-
|
|
1527
|
+
return (0, import_lodash_pick.default)(ctx, [
|
|
1485
1528
|
"body",
|
|
1486
1529
|
"query",
|
|
1487
1530
|
"params"
|
|
1488
1531
|
]);
|
|
1489
|
-
return input;
|
|
1490
1532
|
}
|
|
1491
1533
|
handler = (ctx, response) => {
|
|
1492
1534
|
for (const [key, value] of Object.entries(this.defaultHeaders)) response.header(key, value);
|
|
@@ -1509,7 +1551,7 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1509
1551
|
* @returns True if the object is an Endpoint
|
|
1510
1552
|
*/
|
|
1511
1553
|
static isEndpoint(obj) {
|
|
1512
|
-
return Boolean(obj && obj.__IS_FUNCTION__ === true && obj.type ===
|
|
1554
|
+
return Boolean(obj && obj.__IS_FUNCTION__ === true && obj.type === "dev.geekmidas.function.endpoint");
|
|
1513
1555
|
}
|
|
1514
1556
|
/**
|
|
1515
1557
|
* Helper to check if response has metadata
|
|
@@ -1531,17 +1573,23 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1531
1573
|
* @returns OpenAPI route definition with operation details
|
|
1532
1574
|
*/
|
|
1533
1575
|
async toOpenApi3Route(componentCollector) {
|
|
1576
|
+
const status = String(this.status);
|
|
1534
1577
|
const operation = {
|
|
1535
1578
|
operationId: this.operationId,
|
|
1536
1579
|
...this.description && { description: this.description },
|
|
1537
1580
|
...this.tags && this.tags.length > 0 && { tags: this.tags },
|
|
1538
|
-
responses: {
|
|
1581
|
+
responses: { [status]: { description: "Successful response" } }
|
|
1539
1582
|
};
|
|
1583
|
+
const scheme = this.authorizer?.securityScheme;
|
|
1584
|
+
if (this.authorizer && scheme && componentCollector) {
|
|
1585
|
+
componentCollector.addSecurityScheme(this.authorizer.name, scheme);
|
|
1586
|
+
operation.security = [{ [this.authorizer.name]: [] }];
|
|
1587
|
+
}
|
|
1540
1588
|
if (this.outputSchema) {
|
|
1541
|
-
const responseSchema = await (0,
|
|
1542
|
-
if (responseSchema) (0,
|
|
1589
|
+
const responseSchema = await (0, _geekmidas_schema_conversion.convertSchemaWithComponents)(this.outputSchema, componentCollector);
|
|
1590
|
+
if (responseSchema) (0, import_lodash_set.default)(operation, [
|
|
1543
1591
|
"responses",
|
|
1544
|
-
|
|
1592
|
+
status,
|
|
1545
1593
|
"content",
|
|
1546
1594
|
this.responseType,
|
|
1547
1595
|
"schema"
|
|
@@ -1555,14 +1603,14 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1555
1603
|
"PUT",
|
|
1556
1604
|
"PATCH"
|
|
1557
1605
|
].includes(this.method) && "body" in this.input && this.input.body) {
|
|
1558
|
-
const bodySchema = await (0,
|
|
1559
|
-
if (bodySchema) (0,
|
|
1606
|
+
const bodySchema = await (0, _geekmidas_schema_conversion.convertSchemaWithComponents)(this.input.body, componentCollector);
|
|
1607
|
+
if (bodySchema) (0, import_lodash_set.default)(operation, ["requestBody"], {
|
|
1560
1608
|
required: true,
|
|
1561
1609
|
content: { "application/json": { schema: bodySchema } }
|
|
1562
1610
|
});
|
|
1563
1611
|
}
|
|
1564
1612
|
if ("params" in this.input && this.input.params) {
|
|
1565
|
-
const paramsSchema = await (0,
|
|
1613
|
+
const paramsSchema = await (0, _geekmidas_schema_conversion.convertStandardSchemaToJsonSchema)(this.input.params);
|
|
1566
1614
|
if (paramsSchema && paramsSchema.type === "object" && paramsSchema.properties) for (const [name, schema] of Object.entries(paramsSchema.properties)) pathParameters.push({
|
|
1567
1615
|
name,
|
|
1568
1616
|
in: "path",
|
|
@@ -1571,7 +1619,7 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1571
1619
|
});
|
|
1572
1620
|
}
|
|
1573
1621
|
if ("query" in this.input && this.input.query) {
|
|
1574
|
-
const querySchema = await (0,
|
|
1622
|
+
const querySchema = await (0, _geekmidas_schema_conversion.convertStandardSchemaToJsonSchema)(this.input.query);
|
|
1575
1623
|
if (querySchema && querySchema.type === "object" && querySchema.properties) for (const [name, schema] of Object.entries(querySchema.properties)) queryParameters.push({
|
|
1576
1624
|
name,
|
|
1577
1625
|
in: "query",
|
|
@@ -1604,8 +1652,8 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1604
1652
|
* @param options.status - Success HTTP status code (default: 200)
|
|
1605
1653
|
* @param options.authorizer - Optional authorizer configuration
|
|
1606
1654
|
*/
|
|
1607
|
-
constructor({ fn, method, route, description, tags, input, logger, output: outputSchema, services, constructs, timeout, memorySize, getSession, authorize, rateLimit, status =
|
|
1608
|
-
super(fn, timeout,
|
|
1655
|
+
constructor({ fn, method, route, description, tags, input, logger, output: outputSchema, services, constructs, timeout, memorySize, getSession, authorize, rateLimit, status = 200, events, authorizer, surface, auditorStorageService, actorExtractor, audits, databaseService, rlsConfig, rlsBypass, responseType, telemetry }) {
|
|
1656
|
+
super(fn, timeout, "dev.geekmidas.function.endpoint", input, outputSchema, services, logger, events, memorySize, auditorStorageService, void 0, constructs);
|
|
1609
1657
|
this.route = route;
|
|
1610
1658
|
this.method = method;
|
|
1611
1659
|
this.description = description;
|
|
@@ -1613,7 +1661,14 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1613
1661
|
this.status = status;
|
|
1614
1662
|
this.responseType = responseType ?? "application/json";
|
|
1615
1663
|
this.endpointFn = fn;
|
|
1616
|
-
if (
|
|
1664
|
+
if (telemetry) this.telemetry = telemetry;
|
|
1665
|
+
if (getSession) {
|
|
1666
|
+
this.hasSession = true;
|
|
1667
|
+
this.getSession = (ctx) => getSession({
|
|
1668
|
+
...ctx,
|
|
1669
|
+
auth: sessionAuth(surface, ctx.header)
|
|
1670
|
+
});
|
|
1671
|
+
}
|
|
1617
1672
|
if (authorize) this.authorize = authorize;
|
|
1618
1673
|
if (rateLimit) this.rateLimit = rateLimit;
|
|
1619
1674
|
if (authorizer) this.authorizer = authorizer;
|
|
@@ -1669,42 +1724,30 @@ var ResponseBuilder = class {
|
|
|
1669
1724
|
return this.metadata;
|
|
1670
1725
|
}
|
|
1671
1726
|
};
|
|
1672
|
-
/**
|
|
1673
|
-
* HTTP success status codes that can be returned by endpoints.
|
|
1674
|
-
*/
|
|
1675
|
-
let SuccessStatus = /* @__PURE__ */ function(SuccessStatus$1) {
|
|
1676
|
-
/** Standard response for successful HTTP requests */
|
|
1677
|
-
SuccessStatus$1[SuccessStatus$1["OK"] = 200] = "OK";
|
|
1678
|
-
/** Request has been fulfilled and resulted in a new resource being created */
|
|
1679
|
-
SuccessStatus$1[SuccessStatus$1["Created"] = 201] = "Created";
|
|
1680
|
-
/** Request has been accepted for processing, but processing is not complete */
|
|
1681
|
-
SuccessStatus$1[SuccessStatus$1["Accepted"] = 202] = "Accepted";
|
|
1682
|
-
/** Server successfully processed the request but is not returning any content */
|
|
1683
|
-
SuccessStatus$1[SuccessStatus$1["NoContent"] = 204] = "NoContent";
|
|
1684
|
-
/** Server successfully processed the request and is not returning any content, client should reset the document view */
|
|
1685
|
-
SuccessStatus$1[SuccessStatus$1["ResetContent"] = 205] = "ResetContent";
|
|
1686
|
-
/** Server is delivering only part of the resource due to a range header */
|
|
1687
|
-
SuccessStatus$1[SuccessStatus$1["PartialContent"] = 206] = "PartialContent";
|
|
1688
|
-
return SuccessStatus$1;
|
|
1689
|
-
}({});
|
|
1690
|
-
|
|
1691
1727
|
//#endregion
|
|
1692
|
-
Object.defineProperty(exports,
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1728
|
+
Object.defineProperty(exports, "Endpoint", {
|
|
1729
|
+
enumerable: true,
|
|
1730
|
+
get: function() {
|
|
1731
|
+
return Endpoint;
|
|
1732
|
+
}
|
|
1733
|
+
});
|
|
1734
|
+
Object.defineProperty(exports, "NoAuthenticator", {
|
|
1735
|
+
enumerable: true,
|
|
1736
|
+
get: function() {
|
|
1737
|
+
return NoAuthenticator;
|
|
1738
|
+
}
|
|
1697
1739
|
});
|
|
1698
|
-
Object.defineProperty(exports,
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1740
|
+
Object.defineProperty(exports, "ResponseBuilder", {
|
|
1741
|
+
enumerable: true,
|
|
1742
|
+
get: function() {
|
|
1743
|
+
return ResponseBuilder;
|
|
1744
|
+
}
|
|
1703
1745
|
});
|
|
1704
|
-
Object.defineProperty(exports,
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1746
|
+
Object.defineProperty(exports, "require_lodash_set", {
|
|
1747
|
+
enumerable: true,
|
|
1748
|
+
get: function() {
|
|
1749
|
+
return require_lodash_set;
|
|
1750
|
+
}
|
|
1709
1751
|
});
|
|
1710
|
-
|
|
1752
|
+
|
|
1753
|
+
//# sourceMappingURL=Endpoint-BoUg8ocM.cjs.map
|