@geekmidas/constructs 10.0.0-alpha.11 → 10.0.0-alpha.110
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-BQALFCh2.d.cts +230 -0
- package/dist/Construct-BQALFCh2.d.cts.map +1 -0
- package/dist/{Construct-BD5neF7w.mjs → Construct-CKUA-CTA.mjs} +35 -35
- package/dist/Construct-CKUA-CTA.mjs.map +1 -0
- package/dist/{Construct-CyS3RpTL.cjs → Construct-DEOVauyA.cjs} +55 -49
- package/dist/Construct-DEOVauyA.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-CQJqqkhY.d.mts} +17 -11
- package/dist/Cron-CQJqqkhY.d.mts.map +1 -0
- package/dist/{Cron-dh4rUgib.d.mts → Cron-DI3nKoic.d.cts} +17 -11
- package/dist/Cron-DI3nKoic.d.cts.map +1 -0
- package/dist/{CronBuilder-Da0C0edR.cjs → CronBuilder-BXTG10u5.cjs} +47 -31
- package/dist/CronBuilder-BXTG10u5.cjs.map +1 -0
- package/dist/{CronBuilder-CYKT5RiO.mjs → CronBuilder-D3sF9tS_.mjs} +37 -21
- package/dist/CronBuilder-D3sF9tS_.mjs.map +1 -0
- package/dist/CronBuilder-Xx_zakuc.d.mts +47 -0
- package/dist/CronBuilder-Xx_zakuc.d.mts.map +1 -0
- package/dist/CronBuilder-g1lZLWyG.d.cts +47 -0
- package/dist/CronBuilder-g1lZLWyG.d.cts.map +1 -0
- package/dist/{Endpoint-BjWKinFA.d.mts → Endpoint-BWyKCa2x.d.cts} +130 -100
- package/dist/Endpoint-BWyKCa2x.d.cts.map +1 -0
- package/dist/{Endpoint-dav89W6-.d.cts → Endpoint-CrE9Ppdk.d.mts} +130 -100
- package/dist/Endpoint-CrE9Ppdk.d.mts.map +1 -0
- package/dist/{Endpoint-DCQPMdUX.mjs → Endpoint-gPXhHKhJ.mjs} +208 -100
- package/dist/Endpoint-gPXhHKhJ.mjs.map +1 -0
- package/dist/{Endpoint-DcWXE-SZ.cjs → Endpoint-yhR2T2Wt.cjs} +248 -122
- package/dist/Endpoint-yhR2T2Wt.cjs.map +1 -0
- package/dist/{index-lAO9egTb.d.mts → EndpointFactory-BV-nfnaP.d.mts} +85 -136
- package/dist/EndpointFactory-BV-nfnaP.d.mts.map +1 -0
- package/dist/{EndpointFactory-CdWB7wPw.cjs → EndpointFactory-BVv6EIDu.cjs} +98 -112
- package/dist/EndpointFactory-BVv6EIDu.cjs.map +1 -0
- package/dist/{index-Bd5FqCoe.d.cts → EndpointFactory-C1-IBwm4.d.cts} +84 -135
- package/dist/EndpointFactory-C1-IBwm4.d.cts.map +1 -0
- package/dist/{EndpointFactory-CjV8F_lJ.mjs → EndpointFactory-Cs8IHvwF.mjs} +62 -76
- package/dist/EndpointFactory-Cs8IHvwF.mjs.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-DtL9j19R.cjs → HonoEndpointAdaptor-CN1jjUBJ.cjs} +115 -71
- package/dist/HonoEndpointAdaptor-CN1jjUBJ.cjs.map +1 -0
- package/dist/{HonoEndpointAdaptor-P1ahhZHu.mjs → HonoEndpointAdaptor-euH1oSdY.mjs} +105 -64
- package/dist/HonoEndpointAdaptor-euH1oSdY.mjs.map +1 -0
- package/dist/Queue-BhuofM3k.cjs +109 -0
- package/dist/Queue-BhuofM3k.cjs.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/Queue-cmhqEBOB.mjs +104 -0
- package/dist/Queue-cmhqEBOB.mjs.map +1 -0
- package/dist/QueueBuilder-Cx9lKC5d.d.mts +75 -0
- package/dist/QueueBuilder-Cx9lKC5d.d.mts.map +1 -0
- package/dist/QueueBuilder-DXu1qxT1.mjs +118 -0
- package/dist/QueueBuilder-DXu1qxT1.mjs.map +1 -0
- package/dist/QueueBuilder-DdU2klPu.cjs +135 -0
- package/dist/QueueBuilder-DdU2klPu.cjs.map +1 -0
- package/dist/QueueBuilder-OSi6LkV9.d.cts +75 -0
- package/dist/QueueBuilder-OSi6LkV9.d.cts.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-4DWe9feX.d.mts +67 -0
- package/dist/SubscriberBuilder-4DWe9feX.d.mts.map +1 -0
- package/dist/{SubscriberBuilder-BjkbeT9l.mjs → SubscriberBuilder-DRXfxWn_.mjs} +50 -24
- package/dist/SubscriberBuilder-DRXfxWn_.mjs.map +1 -0
- package/dist/{SubscriberBuilder-4OPehf2R.cjs → SubscriberBuilder-M2EAgQhC.cjs} +61 -36
- package/dist/SubscriberBuilder-M2EAgQhC.cjs.map +1 -0
- package/dist/SubscriberBuilder-g3fAVWgs.d.cts +67 -0
- package/dist/SubscriberBuilder-g3fAVWgs.d.cts.map +1 -0
- package/dist/Topic-D2R0r24C.mjs +99 -0
- package/dist/Topic-D2R0r24C.mjs.map +1 -0
- package/dist/Topic-DwS3QO0m.cjs +104 -0
- package/dist/Topic-DwS3QO0m.cjs.map +1 -0
- package/dist/adaptors/aws.cjs +200 -246
- package/dist/adaptors/aws.cjs.map +1 -1
- package/dist/adaptors/aws.d.cts +58 -62
- package/dist/adaptors/aws.d.cts.map +1 -1
- package/dist/adaptors/aws.d.mts +59 -63
- package/dist/adaptors/aws.d.mts.map +1 -1
- package/dist/adaptors/aws.mjs +171 -219
- 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 +9 -18
- package/dist/adaptors/hono.d.mts.map +1 -1
- package/dist/adaptors/hono.mjs +2 -10
- package/dist/adaptors/testing.cjs +765 -99
- 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 +726 -78
- 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-D_0788uW.d.mts +268 -0
- package/dist/auth-D_0788uW.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-5QZzh5Er.d.mts} +3 -6
- package/dist/cache-5QZzh5Er.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-ZvYQbivO.d.mts} +42 -11
- package/dist/construct-interface-ZvYQbivO.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-DYymbp_7.cjs +257 -0
- package/dist/credential-DYymbp_7.cjs.map +1 -0
- package/dist/credential-DfSAOOdY.mjs +222 -0
- package/dist/credential-DfSAOOdY.mjs.map +1 -0
- package/dist/credential.cjs +8 -96
- package/dist/credential.d.cts +2 -61
- package/dist/credential.d.mts +2 -61
- package/dist/credential.mjs +2 -94
- 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 +4 -8
- 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 +20 -16
- package/dist/endpoints/index.d.cts +105 -7
- package/dist/endpoints/index.d.cts.map +1 -0
- package/dist/endpoints/index.d.mts +105 -7
- package/dist/endpoints/index.d.mts.map +1 -0
- package/dist/endpoints/index.mjs +6 -10
- package/dist/external-api.cjs +106 -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 +103 -0
- package/dist/external-api.mjs.map +1 -0
- package/dist/fake-DqKo8INJ.d.mts +201 -0
- package/dist/fake-DqKo8INJ.d.mts.map +1 -0
- package/dist/fake-Dvion_Fh.d.cts +201 -0
- package/dist/fake-Dvion_Fh.d.cts.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-CTI-hDem.mjs} +376 -238
- package/dist/{functions-14lpEFL4.mjs.map → functions-CTI-hDem.mjs.map} +1 -1
- package/dist/{functions-i_la-N5r.cjs → functions-D7O5SGVc.cjs} +414 -264
- package/dist/functions-D7O5SGVc.cjs.map +1 -0
- package/dist/index-B13kQB_U.d.mts +115 -0
- package/dist/index-B13kQB_U.d.mts.map +1 -0
- package/dist/index-BuzRvKOQ.d.cts +115 -0
- package/dist/index-BuzRvKOQ.d.cts.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-B3zfg9ti.cjs +383 -0
- package/dist/kysely-B3zfg9ti.cjs.map +1 -0
- package/dist/kysely-B_0BAr0T.mjs +370 -0
- package/dist/kysely-B_0BAr0T.mjs.map +1 -0
- package/dist/kysely-D0bpzgPs.d.cts +175 -0
- package/dist/kysely-D0bpzgPs.d.cts.map +1 -0
- package/dist/kysely-DKwnl0nf.d.mts +175 -0
- package/dist/kysely-DKwnl0nf.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/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/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/random-password.cjs +86 -0
- package/dist/random-password.cjs.map +1 -0
- package/dist/random-password.d.cts +30 -0
- package/dist/random-password.d.cts.map +1 -0
- package/dist/random-password.d.mts +30 -0
- package/dist/random-password.d.mts.map +1 -0
- package/dist/random-password.mjs +84 -0
- package/dist/random-password.mjs.map +1 -0
- package/dist/{lazyAccessors-BoJN3SMd.mjs → readRequestBody-BTIl3k-D.mjs} +117 -60
- package/dist/readRequestBody-BTIl3k-D.mjs.map +1 -0
- package/dist/readRequestBody-Dej_L3c4.cjs +342 -0
- package/dist/readRequestBody-Dej_L3c4.cjs.map +1 -0
- package/dist/requestLogger-BZcXwdBs.cjs +207 -0
- package/dist/requestLogger-BZcXwdBs.cjs.map +1 -0
- package/dist/requestLogger-pA4gi3E1.mjs +178 -0
- package/dist/requestLogger-pA4gi3E1.mjs.map +1 -0
- 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-BEoBn6GO.d.mts +40 -0
- package/dist/telemetry-BEoBn6GO.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-Bbj1uoFJ.mjs +127 -0
- package/dist/tracing-Bbj1uoFJ.mjs.map +1 -0
- package/dist/tracing-C0ooU0V2.cjs +150 -0
- package/dist/tracing-C0ooU0V2.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 +71 -46
- package/dist/worker.d.mts.map +1 -1
- package/dist/worker.mjs +54 -29
- package/dist/worker.mjs.map +1 -1
- package/package.json +106 -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/credential.cjs.map +0 -1
- package/dist/credential.d.cts.map +0 -1
- package/dist/credential.d.mts.map +0 -1
- package/dist/credential.mjs.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 +0 -274
- 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,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-y5ARvAq5.cjs");
|
|
2
|
+
require("./Construct-DEOVauyA.cjs");
|
|
3
|
+
const require_tracing = require("./tracing-C0ooU0V2.cjs");
|
|
4
|
+
const require_functions = require("./functions-D7O5SGVc.cjs");
|
|
5
|
+
let _geekmidas_schema_conversion = require("@geekmidas/schema/conversion");
|
|
6
|
+
let _geekmidas_schema_openapi = require("@geekmidas/schema/openapi");
|
|
7
7
|
//#region ../../node_modules/.pnpm/lodash.pick@4.4.0/node_modules/lodash.pick/index.js
|
|
8
|
-
var
|
|
8
|
+
var require_lodash_pick = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
9
9
|
/**
|
|
10
10
|
* lodash (Custom Build) <https://lodash.com/>
|
|
11
11
|
* Build: `lodash modularize exports="npm" -o ./`
|
|
@@ -15,15 +15,18 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
15
15
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
16
16
|
*/
|
|
17
17
|
/** Used as references for various `Number` constants. */
|
|
18
|
-
var
|
|
18
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
19
19
|
/** `Object#toString` result references. */
|
|
20
|
-
var argsTag = "[object Arguments]"
|
|
20
|
+
var argsTag = "[object Arguments]";
|
|
21
|
+
var funcTag = "[object Function]";
|
|
22
|
+
var genTag = "[object GeneratorFunction]";
|
|
23
|
+
var symbolTag = "[object Symbol]";
|
|
21
24
|
/** Detect free variable `global` from Node.js. */
|
|
22
|
-
var freeGlobal
|
|
25
|
+
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
23
26
|
/** Detect free variable `self`. */
|
|
24
|
-
var freeSelf
|
|
27
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
25
28
|
/** Used as a reference to the global object. */
|
|
26
|
-
var root
|
|
29
|
+
var root = freeGlobal || freeSelf || Function("return this")();
|
|
27
30
|
/**
|
|
28
31
|
* A faster alternative to `Function#apply`, this function invokes `func`
|
|
29
32
|
* with the `this` binding of `thisArg` and the arguments of `args`.
|
|
@@ -71,17 +74,19 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
71
74
|
return array;
|
|
72
75
|
}
|
|
73
76
|
/** Used for built-in method references. */
|
|
74
|
-
var objectProto
|
|
77
|
+
var objectProto = Object.prototype;
|
|
75
78
|
/** Used to check objects for own properties. */
|
|
76
|
-
var hasOwnProperty
|
|
79
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
77
80
|
/**
|
|
78
81
|
* Used to resolve the
|
|
79
82
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
80
83
|
* of values.
|
|
81
84
|
*/
|
|
82
|
-
var objectToString
|
|
85
|
+
var objectToString = objectProto.toString;
|
|
83
86
|
/** Built-in value references. */
|
|
84
|
-
var Symbol
|
|
87
|
+
var Symbol = root.Symbol;
|
|
88
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
89
|
+
var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : void 0;
|
|
85
90
|
var nativeMax = Math.max;
|
|
86
91
|
/**
|
|
87
92
|
* The base implementation of `_.flatten` with support for restricting flattening.
|
|
@@ -100,9 +105,10 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
100
105
|
result || (result = []);
|
|
101
106
|
while (++index < length) {
|
|
102
107
|
var value = array[index];
|
|
103
|
-
if (depth > 0 && predicate(value))
|
|
104
|
-
|
|
105
|
-
|
|
108
|
+
if (depth > 0 && predicate(value)) {
|
|
109
|
+
if (depth > 1) baseFlatten(value, depth - 1, predicate, isStrict, result);
|
|
110
|
+
else arrayPush(result, value);
|
|
111
|
+
} else if (!isStrict) result[result.length] = value;
|
|
106
112
|
}
|
|
107
113
|
return result;
|
|
108
114
|
}
|
|
@@ -166,7 +172,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
166
172
|
* @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
|
|
167
173
|
*/
|
|
168
174
|
function isFlattenable(value) {
|
|
169
|
-
return isArray
|
|
175
|
+
return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
|
|
170
176
|
}
|
|
171
177
|
/**
|
|
172
178
|
* Converts `value` to a string key if it's not a string or symbol.
|
|
@@ -175,10 +181,10 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
175
181
|
* @param {*} value The value to inspect.
|
|
176
182
|
* @returns {string|symbol} Returns the key.
|
|
177
183
|
*/
|
|
178
|
-
function toKey
|
|
179
|
-
if (typeof value == "string" || isSymbol
|
|
184
|
+
function toKey(value) {
|
|
185
|
+
if (typeof value == "string" || isSymbol(value)) return value;
|
|
180
186
|
var result = value + "";
|
|
181
|
-
return result == "0" && 1 / value == -
|
|
187
|
+
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
182
188
|
}
|
|
183
189
|
/**
|
|
184
190
|
* Checks if `value` is likely an `arguments` object.
|
|
@@ -199,7 +205,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
199
205
|
* // => false
|
|
200
206
|
*/
|
|
201
207
|
function isArguments(value) {
|
|
202
|
-
return isArrayLikeObject(value) && hasOwnProperty
|
|
208
|
+
return isArrayLikeObject(value) && hasOwnProperty.call(value, "callee") && (!propertyIsEnumerable.call(value, "callee") || objectToString.call(value) == argsTag);
|
|
203
209
|
}
|
|
204
210
|
/**
|
|
205
211
|
* Checks if `value` is classified as an `Array` object.
|
|
@@ -224,7 +230,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
224
230
|
* _.isArray(_.noop);
|
|
225
231
|
* // => false
|
|
226
232
|
*/
|
|
227
|
-
var isArray
|
|
233
|
+
var isArray = Array.isArray;
|
|
228
234
|
/**
|
|
229
235
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
230
236
|
* not a function and has a `value.length` that's an integer greater than or
|
|
@@ -251,7 +257,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
251
257
|
* // => false
|
|
252
258
|
*/
|
|
253
259
|
function isArrayLike(value) {
|
|
254
|
-
return value != null && isLength(value.length) && !isFunction
|
|
260
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
255
261
|
}
|
|
256
262
|
/**
|
|
257
263
|
* This method is like `_.isArrayLike` except that it also checks if `value`
|
|
@@ -279,7 +285,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
279
285
|
* // => false
|
|
280
286
|
*/
|
|
281
287
|
function isArrayLikeObject(value) {
|
|
282
|
-
return isObjectLike
|
|
288
|
+
return isObjectLike(value) && isArrayLike(value);
|
|
283
289
|
}
|
|
284
290
|
/**
|
|
285
291
|
* Checks if `value` is classified as a `Function` object.
|
|
@@ -298,9 +304,9 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
298
304
|
* _.isFunction(/abc/);
|
|
299
305
|
* // => false
|
|
300
306
|
*/
|
|
301
|
-
function isFunction
|
|
302
|
-
var tag = isObject
|
|
303
|
-
return tag == funcTag
|
|
307
|
+
function isFunction(value) {
|
|
308
|
+
var tag = isObject(value) ? objectToString.call(value) : "";
|
|
309
|
+
return tag == funcTag || tag == genTag;
|
|
304
310
|
}
|
|
305
311
|
/**
|
|
306
312
|
* Checks if `value` is a valid array-like length.
|
|
@@ -329,7 +335,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
329
335
|
* // => false
|
|
330
336
|
*/
|
|
331
337
|
function isLength(value) {
|
|
332
|
-
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER
|
|
338
|
+
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
333
339
|
}
|
|
334
340
|
/**
|
|
335
341
|
* Checks if `value` is the
|
|
@@ -356,7 +362,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
356
362
|
* _.isObject(null);
|
|
357
363
|
* // => false
|
|
358
364
|
*/
|
|
359
|
-
function isObject
|
|
365
|
+
function isObject(value) {
|
|
360
366
|
var type = typeof value;
|
|
361
367
|
return !!value && (type == "object" || type == "function");
|
|
362
368
|
}
|
|
@@ -384,7 +390,7 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
384
390
|
* _.isObjectLike(null);
|
|
385
391
|
* // => false
|
|
386
392
|
*/
|
|
387
|
-
function isObjectLike
|
|
393
|
+
function isObjectLike(value) {
|
|
388
394
|
return !!value && typeof value == "object";
|
|
389
395
|
}
|
|
390
396
|
/**
|
|
@@ -404,35 +410,16 @@ var require_lodash$1 = require_chunk.__commonJS({ "../../node_modules/.pnpm/loda
|
|
|
404
410
|
* _.isSymbol('abc');
|
|
405
411
|
* // => false
|
|
406
412
|
*/
|
|
407
|
-
function isSymbol
|
|
408
|
-
return typeof value == "symbol" || isObjectLike
|
|
413
|
+
function isSymbol(value) {
|
|
414
|
+
return typeof value == "symbol" || isObjectLike(value) && objectToString.call(value) == symbolTag;
|
|
409
415
|
}
|
|
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));
|
|
416
|
+
module.exports = baseRest(function(object, props) {
|
|
417
|
+
return object == null ? {} : basePick(object, arrayMap(baseFlatten(props, 1), toKey));
|
|
429
418
|
});
|
|
430
|
-
|
|
431
|
-
} });
|
|
432
|
-
|
|
419
|
+
}));
|
|
433
420
|
//#endregion
|
|
434
421
|
//#region ../../node_modules/.pnpm/lodash.set@4.3.2/node_modules/lodash.set/index.js
|
|
435
|
-
var
|
|
422
|
+
var require_lodash_set = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
436
423
|
/**
|
|
437
424
|
* lodash (Custom Build) <https://lodash.com/>
|
|
438
425
|
* Build: `lodash modularize exports="npm" -o ./`
|
|
@@ -445,12 +432,16 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
445
432
|
var FUNC_ERROR_TEXT = "Expected a function";
|
|
446
433
|
/** Used to stand-in for `undefined` hash values. */
|
|
447
434
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
448
|
-
|
|
449
|
-
var INFINITY = Infinity, MAX_SAFE_INTEGER = 9007199254740991;
|
|
435
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
450
436
|
/** `Object#toString` result references. */
|
|
451
|
-
var funcTag = "[object Function]"
|
|
437
|
+
var funcTag = "[object Function]";
|
|
438
|
+
var genTag = "[object GeneratorFunction]";
|
|
439
|
+
var symbolTag = "[object Symbol]";
|
|
452
440
|
/** Used to match property names within property paths. */
|
|
453
|
-
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]
|
|
441
|
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
|
442
|
+
var reIsPlainProp = /^\w*$/;
|
|
443
|
+
var reLeadingDot = /^\./;
|
|
444
|
+
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
454
445
|
/**
|
|
455
446
|
* Used to match `RegExp`
|
|
456
447
|
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
@@ -494,7 +485,9 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
494
485
|
return result;
|
|
495
486
|
}
|
|
496
487
|
/** Used for built-in method references. */
|
|
497
|
-
var arrayProto = Array.prototype
|
|
488
|
+
var arrayProto = Array.prototype;
|
|
489
|
+
var funcProto = Function.prototype;
|
|
490
|
+
var objectProto = Object.prototype;
|
|
498
491
|
/** Used to detect overreaching core-js shims. */
|
|
499
492
|
var coreJsData = root["__core-js_shared__"];
|
|
500
493
|
/** Used to detect methods masquerading as native. */
|
|
@@ -515,10 +508,13 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
515
508
|
/** Used to detect if a method is native. */
|
|
516
509
|
var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
517
510
|
/** Built-in value references. */
|
|
518
|
-
var Symbol = root.Symbol
|
|
519
|
-
var
|
|
511
|
+
var Symbol = root.Symbol;
|
|
512
|
+
var splice = arrayProto.splice;
|
|
513
|
+
var Map = getNative(root, "Map");
|
|
514
|
+
var nativeCreate = getNative(Object, "create");
|
|
520
515
|
/** Used to convert symbols to primitives and strings. */
|
|
521
|
-
var symbolProto = Symbol ? Symbol.prototype : void 0
|
|
516
|
+
var symbolProto = Symbol ? Symbol.prototype : void 0;
|
|
517
|
+
var symbolToString = symbolProto ? symbolProto.toString : void 0;
|
|
522
518
|
/**
|
|
523
519
|
* Creates a hash object.
|
|
524
520
|
*
|
|
@@ -644,8 +640,7 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
644
640
|
function listCacheDelete(key) {
|
|
645
641
|
var data = this.__data__, index = assocIndexOf(data, key);
|
|
646
642
|
if (index < 0) return false;
|
|
647
|
-
|
|
648
|
-
if (index == lastIndex) data.pop();
|
|
643
|
+
if (index == data.length - 1) data.pop();
|
|
649
644
|
else splice.call(data, index, 1);
|
|
650
645
|
return true;
|
|
651
646
|
}
|
|
@@ -720,7 +715,7 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
720
715
|
function mapCacheClear() {
|
|
721
716
|
this.__data__ = {
|
|
722
717
|
"hash": new Hash(),
|
|
723
|
-
"map": new (Map
|
|
718
|
+
"map": new (Map || ListCache)(),
|
|
724
719
|
"string": new Hash()
|
|
725
720
|
};
|
|
726
721
|
}
|
|
@@ -816,8 +811,7 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
816
811
|
*/
|
|
817
812
|
function baseIsNative(value) {
|
|
818
813
|
if (!isObject(value) || isMasked(value)) return false;
|
|
819
|
-
|
|
820
|
-
return pattern.test(toSource(value));
|
|
814
|
+
return (isFunction(value) || isHostObject(value) ? reIsNative : reIsHostCtor).test(toSource(value));
|
|
821
815
|
}
|
|
822
816
|
/**
|
|
823
817
|
* The base implementation of `_.set`.
|
|
@@ -857,7 +851,7 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
857
851
|
if (typeof value == "string") return value;
|
|
858
852
|
if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
|
|
859
853
|
var result = value + "";
|
|
860
|
-
return result == "0" && 1 / value == -
|
|
854
|
+
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
861
855
|
}
|
|
862
856
|
/**
|
|
863
857
|
* Casts `value` to a path array if it's not one.
|
|
@@ -951,8 +945,8 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
951
945
|
string = toString(string);
|
|
952
946
|
var result = [];
|
|
953
947
|
if (reLeadingDot.test(string)) result.push("");
|
|
954
|
-
string.replace(rePropName, function(match, number, quote, string
|
|
955
|
-
result.push(quote ? string
|
|
948
|
+
string.replace(rePropName, function(match, number, quote, string) {
|
|
949
|
+
result.push(quote ? string.replace(reEscapeChar, "$1") : number || match);
|
|
956
950
|
});
|
|
957
951
|
return result;
|
|
958
952
|
});
|
|
@@ -966,7 +960,7 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
966
960
|
function toKey(value) {
|
|
967
961
|
if (typeof value == "string" || isSymbol(value)) return value;
|
|
968
962
|
var result = value + "";
|
|
969
|
-
return result == "0" && 1 / value == -
|
|
963
|
+
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
970
964
|
}
|
|
971
965
|
/**
|
|
972
966
|
* Converts `func` to its source code.
|
|
@@ -1251,16 +1245,60 @@ var require_lodash = require_chunk.__commonJS({ "../../node_modules/.pnpm/lodash
|
|
|
1251
1245
|
* console.log(object.x[0].y.z);
|
|
1252
1246
|
* // => 5
|
|
1253
1247
|
*/
|
|
1254
|
-
function set
|
|
1248
|
+
function set(object, path, value) {
|
|
1255
1249
|
return object == null ? object : baseSet(object, path, value);
|
|
1256
1250
|
}
|
|
1257
|
-
module.exports = set
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1251
|
+
module.exports = set;
|
|
1252
|
+
}));
|
|
1253
|
+
//#endregion
|
|
1254
|
+
//#region src/endpoints/sessionAuth.ts
|
|
1255
|
+
var import_lodash_pick = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_lodash_pick(), 1);
|
|
1256
|
+
var import_lodash_set = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_lodash_set(), 1);
|
|
1257
|
+
/**
|
|
1258
|
+
* What is forwarded to the auth server: the headers a session travels in, and
|
|
1259
|
+
* whose request it is — nothing else.
|
|
1260
|
+
*
|
|
1261
|
+
* The client's address goes with the session because the auth server
|
|
1262
|
+
* rate-limits by it, `/get-session` included. Without it every user's session
|
|
1263
|
+
* check arrived from the surface itself — one shared bucket, so enough
|
|
1264
|
+
* traffic from anyone turned every session check into a 429 — and in tests,
|
|
1265
|
+
* concurrent tests queued on the same rate-limit row.
|
|
1266
|
+
*/
|
|
1267
|
+
const SESSION_HEADERS = [
|
|
1268
|
+
"cookie",
|
|
1269
|
+
"authorization",
|
|
1270
|
+
"x-forwarded-for"
|
|
1271
|
+
];
|
|
1272
|
+
/** `auth` for one request on one surface. */
|
|
1273
|
+
function sessionAuth(surface, header) {
|
|
1274
|
+
return { async getSession() {
|
|
1275
|
+
const authenticator = surface?.auth;
|
|
1276
|
+
if (!surface || !authenticator) throw new NoAuthenticator(surface?.id);
|
|
1277
|
+
const headers = new Headers();
|
|
1278
|
+
for (const name of SESSION_HEADERS) {
|
|
1279
|
+
const value = header(name);
|
|
1280
|
+
if (value) headers.set(name, value);
|
|
1281
|
+
}
|
|
1282
|
+
const session = await authenticator.verify(headers, surface.envParser);
|
|
1283
|
+
const identity = session;
|
|
1284
|
+
if (typeof identity?.user?.id === "string") require_tracing.identifyUser({
|
|
1285
|
+
id: identity.user.id,
|
|
1286
|
+
...typeof identity.session?.id === "string" ? { sessionId: identity.session.id } : {}
|
|
1287
|
+
});
|
|
1288
|
+
return session;
|
|
1289
|
+
} };
|
|
1290
|
+
}
|
|
1291
|
+
/** `auth.getSession()` was called on a surface that names no authenticator. */
|
|
1292
|
+
var NoAuthenticator = class extends Error {
|
|
1293
|
+
surface;
|
|
1294
|
+
constructor(surface) {
|
|
1295
|
+
super(`auth.getSession() needs an authenticator, and ${surface ? `the surface '${surface}'` : "this endpoint"} declares none: declare one on the surface with .auth(construct).`);
|
|
1296
|
+
this.surface = surface;
|
|
1297
|
+
this.name = "NoAuthenticator";
|
|
1298
|
+
}
|
|
1299
|
+
};
|
|
1260
1300
|
//#endregion
|
|
1261
1301
|
//#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
1302
|
/**
|
|
1265
1303
|
* Represents an HTTP endpoint that can handle requests with type-safe input/output validation,
|
|
1266
1304
|
* dependency injection, session management, and authorization.
|
|
@@ -1304,7 +1342,7 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1304
1342
|
description;
|
|
1305
1343
|
/** Optional tags for OpenAPI documentation */
|
|
1306
1344
|
tags;
|
|
1307
|
-
/** The HTTP
|
|
1345
|
+
/** The HTTP status code to return (default: 200) */
|
|
1308
1346
|
status;
|
|
1309
1347
|
/**
|
|
1310
1348
|
* Response content type for this endpoint. Defaults to `'application/json'`.
|
|
@@ -1312,10 +1350,22 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1312
1350
|
* Content-Type header instead of JSON-serializing.
|
|
1313
1351
|
*/
|
|
1314
1352
|
responseType;
|
|
1353
|
+
/**
|
|
1354
|
+
* This route's telemetry — `.telemetry({ ignore, attributes })` — read by
|
|
1355
|
+
* the build, which hands it to the request middleware.
|
|
1356
|
+
*/
|
|
1357
|
+
telemetry;
|
|
1315
1358
|
/** Default headers to apply to all responses */
|
|
1316
1359
|
defaultHeaders = {};
|
|
1317
1360
|
/** Function to extract session data from the request context */
|
|
1318
1361
|
getSession = () => ({});
|
|
1362
|
+
/**
|
|
1363
|
+
* Whether a session callback was given — `.session()` on the factory it was
|
|
1364
|
+
* built from. A generated handler reads the session only when it is, so
|
|
1365
|
+
* an endpoint with a session and no authorizer must say so: it used to be
|
|
1366
|
+
* handed `undefined` in a production build and its session in `gkm dev`.
|
|
1367
|
+
*/
|
|
1368
|
+
hasSession = false;
|
|
1319
1369
|
/** Function to determine if the request is authorized */
|
|
1320
1370
|
authorize = () => true;
|
|
1321
1371
|
/** Optional rate limiting configuration */
|
|
@@ -1351,7 +1401,7 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1351
1401
|
* ```
|
|
1352
1402
|
*/
|
|
1353
1403
|
static async buildOpenApiSchema(endpoints, options) {
|
|
1354
|
-
return (0,
|
|
1404
|
+
return (0, _geekmidas_schema_openapi.buildOpenApiSchema)(endpoints, options);
|
|
1355
1405
|
}
|
|
1356
1406
|
/**
|
|
1357
1407
|
* Gets the full path including HTTP method and route.
|
|
@@ -1386,6 +1436,14 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1386
1436
|
return status >= 200 && status < 300;
|
|
1387
1437
|
}
|
|
1388
1438
|
/**
|
|
1439
|
+
* Whether `status` sends the client elsewhere. A redirect has no body, so
|
|
1440
|
+
* its response is not checked against the output schema, and what is
|
|
1441
|
+
* derived from the output — declared events and audits — is not sent.
|
|
1442
|
+
*/
|
|
1443
|
+
static isRedirectStatus(status) {
|
|
1444
|
+
return status !== void 0 && status >= 300 && status < 400;
|
|
1445
|
+
}
|
|
1446
|
+
/**
|
|
1389
1447
|
* Creates a case-insensitive header lookup function from a headers object.
|
|
1390
1448
|
*
|
|
1391
1449
|
* @param headers - Object containing header key-value pairs
|
|
@@ -1481,12 +1539,11 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1481
1539
|
* @internal
|
|
1482
1540
|
*/
|
|
1483
1541
|
refineInput(ctx) {
|
|
1484
|
-
|
|
1542
|
+
return (0, import_lodash_pick.default)(ctx, [
|
|
1485
1543
|
"body",
|
|
1486
1544
|
"query",
|
|
1487
1545
|
"params"
|
|
1488
1546
|
]);
|
|
1489
|
-
return input;
|
|
1490
1547
|
}
|
|
1491
1548
|
handler = (ctx, response) => {
|
|
1492
1549
|
for (const [key, value] of Object.entries(this.defaultHeaders)) response.header(key, value);
|
|
@@ -1509,7 +1566,7 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1509
1566
|
* @returns True if the object is an Endpoint
|
|
1510
1567
|
*/
|
|
1511
1568
|
static isEndpoint(obj) {
|
|
1512
|
-
return Boolean(obj && obj.__IS_FUNCTION__ === true && obj.type ===
|
|
1569
|
+
return Boolean(obj && obj.__IS_FUNCTION__ === true && obj.type === "dev.geekmidas.function.endpoint");
|
|
1513
1570
|
}
|
|
1514
1571
|
/**
|
|
1515
1572
|
* Helper to check if response has metadata
|
|
@@ -1531,17 +1588,23 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1531
1588
|
* @returns OpenAPI route definition with operation details
|
|
1532
1589
|
*/
|
|
1533
1590
|
async toOpenApi3Route(componentCollector) {
|
|
1591
|
+
const status = String(this.status);
|
|
1534
1592
|
const operation = {
|
|
1535
1593
|
operationId: this.operationId,
|
|
1536
1594
|
...this.description && { description: this.description },
|
|
1537
1595
|
...this.tags && this.tags.length > 0 && { tags: this.tags },
|
|
1538
|
-
responses: {
|
|
1596
|
+
responses: { [status]: { description: "Successful response" } }
|
|
1539
1597
|
};
|
|
1598
|
+
const scheme = this.authorizer?.securityScheme;
|
|
1599
|
+
if (this.authorizer && scheme && componentCollector) {
|
|
1600
|
+
componentCollector.addSecurityScheme(this.authorizer.name, scheme);
|
|
1601
|
+
operation.security = [{ [this.authorizer.name]: [] }];
|
|
1602
|
+
}
|
|
1540
1603
|
if (this.outputSchema) {
|
|
1541
|
-
const responseSchema = await (0,
|
|
1542
|
-
if (responseSchema) (0,
|
|
1604
|
+
const responseSchema = await (0, _geekmidas_schema_conversion.convertSchemaWithComponents)(this.outputSchema, componentCollector);
|
|
1605
|
+
if (responseSchema) (0, import_lodash_set.default)(operation, [
|
|
1543
1606
|
"responses",
|
|
1544
|
-
|
|
1607
|
+
status,
|
|
1545
1608
|
"content",
|
|
1546
1609
|
this.responseType,
|
|
1547
1610
|
"schema"
|
|
@@ -1555,14 +1618,14 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1555
1618
|
"PUT",
|
|
1556
1619
|
"PATCH"
|
|
1557
1620
|
].includes(this.method) && "body" in this.input && this.input.body) {
|
|
1558
|
-
const bodySchema = await (0,
|
|
1559
|
-
if (bodySchema) (0,
|
|
1621
|
+
const bodySchema = await (0, _geekmidas_schema_conversion.convertSchemaWithComponents)(this.input.body, componentCollector);
|
|
1622
|
+
if (bodySchema) (0, import_lodash_set.default)(operation, ["requestBody"], {
|
|
1560
1623
|
required: true,
|
|
1561
1624
|
content: { "application/json": { schema: bodySchema } }
|
|
1562
1625
|
});
|
|
1563
1626
|
}
|
|
1564
1627
|
if ("params" in this.input && this.input.params) {
|
|
1565
|
-
const paramsSchema = await (0,
|
|
1628
|
+
const paramsSchema = await (0, _geekmidas_schema_conversion.convertStandardSchemaToJsonSchema)(this.input.params);
|
|
1566
1629
|
if (paramsSchema && paramsSchema.type === "object" && paramsSchema.properties) for (const [name, schema] of Object.entries(paramsSchema.properties)) pathParameters.push({
|
|
1567
1630
|
name,
|
|
1568
1631
|
in: "path",
|
|
@@ -1571,7 +1634,7 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1571
1634
|
});
|
|
1572
1635
|
}
|
|
1573
1636
|
if ("query" in this.input && this.input.query) {
|
|
1574
|
-
const querySchema = await (0,
|
|
1637
|
+
const querySchema = await (0, _geekmidas_schema_conversion.convertStandardSchemaToJsonSchema)(this.input.query);
|
|
1575
1638
|
if (querySchema && querySchema.type === "object" && querySchema.properties) for (const [name, schema] of Object.entries(querySchema.properties)) queryParameters.push({
|
|
1576
1639
|
name,
|
|
1577
1640
|
in: "query",
|
|
@@ -1604,8 +1667,8 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1604
1667
|
* @param options.status - Success HTTP status code (default: 200)
|
|
1605
1668
|
* @param options.authorizer - Optional authorizer configuration
|
|
1606
1669
|
*/
|
|
1607
|
-
constructor({ fn, method, route, description, tags, input, logger, output: outputSchema, services, constructs, timeout, memorySize, getSession, authorize, rateLimit, status =
|
|
1608
|
-
super(fn, timeout,
|
|
1670
|
+
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 }) {
|
|
1671
|
+
super(fn, timeout, "dev.geekmidas.function.endpoint", input, outputSchema, services, logger, events, memorySize, auditorStorageService, void 0, constructs);
|
|
1609
1672
|
this.route = route;
|
|
1610
1673
|
this.method = method;
|
|
1611
1674
|
this.description = description;
|
|
@@ -1613,7 +1676,14 @@ var Endpoint = class Endpoint extends require_functions.Function {
|
|
|
1613
1676
|
this.status = status;
|
|
1614
1677
|
this.responseType = responseType ?? "application/json";
|
|
1615
1678
|
this.endpointFn = fn;
|
|
1616
|
-
if (
|
|
1679
|
+
if (telemetry) this.telemetry = telemetry;
|
|
1680
|
+
if (getSession) {
|
|
1681
|
+
this.hasSession = true;
|
|
1682
|
+
this.getSession = (ctx) => getSession({
|
|
1683
|
+
...ctx,
|
|
1684
|
+
auth: sessionAuth(surface, ctx.header)
|
|
1685
|
+
});
|
|
1686
|
+
}
|
|
1617
1687
|
if (authorize) this.authorize = authorize;
|
|
1618
1688
|
if (rateLimit) this.rateLimit = rateLimit;
|
|
1619
1689
|
if (authorizer) this.authorizer = authorizer;
|
|
@@ -1659,6 +1729,27 @@ var ResponseBuilder = class {
|
|
|
1659
1729
|
this.metadata.status = code;
|
|
1660
1730
|
return this;
|
|
1661
1731
|
}
|
|
1732
|
+
/**
|
|
1733
|
+
* Send the client to `url` — `Location` and a 3xx, with no body. 303 by
|
|
1734
|
+
* default: after a form post, the browser follows it with a GET, so a
|
|
1735
|
+
* reload does not post the form again.
|
|
1736
|
+
*
|
|
1737
|
+
* A redirect is not checked against the endpoint's `.output()` schema, so
|
|
1738
|
+
* an endpoint that renders a page can redirect instead.
|
|
1739
|
+
*
|
|
1740
|
+
* @example
|
|
1741
|
+
* ```typescript
|
|
1742
|
+
* return response.cookie('session', token).redirect('/dashboard');
|
|
1743
|
+
* ```
|
|
1744
|
+
*/
|
|
1745
|
+
redirect(url, status = 303) {
|
|
1746
|
+
this.metadata.headers.location = url;
|
|
1747
|
+
this.metadata.status = status;
|
|
1748
|
+
return {
|
|
1749
|
+
data: void 0,
|
|
1750
|
+
metadata: this.metadata
|
|
1751
|
+
};
|
|
1752
|
+
}
|
|
1662
1753
|
send(data) {
|
|
1663
1754
|
return {
|
|
1664
1755
|
data,
|
|
@@ -1672,39 +1763,74 @@ var ResponseBuilder = class {
|
|
|
1672
1763
|
/**
|
|
1673
1764
|
* HTTP success status codes that can be returned by endpoints.
|
|
1674
1765
|
*/
|
|
1675
|
-
let SuccessStatus = /* @__PURE__ */ function(SuccessStatus
|
|
1766
|
+
let SuccessStatus = /* @__PURE__ */ function(SuccessStatus) {
|
|
1676
1767
|
/** Standard response for successful HTTP requests */
|
|
1677
|
-
SuccessStatus
|
|
1768
|
+
SuccessStatus[SuccessStatus["OK"] = 200] = "OK";
|
|
1678
1769
|
/** Request has been fulfilled and resulted in a new resource being created */
|
|
1679
|
-
SuccessStatus
|
|
1770
|
+
SuccessStatus[SuccessStatus["Created"] = 201] = "Created";
|
|
1680
1771
|
/** Request has been accepted for processing, but processing is not complete */
|
|
1681
|
-
SuccessStatus
|
|
1772
|
+
SuccessStatus[SuccessStatus["Accepted"] = 202] = "Accepted";
|
|
1682
1773
|
/** Server successfully processed the request but is not returning any content */
|
|
1683
|
-
SuccessStatus
|
|
1774
|
+
SuccessStatus[SuccessStatus["NoContent"] = 204] = "NoContent";
|
|
1684
1775
|
/** Server successfully processed the request and is not returning any content, client should reset the document view */
|
|
1685
|
-
SuccessStatus
|
|
1776
|
+
SuccessStatus[SuccessStatus["ResetContent"] = 205] = "ResetContent";
|
|
1686
1777
|
/** Server is delivering only part of the resource due to a range header */
|
|
1687
|
-
SuccessStatus
|
|
1688
|
-
return SuccessStatus
|
|
1778
|
+
SuccessStatus[SuccessStatus["PartialContent"] = 206] = "PartialContent";
|
|
1779
|
+
return SuccessStatus;
|
|
1780
|
+
}({});
|
|
1781
|
+
/**
|
|
1782
|
+
* HTTP redirect status codes an endpoint can answer with —
|
|
1783
|
+
* `response.redirect(url, status)`, or `.status()` with a `Location` header.
|
|
1784
|
+
*/
|
|
1785
|
+
let RedirectStatus = /* @__PURE__ */ function(RedirectStatus) {
|
|
1786
|
+
/** The resource has moved for good; a POST may become a GET */
|
|
1787
|
+
RedirectStatus[RedirectStatus["MovedPermanently"] = 301] = "MovedPermanently";
|
|
1788
|
+
/** The resource is elsewhere for now; a POST may become a GET */
|
|
1789
|
+
RedirectStatus[RedirectStatus["Found"] = 302] = "Found";
|
|
1790
|
+
/** See the resource elsewhere, with a GET — the answer to a form post */
|
|
1791
|
+
RedirectStatus[RedirectStatus["SeeOther"] = 303] = "SeeOther";
|
|
1792
|
+
/** The resource is elsewhere for now; the method and body are kept */
|
|
1793
|
+
RedirectStatus[RedirectStatus["TemporaryRedirect"] = 307] = "TemporaryRedirect";
|
|
1794
|
+
/** The resource has moved for good; the method and body are kept */
|
|
1795
|
+
RedirectStatus[RedirectStatus["PermanentRedirect"] = 308] = "PermanentRedirect";
|
|
1796
|
+
return RedirectStatus;
|
|
1689
1797
|
}({});
|
|
1690
|
-
|
|
1691
1798
|
//#endregion
|
|
1692
|
-
Object.defineProperty(exports,
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1799
|
+
Object.defineProperty(exports, "Endpoint", {
|
|
1800
|
+
enumerable: true,
|
|
1801
|
+
get: function() {
|
|
1802
|
+
return Endpoint;
|
|
1803
|
+
}
|
|
1697
1804
|
});
|
|
1698
|
-
Object.defineProperty(exports,
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1805
|
+
Object.defineProperty(exports, "NoAuthenticator", {
|
|
1806
|
+
enumerable: true,
|
|
1807
|
+
get: function() {
|
|
1808
|
+
return NoAuthenticator;
|
|
1809
|
+
}
|
|
1703
1810
|
});
|
|
1704
|
-
Object.defineProperty(exports,
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1811
|
+
Object.defineProperty(exports, "RedirectStatus", {
|
|
1812
|
+
enumerable: true,
|
|
1813
|
+
get: function() {
|
|
1814
|
+
return RedirectStatus;
|
|
1815
|
+
}
|
|
1709
1816
|
});
|
|
1710
|
-
|
|
1817
|
+
Object.defineProperty(exports, "ResponseBuilder", {
|
|
1818
|
+
enumerable: true,
|
|
1819
|
+
get: function() {
|
|
1820
|
+
return ResponseBuilder;
|
|
1821
|
+
}
|
|
1822
|
+
});
|
|
1823
|
+
Object.defineProperty(exports, "SuccessStatus", {
|
|
1824
|
+
enumerable: true,
|
|
1825
|
+
get: function() {
|
|
1826
|
+
return SuccessStatus;
|
|
1827
|
+
}
|
|
1828
|
+
});
|
|
1829
|
+
Object.defineProperty(exports, "require_lodash_set", {
|
|
1830
|
+
enumerable: true,
|
|
1831
|
+
get: function() {
|
|
1832
|
+
return require_lodash_set;
|
|
1833
|
+
}
|
|
1834
|
+
});
|
|
1835
|
+
|
|
1836
|
+
//# sourceMappingURL=Endpoint-yhR2T2Wt.cjs.map
|