@geekmidas/constructs 3.0.1 → 3.0.3
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/CHANGELOG.md +12 -0
- package/dist/{AWSLambdaFunction-BVpc9xFN.cjs → AWSLambdaFunction-CPEAl5nZ.cjs} +2 -2
- package/dist/{AWSLambdaFunction-BVpc9xFN.cjs.map → AWSLambdaFunction-CPEAl5nZ.cjs.map} +1 -1
- package/dist/{AWSLambdaFunction-OPazEPhQ.mjs → AWSLambdaFunction-DJiCAPAf.mjs} +2 -2
- package/dist/{AWSLambdaFunction-OPazEPhQ.mjs.map → AWSLambdaFunction-DJiCAPAf.mjs.map} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-YxZ_z3XG.mjs → AWSLambdaSubscriberAdaptor-RKwKYLl1.mjs} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-YxZ_z3XG.mjs.map → AWSLambdaSubscriberAdaptor-RKwKYLl1.mjs.map} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-BL7Yl1XE.cjs → AWSLambdaSubscriberAdaptor-eZ3qoKvK.cjs} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-BL7Yl1XE.cjs.map → AWSLambdaSubscriberAdaptor-eZ3qoKvK.cjs.map} +1 -1
- package/dist/{AmazonApiGatewayEndpointAdaptor-CQSZArI6.d.mts → AmazonApiGatewayEndpointAdaptor-B30TqZRX.d.mts} +2 -1
- package/dist/AmazonApiGatewayEndpointAdaptor-B30TqZRX.d.mts.map +1 -0
- package/dist/{AmazonApiGatewayEndpointAdaptor-Bxvs-F0F.d.cts → AmazonApiGatewayEndpointAdaptor-D4lAuXA-.d.cts} +2 -1
- package/dist/AmazonApiGatewayEndpointAdaptor-D4lAuXA-.d.cts.map +1 -0
- package/dist/{AmazonApiGatewayEndpointAdaptor-BPxHm8Tg.mjs → AmazonApiGatewayEndpointAdaptor-ciUHVvPX.mjs} +6 -2
- package/dist/AmazonApiGatewayEndpointAdaptor-ciUHVvPX.mjs.map +1 -0
- package/dist/{AmazonApiGatewayEndpointAdaptor-1XyivLJs.cjs → AmazonApiGatewayEndpointAdaptor-jDYqkgFE.cjs} +6 -2
- package/dist/AmazonApiGatewayEndpointAdaptor-jDYqkgFE.cjs.map +1 -0
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-D9zY3nHe.d.cts → AmazonApiGatewayV1EndpointAdaptor-B5xFYauV.d.cts} +2 -2
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-D9zY3nHe.d.cts.map → AmazonApiGatewayV1EndpointAdaptor-B5xFYauV.d.cts.map} +1 -1
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-xTrFYt48.d.mts → AmazonApiGatewayV1EndpointAdaptor-CG1UJoAK.d.mts} +2 -2
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-xTrFYt48.d.mts.map → AmazonApiGatewayV1EndpointAdaptor-CG1UJoAK.d.mts.map} +1 -1
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-CQ0dtx1M.mjs → AmazonApiGatewayV1EndpointAdaptor-DCfEo-Tu.mjs} +3 -3
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-CQ0dtx1M.mjs.map → AmazonApiGatewayV1EndpointAdaptor-DCfEo-Tu.mjs.map} +1 -1
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-Cm2wieNy.cjs → AmazonApiGatewayV1EndpointAdaptor-DwKlAfnb.cjs} +3 -3
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-Cm2wieNy.cjs.map → AmazonApiGatewayV1EndpointAdaptor-DwKlAfnb.cjs.map} +1 -1
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-CjPCxIb1.cjs → AmazonApiGatewayV2EndpointAdaptor-B126fL6i.cjs} +9 -8
- package/dist/AmazonApiGatewayV2EndpointAdaptor-B126fL6i.cjs.map +1 -0
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-DrbEaZ2_.mjs → AmazonApiGatewayV2EndpointAdaptor-CGMF4lD4.mjs} +8 -8
- package/dist/AmazonApiGatewayV2EndpointAdaptor-CGMF4lD4.mjs.map +1 -0
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-CHi3Qe1s.d.cts → AmazonApiGatewayV2EndpointAdaptor-OkwjABOz.d.cts} +4 -3
- package/dist/AmazonApiGatewayV2EndpointAdaptor-OkwjABOz.d.cts.map +1 -0
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-BBayh2_k.d.mts → AmazonApiGatewayV2EndpointAdaptor-ofjuxcPV.d.mts} +4 -3
- package/dist/AmazonApiGatewayV2EndpointAdaptor-ofjuxcPV.d.mts.map +1 -0
- package/dist/{Authorizer-Dx57psuM.cjs → Authorizer-BXxBee2P.cjs} +1 -1
- package/dist/{Authorizer-Dx57psuM.cjs.map → Authorizer-BXxBee2P.cjs.map} +1 -1
- package/dist/{Authorizer-4unKN3Xn.mjs → Authorizer-BgjU8-z6.mjs} +1 -1
- package/dist/{Authorizer-4unKN3Xn.mjs.map → Authorizer-BgjU8-z6.mjs.map} +1 -1
- package/dist/{Cron-B3vrGuaD.mjs → Cron-BUpUS-0f.mjs} +1 -1
- package/dist/{Cron-B3vrGuaD.mjs.map → Cron-BUpUS-0f.mjs.map} +1 -1
- package/dist/{Cron-DEKZg5j4.cjs → Cron-Bp08dJ4R.cjs} +1 -1
- package/dist/{Cron-DEKZg5j4.cjs.map → Cron-Bp08dJ4R.cjs.map} +1 -1
- package/dist/{CronBuilder-BHpY6w3b.cjs → CronBuilder-CIxJQ1Ps.cjs} +2 -2
- package/dist/{CronBuilder-BHpY6w3b.cjs.map → CronBuilder-CIxJQ1Ps.cjs.map} +1 -1
- package/dist/{CronBuilder-VXpyNfp2.mjs → CronBuilder-DUggbCHc.mjs} +2 -2
- package/dist/{CronBuilder-VXpyNfp2.mjs.map → CronBuilder-DUggbCHc.mjs.map} +1 -1
- package/dist/{EndpointBuilder-D1RtrBu1.mjs → EndpointBuilder-CF-ZWtdu.mjs} +3 -3
- package/dist/{EndpointBuilder-D1RtrBu1.mjs.map → EndpointBuilder-CF-ZWtdu.mjs.map} +1 -1
- package/dist/{EndpointBuilder-fXmTxRyW.cjs → EndpointBuilder-CyszO0bs.cjs} +3 -3
- package/dist/{EndpointBuilder-fXmTxRyW.cjs.map → EndpointBuilder-CyszO0bs.cjs.map} +1 -1
- package/dist/{EndpointFactory-DBfTbSTX.cjs → EndpointFactory-B0D6d6t9.cjs} +3 -3
- package/dist/{EndpointFactory-DBfTbSTX.cjs.map → EndpointFactory-B0D6d6t9.cjs.map} +1 -1
- package/dist/{EndpointFactory-DkB8yxdQ.mjs → EndpointFactory-Do498RmG.mjs} +3 -3
- package/dist/{EndpointFactory-DkB8yxdQ.mjs.map → EndpointFactory-Do498RmG.mjs.map} +1 -1
- package/dist/{FunctionExecutionWrapper-Ba0Z-iwe.mjs → FunctionExecutionWrapper-B0ZAssiy.mjs} +1 -1
- package/dist/{FunctionExecutionWrapper-Ba0Z-iwe.mjs.map → FunctionExecutionWrapper-B0ZAssiy.mjs.map} +1 -1
- package/dist/{FunctionExecutionWrapper-7B-CufYj.cjs → FunctionExecutionWrapper-KKHP6fDY.cjs} +1 -1
- package/dist/{FunctionExecutionWrapper-7B-CufYj.cjs.map → FunctionExecutionWrapper-KKHP6fDY.cjs.map} +1 -1
- package/dist/{HonoEndpointAdaptor-BCql3gLP.d.cts → HonoEndpointAdaptor-BNHGwpvZ.d.cts} +3 -3
- package/dist/{HonoEndpointAdaptor-BCql3gLP.d.cts.map → HonoEndpointAdaptor-BNHGwpvZ.d.cts.map} +1 -1
- package/dist/{HonoEndpointAdaptor-CNlb-KGz.mjs → HonoEndpointAdaptor-BvxQreVM.mjs} +5 -5
- package/dist/{HonoEndpointAdaptor-CNlb-KGz.mjs.map → HonoEndpointAdaptor-BvxQreVM.mjs.map} +1 -1
- package/dist/{HonoEndpointAdaptor-B4NMwHkr.cjs → HonoEndpointAdaptor-CQqQPLHH.cjs} +5 -5
- package/dist/{HonoEndpointAdaptor-B4NMwHkr.cjs.map → HonoEndpointAdaptor-CQqQPLHH.cjs.map} +1 -1
- package/dist/{HonoEndpointAdaptor-C3AdQ0xS.d.mts → HonoEndpointAdaptor-DgoeqUX6.d.mts} +3 -3
- package/dist/{HonoEndpointAdaptor-C3AdQ0xS.d.mts.map → HonoEndpointAdaptor-DgoeqUX6.d.mts.map} +1 -1
- package/dist/{Subscriber-Scz7hrV6.cjs → Subscriber-ClqSPbIZ.cjs} +1 -1
- package/dist/{Subscriber-Scz7hrV6.cjs.map → Subscriber-ClqSPbIZ.cjs.map} +1 -1
- package/dist/{Subscriber-BEhOdNQi.mjs → Subscriber-DKQK5gLD.mjs} +1 -1
- package/dist/{Subscriber-BEhOdNQi.mjs.map → Subscriber-DKQK5gLD.mjs.map} +1 -1
- package/dist/{SubscriberBuilder-B82h4v-S.cjs → SubscriberBuilder-BS5B_688.cjs} +2 -2
- package/dist/{SubscriberBuilder-B82h4v-S.cjs.map → SubscriberBuilder-BS5B_688.cjs.map} +1 -1
- package/dist/{SubscriberBuilder-DlUaG0Ej.mjs → SubscriberBuilder-BswTuvUc.mjs} +2 -2
- package/dist/{SubscriberBuilder-DlUaG0Ej.mjs.map → SubscriberBuilder-BswTuvUc.mjs.map} +1 -1
- package/dist/{TestEndpointAdaptor-DJdmYxMn.mjs → TestEndpointAdaptor-CDOhCmIk.mjs} +2 -2
- package/dist/{TestEndpointAdaptor-DJdmYxMn.mjs.map → TestEndpointAdaptor-CDOhCmIk.mjs.map} +1 -1
- package/dist/{TestEndpointAdaptor-Bsqn6T0k.cjs → TestEndpointAdaptor-DjQSuxRq.cjs} +2 -2
- package/dist/{TestEndpointAdaptor-Bsqn6T0k.cjs.map → TestEndpointAdaptor-DjQSuxRq.cjs.map} +1 -1
- package/dist/adaptors/aws.cjs +8 -7
- package/dist/adaptors/aws.d.cts +4 -4
- package/dist/adaptors/aws.d.mts +4 -4
- package/dist/adaptors/aws.mjs +8 -7
- package/dist/adaptors/hono.cjs +4 -4
- package/dist/adaptors/hono.d.cts +2 -2
- package/dist/adaptors/hono.d.mts +2 -2
- package/dist/adaptors/hono.mjs +4 -4
- package/dist/adaptors/testing.cjs +2 -2
- package/dist/adaptors/testing.d.cts +1 -1
- package/dist/adaptors/testing.d.mts +1 -1
- package/dist/adaptors/testing.mjs +2 -2
- package/dist/crons/Cron.cjs +1 -1
- package/dist/crons/Cron.d.cts +1 -1
- package/dist/crons/Cron.d.mts +1 -1
- package/dist/crons/Cron.mjs +1 -1
- package/dist/crons/CronBuilder.cjs +2 -2
- package/dist/crons/CronBuilder.d.cts +1 -1
- package/dist/crons/CronBuilder.d.mts +1 -1
- package/dist/crons/CronBuilder.mjs +2 -2
- package/dist/crons/index.cjs +2 -2
- package/dist/crons/index.d.cts +5 -5
- package/dist/crons/index.d.cts.map +1 -1
- package/dist/crons/index.d.mts +5 -5
- package/dist/crons/index.d.mts.map +1 -1
- package/dist/crons/index.mjs +2 -2
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.cjs +1 -1
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.d.cts +2 -2
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.d.mts +2 -2
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.mjs +1 -1
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.cjs +3 -3
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.d.cts +3 -3
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.d.mts +3 -3
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.mjs +3 -3
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.cjs +3 -3
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.d.cts +3 -3
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.d.mts +3 -3
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.mjs +3 -3
- package/dist/endpoints/Authorizer.cjs +1 -1
- package/dist/endpoints/Authorizer.mjs +1 -1
- package/dist/endpoints/Endpoint.d.cts +1 -1
- package/dist/endpoints/Endpoint.d.mts +1 -1
- package/dist/endpoints/EndpointBuilder.cjs +3 -3
- package/dist/endpoints/EndpointBuilder.d.cts +1 -1
- package/dist/endpoints/EndpointBuilder.d.mts +1 -1
- package/dist/endpoints/EndpointBuilder.mjs +3 -3
- package/dist/endpoints/EndpointFactory.cjs +4 -4
- package/dist/endpoints/EndpointFactory.d.cts +1 -1
- package/dist/endpoints/EndpointFactory.d.mts +1 -1
- package/dist/endpoints/EndpointFactory.mjs +4 -4
- package/dist/endpoints/HonoEndpointAdaptor.cjs +4 -4
- package/dist/endpoints/HonoEndpointAdaptor.d.cts +2 -2
- package/dist/endpoints/HonoEndpointAdaptor.d.mts +2 -2
- package/dist/endpoints/HonoEndpointAdaptor.mjs +4 -4
- package/dist/endpoints/TestEndpointAdaptor.cjs +2 -2
- package/dist/endpoints/TestEndpointAdaptor.d.cts +1 -1
- package/dist/endpoints/TestEndpointAdaptor.d.mts +1 -1
- package/dist/endpoints/TestEndpointAdaptor.mjs +2 -2
- package/dist/endpoints/audit.d.cts +1 -1
- package/dist/endpoints/audit.d.mts +1 -1
- package/dist/endpoints/helpers.cjs +1 -1
- package/dist/endpoints/helpers.d.cts +1 -1
- package/dist/endpoints/helpers.d.mts +1 -1
- package/dist/endpoints/helpers.mjs +1 -1
- package/dist/endpoints/index.cjs +5 -5
- package/dist/endpoints/index.d.cts +3 -3
- package/dist/endpoints/index.d.mts +3 -3
- package/dist/endpoints/index.mjs +5 -5
- package/dist/endpoints/lazyAccessors.cjs +1 -1
- package/dist/endpoints/lazyAccessors.d.cts +1 -1
- package/dist/endpoints/lazyAccessors.d.mts +1 -1
- package/dist/endpoints/lazyAccessors.mjs +1 -1
- package/dist/endpoints/parseHonoQuery.cjs +1 -1
- package/dist/endpoints/parseHonoQuery.d.cts +2 -2
- package/dist/endpoints/parseHonoQuery.d.cts.map +1 -1
- package/dist/endpoints/parseHonoQuery.d.mts +2 -2
- package/dist/endpoints/parseHonoQuery.d.mts.map +1 -1
- package/dist/endpoints/parseHonoQuery.mjs +1 -1
- package/dist/endpoints/parseQueryParams.cjs +1 -1
- package/dist/endpoints/parseQueryParams.d.cts +2 -2
- package/dist/endpoints/parseQueryParams.d.cts.map +1 -1
- package/dist/endpoints/parseQueryParams.d.mts +2 -2
- package/dist/endpoints/parseQueryParams.d.mts.map +1 -1
- package/dist/endpoints/parseQueryParams.mjs +1 -1
- package/dist/endpoints/processAudits.d.cts +1 -1
- package/dist/endpoints/processAudits.d.mts +1 -1
- package/dist/endpoints/rls.cjs +1 -1
- package/dist/endpoints/rls.d.cts +1 -1
- package/dist/endpoints/rls.d.mts +1 -1
- package/dist/endpoints/rls.mjs +1 -1
- package/dist/functions/AWSLambdaFunction.cjs +2 -2
- package/dist/functions/AWSLambdaFunction.mjs +2 -2
- package/dist/functions/FunctionExecutionWrapper.cjs +1 -1
- package/dist/functions/FunctionExecutionWrapper.mjs +1 -1
- package/dist/functions/index.d.cts +1 -1
- package/dist/functions/index.d.mts +1 -1
- package/dist/{helpers-Ciyi6Aap.cjs → helpers-BYyX0qTA.cjs} +1 -1
- package/dist/{helpers-Ciyi6Aap.cjs.map → helpers-BYyX0qTA.cjs.map} +1 -1
- package/dist/{helpers-C5j_GRBz.mjs → helpers-BtwC2IW8.mjs} +1 -1
- package/dist/{helpers-C5j_GRBz.mjs.map → helpers-BtwC2IW8.mjs.map} +1 -1
- package/dist/index-Br-zTYii.d.mts +12 -0
- package/dist/{index-BfeupgMl.d.cts.map → index-Br-zTYii.d.mts.map} +1 -1
- package/dist/index-dRNH0dT6.d.cts +12 -0
- package/dist/{index-_5DYCNAt.d.mts.map → index-dRNH0dT6.d.cts.map} +1 -1
- package/dist/{lazyAccessors-B8Hhras9.cjs → lazyAccessors-BVEtB9lU.cjs} +1 -1
- package/dist/{lazyAccessors-B8Hhras9.cjs.map → lazyAccessors-BVEtB9lU.cjs.map} +1 -1
- package/dist/{lazyAccessors-B-Jgkg2o.mjs → lazyAccessors-DM6HcXQk.mjs} +1 -1
- package/dist/{lazyAccessors-B-Jgkg2o.mjs.map → lazyAccessors-DM6HcXQk.mjs.map} +1 -1
- package/dist/parseHonoQuery-BBs8CX-H.cjs +24 -0
- package/dist/parseHonoQuery-BBs8CX-H.cjs.map +1 -0
- package/dist/parseHonoQuery-Cp8CII0P.mjs +18 -0
- package/dist/parseHonoQuery-Cp8CII0P.mjs.map +1 -0
- package/dist/parseQueryParams-B4RK1za3.cjs +31 -0
- package/dist/parseQueryParams-B4RK1za3.cjs.map +1 -0
- package/dist/parseQueryParams-DS3Qmrbd.mjs +25 -0
- package/dist/parseQueryParams-DS3Qmrbd.mjs.map +1 -0
- package/dist/{rls-DxFqdIA0.cjs → rls-BrywnrQb.cjs} +1 -1
- package/dist/{rls-DxFqdIA0.cjs.map → rls-BrywnrQb.cjs.map} +1 -1
- package/dist/{rls-7XXX7DvY.mjs → rls-C0cWOnk4.mjs} +1 -1
- package/dist/{rls-7XXX7DvY.mjs.map → rls-C0cWOnk4.mjs.map} +1 -1
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.cjs +1 -1
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.mjs +1 -1
- package/dist/subscribers/Subscriber.cjs +1 -1
- package/dist/subscribers/Subscriber.mjs +1 -1
- package/dist/subscribers/SubscriberBuilder.cjs +2 -2
- package/dist/subscribers/SubscriberBuilder.mjs +2 -2
- package/dist/subscribers/index.cjs +2 -2
- package/dist/subscribers/index.d.cts +2 -2
- package/dist/subscribers/index.d.cts.map +1 -1
- package/dist/subscribers/index.d.mts +2 -2
- package/dist/subscribers/index.d.mts.map +1 -1
- package/dist/subscribers/index.mjs +2 -2
- package/package.json +16 -14
- package/src/endpoints/AmazonApiGatewayEndpointAdaptor.ts +6 -1
- package/src/endpoints/AmazonApiGatewayV2EndpointAdaptor.ts +11 -19
- package/src/endpoints/__tests__/AmazonApiGatewayV1EndpointAdaptor.spec.ts +7 -7
- package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.events.spec.ts +4 -2
- package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.spec.ts +92 -18
- package/src/endpoints/__tests__/HonoEndpointAdaptor.spec.ts +4 -4
- package/src/endpoints/parseHonoQuery.ts +9 -46
- package/src/endpoints/parseQueryParams.ts +12 -33
- package/dist/AmazonApiGatewayEndpointAdaptor-1XyivLJs.cjs.map +0 -1
- package/dist/AmazonApiGatewayEndpointAdaptor-BPxHm8Tg.mjs.map +0 -1
- package/dist/AmazonApiGatewayEndpointAdaptor-Bxvs-F0F.d.cts.map +0 -1
- package/dist/AmazonApiGatewayEndpointAdaptor-CQSZArI6.d.mts.map +0 -1
- package/dist/AmazonApiGatewayV2EndpointAdaptor-BBayh2_k.d.mts.map +0 -1
- package/dist/AmazonApiGatewayV2EndpointAdaptor-CHi3Qe1s.d.cts.map +0 -1
- package/dist/AmazonApiGatewayV2EndpointAdaptor-CjPCxIb1.cjs.map +0 -1
- package/dist/AmazonApiGatewayV2EndpointAdaptor-DrbEaZ2_.mjs.map +0 -1
- package/dist/index-BfeupgMl.d.cts +0 -12
- package/dist/index-_5DYCNAt.d.mts +0 -12
- package/dist/parseHonoQuery-D4MhxTRc.cjs +0 -39
- package/dist/parseHonoQuery-D4MhxTRc.cjs.map +0 -1
- package/dist/parseHonoQuery-DpK3sGPc.mjs +0 -33
- package/dist/parseHonoQuery-DpK3sGPc.mjs.map +0 -1
- package/dist/parseQueryParams-BSNkjmZ9.cjs +0 -40
- package/dist/parseQueryParams-BSNkjmZ9.cjs.map +0 -1
- package/dist/parseQueryParams-UMTRnRrW.mjs +0 -34
- package/dist/parseQueryParams-UMTRnRrW.mjs.map +0 -1
|
@@ -6,9 +6,9 @@ require('../FunctionBuilder-C_xG9As7.cjs');
|
|
|
6
6
|
require('../functions-rOD3pXQd.cjs');
|
|
7
7
|
require('../Endpoint-BcxvF4F3.cjs');
|
|
8
8
|
require('../processAudits-CzHkPokQ.cjs');
|
|
9
|
-
require('../
|
|
10
|
-
require('../
|
|
11
|
-
require('../parseHonoQuery-
|
|
12
|
-
const require_HonoEndpointAdaptor = require('../HonoEndpointAdaptor-
|
|
9
|
+
require('../lazyAccessors-BVEtB9lU.cjs');
|
|
10
|
+
require('../helpers-BYyX0qTA.cjs');
|
|
11
|
+
require('../parseHonoQuery-BBs8CX-H.cjs');
|
|
12
|
+
const require_HonoEndpointAdaptor = require('../HonoEndpointAdaptor-CQqQPLHH.cjs');
|
|
13
13
|
|
|
14
14
|
exports.HonoEndpoint = require_HonoEndpointAdaptor.HonoEndpoint;
|
|
@@ -3,8 +3,8 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-dRNH0dT6.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
9
|
-
import { HonoEndpoint, HonoEndpointOptions } from "../HonoEndpointAdaptor-
|
|
9
|
+
import { HonoEndpoint, HonoEndpointOptions } from "../HonoEndpointAdaptor-BNHGwpvZ.cjs";
|
|
10
10
|
export { HonoEndpoint, HonoEndpointOptions };
|
|
@@ -3,8 +3,8 @@ import "../types-aFmq5cKh.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-CsvFjzA8.mjs";
|
|
4
4
|
import "../Function-CZw1DRQ6.mjs";
|
|
5
5
|
import "../FunctionBuilder-m5BNA2Ap.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-Br-zTYii.mjs";
|
|
7
7
|
import "../Authorizer-DBsrDTuf.mjs";
|
|
8
8
|
import "../Endpoint-BiPM0glm.mjs";
|
|
9
|
-
import { HonoEndpoint, HonoEndpointOptions } from "../HonoEndpointAdaptor-
|
|
9
|
+
import { HonoEndpoint, HonoEndpointOptions } from "../HonoEndpointAdaptor-DgoeqUX6.mjs";
|
|
10
10
|
export { HonoEndpoint, HonoEndpointOptions };
|
|
@@ -6,9 +6,9 @@ import "../FunctionBuilder-CBeqX18X.mjs";
|
|
|
6
6
|
import "../functions-B1mrMoUH.mjs";
|
|
7
7
|
import "../Endpoint-DvY3aqAy.mjs";
|
|
8
8
|
import "../processAudits-Dj8UGqcW.mjs";
|
|
9
|
-
import "../
|
|
10
|
-
import "../
|
|
11
|
-
import "../parseHonoQuery-
|
|
12
|
-
import { HonoEndpoint } from "../HonoEndpointAdaptor-
|
|
9
|
+
import "../lazyAccessors-DM6HcXQk.mjs";
|
|
10
|
+
import "../helpers-BtwC2IW8.mjs";
|
|
11
|
+
import "../parseHonoQuery-Cp8CII0P.mjs";
|
|
12
|
+
import { HonoEndpoint } from "../HonoEndpointAdaptor-BvxQreVM.mjs";
|
|
13
13
|
|
|
14
14
|
export { HonoEndpoint };
|
|
@@ -6,7 +6,7 @@ require('../FunctionBuilder-C_xG9As7.cjs');
|
|
|
6
6
|
require('../functions-rOD3pXQd.cjs');
|
|
7
7
|
require('../Endpoint-BcxvF4F3.cjs');
|
|
8
8
|
require('../processAudits-CzHkPokQ.cjs');
|
|
9
|
-
require('../lazyAccessors-
|
|
10
|
-
const require_TestEndpointAdaptor = require('../TestEndpointAdaptor-
|
|
9
|
+
require('../lazyAccessors-BVEtB9lU.cjs');
|
|
10
|
+
const require_TestEndpointAdaptor = require('../TestEndpointAdaptor-DjQSuxRq.cjs');
|
|
11
11
|
|
|
12
12
|
exports.TestEndpointAdaptor = require_TestEndpointAdaptor.TestEndpointAdaptor;
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-dRNH0dT6.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { TestEndpointAdaptor, TestHttpResponse, TestRequestAdaptor } from "../TestEndpointAdaptor-CCf3Dg0u.cjs";
|
|
@@ -3,7 +3,7 @@ import "../types-aFmq5cKh.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-CsvFjzA8.mjs";
|
|
4
4
|
import "../Function-CZw1DRQ6.mjs";
|
|
5
5
|
import "../FunctionBuilder-m5BNA2Ap.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-Br-zTYii.mjs";
|
|
7
7
|
import "../Authorizer-DBsrDTuf.mjs";
|
|
8
8
|
import "../Endpoint-BiPM0glm.mjs";
|
|
9
9
|
import { TestEndpointAdaptor, TestHttpResponse, TestRequestAdaptor } from "../TestEndpointAdaptor-qSWV8dpS.mjs";
|
|
@@ -6,7 +6,7 @@ import "../FunctionBuilder-CBeqX18X.mjs";
|
|
|
6
6
|
import "../functions-B1mrMoUH.mjs";
|
|
7
7
|
import "../Endpoint-DvY3aqAy.mjs";
|
|
8
8
|
import "../processAudits-Dj8UGqcW.mjs";
|
|
9
|
-
import "../lazyAccessors-
|
|
10
|
-
import { TestEndpointAdaptor } from "../TestEndpointAdaptor-
|
|
9
|
+
import "../lazyAccessors-DM6HcXQk.mjs";
|
|
10
|
+
import { TestEndpointAdaptor } from "../TestEndpointAdaptor-CDOhCmIk.mjs";
|
|
11
11
|
|
|
12
12
|
export { TestEndpointAdaptor };
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-dRNH0dT6.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { ActorExtractor, EndpointAuditorConfig, MappedAudit } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
export { ActorExtractor, EndpointAuditorConfig, MappedAudit };
|
|
@@ -3,7 +3,7 @@ import "../types-aFmq5cKh.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-CsvFjzA8.mjs";
|
|
4
4
|
import "../Function-CZw1DRQ6.mjs";
|
|
5
5
|
import "../FunctionBuilder-m5BNA2Ap.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-Br-zTYii.mjs";
|
|
7
7
|
import "../Authorizer-DBsrDTuf.mjs";
|
|
8
8
|
import { ActorExtractor, EndpointAuditorConfig, MappedAudit } from "../Endpoint-BiPM0glm.mjs";
|
|
9
9
|
export { ActorExtractor, EndpointAuditorConfig, MappedAudit };
|
|
@@ -4,7 +4,7 @@ require('../Function-DgQ_no6B.cjs');
|
|
|
4
4
|
require('../FunctionBuilder-C_xG9As7.cjs');
|
|
5
5
|
require('../functions-rOD3pXQd.cjs');
|
|
6
6
|
require('../Endpoint-BcxvF4F3.cjs');
|
|
7
|
-
const require_helpers = require('../helpers-
|
|
7
|
+
const require_helpers = require('../helpers-BYyX0qTA.cjs');
|
|
8
8
|
|
|
9
9
|
exports.getEndpointsFromRoutes = require_helpers.getEndpointsFromRoutes;
|
|
10
10
|
exports.getProjectRoot = require_helpers.getProjectRoot;
|
|
@@ -3,7 +3,7 @@ import { HttpMethod } from "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-dRNH0dT6.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { Endpoint } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { Service } from "@geekmidas/services";
|
|
@@ -3,7 +3,7 @@ import { HttpMethod } from "../types-aFmq5cKh.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-CsvFjzA8.mjs";
|
|
4
4
|
import "../Function-CZw1DRQ6.mjs";
|
|
5
5
|
import "../FunctionBuilder-m5BNA2Ap.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-Br-zTYii.mjs";
|
|
7
7
|
import "../Authorizer-DBsrDTuf.mjs";
|
|
8
8
|
import { Endpoint } from "../Endpoint-BiPM0glm.mjs";
|
|
9
9
|
import { Service } from "@geekmidas/services";
|
|
@@ -4,6 +4,6 @@ import "../Function-xfQbftdE.mjs";
|
|
|
4
4
|
import "../FunctionBuilder-CBeqX18X.mjs";
|
|
5
5
|
import "../functions-B1mrMoUH.mjs";
|
|
6
6
|
import "../Endpoint-DvY3aqAy.mjs";
|
|
7
|
-
import { getEndpointsFromRoutes, getProjectRoot } from "../helpers-
|
|
7
|
+
import { getEndpointsFromRoutes, getProjectRoot } from "../helpers-BtwC2IW8.mjs";
|
|
8
8
|
|
|
9
9
|
export { getEndpointsFromRoutes, getProjectRoot };
|
package/dist/endpoints/index.cjs
CHANGED
|
@@ -5,11 +5,11 @@ require('../Function-DgQ_no6B.cjs');
|
|
|
5
5
|
require('../FunctionBuilder-C_xG9As7.cjs');
|
|
6
6
|
require('../functions-rOD3pXQd.cjs');
|
|
7
7
|
const require_Endpoint = require('../Endpoint-BcxvF4F3.cjs');
|
|
8
|
-
const require_lazyAccessors = require('../lazyAccessors-
|
|
9
|
-
const require_Authorizer = require('../Authorizer-
|
|
10
|
-
const require_rls = require('../rls-
|
|
11
|
-
const require_EndpointBuilder = require('../EndpointBuilder-
|
|
12
|
-
const require_EndpointFactory = require('../EndpointFactory-
|
|
8
|
+
const require_lazyAccessors = require('../lazyAccessors-BVEtB9lU.cjs');
|
|
9
|
+
const require_Authorizer = require('../Authorizer-BXxBee2P.cjs');
|
|
10
|
+
const require_rls = require('../rls-BrywnrQb.cjs');
|
|
11
|
+
const require_EndpointBuilder = require('../EndpointBuilder-CyszO0bs.cjs');
|
|
12
|
+
const require_EndpointFactory = require('../EndpointFactory-B0D6d6t9.cjs');
|
|
13
13
|
|
|
14
14
|
//#region src/endpoints/index.ts
|
|
15
15
|
const e = new require_EndpointFactory.EndpointFactory();
|
|
@@ -3,17 +3,17 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-dRNH0dT6.cjs";
|
|
7
7
|
import { Authorizer, BUILT_IN_SECURITY_SCHEMES, BuiltInSecuritySchemeId, OAuthFlow, OAuthFlows, SecurityScheme, createAuthorizer, getSecurityScheme, isBuiltInSecurityScheme } from "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { ActorExtractor, Endpoint, EndpointContext, EndpointHandler, EndpointOutput, EndpointSchemas, MappedAudit, RLS_BYPASS, ResponseBuilder, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { EndpointBuilder } from "../EndpointBuilder-Bel6RS7W.cjs";
|
|
10
10
|
import { EndpointFactory } from "../EndpointFactory-CXvakOkn.cjs";
|
|
11
11
|
import { publishConstructEvents } from "../publisher-BrzPGnm4.cjs";
|
|
12
12
|
import { createApiGatewayCookies, createApiGatewayHeaders, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders } from "../lazyAccessors-DdZaA716.cjs";
|
|
13
|
-
import * as
|
|
13
|
+
import * as _geekmidas_logger2 from "@geekmidas/logger";
|
|
14
14
|
|
|
15
15
|
//#region src/endpoints/index.d.ts
|
|
16
|
-
declare const e: EndpointFactory<[], "",
|
|
16
|
+
declare const e: EndpointFactory<[], "", _geekmidas_logger2.Logger, unknown, undefined, string, readonly string[], undefined, string, never, undefined, string, Record<string, SecurityScheme>, undefined>;
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
@@ -3,17 +3,17 @@ import "../types-aFmq5cKh.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-CsvFjzA8.mjs";
|
|
4
4
|
import "../Function-CZw1DRQ6.mjs";
|
|
5
5
|
import "../FunctionBuilder-m5BNA2Ap.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-Br-zTYii.mjs";
|
|
7
7
|
import { Authorizer, BUILT_IN_SECURITY_SCHEMES, BuiltInSecuritySchemeId, OAuthFlow, OAuthFlows, SecurityScheme, createAuthorizer, getSecurityScheme, isBuiltInSecurityScheme } from "../Authorizer-DBsrDTuf.mjs";
|
|
8
8
|
import { ActorExtractor, Endpoint, EndpointContext, EndpointHandler, EndpointOutput, EndpointSchemas, MappedAudit, RLS_BYPASS, ResponseBuilder, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor } from "../Endpoint-BiPM0glm.mjs";
|
|
9
9
|
import { EndpointBuilder } from "../EndpointBuilder-B0Aj5jbB.mjs";
|
|
10
10
|
import { EndpointFactory } from "../EndpointFactory-CWIeWCRG.mjs";
|
|
11
11
|
import { publishConstructEvents } from "../publisher-CP4gpv-4.mjs";
|
|
12
12
|
import { createApiGatewayCookies, createApiGatewayHeaders, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders } from "../lazyAccessors-DXkJpnyX.mjs";
|
|
13
|
-
import * as
|
|
13
|
+
import * as _geekmidas_logger5 from "@geekmidas/logger";
|
|
14
14
|
|
|
15
15
|
//#region src/endpoints/index.d.ts
|
|
16
|
-
declare const e: EndpointFactory<[], "",
|
|
16
|
+
declare const e: EndpointFactory<[], "", _geekmidas_logger5.Logger, unknown, undefined, string, readonly string[], undefined, string, never, undefined, string, Record<string, SecurityScheme>, undefined>;
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
18
18
|
|
|
19
19
|
//#endregion
|
package/dist/endpoints/index.mjs
CHANGED
|
@@ -5,11 +5,11 @@ import "../Function-xfQbftdE.mjs";
|
|
|
5
5
|
import "../FunctionBuilder-CBeqX18X.mjs";
|
|
6
6
|
import "../functions-B1mrMoUH.mjs";
|
|
7
7
|
import { Endpoint, ResponseBuilder } from "../Endpoint-DvY3aqAy.mjs";
|
|
8
|
-
import { createApiGatewayCookies, createApiGatewayHeaders, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders } from "../lazyAccessors-
|
|
9
|
-
import { BUILT_IN_SECURITY_SCHEMES, createAuthorizer, getSecurityScheme, isBuiltInSecurityScheme } from "../Authorizer-
|
|
10
|
-
import { RLS_BYPASS } from "../rls-
|
|
11
|
-
import { EndpointBuilder } from "../EndpointBuilder-
|
|
12
|
-
import { EndpointFactory } from "../EndpointFactory-
|
|
8
|
+
import { createApiGatewayCookies, createApiGatewayHeaders, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders } from "../lazyAccessors-DM6HcXQk.mjs";
|
|
9
|
+
import { BUILT_IN_SECURITY_SCHEMES, createAuthorizer, getSecurityScheme, isBuiltInSecurityScheme } from "../Authorizer-BgjU8-z6.mjs";
|
|
10
|
+
import { RLS_BYPASS } from "../rls-C0cWOnk4.mjs";
|
|
11
|
+
import { EndpointBuilder } from "../EndpointBuilder-CF-ZWtdu.mjs";
|
|
12
|
+
import { EndpointFactory } from "../EndpointFactory-Do498RmG.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/endpoints/index.ts
|
|
15
15
|
const e = new EndpointFactory();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_lazyAccessors = require('../lazyAccessors-
|
|
1
|
+
const require_lazyAccessors = require('../lazyAccessors-BVEtB9lU.cjs');
|
|
2
2
|
|
|
3
3
|
exports.createApiGatewayCookies = require_lazyAccessors.createApiGatewayCookies;
|
|
4
4
|
exports.createApiGatewayHeaders = require_lazyAccessors.createApiGatewayHeaders;
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-dRNH0dT6.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { createApiGatewayCookies, createApiGatewayHeaders, createCookieHeaderAccessor, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders, createObjectHeaders } from "../lazyAccessors-DdZaA716.cjs";
|
|
@@ -3,7 +3,7 @@ import "../types-aFmq5cKh.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-CsvFjzA8.mjs";
|
|
4
4
|
import "../Function-CZw1DRQ6.mjs";
|
|
5
5
|
import "../FunctionBuilder-m5BNA2Ap.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-Br-zTYii.mjs";
|
|
7
7
|
import "../Authorizer-DBsrDTuf.mjs";
|
|
8
8
|
import "../Endpoint-BiPM0glm.mjs";
|
|
9
9
|
import { createApiGatewayCookies, createApiGatewayHeaders, createCookieHeaderAccessor, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders, createObjectHeaders } from "../lazyAccessors-DXkJpnyX.mjs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { createApiGatewayCookies, createApiGatewayHeaders, createCookieHeaderAccessor, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders, createObjectHeaders } from "../lazyAccessors-
|
|
1
|
+
import { createApiGatewayCookies, createApiGatewayHeaders, createCookieHeaderAccessor, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders, createObjectHeaders } from "../lazyAccessors-DM6HcXQk.mjs";
|
|
2
2
|
|
|
3
3
|
export { createApiGatewayCookies, createApiGatewayHeaders, createCookieHeaderAccessor, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders, createObjectHeaders };
|
|
@@ -3,8 +3,8 @@ import { Context } from "hono";
|
|
|
3
3
|
//#region src/endpoints/parseHonoQuery.d.ts
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Parse Hono query parameters
|
|
7
|
-
*
|
|
6
|
+
* Parse Hono query parameters using qs bracket notation
|
|
7
|
+
* Supports nested objects, arrays, and deep nesting via standard bracket syntax
|
|
8
8
|
*/
|
|
9
9
|
declare function parseHonoQuery(c: Context): Record<string, any>;
|
|
10
10
|
//# sourceMappingURL=parseHonoQuery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseHonoQuery.d.cts","names":[],"sources":["../../src/endpoints/parseHonoQuery.ts"],"sourcesContent":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"parseHonoQuery.d.cts","names":[],"sources":["../../src/endpoints/parseHonoQuery.ts"],"sourcesContent":[],"mappings":";;;;;;AAOA;;AAAkC,iBAAlB,cAAA,CAAkB,CAAA,EAAA,OAAA,CAAA,EAAU,MAAV,CAAA,MAAA,EAAA,GAAA,CAAA"}
|
|
@@ -3,8 +3,8 @@ import { Context } from "hono";
|
|
|
3
3
|
//#region src/endpoints/parseHonoQuery.d.ts
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Parse Hono query parameters
|
|
7
|
-
*
|
|
6
|
+
* Parse Hono query parameters using qs bracket notation
|
|
7
|
+
* Supports nested objects, arrays, and deep nesting via standard bracket syntax
|
|
8
8
|
*/
|
|
9
9
|
declare function parseHonoQuery(c: Context): Record<string, any>;
|
|
10
10
|
//# sourceMappingURL=parseHonoQuery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseHonoQuery.d.mts","names":[],"sources":["../../src/endpoints/parseHonoQuery.ts"],"sourcesContent":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"parseHonoQuery.d.mts","names":[],"sources":["../../src/endpoints/parseHonoQuery.ts"],"sourcesContent":[],"mappings":";;;;;;AAOA;;AAAkC,iBAAlB,cAAA,CAAkB,CAAA,EAAA,OAAA,CAAA,EAAU,MAAV,CAAA,MAAA,EAAA,GAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
//#region src/endpoints/parseQueryParams.d.ts
|
|
2
2
|
/**
|
|
3
3
|
* Parse query parameters from a flat object into a nested structure
|
|
4
|
-
*
|
|
4
|
+
* Uses qs bracket notation for standard interoperability
|
|
5
5
|
*
|
|
6
6
|
* @example
|
|
7
|
-
* parseQueryParams({ 'tags': ['a', 'b'], 'filter
|
|
7
|
+
* parseQueryParams({ 'tags[]': ['a', 'b'], 'filter[name]': 'john' })
|
|
8
8
|
* // Returns: { tags: ['a', 'b'], filter: { name: 'john' } }
|
|
9
9
|
*/
|
|
10
10
|
declare function parseQueryParams(queryParams: Record<string, string | string[] | undefined> | null): Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseQueryParams.d.cts","names":[],"sources":["../../src/endpoints/parseQueryParams.ts"],"sourcesContent":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"parseQueryParams.d.cts","names":[],"sources":["../../src/endpoints/parseQueryParams.ts"],"sourcesContent":[],"mappings":";;AAUA;;;;AAES;;;iBAFO,gBAAA,cACF,uDACX"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
//#region src/endpoints/parseQueryParams.d.ts
|
|
2
2
|
/**
|
|
3
3
|
* Parse query parameters from a flat object into a nested structure
|
|
4
|
-
*
|
|
4
|
+
* Uses qs bracket notation for standard interoperability
|
|
5
5
|
*
|
|
6
6
|
* @example
|
|
7
|
-
* parseQueryParams({ 'tags': ['a', 'b'], 'filter
|
|
7
|
+
* parseQueryParams({ 'tags[]': ['a', 'b'], 'filter[name]': 'john' })
|
|
8
8
|
* // Returns: { tags: ['a', 'b'], filter: { name: 'john' } }
|
|
9
9
|
*/
|
|
10
10
|
declare function parseQueryParams(queryParams: Record<string, string | string[] | undefined> | null): Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseQueryParams.d.mts","names":[],"sources":["../../src/endpoints/parseQueryParams.ts"],"sourcesContent":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"parseQueryParams.d.mts","names":[],"sources":["../../src/endpoints/parseQueryParams.ts"],"sourcesContent":[],"mappings":";;AAUA;;;;AAES;;;iBAFO,gBAAA,cACF,uDACX"}
|
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-dRNH0dT6.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { CookieFn, Endpoint, HeaderFn } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
import { AuditStorage, AuditableAction, Auditor } from "@geekmidas/audit";
|
|
@@ -3,7 +3,7 @@ import "../types-aFmq5cKh.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-CsvFjzA8.mjs";
|
|
4
4
|
import "../Function-CZw1DRQ6.mjs";
|
|
5
5
|
import "../FunctionBuilder-m5BNA2Ap.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-Br-zTYii.mjs";
|
|
7
7
|
import "../Authorizer-DBsrDTuf.mjs";
|
|
8
8
|
import { CookieFn, Endpoint, HeaderFn } from "../Endpoint-BiPM0glm.mjs";
|
|
9
9
|
import { Service, ServiceDiscovery } from "@geekmidas/services";
|
package/dist/endpoints/rls.cjs
CHANGED
package/dist/endpoints/rls.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import "../types-B5H3piDg.cjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
4
4
|
import "../Function-CwlB89lS.cjs";
|
|
5
5
|
import "../FunctionBuilder-D_7f5MfS.cjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-dRNH0dT6.cjs";
|
|
7
7
|
import "../Authorizer-DWtwC8we.cjs";
|
|
8
8
|
import { RLS_BYPASS, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor } from "../Endpoint-C9N6CmvB.cjs";
|
|
9
9
|
export { RLS_BYPASS, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor };
|
package/dist/endpoints/rls.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import "../types-aFmq5cKh.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-CsvFjzA8.mjs";
|
|
4
4
|
import "../Function-CZw1DRQ6.mjs";
|
|
5
5
|
import "../FunctionBuilder-m5BNA2Ap.mjs";
|
|
6
|
-
import "../index-
|
|
6
|
+
import "../index-Br-zTYii.mjs";
|
|
7
7
|
import "../Authorizer-DBsrDTuf.mjs";
|
|
8
8
|
import { RLS_BYPASS, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor } from "../Endpoint-BiPM0glm.mjs";
|
|
9
9
|
export { RLS_BYPASS, RlsBypass, RlsConfig, RlsContext, RlsContextExtractor };
|
package/dist/endpoints/rls.mjs
CHANGED
|
@@ -3,7 +3,7 @@ require('../publisher-lFQleddL.cjs');
|
|
|
3
3
|
require('../BaseFunctionBuilder-DXf6HK-N.cjs');
|
|
4
4
|
require('../Function-DgQ_no6B.cjs');
|
|
5
5
|
require('../FunctionBuilder-C_xG9As7.cjs');
|
|
6
|
-
require('../FunctionExecutionWrapper-
|
|
7
|
-
const require_AWSLambdaFunction = require('../AWSLambdaFunction-
|
|
6
|
+
require('../FunctionExecutionWrapper-KKHP6fDY.cjs');
|
|
7
|
+
const require_AWSLambdaFunction = require('../AWSLambdaFunction-CPEAl5nZ.cjs');
|
|
8
8
|
|
|
9
9
|
exports.AWSLambdaFunction = require_AWSLambdaFunction.AWSLambdaFunction;
|
|
@@ -3,7 +3,7 @@ import "../publisher-Bw4770Hi.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C3rQMoWb.mjs";
|
|
4
4
|
import "../Function-xfQbftdE.mjs";
|
|
5
5
|
import "../FunctionBuilder-CBeqX18X.mjs";
|
|
6
|
-
import "../FunctionExecutionWrapper-
|
|
7
|
-
import { AWSLambdaFunction } from "../AWSLambdaFunction-
|
|
6
|
+
import "../FunctionExecutionWrapper-B0ZAssiy.mjs";
|
|
7
|
+
import { AWSLambdaFunction } from "../AWSLambdaFunction-DJiCAPAf.mjs";
|
|
8
8
|
|
|
9
9
|
export { AWSLambdaFunction };
|
|
@@ -3,6 +3,6 @@ require('../publisher-lFQleddL.cjs');
|
|
|
3
3
|
require('../BaseFunctionBuilder-DXf6HK-N.cjs');
|
|
4
4
|
require('../Function-DgQ_no6B.cjs');
|
|
5
5
|
require('../FunctionBuilder-C_xG9As7.cjs');
|
|
6
|
-
const require_FunctionExecutionWrapper = require('../FunctionExecutionWrapper-
|
|
6
|
+
const require_FunctionExecutionWrapper = require('../FunctionExecutionWrapper-KKHP6fDY.cjs');
|
|
7
7
|
|
|
8
8
|
exports.FunctionExecutionWrapper = require_FunctionExecutionWrapper.FunctionExecutionWrapper;
|
|
@@ -3,6 +3,6 @@ import "../publisher-Bw4770Hi.mjs";
|
|
|
3
3
|
import "../BaseFunctionBuilder-C3rQMoWb.mjs";
|
|
4
4
|
import "../Function-xfQbftdE.mjs";
|
|
5
5
|
import "../FunctionBuilder-CBeqX18X.mjs";
|
|
6
|
-
import { FunctionExecutionWrapper } from "../FunctionExecutionWrapper-
|
|
6
|
+
import { FunctionExecutionWrapper } from "../FunctionExecutionWrapper-B0ZAssiy.mjs";
|
|
7
7
|
|
|
8
8
|
export { FunctionExecutionWrapper };
|
|
@@ -2,5 +2,5 @@ import "../Construct-CX7HyFfT.cjs";
|
|
|
2
2
|
import { BaseFunctionBuilder } from "../BaseFunctionBuilder-C-4hYTfj.cjs";
|
|
3
3
|
import { Function, FunctionContext, FunctionHandler } from "../Function-CwlB89lS.cjs";
|
|
4
4
|
import { FunctionBuilder } from "../FunctionBuilder-D_7f5MfS.cjs";
|
|
5
|
-
import { f } from "../index-
|
|
5
|
+
import { f } from "../index-dRNH0dT6.cjs";
|
|
6
6
|
export { BaseFunctionBuilder, Function, FunctionBuilder, FunctionContext, FunctionHandler, f };
|
|
@@ -2,5 +2,5 @@ import "../Construct-C2SyofdS.mjs";
|
|
|
2
2
|
import { BaseFunctionBuilder } from "../BaseFunctionBuilder-CsvFjzA8.mjs";
|
|
3
3
|
import { Function, FunctionContext, FunctionHandler } from "../Function-CZw1DRQ6.mjs";
|
|
4
4
|
import { FunctionBuilder } from "../FunctionBuilder-m5BNA2Ap.mjs";
|
|
5
|
-
import { f } from "../index-
|
|
5
|
+
import { f } from "../index-Br-zTYii.mjs";
|
|
6
6
|
export { BaseFunctionBuilder, Function, FunctionBuilder, FunctionContext, FunctionHandler, f };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers-
|
|
1
|
+
{"version":3,"file":"helpers-BYyX0qTA.cjs","names":["cwd: string","routes: string[]","endpoints: Endpoint<string, HttpMethod, any, any, TServices>[]"],"sources":["../src/endpoints/helpers.ts"],"sourcesContent":["import path from 'node:path';\nimport type { Service } from '@geekmidas/services';\nimport fg from 'fast-glob';\nimport type { HttpMethod } from '../types';\nimport { Endpoint } from './Endpoint';\n\n// Re-export utility functions\n\n/**\n * Recursively finds the project root directory by looking for lock files.\n * Traverses up the directory tree until it finds a package manager lock file.\n *\n * @param cwd - The current working directory to start searching from\n * @returns Promise resolving to the absolute path of the project root\n *\n * @example\n * ```typescript\n * const projectRoot = await getProjectRoot(process.cwd());\n * console.log(`Project root: ${projectRoot}`);\n * // Output: Project root: /Users/user/my-project\n * ```\n */\nexport async function getProjectRoot(cwd: string): Promise<string> {\n\tif (cwd === '/') {\n\t\treturn cwd;\n\t}\n\n\tconst stream = fg.stream(\n\t\t['yarn.lock', 'pnpm-lock.yaml', 'package-lock.json', 'deno.lock'],\n\t\t{ dot: true, cwd },\n\t);\n\n\tlet isRoot = false;\n\n\tfor await (const _ of stream) {\n\t\tisRoot = true;\n\t\tbreak;\n\t}\n\n\tif (isRoot) {\n\t\treturn cwd;\n\t}\n\n\treturn getProjectRoot(path.resolve(cwd, '..'));\n}\n\n/**\n * Discovers and imports all Endpoint instances from the specified route patterns.\n * Uses fast-glob to find files matching the patterns and extracts exported Endpoints.\n *\n * @template TServices - Array of service types used by the endpoints\n * @param routes - Array of glob patterns to match route files (e.g., ['src/routes/*.ts'])\n * @param cwd - The current working directory to resolve paths from\n * @returns Promise resolving to an array of Endpoint instances found in the matched files\n *\n * @example\n * ```typescript\n * // Find all endpoints in the routes directory\n * const endpoints = await getEndpointsFromRoutes(\n * ['src/routes/**\\/*.ts'],\n * process.cwd()\n * );\n *\n * // Register endpoints with your server\n * for (const endpoint of endpoints) {\n * server.register(endpoint);\n * }\n * ```\n *\n * @remarks\n * - Only exports that are valid Endpoint instances are included\n * - Files are imported dynamically, so they must be valid ES modules\n * - The function filters out non-Endpoint exports automatically\n */\nexport async function getEndpointsFromRoutes<TServices extends Service[]>(\n\troutes: string[],\n\tcwd: string,\n): Promise<Endpoint<string, HttpMethod, any, any, TServices>[]> {\n\tconst stream = fg.stream(routes, { cwd });\n\n\tconst endpoints: Endpoint<string, HttpMethod, any, any, TServices>[] = [];\n\n\tfor await (const f of stream) {\n\t\t// Resolve the absolute path for the route file\n\t\tconst routePath = path.resolve(cwd, f.toString());\n\t\t// Dynamically import the route module\n\t\tconst route = await import(routePath);\n\n\t\t// Filter exported values to find only Endpoint instances\n\t\tconst handlers = Object.values(route).filter((value) => {\n\t\t\treturn Endpoint.isEndpoint(value);\n\t\t}) as unknown as Endpoint<string, HttpMethod, any, any, TServices>[];\n\n\t\tendpoints.push(...handlers);\n\t}\n\n\treturn endpoints;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAsBA,eAAsB,eAAeA,KAA8B;AAClE,KAAI,QAAQ,IACX,QAAO;CAGR,MAAM,SAAS,kBAAG,OACjB;EAAC;EAAa;EAAkB;EAAqB;CAAY,GACjE;EAAE,KAAK;EAAM;CAAK,EAClB;CAED,IAAI,SAAS;AAEb,YAAW,MAAM,KAAK,QAAQ;AAC7B,WAAS;AACT;CACA;AAED,KAAI,OACH,QAAO;AAGR,QAAO,eAAe,kBAAK,QAAQ,KAAK,KAAK,CAAC;AAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BD,eAAsB,uBACrBC,QACAD,KAC+D;CAC/D,MAAM,SAAS,kBAAG,OAAO,QAAQ,EAAE,IAAK,EAAC;CAEzC,MAAME,YAAiE,CAAE;AAEzE,YAAW,MAAM,KAAK,QAAQ;EAE7B,MAAM,YAAY,kBAAK,QAAQ,KAAK,EAAE,UAAU,CAAC;EAEjD,MAAM,QAAQ,MAAM,OAAO;EAG3B,MAAM,WAAW,OAAO,OAAO,MAAM,CAAC,OAAO,CAAC,UAAU;AACvD,UAAO,0BAAS,WAAW,MAAM;EACjC,EAAC;AAEF,YAAU,KAAK,GAAG,SAAS;CAC3B;AAED,QAAO;AACP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers-
|
|
1
|
+
{"version":3,"file":"helpers-BtwC2IW8.mjs","names":["cwd: string","routes: string[]","endpoints: Endpoint<string, HttpMethod, any, any, TServices>[]"],"sources":["../src/endpoints/helpers.ts"],"sourcesContent":["import path from 'node:path';\nimport type { Service } from '@geekmidas/services';\nimport fg from 'fast-glob';\nimport type { HttpMethod } from '../types';\nimport { Endpoint } from './Endpoint';\n\n// Re-export utility functions\n\n/**\n * Recursively finds the project root directory by looking for lock files.\n * Traverses up the directory tree until it finds a package manager lock file.\n *\n * @param cwd - The current working directory to start searching from\n * @returns Promise resolving to the absolute path of the project root\n *\n * @example\n * ```typescript\n * const projectRoot = await getProjectRoot(process.cwd());\n * console.log(`Project root: ${projectRoot}`);\n * // Output: Project root: /Users/user/my-project\n * ```\n */\nexport async function getProjectRoot(cwd: string): Promise<string> {\n\tif (cwd === '/') {\n\t\treturn cwd;\n\t}\n\n\tconst stream = fg.stream(\n\t\t['yarn.lock', 'pnpm-lock.yaml', 'package-lock.json', 'deno.lock'],\n\t\t{ dot: true, cwd },\n\t);\n\n\tlet isRoot = false;\n\n\tfor await (const _ of stream) {\n\t\tisRoot = true;\n\t\tbreak;\n\t}\n\n\tif (isRoot) {\n\t\treturn cwd;\n\t}\n\n\treturn getProjectRoot(path.resolve(cwd, '..'));\n}\n\n/**\n * Discovers and imports all Endpoint instances from the specified route patterns.\n * Uses fast-glob to find files matching the patterns and extracts exported Endpoints.\n *\n * @template TServices - Array of service types used by the endpoints\n * @param routes - Array of glob patterns to match route files (e.g., ['src/routes/*.ts'])\n * @param cwd - The current working directory to resolve paths from\n * @returns Promise resolving to an array of Endpoint instances found in the matched files\n *\n * @example\n * ```typescript\n * // Find all endpoints in the routes directory\n * const endpoints = await getEndpointsFromRoutes(\n * ['src/routes/**\\/*.ts'],\n * process.cwd()\n * );\n *\n * // Register endpoints with your server\n * for (const endpoint of endpoints) {\n * server.register(endpoint);\n * }\n * ```\n *\n * @remarks\n * - Only exports that are valid Endpoint instances are included\n * - Files are imported dynamically, so they must be valid ES modules\n * - The function filters out non-Endpoint exports automatically\n */\nexport async function getEndpointsFromRoutes<TServices extends Service[]>(\n\troutes: string[],\n\tcwd: string,\n): Promise<Endpoint<string, HttpMethod, any, any, TServices>[]> {\n\tconst stream = fg.stream(routes, { cwd });\n\n\tconst endpoints: Endpoint<string, HttpMethod, any, any, TServices>[] = [];\n\n\tfor await (const f of stream) {\n\t\t// Resolve the absolute path for the route file\n\t\tconst routePath = path.resolve(cwd, f.toString());\n\t\t// Dynamically import the route module\n\t\tconst route = await import(routePath);\n\n\t\t// Filter exported values to find only Endpoint instances\n\t\tconst handlers = Object.values(route).filter((value) => {\n\t\t\treturn Endpoint.isEndpoint(value);\n\t\t}) as unknown as Endpoint<string, HttpMethod, any, any, TServices>[];\n\n\t\tendpoints.push(...handlers);\n\t}\n\n\treturn endpoints;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAsBA,eAAsB,eAAeA,KAA8B;AAClE,KAAI,QAAQ,IACX,QAAO;CAGR,MAAM,SAAS,GAAG,OACjB;EAAC;EAAa;EAAkB;EAAqB;CAAY,GACjE;EAAE,KAAK;EAAM;CAAK,EAClB;CAED,IAAI,SAAS;AAEb,YAAW,MAAM,KAAK,QAAQ;AAC7B,WAAS;AACT;CACA;AAED,KAAI,OACH,QAAO;AAGR,QAAO,eAAe,KAAK,QAAQ,KAAK,KAAK,CAAC;AAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BD,eAAsB,uBACrBC,QACAD,KAC+D;CAC/D,MAAM,SAAS,GAAG,OAAO,QAAQ,EAAE,IAAK,EAAC;CAEzC,MAAME,YAAiE,CAAE;AAEzE,YAAW,MAAM,KAAK,QAAQ;EAE7B,MAAM,YAAY,KAAK,QAAQ,KAAK,EAAE,UAAU,CAAC;EAEjD,MAAM,QAAQ,MAAM,OAAO;EAG3B,MAAM,WAAW,OAAO,OAAO,MAAM,CAAC,OAAO,CAAC,UAAU;AACvD,UAAO,SAAS,WAAW,MAAM;EACjC,EAAC;AAEF,YAAU,KAAK,GAAG,SAAS;CAC3B;AAED,QAAO;AACP"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FunctionBuilder } from "./FunctionBuilder-m5BNA2Ap.mjs";
|
|
2
|
+
import * as _geekmidas_audit4 from "@geekmidas/audit";
|
|
3
|
+
import * as _geekmidas_logger3 from "@geekmidas/logger";
|
|
4
|
+
import * as _geekmidas_schema2 from "@geekmidas/schema";
|
|
5
|
+
|
|
6
|
+
//#region src/functions/index.d.ts
|
|
7
|
+
declare const f: FunctionBuilder<_geekmidas_schema2.ComposableStandardSchema, undefined, [], _geekmidas_logger3.Logger, undefined, string, undefined, string, undefined, string, _geekmidas_audit4.AuditableAction<string, unknown>>;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { f };
|
|
12
|
+
//# sourceMappingURL=index-Br-zTYii.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-Br-zTYii.d.mts","names":[],"sources":["../src/functions/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAWa,GAAC,gBAAwB,kBAAA,CAAxB,wBAAA,iBAAA,kBAAA,CAAA,MAAA,2DAAA,iBAAA,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FunctionBuilder } from "./FunctionBuilder-D_7f5MfS.cjs";
|
|
2
|
+
import * as _geekmidas_audit6 from "@geekmidas/audit";
|
|
3
|
+
import * as _geekmidas_logger5 from "@geekmidas/logger";
|
|
4
|
+
import * as _geekmidas_schema4 from "@geekmidas/schema";
|
|
5
|
+
|
|
6
|
+
//#region src/functions/index.d.ts
|
|
7
|
+
declare const f: FunctionBuilder<_geekmidas_schema4.ComposableStandardSchema, undefined, [], _geekmidas_logger5.Logger, undefined, string, undefined, string, undefined, string, _geekmidas_audit6.AuditableAction<string, unknown>>;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { f };
|
|
12
|
+
//# sourceMappingURL=index-dRNH0dT6.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-dRNH0dT6.d.cts","names":[],"sources":["../src/functions/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAWa,GAAC,gBAAwB,kBAAA,CAAxB,wBAAA,iBAAA,kBAAA,CAAA,MAAA,2DAAA,iBAAA,CAAA"}
|