@geekmidas/constructs 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AWSLambdaFunction-DcI_77u8.cjs → AWSLambdaFunction-DMxScuaw.cjs} +3 -3
- package/dist/{AWSLambdaFunction-DcI_77u8.cjs.map → AWSLambdaFunction-DMxScuaw.cjs.map} +1 -1
- package/dist/{AWSLambdaFunction-xyCenuD7.d.cts → AWSLambdaFunction-DSB2oaFG.d.mts} +5 -5
- package/dist/{AWSLambdaFunction-BTSGYZSx.mjs → AWSLambdaFunction-cL8A169J.mjs} +3 -3
- package/dist/{AWSLambdaFunction-BTSGYZSx.mjs.map → AWSLambdaFunction-cL8A169J.mjs.map} +1 -1
- package/dist/{AWSLambdaFunction-Bel0NFTl.d.mts → AWSLambdaFunction-t6q2o8EL.d.cts} +5 -5
- package/dist/{AWSLambdaSubscriberAdaptor-mLOpS63x.d.mts → AWSLambdaSubscriberAdaptor-Cknp_nn1.d.cts} +4 -4
- package/dist/{AWSLambdaSubscriberAdaptor-G8y3YkWj.mjs → AWSLambdaSubscriberAdaptor-CyFh7MN8.mjs} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-G8y3YkWj.mjs.map → AWSLambdaSubscriberAdaptor-CyFh7MN8.mjs.map} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-DX5NFdWf.d.cts → AWSLambdaSubscriberAdaptor-DpHzp-AM.d.mts} +4 -4
- package/dist/{AWSLambdaSubscriberAdaptor-CmPZ10JF.cjs → AWSLambdaSubscriberAdaptor-Dum5bkw3.cjs} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-CmPZ10JF.cjs.map → AWSLambdaSubscriberAdaptor-Dum5bkw3.cjs.map} +1 -1
- package/dist/{AmazonApiGatewayEndpointAdaptor-vi0D3dWg.mjs → AmazonApiGatewayEndpointAdaptor-CIEhW1TQ.mjs} +47 -16
- package/dist/AmazonApiGatewayEndpointAdaptor-CIEhW1TQ.mjs.map +1 -0
- package/dist/{AmazonApiGatewayEndpointAdaptor-BwtDtS-i.d.cts → AmazonApiGatewayEndpointAdaptor-CwItKPz2.d.cts} +6 -5
- package/dist/{AmazonApiGatewayEndpointAdaptor-BTqB3c1_.cjs → AmazonApiGatewayEndpointAdaptor-H8YvtfQm.cjs} +47 -16
- package/dist/AmazonApiGatewayEndpointAdaptor-H8YvtfQm.cjs.map +1 -0
- package/dist/{AmazonApiGatewayEndpointAdaptor-CATWBIJo.d.mts → AmazonApiGatewayEndpointAdaptor-eDQgPNLH.d.mts} +7 -6
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-nwrtG5L9.cjs → AmazonApiGatewayV1EndpointAdaptor-0n71d3gq.cjs} +3 -3
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-nwrtG5L9.cjs.map → AmazonApiGatewayV1EndpointAdaptor-0n71d3gq.cjs.map} +1 -1
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-D2_u_zR6.mjs → AmazonApiGatewayV1EndpointAdaptor-B36zXLJ7.mjs} +3 -3
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-D2_u_zR6.mjs.map → AmazonApiGatewayV1EndpointAdaptor-B36zXLJ7.mjs.map} +1 -1
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-2Rd0LLz4.d.mts → AmazonApiGatewayV1EndpointAdaptor-CnGVpA38.d.mts} +4 -4
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-B1AVk2MM.d.cts → AmazonApiGatewayV1EndpointAdaptor-DaCvUL6y.d.cts} +3 -3
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-cBDfwdBx.d.mts → AmazonApiGatewayV2EndpointAdaptor-BELz2ijs.d.mts} +4 -4
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-DoWAJ9oN.mjs → AmazonApiGatewayV2EndpointAdaptor-CE3wZEb8.mjs} +3 -3
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-DoWAJ9oN.mjs.map → AmazonApiGatewayV2EndpointAdaptor-CE3wZEb8.mjs.map} +1 -1
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-DmY_QfjO.d.cts → AmazonApiGatewayV2EndpointAdaptor-DA1PH0nc.d.cts} +3 -3
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-FSIdXYV6.cjs → AmazonApiGatewayV2EndpointAdaptor-DtU3Cb8F.cjs} +3 -3
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-FSIdXYV6.cjs.map → AmazonApiGatewayV2EndpointAdaptor-DtU3Cb8F.cjs.map} +1 -1
- package/dist/{Authorizer-Bbk9ziuG.d.mts → Authorizer-BRCVPz_O.d.mts} +1 -1
- package/dist/{Authorizer-iXsSB600.d.cts → Authorizer-DG54w1m2.d.cts} +1 -1
- package/dist/{BaseFunctionBuilder-bTDKP7bd.cjs → BaseFunctionBuilder-B8rT07QR.cjs} +7 -2
- package/dist/BaseFunctionBuilder-B8rT07QR.cjs.map +1 -0
- package/dist/{BaseFunctionBuilder-DSqF1r3a.mjs → BaseFunctionBuilder-CT7p10K1.mjs} +7 -2
- package/dist/BaseFunctionBuilder-CT7p10K1.mjs.map +1 -0
- package/dist/{BaseFunctionBuilder-DOcm1heZ.d.mts → BaseFunctionBuilder-Cf0op65o.d.cts} +8 -5
- package/dist/{BaseFunctionBuilder-hWNVKXQB.d.cts → BaseFunctionBuilder-DilipY1y.d.mts} +8 -5
- package/dist/{Construct-XCGKof_O.cjs → Construct-BYSPikVm.cjs} +8 -3
- package/dist/Construct-BYSPikVm.cjs.map +1 -0
- package/dist/{Construct-rZQg2yus.mjs → Construct-LWeB1rSQ.mjs} +8 -3
- package/dist/Construct-LWeB1rSQ.mjs.map +1 -0
- package/dist/{Construct-iDmbkZ3o.d.mts → Construct-ZPqE0vhn.d.mts} +5 -3
- package/dist/{Construct-zc8BkRSp.d.cts → Construct-dI_rgdSp.d.cts} +5 -3
- package/dist/Construct.cjs +1 -1
- package/dist/Construct.d.cts +1 -1
- package/dist/Construct.d.mts +1 -1
- package/dist/Construct.mjs +1 -1
- package/dist/{Cron-D5HGEt6g.d.mts → Cron-6lOgKqSA.d.cts} +3 -3
- package/dist/{Cron-DbJNPTbP.d.cts → Cron-BH_07atD.d.mts} +3 -3
- package/dist/{Cron-CYIhd0VE.cjs → Cron-Bnd-2pgE.cjs} +3 -3
- package/dist/{Cron-CYIhd0VE.cjs.map → Cron-Bnd-2pgE.cjs.map} +1 -1
- package/dist/{Cron-BnO1uXhh.mjs → Cron-DNRjf2cp.mjs} +3 -3
- package/dist/{Cron-BnO1uXhh.mjs.map → Cron-DNRjf2cp.mjs.map} +1 -1
- package/dist/{CronBuilder-D-546XtP.d.cts → CronBuilder-5oK2AL2n.d.cts} +4 -4
- package/dist/{CronBuilder-vRiZb1_N.d.mts → CronBuilder-D2b4zY4l.d.mts} +4 -4
- package/dist/{CronBuilder-BxKwHCdJ.mjs → CronBuilder-DdR2TuQa.mjs} +5 -5
- package/dist/{CronBuilder-BxKwHCdJ.mjs.map → CronBuilder-DdR2TuQa.mjs.map} +1 -1
- package/dist/{CronBuilder-D_3AiPFO.cjs → CronBuilder-dtw4ZyH6.cjs} +5 -5
- package/dist/{CronBuilder-D_3AiPFO.cjs.map → CronBuilder-dtw4ZyH6.cjs.map} +1 -1
- package/dist/{Endpoint-ChzcIFdV.mjs → Endpoint-B69TqESg.mjs} +15 -8
- package/dist/Endpoint-B69TqESg.mjs.map +1 -0
- package/dist/{Endpoint-BdIGWw1H.cjs → Endpoint-B9PryZES.cjs} +15 -8
- package/dist/Endpoint-B9PryZES.cjs.map +1 -0
- package/dist/{Endpoint-BpTSQn7W.d.cts → Endpoint-Cs-MsYlY.d.cts} +80 -12
- package/dist/{Endpoint-DqZkc6ft.d.mts → Endpoint-DuZlyjd4.d.mts} +80 -12
- package/dist/EndpointBuilder-BrB-K1jO.d.mts +86 -0
- package/dist/EndpointBuilder-C-PHInEW.d.cts +86 -0
- package/dist/{EndpointBuilder-yo40Qkf_.mjs → EndpointBuilder-DnVL-EU_.mjs} +47 -5
- package/dist/EndpointBuilder-DnVL-EU_.mjs.map +1 -0
- package/dist/{EndpointBuilder-dmMiNRm9.cjs → EndpointBuilder-DofwCnWJ.cjs} +47 -5
- package/dist/EndpointBuilder-DofwCnWJ.cjs.map +1 -0
- package/dist/{EndpointFactory-JPhk0Qom.d.cts → EndpointFactory-6zNpVSYp.d.mts} +12 -11
- package/dist/{EndpointFactory-CNbcr8u_.cjs → EndpointFactory-Ba9mx9MU.cjs} +3 -3
- package/dist/{EndpointFactory-CNbcr8u_.cjs.map → EndpointFactory-Ba9mx9MU.cjs.map} +1 -1
- package/dist/{EndpointFactory-D_mmO7Gu.d.mts → EndpointFactory-e5WYVR6t.d.cts} +12 -11
- package/dist/{EndpointFactory-LD3upVQK.mjs → EndpointFactory-pPaIGFHV.mjs} +3 -3
- package/dist/{EndpointFactory-LD3upVQK.mjs.map → EndpointFactory-pPaIGFHV.mjs.map} +1 -1
- package/dist/{Function-C-5_23Wi.d.mts → Function-6EWabl_X.d.cts} +6 -5
- package/dist/{Function-DDaSfL_E.cjs → Function-CO-s2pB8.cjs} +6 -6
- package/dist/Function-CO-s2pB8.cjs.map +1 -0
- package/dist/{Function-Cl9fiR3a.mjs → Function-COnc-tWM.mjs} +6 -6
- package/dist/Function-COnc-tWM.mjs.map +1 -0
- package/dist/{Function-CW-WcZTu.d.cts → Function-G3JPHMaY.d.mts} +6 -5
- package/dist/{FunctionBuilder-fU1H7tFN.d.cts → FunctionBuilder-B3fpp3hA.d.cts} +13 -11
- package/dist/{FunctionBuilder-udObIGV0.d.mts → FunctionBuilder-ByaB_LQ4.d.mts} +13 -11
- package/dist/{FunctionBuilder-vW12WFOw.mjs → FunctionBuilder-CMhLQ4dt.mjs} +11 -6
- package/dist/FunctionBuilder-CMhLQ4dt.mjs.map +1 -0
- package/dist/{FunctionBuilder-LQuBiqRc.cjs → FunctionBuilder-_hMwZUof.cjs} +11 -6
- package/dist/FunctionBuilder-_hMwZUof.cjs.map +1 -0
- package/dist/{FunctionExecutionWrapper-DYBy9OP3.d.mts → FunctionExecutionWrapper-Ci-ookJG.d.cts} +4 -4
- package/dist/{FunctionExecutionWrapper-Dwr2ZKzC.d.cts → FunctionExecutionWrapper-DHFMLrOl.d.mts} +4 -4
- package/dist/{FunctionExecutionWrapper-Dtyhid1Q.mjs → FunctionExecutionWrapper-i9v5L3Av.mjs} +2 -2
- package/dist/{FunctionExecutionWrapper-Dtyhid1Q.mjs.map → FunctionExecutionWrapper-i9v5L3Av.mjs.map} +1 -1
- package/dist/{FunctionExecutionWrapper-BBIoHUt6.cjs → FunctionExecutionWrapper-sxJNTpuc.cjs} +2 -2
- package/dist/{FunctionExecutionWrapper-BBIoHUt6.cjs.map → FunctionExecutionWrapper-sxJNTpuc.cjs.map} +1 -1
- package/dist/{HonoEndpointAdaptor-W-disJnm.d.mts → HonoEndpointAdaptor-BElil8O5.d.mts} +7 -6
- package/dist/{HonoEndpointAdaptor-Bc61IS6Q.cjs → HonoEndpointAdaptor-Cw2if5cG.cjs} +51 -20
- package/dist/HonoEndpointAdaptor-Cw2if5cG.cjs.map +1 -0
- package/dist/{HonoEndpointAdaptor-NR3h5gml.mjs → HonoEndpointAdaptor-DAfnTFVS.mjs} +51 -20
- package/dist/HonoEndpointAdaptor-DAfnTFVS.mjs.map +1 -0
- package/dist/{HonoEndpointAdaptor-BVQtyvna.d.cts → HonoEndpointAdaptor-DSHl8ZCY.d.cts} +8 -7
- package/dist/{Subscriber-BVq3ST4C.d.cts → Subscriber-BhzqUzs-.d.cts} +2 -2
- package/dist/{Subscriber-BKftCzwT.mjs → Subscriber-CGb8LjZa.mjs} +2 -2
- package/dist/{Subscriber-BKftCzwT.mjs.map → Subscriber-CGb8LjZa.mjs.map} +1 -1
- package/dist/{Subscriber-C2OPATI8.cjs → Subscriber-D-FPWts6.cjs} +2 -2
- package/dist/{Subscriber-C2OPATI8.cjs.map → Subscriber-D-FPWts6.cjs.map} +1 -1
- package/dist/{Subscriber-BuHaqWo4.d.mts → Subscriber-s6yfjeOc.d.mts} +2 -2
- package/dist/{SubscriberBuilder-2asHtGbl.d.mts → SubscriberBuilder-BCVkp-ga.d.cts} +3 -3
- package/dist/{SubscriberBuilder-yDfpHPZE.mjs → SubscriberBuilder-BcAspHv9.mjs} +2 -2
- package/dist/{SubscriberBuilder-yDfpHPZE.mjs.map → SubscriberBuilder-BcAspHv9.mjs.map} +1 -1
- package/dist/{SubscriberBuilder-yikoQ8ND.cjs → SubscriberBuilder-BfE2cL1q.cjs} +2 -2
- package/dist/{SubscriberBuilder-yikoQ8ND.cjs.map → SubscriberBuilder-BfE2cL1q.cjs.map} +1 -1
- package/dist/{SubscriberBuilder-CHIRyNjy.d.cts → SubscriberBuilder-aCua5_wA.d.mts} +3 -3
- package/dist/{TestEndpointAdaptor-DA1D6l-U.cjs → TestEndpointAdaptor-Bn1WRFph.cjs} +47 -18
- package/dist/TestEndpointAdaptor-Bn1WRFph.cjs.map +1 -0
- package/dist/{TestEndpointAdaptor-B10J-cI-.d.mts → TestEndpointAdaptor-DnlAA_rm.d.mts} +7 -6
- package/dist/{TestEndpointAdaptor-DpmNXp7G.mjs → TestEndpointAdaptor-DubQOJk_.mjs} +47 -18
- package/dist/TestEndpointAdaptor-DubQOJk_.mjs.map +1 -0
- package/dist/{TestEndpointAdaptor-BrE5Rs4U.d.cts → TestEndpointAdaptor-o-xtSyQ3.d.cts} +6 -5
- package/dist/adaptors/aws.cjs +14 -13
- package/dist/adaptors/aws.d.cts +14 -14
- package/dist/adaptors/aws.d.mts +15 -15
- package/dist/adaptors/aws.mjs +14 -13
- package/dist/adaptors/hono.cjs +10 -9
- package/dist/adaptors/hono.d.cts +8 -8
- package/dist/adaptors/hono.d.mts +9 -9
- package/dist/adaptors/hono.mjs +10 -9
- package/dist/adaptors/testing.cjs +8 -7
- package/dist/adaptors/testing.d.cts +8 -8
- package/dist/adaptors/testing.d.mts +9 -9
- package/dist/adaptors/testing.mjs +8 -7
- package/dist/crons/Cron.cjs +6 -6
- package/dist/crons/Cron.d.cts +6 -6
- package/dist/crons/Cron.d.mts +6 -6
- package/dist/crons/Cron.mjs +6 -6
- package/dist/crons/CronBuilder.cjs +7 -7
- package/dist/crons/CronBuilder.d.cts +7 -7
- package/dist/crons/CronBuilder.d.mts +7 -7
- package/dist/crons/CronBuilder.mjs +7 -7
- package/dist/crons/index.cjs +7 -7
- package/dist/crons/index.d.cts +11 -11
- package/dist/crons/index.d.mts +11 -11
- package/dist/crons/index.mjs +7 -7
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.cjs +8 -7
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.d.cts +8 -8
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.d.mts +9 -9
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.mjs +8 -7
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.cjs +10 -9
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.d.cts +9 -9
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.d.mts +10 -10
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.mjs +10 -9
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.cjs +10 -9
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.d.cts +9 -9
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.d.mts +10 -10
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.mjs +10 -9
- package/dist/endpoints/Authorizer.d.cts +1 -1
- package/dist/endpoints/Authorizer.d.mts +1 -1
- package/dist/endpoints/Endpoint.cjs +6 -6
- package/dist/endpoints/Endpoint.d.cts +7 -7
- package/dist/endpoints/Endpoint.d.mts +8 -8
- package/dist/endpoints/Endpoint.mjs +6 -6
- package/dist/endpoints/EndpointBuilder.cjs +7 -7
- package/dist/endpoints/EndpointBuilder.d.cts +8 -8
- package/dist/endpoints/EndpointBuilder.d.mts +9 -9
- package/dist/endpoints/EndpointBuilder.mjs +7 -7
- package/dist/endpoints/EndpointFactory.cjs +8 -8
- package/dist/endpoints/EndpointFactory.d.cts +9 -9
- package/dist/endpoints/EndpointFactory.d.mts +10 -10
- package/dist/endpoints/EndpointFactory.mjs +8 -8
- package/dist/endpoints/HonoEndpointAdaptor.cjs +10 -9
- package/dist/endpoints/HonoEndpointAdaptor.d.cts +8 -8
- package/dist/endpoints/HonoEndpointAdaptor.d.mts +9 -9
- package/dist/endpoints/HonoEndpointAdaptor.mjs +10 -9
- package/dist/endpoints/TestEndpointAdaptor.cjs +8 -7
- package/dist/endpoints/TestEndpointAdaptor.d.cts +8 -8
- package/dist/endpoints/TestEndpointAdaptor.d.mts +9 -9
- package/dist/endpoints/TestEndpointAdaptor.mjs +8 -7
- package/dist/endpoints/audit.cjs +0 -0
- package/dist/endpoints/audit.d.cts +9 -0
- package/dist/endpoints/audit.d.mts +9 -0
- package/dist/endpoints/audit.mjs +0 -0
- package/dist/endpoints/helpers.cjs +7 -7
- package/dist/endpoints/helpers.d.cts +7 -7
- package/dist/endpoints/helpers.d.mts +8 -8
- package/dist/endpoints/helpers.mjs +7 -7
- package/dist/endpoints/index.cjs +8 -8
- package/dist/endpoints/index.cjs.map +1 -1
- package/dist/endpoints/index.d.cts +12 -12
- package/dist/endpoints/index.d.mts +13 -13
- package/dist/endpoints/index.mjs +8 -8
- package/dist/endpoints/index.mjs.map +1 -1
- package/dist/endpoints/parseHonoQuery.cjs +1 -1
- package/dist/endpoints/parseHonoQuery.mjs +1 -1
- package/dist/endpoints/parseQueryParams.cjs +1 -1
- package/dist/endpoints/parseQueryParams.mjs +1 -1
- package/dist/endpoints/processAudits.cjs +5 -0
- package/dist/endpoints/processAudits.d.cts +74 -0
- package/dist/endpoints/processAudits.d.mts +74 -0
- package/dist/endpoints/processAudits.mjs +3 -0
- package/dist/functions/AWSLambdaFunction.cjs +6 -6
- package/dist/functions/AWSLambdaFunction.d.cts +4 -4
- package/dist/functions/AWSLambdaFunction.d.mts +4 -4
- package/dist/functions/AWSLambdaFunction.mjs +6 -6
- package/dist/functions/BaseFunctionBuilder.cjs +2 -2
- package/dist/functions/BaseFunctionBuilder.d.cts +2 -2
- package/dist/functions/BaseFunctionBuilder.d.mts +2 -2
- package/dist/functions/BaseFunctionBuilder.mjs +2 -2
- package/dist/functions/Function.cjs +2 -2
- package/dist/functions/Function.d.cts +2 -2
- package/dist/functions/Function.d.mts +2 -2
- package/dist/functions/Function.mjs +2 -2
- package/dist/functions/FunctionBuilder.cjs +4 -4
- package/dist/functions/FunctionBuilder.d.cts +4 -4
- package/dist/functions/FunctionBuilder.d.mts +4 -4
- package/dist/functions/FunctionBuilder.mjs +4 -4
- package/dist/functions/FunctionExecutionWrapper.cjs +5 -5
- package/dist/functions/FunctionExecutionWrapper.d.cts +3 -3
- package/dist/functions/FunctionExecutionWrapper.d.mts +3 -3
- package/dist/functions/FunctionExecutionWrapper.mjs +5 -5
- package/dist/functions/TestFunctionAdaptor.cjs +4 -4
- package/dist/functions/TestFunctionAdaptor.d.cts +2 -2
- package/dist/functions/TestFunctionAdaptor.d.mts +2 -2
- package/dist/functions/TestFunctionAdaptor.mjs +4 -4
- package/dist/functions/index.cjs +5 -5
- package/dist/functions/index.d.cts +5 -5
- package/dist/functions/index.d.mts +5 -5
- package/dist/functions/index.mjs +5 -5
- package/dist/functions-BYqZAob8.mjs +8 -0
- package/dist/{functions-HCoZ4YKF.mjs.map → functions-BYqZAob8.mjs.map} +1 -1
- package/dist/{functions-yg097ymU.cjs → functions-D03lqK-r.cjs} +2 -2
- package/dist/{functions-yg097ymU.cjs.map → functions-D03lqK-r.cjs.map} +1 -1
- package/dist/{helpers-Cq6wjo7s.cjs → helpers-BApRyhly.cjs} +2 -2
- package/dist/{helpers-Cq6wjo7s.cjs.map → helpers-BApRyhly.cjs.map} +1 -1
- package/dist/{helpers-CHsIWAEx.mjs → helpers-BPDogwac.mjs} +2 -2
- package/dist/{helpers-CHsIWAEx.mjs.map → helpers-BPDogwac.mjs.map} +1 -1
- package/dist/{index-RtxMVjUZ.d.mts → index-CUg_hSq-.d.cts} +3 -3
- package/dist/index-D-a7e2gv.d.mts +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{parseHonoQuery-DopC24vB.cjs → parseHonoQuery-CT8Cvin-.cjs} +1 -1
- package/dist/{parseHonoQuery-DopC24vB.cjs.map → parseHonoQuery-CT8Cvin-.cjs.map} +1 -1
- package/dist/{parseHonoQuery-znDKBhdE.mjs → parseHonoQuery-CwFKw2ua.mjs} +1 -1
- package/dist/{parseHonoQuery-znDKBhdE.mjs.map → parseHonoQuery-CwFKw2ua.mjs.map} +1 -1
- package/dist/{parseQueryParams-BJaRh3OB.mjs → parseQueryParams-CHINupbZ.mjs} +1 -1
- package/dist/{parseQueryParams-BJaRh3OB.mjs.map → parseQueryParams-CHINupbZ.mjs.map} +1 -1
- package/dist/{parseQueryParams-BzPop4I1.cjs → parseQueryParams-CwvXXwkW.cjs} +1 -1
- package/dist/{parseQueryParams-BzPop4I1.cjs.map → parseQueryParams-CwvXXwkW.cjs.map} +1 -1
- package/dist/processAudits-BFokHhCO.cjs +174 -0
- package/dist/processAudits-BFokHhCO.cjs.map +1 -0
- package/dist/processAudits-DfcB-X-4.mjs +156 -0
- package/dist/processAudits-DfcB-X-4.mjs.map +1 -0
- package/dist/publisher.d.cts +1 -1
- package/dist/publisher.d.mts +1 -1
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.cjs +1 -1
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.d.cts +3 -3
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.d.mts +3 -3
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.mjs +1 -1
- package/dist/subscribers/Subscriber.cjs +2 -2
- package/dist/subscribers/Subscriber.d.cts +2 -2
- package/dist/subscribers/Subscriber.d.mts +2 -2
- package/dist/subscribers/Subscriber.mjs +2 -2
- package/dist/subscribers/SubscriberBuilder.cjs +3 -3
- package/dist/subscribers/SubscriberBuilder.d.cts +3 -3
- package/dist/subscribers/SubscriberBuilder.d.mts +3 -3
- package/dist/subscribers/SubscriberBuilder.mjs +3 -3
- package/dist/subscribers/index.cjs +3 -3
- package/dist/subscribers/index.d.cts +5 -5
- package/dist/subscribers/index.d.mts +5 -5
- package/dist/subscribers/index.mjs +3 -3
- package/dist/{types-CVq20-fE.d.mts → types-DKf0juBf.d.mts} +1 -1
- package/dist/types.d.mts +1 -1
- package/package.json +14 -10
- package/src/Construct.ts +8 -0
- package/src/endpoints/AmazonApiGatewayEndpointAdaptor.ts +88 -19
- package/src/endpoints/Endpoint.ts +66 -13
- package/src/endpoints/EndpointBuilder.ts +183 -19
- package/src/endpoints/HonoEndpointAdaptor.ts +114 -33
- package/src/endpoints/TestEndpointAdaptor.ts +96 -21
- package/src/endpoints/__tests__/AmazonApiGatewayV1EndpointAdaptor.events.spec.ts +8 -0
- package/src/endpoints/__tests__/AmazonApiGatewayV1EndpointAdaptor.spec.ts +29 -0
- package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.audits.spec.ts +626 -0
- package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.events.spec.ts +9 -0
- package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.kysely-audit.integration.spec.ts +718 -0
- package/src/endpoints/__tests__/Endpoint.spec.ts +19 -0
- package/src/endpoints/__tests__/EndpointBuilder.audit.spec.ts +424 -0
- package/src/endpoints/__tests__/HonoEndpointAdaptor.audit-transactions.spec.ts +685 -0
- package/src/endpoints/__tests__/HonoEndpointAdaptor.audits.spec.ts +632 -0
- package/src/endpoints/__tests__/HonoEndpointAdaptor.events.spec.ts +8 -0
- package/src/endpoints/__tests__/HonoEndpointAdaptor.kysely-audit.integration.spec.ts +678 -0
- package/src/endpoints/__tests__/HonoEndpointAdaptor.openapi.spec.ts +4 -0
- package/src/endpoints/__tests__/HonoEndpointAdaptor.spec.ts +25 -0
- package/src/endpoints/audit.ts +87 -0
- package/src/endpoints/index.ts +1 -0
- package/src/endpoints/processAudits.ts +339 -0
- package/src/functions/BaseFunctionBuilder.ts +50 -7
- package/src/functions/Function.ts +13 -9
- package/src/functions/FunctionBuilder.ts +78 -14
- package/src/functions/__tests__/FunctionBuilder.state-isolation.spec.ts +43 -2
- package/dist/AmazonApiGatewayEndpointAdaptor-BTqB3c1_.cjs.map +0 -1
- package/dist/AmazonApiGatewayEndpointAdaptor-vi0D3dWg.mjs.map +0 -1
- package/dist/BaseFunctionBuilder-DSqF1r3a.mjs.map +0 -1
- package/dist/BaseFunctionBuilder-bTDKP7bd.cjs.map +0 -1
- package/dist/Construct-XCGKof_O.cjs.map +0 -1
- package/dist/Construct-rZQg2yus.mjs.map +0 -1
- package/dist/Endpoint-BdIGWw1H.cjs.map +0 -1
- package/dist/Endpoint-ChzcIFdV.mjs.map +0 -1
- package/dist/EndpointBuilder-Cx6pUcCn.d.mts +0 -55
- package/dist/EndpointBuilder-Xka8ULR1.d.cts +0 -55
- package/dist/EndpointBuilder-dmMiNRm9.cjs.map +0 -1
- package/dist/EndpointBuilder-yo40Qkf_.mjs.map +0 -1
- package/dist/Function-Cl9fiR3a.mjs.map +0 -1
- package/dist/Function-DDaSfL_E.cjs.map +0 -1
- package/dist/FunctionBuilder-LQuBiqRc.cjs.map +0 -1
- package/dist/FunctionBuilder-vW12WFOw.mjs.map +0 -1
- package/dist/HonoEndpointAdaptor-Bc61IS6Q.cjs.map +0 -1
- package/dist/HonoEndpointAdaptor-NR3h5gml.mjs.map +0 -1
- package/dist/TestEndpointAdaptor-DA1D6l-U.cjs.map +0 -1
- package/dist/TestEndpointAdaptor-DpmNXp7G.mjs.map +0 -1
- package/dist/functions-HCoZ4YKF.mjs +0 -8
- package/dist/index-fiIGH95t.d.cts +0 -9
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AuditableAction, AuditStorage } from '@geekmidas/audit';
|
|
1
2
|
import { EnvironmentParser } from '@geekmidas/envkit';
|
|
2
3
|
import type { EventPublisher } from '@geekmidas/events';
|
|
3
4
|
import type { Logger } from '@geekmidas/logger';
|
|
@@ -13,12 +14,17 @@ import {
|
|
|
13
14
|
import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
14
15
|
import { publishConstructEvents } from '../publisher';
|
|
15
16
|
import type { HttpMethod } from '../types';
|
|
17
|
+
import type { MappedAudit } from './audit';
|
|
16
18
|
import {
|
|
17
19
|
type CookieOptions,
|
|
18
20
|
Endpoint,
|
|
19
21
|
type EndpointSchemas,
|
|
20
22
|
ResponseBuilder,
|
|
21
23
|
} from './Endpoint';
|
|
24
|
+
import {
|
|
25
|
+
createAuditContext,
|
|
26
|
+
executeWithAuditTransaction,
|
|
27
|
+
} from './processAudits';
|
|
22
28
|
|
|
23
29
|
export type TestHttpResponse<TBody = any> = {
|
|
24
30
|
body: TBody;
|
|
@@ -73,6 +79,12 @@ export class TestEndpointAdaptor<
|
|
|
73
79
|
TSession = unknown,
|
|
74
80
|
TEventPublisher extends EventPublisher<any> | undefined = undefined,
|
|
75
81
|
TEventPublisherServiceName extends string = string,
|
|
82
|
+
TAuditStorage extends AuditStorage | undefined = undefined,
|
|
83
|
+
TAuditStorageServiceName extends string = string,
|
|
84
|
+
TAuditAction extends AuditableAction<string, unknown> = AuditableAction<
|
|
85
|
+
string,
|
|
86
|
+
unknown
|
|
87
|
+
>,
|
|
76
88
|
> {
|
|
77
89
|
static getDefaultServiceDiscover<
|
|
78
90
|
TRoute extends string,
|
|
@@ -84,6 +96,12 @@ export class TestEndpointAdaptor<
|
|
|
84
96
|
TSession = unknown,
|
|
85
97
|
TEventPublisher extends EventPublisher<any> | undefined = undefined,
|
|
86
98
|
TEventPublisherServiceName extends string = string,
|
|
99
|
+
TAuditStorage extends AuditStorage | undefined = undefined,
|
|
100
|
+
TAuditStorageServiceName extends string = string,
|
|
101
|
+
TAuditAction extends AuditableAction<string, unknown> = AuditableAction<
|
|
102
|
+
string,
|
|
103
|
+
unknown
|
|
104
|
+
>,
|
|
87
105
|
>(
|
|
88
106
|
endpoint: Endpoint<
|
|
89
107
|
TRoute,
|
|
@@ -94,7 +112,10 @@ export class TestEndpointAdaptor<
|
|
|
94
112
|
TLogger,
|
|
95
113
|
TSession,
|
|
96
114
|
TEventPublisher,
|
|
97
|
-
TEventPublisherServiceName
|
|
115
|
+
TEventPublisherServiceName,
|
|
116
|
+
TAuditStorage,
|
|
117
|
+
TAuditStorageServiceName,
|
|
118
|
+
TAuditAction
|
|
98
119
|
>,
|
|
99
120
|
) {
|
|
100
121
|
return ServiceDiscovery.getInstance(
|
|
@@ -112,7 +133,10 @@ export class TestEndpointAdaptor<
|
|
|
112
133
|
TLogger,
|
|
113
134
|
TSession,
|
|
114
135
|
TEventPublisher,
|
|
115
|
-
TEventPublisherServiceName
|
|
136
|
+
TEventPublisherServiceName,
|
|
137
|
+
TAuditStorage,
|
|
138
|
+
TAuditStorageServiceName,
|
|
139
|
+
TAuditAction
|
|
116
140
|
>,
|
|
117
141
|
private serviceDiscovery: ServiceDiscovery<
|
|
118
142
|
any,
|
|
@@ -149,33 +173,82 @@ export class TestEndpointAdaptor<
|
|
|
149
173
|
cookie,
|
|
150
174
|
});
|
|
151
175
|
|
|
152
|
-
|
|
153
|
-
const
|
|
176
|
+
// Create audit context if audit storage is configured
|
|
177
|
+
const auditContext = await createAuditContext(
|
|
178
|
+
this.endpoint,
|
|
179
|
+
this.serviceDiscovery,
|
|
180
|
+
logger,
|
|
154
181
|
{
|
|
155
|
-
body,
|
|
156
|
-
query,
|
|
157
|
-
params,
|
|
158
182
|
session,
|
|
159
|
-
services: ctx.services,
|
|
160
|
-
logger,
|
|
161
183
|
header,
|
|
162
184
|
cookie,
|
|
163
|
-
|
|
164
|
-
|
|
185
|
+
services: ctx.services as Record<string, unknown>,
|
|
186
|
+
},
|
|
165
187
|
);
|
|
166
188
|
|
|
167
|
-
//
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
189
|
+
// Warn if declarative audits are configured but no audit storage
|
|
190
|
+
const audits = this.endpoint.audits as MappedAudit<
|
|
191
|
+
TAuditAction,
|
|
192
|
+
TOutSchema
|
|
193
|
+
>[];
|
|
194
|
+
if (!auditContext && audits?.length) {
|
|
195
|
+
logger.warn('No auditor storage service available');
|
|
174
196
|
}
|
|
175
197
|
|
|
176
|
-
|
|
177
|
-
|
|
198
|
+
// Execute handler with automatic audit transaction support
|
|
199
|
+
const result = await executeWithAuditTransaction(
|
|
200
|
+
auditContext,
|
|
201
|
+
async (auditor) => {
|
|
202
|
+
const responseBuilder = new ResponseBuilder();
|
|
203
|
+
const response = await this.endpoint.handler(
|
|
204
|
+
{
|
|
205
|
+
body,
|
|
206
|
+
query,
|
|
207
|
+
params,
|
|
208
|
+
session,
|
|
209
|
+
services: ctx.services,
|
|
210
|
+
logger,
|
|
211
|
+
header,
|
|
212
|
+
cookie,
|
|
213
|
+
auditor,
|
|
214
|
+
} as any,
|
|
215
|
+
responseBuilder,
|
|
216
|
+
);
|
|
217
|
+
|
|
218
|
+
// Check if response has metadata
|
|
219
|
+
let data = response;
|
|
220
|
+
let metadata = responseBuilder.getMetadata();
|
|
178
221
|
|
|
222
|
+
if (Endpoint.hasMetadata(response)) {
|
|
223
|
+
data = response.data;
|
|
224
|
+
metadata = response.metadata;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
const output = await this.endpoint.parseOutput(data);
|
|
228
|
+
|
|
229
|
+
return { output, metadata, responseBuilder };
|
|
230
|
+
},
|
|
231
|
+
// Process declarative audits after handler (inside transaction)
|
|
232
|
+
async (result, auditor) => {
|
|
233
|
+
if (!audits?.length) return;
|
|
234
|
+
|
|
235
|
+
for (const audit of audits) {
|
|
236
|
+
if (audit.when && !audit.when(result.output as any)) {
|
|
237
|
+
continue;
|
|
238
|
+
}
|
|
239
|
+
const payload = audit.payload(result.output as any);
|
|
240
|
+
const entityId = audit.entityId?.(result.output as any);
|
|
241
|
+
auditor.audit(audit.type as any, payload as any, {
|
|
242
|
+
table: audit.table,
|
|
243
|
+
entityId,
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
);
|
|
248
|
+
|
|
249
|
+
const { output, metadata } = result;
|
|
250
|
+
|
|
251
|
+
ctx.publisher && (await this.serviceDiscovery.register([ctx.publisher]));
|
|
179
252
|
await publishConstructEvents(this.endpoint, output, this.serviceDiscovery);
|
|
180
253
|
|
|
181
254
|
// Convert cookies to Set-Cookie headers
|
|
@@ -186,7 +259,9 @@ export class TestEndpointAdaptor<
|
|
|
186
259
|
if (metadata.cookies && metadata.cookies.size > 0) {
|
|
187
260
|
const setCookieValues: string[] = [];
|
|
188
261
|
for (const [name, cookie] of metadata.cookies.entries()) {
|
|
189
|
-
setCookieValues.push(
|
|
262
|
+
setCookieValues.push(
|
|
263
|
+
serializeCookie(name, cookie.value, cookie.options),
|
|
264
|
+
);
|
|
190
265
|
}
|
|
191
266
|
headers['set-cookie'] = setCookieValues;
|
|
192
267
|
}
|
|
@@ -69,6 +69,7 @@ describe('AmazonApiGatewayV1Endpoint Events', () => {
|
|
|
69
69
|
services: [],
|
|
70
70
|
logger: mockLogger,
|
|
71
71
|
timeout: undefined,
|
|
72
|
+
memorySize: undefined,
|
|
72
73
|
status: 200,
|
|
73
74
|
getSession: undefined,
|
|
74
75
|
authorize: undefined,
|
|
@@ -135,6 +136,7 @@ describe('AmazonApiGatewayV1Endpoint Events', () => {
|
|
|
135
136
|
services: [],
|
|
136
137
|
logger: mockLogger,
|
|
137
138
|
timeout: undefined,
|
|
139
|
+
memorySize: undefined,
|
|
138
140
|
status: 201,
|
|
139
141
|
getSession: undefined,
|
|
140
142
|
authorize: undefined,
|
|
@@ -215,6 +217,7 @@ describe('AmazonApiGatewayV1Endpoint Events', () => {
|
|
|
215
217
|
services: [],
|
|
216
218
|
logger: mockLogger,
|
|
217
219
|
timeout: undefined,
|
|
220
|
+
memorySize: undefined,
|
|
218
221
|
status: 200,
|
|
219
222
|
getSession: undefined,
|
|
220
223
|
authorize: undefined,
|
|
@@ -274,6 +277,7 @@ describe('AmazonApiGatewayV1Endpoint Events', () => {
|
|
|
274
277
|
services: [],
|
|
275
278
|
logger: mockLogger,
|
|
276
279
|
timeout: undefined,
|
|
280
|
+
memorySize: undefined,
|
|
277
281
|
status: 200,
|
|
278
282
|
getSession: undefined,
|
|
279
283
|
authorize: undefined,
|
|
@@ -324,6 +328,7 @@ describe('AmazonApiGatewayV1Endpoint Events', () => {
|
|
|
324
328
|
services: [],
|
|
325
329
|
logger: mockLogger,
|
|
326
330
|
timeout: undefined,
|
|
331
|
+
memorySize: undefined,
|
|
327
332
|
status: 200,
|
|
328
333
|
getSession: undefined,
|
|
329
334
|
authorize: undefined,
|
|
@@ -384,6 +389,7 @@ describe('AmazonApiGatewayV1Endpoint Events', () => {
|
|
|
384
389
|
services: [],
|
|
385
390
|
logger: mockLogger,
|
|
386
391
|
timeout: undefined,
|
|
392
|
+
memorySize: undefined,
|
|
387
393
|
status: 200,
|
|
388
394
|
getSession: undefined,
|
|
389
395
|
authorize: undefined,
|
|
@@ -455,6 +461,7 @@ describe('AmazonApiGatewayV1Endpoint Events', () => {
|
|
|
455
461
|
services: [],
|
|
456
462
|
logger: mockLogger,
|
|
457
463
|
timeout: undefined,
|
|
464
|
+
memorySize: undefined,
|
|
458
465
|
status: 201,
|
|
459
466
|
getSession: undefined,
|
|
460
467
|
authorize: undefined,
|
|
@@ -526,6 +533,7 @@ describe('AmazonApiGatewayV1Endpoint Events', () => {
|
|
|
526
533
|
services: [],
|
|
527
534
|
logger: mockLogger,
|
|
528
535
|
timeout: undefined,
|
|
536
|
+
memorySize: undefined,
|
|
529
537
|
status: 200,
|
|
530
538
|
getSession: undefined,
|
|
531
539
|
authorize: undefined,
|
|
@@ -58,6 +58,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
58
58
|
services: [],
|
|
59
59
|
logger: mockLogger,
|
|
60
60
|
timeout: undefined,
|
|
61
|
+
memorySize: undefined,
|
|
61
62
|
status: undefined,
|
|
62
63
|
getSession: undefined,
|
|
63
64
|
authorize: undefined,
|
|
@@ -88,6 +89,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
88
89
|
services: [],
|
|
89
90
|
logger: mockLogger,
|
|
90
91
|
timeout: undefined,
|
|
92
|
+
memorySize: undefined,
|
|
91
93
|
status: 201,
|
|
92
94
|
getSession: undefined,
|
|
93
95
|
authorize: undefined,
|
|
@@ -129,6 +131,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
129
131
|
services: [],
|
|
130
132
|
logger: mockLogger,
|
|
131
133
|
timeout: undefined,
|
|
134
|
+
memorySize: undefined,
|
|
132
135
|
status: undefined,
|
|
133
136
|
getSession: undefined,
|
|
134
137
|
authorize: undefined,
|
|
@@ -163,6 +166,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
163
166
|
services: [],
|
|
164
167
|
logger: mockLogger,
|
|
165
168
|
timeout: undefined,
|
|
169
|
+
memorySize: undefined,
|
|
166
170
|
status: undefined,
|
|
167
171
|
getSession: undefined,
|
|
168
172
|
authorize: undefined,
|
|
@@ -194,6 +198,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
194
198
|
services: [],
|
|
195
199
|
logger: mockLogger,
|
|
196
200
|
timeout: undefined,
|
|
201
|
+
memorySize: undefined,
|
|
197
202
|
status: 204,
|
|
198
203
|
getSession: undefined,
|
|
199
204
|
authorize: undefined,
|
|
@@ -226,6 +231,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
226
231
|
services: [],
|
|
227
232
|
logger: mockLogger,
|
|
228
233
|
timeout: undefined,
|
|
234
|
+
memorySize: undefined,
|
|
229
235
|
status: undefined,
|
|
230
236
|
getSession: undefined,
|
|
231
237
|
authorize: undefined,
|
|
@@ -269,6 +275,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
269
275
|
services: [],
|
|
270
276
|
logger: mockLogger,
|
|
271
277
|
timeout: undefined,
|
|
278
|
+
memorySize: undefined,
|
|
272
279
|
status: undefined,
|
|
273
280
|
getSession: undefined,
|
|
274
281
|
authorize: undefined,
|
|
@@ -305,6 +312,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
305
312
|
services: [TestService],
|
|
306
313
|
logger: mockLogger,
|
|
307
314
|
timeout: undefined,
|
|
315
|
+
memorySize: undefined,
|
|
308
316
|
status: undefined,
|
|
309
317
|
getSession: undefined,
|
|
310
318
|
authorize: undefined,
|
|
@@ -334,6 +342,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
334
342
|
services: [],
|
|
335
343
|
logger: mockLogger,
|
|
336
344
|
timeout: undefined,
|
|
345
|
+
memorySize: undefined,
|
|
337
346
|
status: undefined,
|
|
338
347
|
getSession: async () => mockSession,
|
|
339
348
|
authorize: undefined,
|
|
@@ -366,6 +375,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
366
375
|
services: [],
|
|
367
376
|
logger: mockLogger,
|
|
368
377
|
timeout: undefined,
|
|
378
|
+
memorySize: undefined,
|
|
369
379
|
status: undefined,
|
|
370
380
|
getSession: undefined,
|
|
371
381
|
authorize: undefined,
|
|
@@ -402,6 +412,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
402
412
|
services: [],
|
|
403
413
|
logger: mockLogger,
|
|
404
414
|
timeout: undefined,
|
|
415
|
+
memorySize: undefined,
|
|
405
416
|
status: undefined,
|
|
406
417
|
getSession: undefined,
|
|
407
418
|
authorize: undefined,
|
|
@@ -458,6 +469,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
458
469
|
services: [],
|
|
459
470
|
logger: mockLogger,
|
|
460
471
|
timeout: undefined,
|
|
472
|
+
memorySize: undefined,
|
|
461
473
|
status: undefined,
|
|
462
474
|
getSession: undefined,
|
|
463
475
|
authorize: undefined,
|
|
@@ -497,6 +509,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
497
509
|
services: [],
|
|
498
510
|
logger: mockLogger,
|
|
499
511
|
timeout: undefined,
|
|
512
|
+
memorySize: undefined,
|
|
500
513
|
status: undefined,
|
|
501
514
|
getSession: undefined,
|
|
502
515
|
authorize: undefined,
|
|
@@ -535,6 +548,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
535
548
|
services: [],
|
|
536
549
|
logger: mockLogger,
|
|
537
550
|
timeout: undefined,
|
|
551
|
+
memorySize: undefined,
|
|
538
552
|
status: undefined,
|
|
539
553
|
getSession: undefined,
|
|
540
554
|
authorize: undefined,
|
|
@@ -570,6 +584,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
570
584
|
services: [],
|
|
571
585
|
logger: mockLogger,
|
|
572
586
|
timeout: undefined,
|
|
587
|
+
memorySize: undefined,
|
|
573
588
|
status: undefined,
|
|
574
589
|
getSession: undefined,
|
|
575
590
|
authorize: undefined,
|
|
@@ -609,6 +624,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
609
624
|
services: [],
|
|
610
625
|
logger: mockLogger,
|
|
611
626
|
timeout: undefined,
|
|
627
|
+
memorySize: undefined,
|
|
612
628
|
status: undefined,
|
|
613
629
|
getSession: undefined,
|
|
614
630
|
authorize: undefined,
|
|
@@ -648,6 +664,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
648
664
|
services: [],
|
|
649
665
|
logger: mockLogger,
|
|
650
666
|
timeout: undefined,
|
|
667
|
+
memorySize: undefined,
|
|
651
668
|
status: undefined,
|
|
652
669
|
getSession: undefined,
|
|
653
670
|
authorize: undefined,
|
|
@@ -678,6 +695,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
678
695
|
services: [],
|
|
679
696
|
logger: mockLogger,
|
|
680
697
|
timeout: undefined,
|
|
698
|
+
memorySize: undefined,
|
|
681
699
|
status: undefined,
|
|
682
700
|
getSession: undefined,
|
|
683
701
|
authorize: undefined,
|
|
@@ -715,6 +733,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
715
733
|
services: [],
|
|
716
734
|
logger: mockLogger,
|
|
717
735
|
timeout: undefined,
|
|
736
|
+
memorySize: undefined,
|
|
718
737
|
status: undefined,
|
|
719
738
|
getSession: undefined,
|
|
720
739
|
authorize: undefined,
|
|
@@ -780,6 +799,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
780
799
|
services: [],
|
|
781
800
|
logger: mockLogger,
|
|
782
801
|
timeout: undefined,
|
|
802
|
+
memorySize: undefined,
|
|
783
803
|
authorize: undefined,
|
|
784
804
|
description: 'List items with tags',
|
|
785
805
|
getSession: () => ({}),
|
|
@@ -837,6 +857,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
837
857
|
services: [],
|
|
838
858
|
logger: mockLogger,
|
|
839
859
|
timeout: undefined,
|
|
860
|
+
memorySize: undefined,
|
|
840
861
|
authorize: undefined,
|
|
841
862
|
description: 'Search with filters',
|
|
842
863
|
getSession: () => ({}),
|
|
@@ -896,6 +917,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
896
917
|
services: [],
|
|
897
918
|
logger: mockLogger,
|
|
898
919
|
timeout: undefined,
|
|
920
|
+
memorySize: undefined,
|
|
899
921
|
status: undefined,
|
|
900
922
|
getSession: undefined,
|
|
901
923
|
authorize: undefined,
|
|
@@ -942,6 +964,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
942
964
|
services: [],
|
|
943
965
|
logger: mockLogger,
|
|
944
966
|
timeout: undefined,
|
|
967
|
+
memorySize: undefined,
|
|
945
968
|
status: undefined,
|
|
946
969
|
getSession: undefined,
|
|
947
970
|
authorize: undefined,
|
|
@@ -976,6 +999,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
976
999
|
services: [],
|
|
977
1000
|
logger: mockLogger,
|
|
978
1001
|
timeout: undefined,
|
|
1002
|
+
memorySize: undefined,
|
|
979
1003
|
status: undefined,
|
|
980
1004
|
getSession: undefined,
|
|
981
1005
|
authorize: undefined,
|
|
@@ -1008,6 +1032,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
1008
1032
|
services: [],
|
|
1009
1033
|
logger: mockLogger,
|
|
1010
1034
|
timeout: undefined,
|
|
1035
|
+
memorySize: undefined,
|
|
1011
1036
|
status: undefined,
|
|
1012
1037
|
getSession: undefined,
|
|
1013
1038
|
authorize: undefined,
|
|
@@ -1041,6 +1066,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
1041
1066
|
services: [],
|
|
1042
1067
|
logger: mockLogger,
|
|
1043
1068
|
timeout: undefined,
|
|
1069
|
+
memorySize: undefined,
|
|
1044
1070
|
status: undefined,
|
|
1045
1071
|
getSession: undefined,
|
|
1046
1072
|
authorize: undefined,
|
|
@@ -1078,6 +1104,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
1078
1104
|
services: [],
|
|
1079
1105
|
logger: mockLogger,
|
|
1080
1106
|
timeout: undefined,
|
|
1107
|
+
memorySize: undefined,
|
|
1081
1108
|
status: undefined,
|
|
1082
1109
|
getSession: undefined,
|
|
1083
1110
|
authorize: undefined,
|
|
@@ -1112,6 +1139,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
1112
1139
|
services: [],
|
|
1113
1140
|
logger: mockLogger,
|
|
1114
1141
|
timeout: undefined,
|
|
1142
|
+
memorySize: undefined,
|
|
1115
1143
|
status: undefined,
|
|
1116
1144
|
getSession: undefined,
|
|
1117
1145
|
authorize: undefined,
|
|
@@ -1143,6 +1171,7 @@ describe('AmazonApiGatewayV1Endpoint', () => {
|
|
|
1143
1171
|
services: [],
|
|
1144
1172
|
logger: mockLogger,
|
|
1145
1173
|
timeout: undefined,
|
|
1174
|
+
memorySize: undefined,
|
|
1146
1175
|
status: undefined,
|
|
1147
1176
|
getSession: undefined,
|
|
1148
1177
|
authorize: undefined,
|