sdk-aws-lambda 0.8.1 → 0.8.2
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/access/sdks/lambda/genLambdaSdk.js.map +1 -1
- package/dist/access/sdks/lambda/sdkLambdaInvoke.js.map +1 -1
- package/dist/contract/cli/asGenArgs.js.map +1 -1
- package/dist/contract/cli/gen.js.map +1 -1
- package/dist/domain.objects/DomainObjectCaptured.d.ts +3 -1
- package/dist/domain.objects/DomainObjectCaptured.js.map +1 -1
- package/dist/domain.objects/GeneratedFile.js.map +1 -1
- package/dist/domain.objects/HttpStatusCode.js.map +1 -1
- package/dist/domain.objects/LambdaCredentialsAbsentError.js.map +1 -1
- package/dist/domain.objects/LambdaDomainObjectNotCapturableError.js.map +1 -1
- package/dist/domain.objects/LambdaDomainObjectRefUnbindableError.js.map +1 -1
- package/dist/domain.objects/LambdaEndpoint.d.ts +2 -2
- package/dist/domain.objects/LambdaEndpoint.js.map +1 -1
- package/dist/domain.objects/LambdaEndpointError.d.ts +1 -1
- package/dist/domain.objects/LambdaEndpointError.js.map +1 -1
- package/dist/domain.objects/LambdaEndpointErrorResponseBody.d.ts +2 -2
- package/dist/domain.objects/LambdaEndpointErrorResponseBody.js.map +1 -1
- package/dist/domain.objects/LambdaEndpointRefusedError.js.map +1 -1
- package/dist/domain.objects/LambdaEndpointSchema.d.ts +3 -1
- package/dist/domain.objects/LambdaEventSchemaSource.d.ts +1 -1
- package/dist/domain.objects/LambdaFunctionNotFoundError.js.map +1 -1
- package/dist/domain.objects/LambdaIntrospectionBlockedError.js.map +1 -1
- package/dist/domain.objects/LambdaIntrospectionNotSupportedError.js.map +1 -1
- package/dist/domain.objects/LambdaServiceNotFoundError.js.map +1 -1
- package/dist/domain.objects/TrailExidHeader.d.ts +1 -1
- package/dist/domain.operations/asLambdaEndpoint/asLambdaEndpoint.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.asExampleUuid.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.constants.d.ts +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.constants.js +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.constants.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.d.ts +10 -36
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromApiGateway.js +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromApiGateway.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromKinesis.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromS3.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromSns.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromSqs.js.map +1 -1
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventPayloadSchema.js +1 -1
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventPayloadSchema.js.map +1 -1
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventSchema.fromKinesis.js +2 -2
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventSchema.fromKinesis.js.map +1 -1
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventSchema.fromSns.js +2 -2
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventSchema.fromSns.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/askLambdaEndpoint.d.ts +4 -44
- package/dist/domain.operations/askLambdaEndpoint/askLambdaEndpoint.viaApiGateway.js +1 -1
- package/dist/domain.operations/askLambdaEndpoint/askLambdaEndpoint.viaApiGateway.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/askLambdaEndpoint.viaInvoke.js +2 -2
- package/dist/domain.operations/askLambdaEndpoint/askLambdaEndpoint.viaInvoke.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/asAskLambdaCacheKeyOfRefusal.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/asCacheWithoutSet.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/asCachedExecutor.d.ts +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/asCachedExecutor.js +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/asCachedExecutor.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/getAskLambdaCacheKey.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/error/getStatusCodeHint.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/invoke/executeHttpRequest.d.ts +1 -1
- package/dist/domain.operations/askLambdaEndpoint/invoke/executeHttpRequest.js +1 -1
- package/dist/domain.operations/askLambdaEndpoint/invoke/executeHttpRequest.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/invoke/executeLambdaInvocation.js +2 -2
- package/dist/domain.operations/askLambdaEndpoint/invoke/executeLambdaInvocation.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asErrorFromHttpResponse.js +3 -3
- package/dist/domain.operations/askLambdaEndpoint/serde/asErrorFromHttpResponse.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asHeadersRecord.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asHttpMethod.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asHttpRequestBody.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asHttpRequestHeaders.js +2 -2
- package/dist/domain.operations/askLambdaEndpoint/serde/asHttpRequestHeaders.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asLambdaEndpointRefusal.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/getIsHttpThrottle.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/getLambdaPayload.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/getOneBodyFromHttpText.js +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/getOneBodyFromHttpText.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/getOneCorrelationIdFromBody.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/asContextLogTrail.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.d.ts +6 -4
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayRequestEventUnified.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseOnwire.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseOnwireJson.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseSchema.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asCorsHeadersWithTrail.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asHeaderKeysLowercased.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/genLambdaEndpoint.forApiGateway.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/genLambdaEndpoint.forApiGateway.js +9 -9
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/genLambdaEndpoint.forApiGateway.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getAllResponseOnwireKeysFound.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getCorsOrigin.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getIsV1ApiGatewayRequestEvent.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getIsV2ApiGatewayRequestEvent.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/isApiGatewayResponse.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genApiGatewayRequestEventNormalizationMiddleware.js +2 -2
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genApiGatewayRequestEventNormalizationMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genContentTypeCoherenceMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genZodInputValidationMiddleware.d.ts +15 -2
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genZodInputValidationMiddleware.js +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genZodInputValidationMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/genLambdaEndpoint.forAsk.d.ts +2 -2
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/genLambdaEndpoint.forAsk.js +9 -9
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/genLambdaEndpoint.forAsk.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genAskEventOnwireCaptureMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genLambdaEventRefusedLogMiddleware.js +3 -3
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genLambdaEventRefusedLogMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genZodEventValidationMiddleware.js +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genZodEventValidationMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/getAllLambdaEventIds.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/logLambdaEventRefused.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/asSqsBatchResponse.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/asSqsEventDecoded.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/asSqsHeadersOnwire.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/asSqsRecordDecoded.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/asSqsRecordIds.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.d.ts +4 -2
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perBatch.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perBatch.js +3 -3
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perBatch.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perRecord.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perRecord.js +4 -4
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perRecord.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genSqsEndpointMiddlewares.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genSqsEndpointMiddlewares.js +3 -3
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genSqsEndpointMiddlewares.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/getAllSqsIdsRetried.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/getAllSqsIdsUnclaimable.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/getAllSqsSuccessRefsMalformed.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/getIsSqsEvent.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/isSqsSuccessRef.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/logSqsRecordInvalid.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/logSqsRecordRefused.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/setSqsRecordValidated.js +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/setSqsRecordValidated.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/setSqsRecordsValidated.js +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/setSqsRecordsValidated.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/asCallerFault.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/asContextTrailed.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/asLogMethodOfFailure.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genConstraintErrorMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genInternalServiceErrorMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIntrospectionMiddleware.getJsonSchemaFromZod.d.ts +4 -2
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIntrospectionMiddleware.getJsonSchemaFromZod.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIntrospectionMiddleware.isIntrospectionInput.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIntrospectionMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIoLoggerMiddleware.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIoLoggerMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genTrailMiddleware.js +2 -2
- package/dist/domain.operations/genLambdaEndpoint/middleware/genTrailMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genZodOutputValidationMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getErrorResponseBody.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getIsConstraintError.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getIsFrozenMutatorRefusal.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getUnwrappedEventWithExid.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getUnwrappedEventWithExid.js +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getUnwrappedEventWithExid.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getValidatedInput.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getValidatedOutput.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getValidationError.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getZodIssuesSummary.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/setEventFrozen.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/asServiceSymbols/asServiceSymbols.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/asBarrelFileSource.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/asMechanismsFileSource.js +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/asMechanismsFileSource.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/asResourcesFileSource.js +2 -2
- package/dist/domain.operations/genServiceSdk/gen.file/asResourcesFileSource.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/formatTypescript.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/setGeneratedFilesBatch.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.mechanism/asMechanismFnSource.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.mechanism/getTypescriptFromJsonSchema.d.ts +3 -1
- package/dist/domain.operations/genServiceSdk/gen.mechanism/getTypescriptFromJsonSchema.js +1 -1
- package/dist/domain.operations/genServiceSdk/gen.mechanism/getTypescriptFromJsonSchema.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/asDomainObjectPragma.d.ts +3 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/asDomainObjectPragma.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/asResourceClassSource.js +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/asResourceClassSource.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/assertAllDomainObjectRefsBind.js +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/assertAllDomainObjectRefsBind.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/getAllDomainObjectsFromContracts.js +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/getAllDomainObjectsFromContracts.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/genServiceSdk.js +1 -1
- package/dist/domain.operations/genServiceSdk/genServiceSdk.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/getAllJsonSchemaNodes.js.map +1 -1
- package/dist/domain.operations/getAllLambdaContracts/getAllLambdaContracts.js +5 -27
- package/dist/domain.operations/getAllLambdaContracts/getAllLambdaContracts.js.map +1 -1
- package/dist/domain.operations/getAllLambdaContracts/lambdaContract/asContractRecord.js.map +1 -1
- package/dist/domain.operations/getAllLambdaContracts/lambdaFunction/getAllLambdaFunctionsByPrefix.js.map +1 -1
- package/dist/domain.operations/getAllLambdaContracts/lambdaFunction/sdkLambdaGetAllFunctions.js.map +1 -1
- package/dist/domain.operations/getOneLambdaContract/asLambdaEndpointSchema.js.map +1 -1
- package/dist/domain.operations/getOneLambdaContract/getOneLambdaContract.js +3 -25
- package/dist/domain.operations/getOneLambdaContract/getOneLambdaContract.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/context/getExidFromContext.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/context/getLogForExidExtraction.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/context/getOneTrailExid.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/asErrorFromPeerRefusal.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/getIsContempErrorTagged.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/getIsLambdaErrorResponse.d.ts +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/getIsLambdaErrorResponse.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/getLambdaErrorMetadata.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/getStackTraceString.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/throwIfCredentialsError.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/asHeadersWithoutKey.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/asTrailExidHeaders.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/getIsWrappedPayload.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/getOneLambdaEventSchemaSource.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/getOneTrailCarrierOfEvent.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/getOneTrailCarrierOfHandler.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/getOneTrailExidFromHeaders.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/isEventDeclaredAsApiGateway.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/isTrailExid.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/isTrailExidHeaderMalformed.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/setEventDeclaredAsApiGateway.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/setHandlerTrailCarrier.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/setLambdaEventSchemaSource.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/getParsedResponse.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/serde/asUnprefixedErrorMessage.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/serde/getDecodedPayload.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/serde/getParsedJson.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/context/asLambdaContext.d.ts +1 -1
- package/dist/domain.operations/runLambdaEndpoint/context/asLambdaContext.js +1 -1
- package/dist/domain.operations/runLambdaEndpoint/context/asLambdaContext.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/asLambdaEndpointDialect.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/asLambdaEndpointOutput.d.ts +2 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/asLambdaEndpointOutput.js +2 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/asLambdaEndpointOutput.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/isLambdaEndpointErrorEnvelope.d.ts +1 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/isLambdaEndpointErrorEnvelope.js +1 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/isLambdaEndpointErrorEnvelope.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/error/isErrorLike.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/guard/assertEventIsGiven.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/guard/assertHandlerIsRunnable.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/local/asLocalRunIdentity.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/local/getOneHandlerFromServerlessYml.js +19 -30
- package/dist/domain.operations/runLambdaEndpoint/local/getOneHandlerFromServerlessYml.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.d.ts +4 -23
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.onReferenced.d.ts +1 -1
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.onReferenced.js +2 -2
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.onReferenced.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.onSerialized.js +6 -6
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.onSerialized.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asCarriedPayload.js +3 -3
- package/dist/domain.operations/runLambdaEndpoint/serde/asCarriedPayload.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asErrorTypeOfErrorLike.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asFramedPayload.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asWireFunctionErrorPayload.js +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asWireFunctionErrorPayload.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asWirePayload.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asWireStripped.js +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asWireStripped.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/getOneTrailWithExid.js +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/getOneTrailWithExid.js.map +1 -1
- package/package.json +53 -32
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asCachedExecutor.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/cache/asCachedExecutor.ts"],"names":[],"mappings":";;;AACA,yDAA2E;AAE3E
|
|
1
|
+
{"version":3,"file":"asCachedExecutor.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/cache/asCachedExecutor.ts"],"names":[],"mappings":";;;AACA,yDAA2E;AAE3E,sHAIkF;AAWlF;;;GAGG;AACI,MAAM,gBAAgB,GAAG,CAAY,KAI3C,EAA6B,EAAE;IAC9B,+CAA+C;IAC/C,IAAI,CAAC,KAAK,CAAC,QAAQ;QACjB,OAAO,iDAAoD,CAAC;IAE9D,+CAA+C;IAC/C,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QACjB,OAAO,IAAA,wCAAoB,EAAC,iDAAuB,EAAE;YACnD,KAAK,EAAE;gBACL,MAAM,EAAE,KAAK,CAAC,QAAQ;gBACtB,aAAa,EAAE,KAAK,CAAC,MAAM;aAC5B;YACD,SAAS,EAAE,EAAE,GAAG,EAAE,KAAK,CAAC,WAAW,EAAE;SACtC,CAA8B,CAAC;IAClC,CAAC;IAED,oBAAoB;IACpB,OAAO,IAAA,wCAAoB,EAAC,iDAAuB,EAAE;QACnD,KAAK,EAAE,KAAK,CAAC,QAAQ;QACrB,SAAS,EAAE,EAAE,GAAG,EAAE,KAAK,CAAC,WAAW,EAAE;KACtC,CAA8B,CAAC;AAClC,CAAC,CAAC;AAzBW,QAAA,gBAAgB,GAAhB,gBAAgB,CAyB3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAskLambdaCacheKey.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/cache/getAskLambdaCacheKey.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"getAskLambdaCacheKey.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/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AG,IAAA,wBAAU,EAAC,QAAQ,CAAC;SACpC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;SAChC,MAAM,CAAC,KAAK,CAAC,CAAC;IAEjB,OAAO,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3C,CAAC,CAAC;AAlBW,QAAA,oBAAoB,GAApB,oBAAoB,CAkB/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStatusCodeHint.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/error/getStatusCodeHint.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACI,MAAM,iBAAiB,GAAG,CAAC,UAAkB,EAAU,EAAE;IAC9D,uCAAuC;IACvC,IAAI,UAAU,KAAK,GAAG;QAAE,OAAO,6CAA6C,CAAC;IAC7E,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,iEAAiE,CAAC;IAC3E,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,uFAAuF,CAAC;IACjG,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,sDAAsD,CAAC;IAChE,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,qEAAqE,CAAC;IAC/E,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,mEAAmE,CAAC;IAC7E,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,2DAA2D,CAAC;IACrE,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,gEAAgE,CAAC;IAC1E,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,8DAA8D,CAAC;IACxE,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,qDAAqD,CAAC;IAE/D,oCAAoC;IACpC,OAAO,UAAU,UAAU,wDAAwD,CAAC;AACtF,CAAC,CAAC;AAxBW,QAAA,iBAAiB,
|
|
1
|
+
{"version":3,"file":"getStatusCodeHint.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/error/getStatusCodeHint.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACI,MAAM,iBAAiB,GAAG,CAAC,UAAkB,EAAU,EAAE;IAC9D,uCAAuC;IACvC,IAAI,UAAU,KAAK,GAAG;QAAE,OAAO,6CAA6C,CAAC;IAC7E,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,iEAAiE,CAAC;IAC3E,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,uFAAuF,CAAC;IACjG,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,sDAAsD,CAAC;IAChE,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,qEAAqE,CAAC;IAC/E,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,mEAAmE,CAAC;IAC7E,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,2DAA2D,CAAC;IACrE,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,gEAAgE,CAAC;IAC1E,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,8DAA8D,CAAC;IACxE,IAAI,UAAU,KAAK,GAAG;QACpB,OAAO,qDAAqD,CAAC;IAE/D,oCAAoC;IACpC,OAAO,UAAU,UAAU,wDAAwD,CAAC;AACtF,CAAC,CAAC;AAxBW,QAAA,iBAAiB,GAAjB,iBAAiB,CAwB5B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* .what = sends one http request with the runtime's global fetch, and names the request on a fault
|
|
3
3
|
* .why = a network fault leaves fetch as a bare `TypeError: fetch failed`, which names no url, no
|
|
4
|
-
* method, and no trail exid. the reader
|
|
4
|
+
* method, and no trail exid. the on-call reader needs all three
|
|
5
5
|
*
|
|
6
6
|
* .note = the peer of `executeLambdaInvocation`: the raw i/o boundary for the http road
|
|
7
7
|
* .note = every fault is caught and re-thrown, never hidden. `cause` rides along where the fault is
|
|
@@ -5,7 +5,7 @@ const helpful_errors_1 = require("helpful-errors");
|
|
|
5
5
|
/**
|
|
6
6
|
* .what = sends one http request with the runtime's global fetch, and names the request on a fault
|
|
7
7
|
* .why = a network fault leaves fetch as a bare `TypeError: fetch failed`, which names no url, no
|
|
8
|
-
* method, and no trail exid. the reader
|
|
8
|
+
* method, and no trail exid. the on-call reader needs all three
|
|
9
9
|
*
|
|
10
10
|
* .note = the peer of `executeLambdaInvocation`: the raw i/o boundary for the http road
|
|
11
11
|
* .note = every fault is caught and re-thrown, never hidden. `cause` rides along where the fault is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeHttpRequest.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/invoke/executeHttpRequest.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAElD;;;;;;;;;GASG;AACI,MAAM,kBAAkB,GAAG,KAAK,EAAE,KAMxC,EAAqB,EAAE;IACtB,IAAI,CAAC;QACH,OAAO,MAAM,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE;YAC5B,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,IAAI,EAAE,KAAK,CAAC,IAAI;SACjB,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,IAAI,iCAAgB,CAAC,6CAA6C,EAAE;YACxE,GAAG,EAAE,KAAK,CAAC,GAAG;YACd,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC;YAC3B,GAAG,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACpD,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC;AAtBW,QAAA,kBAAkB,
|
|
1
|
+
{"version":3,"file":"executeHttpRequest.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/invoke/executeHttpRequest.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAElD;;;;;;;;;GASG;AACI,MAAM,kBAAkB,GAAG,KAAK,EAAE,KAMxC,EAAqB,EAAE;IACtB,IAAI,CAAC;QACH,OAAO,MAAM,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE;YAC5B,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,IAAI,EAAE,KAAK,CAAC,IAAI;SACjB,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,IAAI,iCAAgB,CAAC,6CAA6C,EAAE;YACxE,GAAG,EAAE,KAAK,CAAC,GAAG;YACd,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC;YAC3B,GAAG,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACpD,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC;AAtBW,QAAA,kBAAkB,GAAlB,kBAAkB,CAsB7B"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.executeLambdaInvocation = void 0;
|
|
4
4
|
const sdkLambdaInvoke_1 = require("../../../access/sdks/lambda/sdkLambdaInvoke");
|
|
5
5
|
const LambdaEndpointError_1 = require("../../../domain.objects/LambdaEndpointError");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
6
|
+
const getStatusCodeHint_1 = require("../../../domain.operations/askLambdaEndpoint/error/getStatusCodeHint");
|
|
7
|
+
const getParsedResponse_1 = require("../../../domain.operations/lambdaEndpointWire/getParsedResponse");
|
|
8
8
|
/**
|
|
9
9
|
* .what = the core lambda invocation logic
|
|
10
10
|
* .why = extracted to enable cache wrapper composition
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeLambdaInvocation.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/invoke/executeLambdaInvocation.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"executeLambdaInvocation.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/invoke/executeLambdaInvocation.ts"],"names":[],"mappings":";;;AAEA,8EAA2E;AAE3E,kFAA+E;AAE/E,yGAAsG;AACtG,oGAAiG;AA8BjG;;;GAGG;AACI,MAAM,uBAAuB,GAAG,KAAK,EAC1C,KAAsB,EACtB,OAA0B,EACN,EAAE;IACtB,iBAAiB;IACjB,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,0BAA0B,EAAE;QAC7C,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI;QACzB,IAAI,EAAE,KAAK,CAAC,IAAI;KACjB,CAAC,CAAC;IAEH,iCAAiC;IACjC,8EAA8E;IAC9E,iFAAiF;IACjF,gEAAgE;IAChE,uDAAuD;IACvD,MAAM,MAAM,GAAG,MAAM,IAAA,iCAAe,EAClC,EAAE,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,EACrD,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,EAAE,CACjC,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE;QACzB,sCAAsC;QACtC,IAAI,CAAC,CAAC,KAAK,YAAY,KAAK,CAAC;YAAE,MAAM,KAAK,CAAC;QAE3C,+DAA+D;QAC/D,MAAM,IAAI,yCAAmB,CAAC,4BAA4B,KAAK,CAAC,OAAO,EAAE,EAAE;YACzE,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,KAAK,EAAE,KAAK;SACb,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,gFAAgF;IAChF,6EAA6E;IAC7E,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,IAAI,CAAC,CAAC;IAC1C,IAAI,UAAU,KAAK,GAAG,EAAE,CAAC;QACvB,0DAA0D;QAC1D,MAAM,UAAU,GAAG,IAAA,qCAAiB,EAAC,UAAU,CAAC,CAAC;QACjD,MAAM,IAAI,yCAAmB,CAAC,6BAA6B,UAAU,EAAE,EAAE;YACvE,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,UAAU;SACX,CAAC,CAAC;IACL,CAAC;IAED,iBAAiB;IACjB,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAY;QAC5C,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,aAAa,EAAE,MAAM,CAAC,aAAa;QACnC,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,OAAO,EAAE,KAAK,CAAC,OAAO;KACvB,CAAC,CAAC;IAEH,aAAa;IACb,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,0BAA0B,EAAE;QAC7C,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI;QACzB,UAAU,EAAE,MAAM,CAAC,UAAU;KAC9B,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AA3DW,QAAA,uBAAuB,GAAvB,uBAAuB,CA2DlC"}
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.asErrorFromHttpResponse = void 0;
|
|
4
4
|
const helpful_errors_1 = require("helpful-errors");
|
|
5
5
|
const HttpStatusCode_1 = require("../../../domain.objects/HttpStatusCode");
|
|
6
|
-
const asErrorFromPeerRefusal_1 = require("
|
|
7
|
-
const getIsLambdaErrorResponse_1 = require("
|
|
8
|
-
const asUnprefixedErrorMessage_1 = require("
|
|
6
|
+
const asErrorFromPeerRefusal_1 = require("../../../domain.operations/lambdaEndpointWire/error/asErrorFromPeerRefusal");
|
|
7
|
+
const getIsLambdaErrorResponse_1 = require("../../../domain.operations/lambdaEndpointWire/error/getIsLambdaErrorResponse");
|
|
8
|
+
const asUnprefixedErrorMessage_1 = require("../../../domain.operations/lambdaEndpointWire/serde/asUnprefixedErrorMessage");
|
|
9
9
|
const getIsHttpThrottle_1 = require("./getIsHttpThrottle");
|
|
10
10
|
const getOneCorrelationIdFromBody_1 = require("./getOneCorrelationIdFromBody");
|
|
11
11
|
const ERROR_TEXT_LENGTH_MAX = 1000;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asErrorFromHttpResponse.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asErrorFromHttpResponse.ts"],"names":[],"mappings":";;;AAAA,mDAAwE;AAExE,
|
|
1
|
+
{"version":3,"file":"asErrorFromHttpResponse.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asErrorFromHttpResponse.ts"],"names":[],"mappings":";;;AAAA,mDAAwE;AAExE,wEAAqE;AAGrE,oHAAiH;AACjH,wHAAsH;AACtH,wHAAqH;AAErH,2DAAwD;AACxD,+EAA4E;AAE5E,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAEnC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACI,MAAM,uBAAuB,GAAG,CAAC,KAQvC,EAA0E,EAAE;IAC3E,IAAI,KAAK,CAAC,MAAM,GAAG,+BAAc,CAAC,eAAe;QAAE,OAAO,IAAI,CAAC;IAE/D,6FAA6F;IAC7F,MAAM,QAAQ,GAAG,IAAA,oDAAyB,EAAC,KAAK,CAAC,IAAI,CAAC;QACpD,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK;QAClB,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,OAAO,GAAG,QAAQ;QACtB,CAAC,CAAC,IAAA,mDAAwB,EAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;QACzD,CAAC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askLambdaEndpoint/serde/asHeadersRecord.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;GASG;AACI,MAAM,eAAe,GAAG,CAAC,KAE/B,EAA0B,EAAE;IAC3B,MAAM,MAAM,GAA2B,EAAE,CAAC;IAC1C,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;QACnC,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACtB,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AARW,QAAA,eAAe,
|
|
1
|
+
{"version":3,"file":"asHeadersRecord.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asHeadersRecord.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;GASG;AACI,MAAM,eAAe,GAAG,CAAC,KAE/B,EAA0B,EAAE;IAC3B,MAAM,MAAM,GAA2B,EAAE,CAAC;IAC1C,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;QACnC,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACtB,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AARW,QAAA,eAAe,GAAf,eAAe,CAQ1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asHttpMethod.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asHttpMethod.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;GAWG;AACI,MAAM,YAAY,GAAG,CAAC,KAG5B,EAAU,EAAE;IACX,IAAI,KAAK,CAAC,MAAM;QAAE,OAAO,KAAK,CAAC,MAAM,CAAC;IACtC,OAAO,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;AACnD,CAAC,CAAC;AANW,QAAA,YAAY,
|
|
1
|
+
{"version":3,"file":"asHttpMethod.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asHttpMethod.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;GAWG;AACI,MAAM,YAAY,GAAG,CAAC,KAG5B,EAAU,EAAE;IACX,IAAI,KAAK,CAAC,MAAM;QAAE,OAAO,KAAK,CAAC,MAAM,CAAC;IACtC,OAAO,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;AACnD,CAAC,CAAC;AANW,QAAA,YAAY,GAAZ,YAAY,CAMvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asHttpRequestBody.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asHttpRequestBody.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAE7C;;;;;;;;;;GAUG;AACI,MAAM,iBAAiB,GAAG,CAAC,KAEjC,EAA4D,EAAE;IAC7D,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS;QAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IAC5E,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ;QAChC,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IACjD,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;AAC9E,CAAC,CAAC;AAPW,QAAA,iBAAiB,
|
|
1
|
+
{"version":3,"file":"asHttpRequestBody.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asHttpRequestBody.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAE7C;;;;;;;;;;GAUG;AACI,MAAM,iBAAiB,GAAG,CAAC,KAEjC,EAA4D,EAAE;IAC7D,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS;QAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IAC5E,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ;QAChC,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IACjD,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;AAC9E,CAAC,CAAC;AAPW,QAAA,iBAAiB,GAAjB,iBAAiB,CAO5B"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.asHttpRequestHeaders = void 0;
|
|
4
4
|
const TrailExidHeader_1 = require("../../../domain.objects/TrailExidHeader");
|
|
5
|
-
const asHeadersWithoutKey_1 = require("
|
|
6
|
-
const asTrailExidHeaders_1 = require("
|
|
5
|
+
const asHeadersWithoutKey_1 = require("../../../domain.operations/lambdaEndpointWire/frame/asHeadersWithoutKey");
|
|
6
|
+
const asTrailExidHeaders_1 = require("../../../domain.operations/lambdaEndpointWire/frame/asTrailExidHeaders");
|
|
7
7
|
const CONTENT_TYPE_HEADER = 'content-type';
|
|
8
8
|
/**
|
|
9
9
|
* .what = the headers an http request is sent with: the body's content type, the caller's, and the trail's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asHttpRequestHeaders.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asHttpRequestHeaders.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"asHttpRequestHeaders.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asHttpRequestHeaders.ts"],"names":[],"mappings":";;;AAAA,0EAAyE;AACzE,8GAA2G;AAC3G,4GAAyG;AAEzG,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAE3C;;;;;;;;;;;;;;;GAeG;AACI,MAAM,oBAAoB,GAAG,CAAC,KAIpC,EAA0B,EAAE;IAC3B,MAAM,eAAe,GAAG,IAAA,yCAAmB,EAAC;QAC1C,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,GAAG,EAAE,mCAAiB;KACvB,CAAC,CAAC;IACH,MAAM,kBAAkB,GAAG,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,IAAI,CAC1D,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,mBAAmB,CACrD,CAAC;IACF,OAAO;QACL,GAAG,CAAC,KAAK,CAAC,WAAW,IAAI,CAAC,kBAAkB;YAC1C,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,WAAW,EAAE;YAC9C,CAAC,CAAC,EAAE,CAAC;QACP,GAAG,eAAe;QAClB,GAAG,IAAA,uCAAkB,EAAC,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC;KAC9C,CAAC;AACJ,CAAC,CAAC;AAnBW,QAAA,oBAAoB,GAApB,oBAAoB,CAmB/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asLambdaEndpointRefusal.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asLambdaEndpointRefusal.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAElD,
|
|
1
|
+
{"version":3,"file":"asLambdaEndpointRefusal.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/asLambdaEndpointRefusal.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAElD,sFAIoD;AAEpD;;;;;;;;;;GAUG;AACI,MAAM,uBAAuB,GAAG,CAAC,KAEvC,EAAyB,EAAE;IAC1B,kDAAkD;IAClD,IAAI,KAAK,CAAC,QAAQ,KAAK,SAAS,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI;QACzD,OAAO,uCAAe,CAAC;IAEzB,oCAAoC;IACpC,MAAM,EAAE,GACN,OAAO,KAAK,CAAC,QAAQ,KAAK,QAAQ,IAAI,IAAI,IAAI,KAAK,CAAC,QAAQ;QAC1D,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;QACnB,CAAC,CAAC,SAAS,CAAC;IAChB,IAAI,EAAE,KAAK,iBAAiB;QAAE,OAAO,2CAAmB,CAAC;IACzD,IAAI,EAAE,KAAK,4BAA4B;QAAE,OAAO,uCAAe,CAAC;IAEhE,8FAA8F;IAC9F,4FAA4F;IAC5F,4FAA4F;IAC5F,gGAAgG;IAChG,OAAO,iCAAgB,CAAC,KAAK,CAC3B,qDAAqD,EACrD;QACE,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,OAAO,EAAE;YACP,EAAE,EAAE,EAAE,4BAA4B,EAAE;YACpC,EAAE,EAAE,EAAE,iBAAiB,EAAE;SAC1B;QACD,IAAI,EAAE,yOAAyO;KAChP,CACF,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,uBAAuB,GAAvB,uBAAuB,CA8BlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIsHttpThrottle.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/getIsHttpThrottle.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"getIsHttpThrottle.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/getIsHttpThrottle.ts"],"names":[],"mappings":";;;AAAA,wEAAqE;AAErE;;;;;;;GAOG;AACI,MAAM,iBAAiB,GAAG,CAAC,KAAyB,EAAW,EAAE,CACtE,KAAK,CAAC,MAAM,KAAK,+BAAc,CAAC,qBAAqB,CAAC;AAD3C,QAAA,iBAAiB,GAAjB,iBAAiB,CAC0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLambdaPayload.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/getLambdaPayload.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACI,MAAM,gBAAgB,GAAG,CAAS,KAGxC,EAA8C,EAAE;IAC/C,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE;KAClC,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,gBAAgB,
|
|
1
|
+
{"version":3,"file":"getLambdaPayload.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/getLambdaPayload.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACI,MAAM,gBAAgB,GAAG,CAAS,KAGxC,EAA8C,EAAE;IAC/C,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE;KAClC,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,gBAAgB,GAAhB,gBAAgB,CAQ3B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getOneBodyFromHttpText = void 0;
|
|
4
|
-
const getParsedJson_1 = require("
|
|
4
|
+
const getParsedJson_1 = require("../../../domain.operations/lambdaEndpointWire/serde/getParsedJson");
|
|
5
5
|
/**
|
|
6
6
|
* .what = reads a response body's json out of its text, or null when it holds none
|
|
7
7
|
* .why = an endpoint answers json, but a gateway's own 404 or 502 answers html or empty. null says
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOneBodyFromHttpText.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/getOneBodyFromHttpText.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"getOneBodyFromHttpText.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/getOneBodyFromHttpText.ts"],"names":[],"mappings":";;;AAAA,kGAA+F;AAE/F;;;;;;GAMG;AACI,MAAM,sBAAsB,GAAG,CAAC,KAAuB,EAAW,EAAE;IACzE,IAAI,CAAC,KAAK,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IAC7B,MAAM,MAAM,GAAG,IAAA,6BAAa,EAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;IACnD,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAC7C,CAAC,CAAC;AAJW,QAAA,sBAAsB,GAAtB,sBAAsB,CAIjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOneCorrelationIdFromBody.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/getOneCorrelationIdFromBody.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACI,MAAM,2BAA2B,GAAG,CAAC,KAE3C,EAAiB,EAAE;IAClB,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IACvE,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IAC/D,OAAO,OAAO,aAAa,KAAK,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC;AAClE,CAAC,CAAC;AANW,QAAA,2BAA2B
|
|
1
|
+
{"version":3,"file":"getOneCorrelationIdFromBody.js","sourceRoot":"","sources":["../../../../src/domain.operations/askLambdaEndpoint/serde/getOneCorrelationIdFromBody.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACI,MAAM,2BAA2B,GAAG,CAAC,KAE3C,EAAiB,EAAE;IAClB,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IACvE,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IAC/D,OAAO,OAAO,aAAa,KAAK,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC;AAClE,CAAC,CAAC;AANW,QAAA,2BAA2B,GAA3B,2BAA2B,CAMtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asContextLogTrail.js","sourceRoot":"","sources":["../../../src/domain.operations/genLambdaEndpoint/asContextLogTrail.ts"],"names":[],"mappings":";;;AAGA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACI,MAAM,iBAAiB,GAAG,CAAC,KAEjC,EAAmB,EAAE,CAAC,KAAK,CAAC,OAAqC,CAAC;AAFtD,QAAA,iBAAiB,
|
|
1
|
+
{"version":3,"file":"asContextLogTrail.js","sourceRoot":"","sources":["../../../src/domain.operations/genLambdaEndpoint/asContextLogTrail.ts"],"names":[],"mappings":";;;AAGA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACI,MAAM,iBAAiB,GAAG,CAAC,KAEjC,EAAmB,EAAE,CAAC,KAAK,CAAC,OAAqC,CAAC;AAFtD,QAAA,iBAAiB,GAAjB,iBAAiB,CAEqC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { forApiGateway } from './genLambdaEndpoint.forApiGateway/genLambdaEndpoint.forApiGateway';
|
|
2
|
+
import { forAsk } from './genLambdaEndpoint.forAsk/genLambdaEndpoint.forAsk';
|
|
1
3
|
/**
|
|
2
4
|
* .what = the `genLambdaEndpoint` family — every variant, reachable under one name
|
|
3
5
|
* .why = a family's name must belong to the family, never to one of its variants
|
|
@@ -18,10 +20,10 @@
|
|
|
18
20
|
* (`genLambdaEndpoint.forSqs.ts`)
|
|
19
21
|
*/
|
|
20
22
|
export declare const genLambdaEndpoint: {
|
|
21
|
-
forAsk:
|
|
22
|
-
forApiGateway:
|
|
23
|
+
forAsk: typeof forAsk;
|
|
24
|
+
forApiGateway: typeof forApiGateway;
|
|
23
25
|
forSqs: {
|
|
24
|
-
perRecord:
|
|
25
|
-
perBatch:
|
|
26
|
+
perRecord: typeof import("./genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perRecord").perRecord;
|
|
27
|
+
perBatch: typeof import("./genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perBatch").perBatch;
|
|
26
28
|
};
|
|
27
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asApiGatewayRequestEventUnified.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayRequestEventUnified.ts"],"names":[],"mappings":";;;AACA,mDAAkD;
|
|
1
|
+
{"version":3,"file":"asApiGatewayRequestEventUnified.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayRequestEventUnified.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAKlD,qEAAkE;AAClE,mFAAgF;AAChF,mFAAgF;AAEhF;;;;;;;GAOG;AACH,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAW,EAAE;IACZ,IAAI,CAAC,KAAK,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IAE7B,MAAM,OAAO,GAAG,KAAK,CAAC,eAAe;QACnC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;QACrD,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC;IA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A+B,GAAG,CAC7C,KAA6C,EAC7C,OAA+C,EACS,EAAE;IAC1D,MAAM,WAAW,GAAG,OAAO,EAAE,WAAW,IAAI,QAAA,mBAAmB,CAAC;IAEhE,4DAA4D;IAC5D,IAAI,IAAA,6DAA6B,EAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9C,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QAExB,OAAO,cAAc,CAAC;YACpB,IAAI;YACJ,MAAM,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM;YACvC,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IAED,iDAAiD;IACjD,IAAI,IAAA,6DAA6B,EAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9C,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QAExB,OAAO,cAAc,CAAC;YACpB,IAAI;YACJ,MAAM,EAAE,IAAI,CAAC,UAAU;YACvB,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IAED,uEAAuE;IACvE,OAAO,iCAAgB,CAAC,KAAK,CAC3B,oDAAoD,EACpD,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CACrB,CAAC;AACJ,CAAC,CAAC;AAjCW,QAAA,+BAA+B,GAA/B,+BAA+B,CAiC1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asApiGatewayResponseOnwire.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseOnwire.ts"],"names":[],"mappings":";;;AAGA;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,0BAA0B,GAAG,CAAW,KAEpD,EAAsC,EAAE,CAAC,CAAC;IACzC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,IAAI,GAAG;IACxC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACtE,GAAG,CAAC,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;CACzE,CAAC,CAAC;AANU,QAAA,0BAA0B,
|
|
1
|
+
{"version":3,"file":"asApiGatewayResponseOnwire.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseOnwire.ts"],"names":[],"mappings":";;;AAGA;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,0BAA0B,GAAG,CAAW,KAEpD,EAAsC,EAAE,CAAC,CAAC;IACzC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,IAAI,GAAG;IACxC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACtE,GAAG,CAAC,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;CACzE,CAAC,CAAC;AANU,QAAA,0BAA0B,GAA1B,0BAA0B,CAMpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asApiGatewayResponseOnwireJson.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseOnwireJson.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AACI,MAAM,8BAA8B,GAAG,CAAC,KAG9C,EAA4B,EAAE,CAAC,CAAC;IAC/B,UAAU,EAAE,KAAK,CAAC,MAAM;IACxB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC;IACnC,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;CAChD,CAAC,CAAC;AAPU,QAAA,8BAA8B,
|
|
1
|
+
{"version":3,"file":"asApiGatewayResponseOnwireJson.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseOnwireJson.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AACI,MAAM,8BAA8B,GAAG,CAAC,KAG9C,EAA4B,EAAE,CAAC,CAAC;IAC/B,UAAU,EAAE,KAAK,CAAC,MAAM;IACxB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC;IACnC,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;CAChD,CAAC,CAAC;AAPU,QAAA,8BAA8B,GAA9B,8BAA8B,CAOxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asApiGatewayResponseSchema.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseSchema.ts"],"names":[],"mappings":";;;AAAA,6BAAwC;AAIxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACI,MAAM,0BAA0B,GAAG,CAAW,KAEpD,EAA2C,EAAE,CAC5C,OAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpD,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE;CAClC,CAAuD,CAAC;AAP9C,QAAA,0BAA0B,
|
|
1
|
+
{"version":3,"file":"asApiGatewayResponseSchema.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseSchema.ts"],"names":[],"mappings":";;;AAAA,6BAAwC;AAIxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACI,MAAM,0BAA0B,GAAG,CAAW,KAEpD,EAA2C,EAAE,CAC5C,OAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpD,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE;CAClC,CAAuD,CAAC;AAP9C,QAAA,0BAA0B,GAA1B,0BAA0B,CAOoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asCorsHeadersWithTrail.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asCorsHeadersWithTrail.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"asCorsHeadersWithTrail.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asCorsHeadersWithTrail.ts"],"names":[],"mappings":";;;AAAA,0EAAyE;AAEzE;;;;;;;;GAQG;AACI,MAAM,sBAAsB,GAAG,CAAC,KAA0B,EAAU,EAAE;IAC3E,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO;SACzB,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,CAAC;IAChD,IAAI,MAAM,CAAC,QAAQ,CAAC,mCAAiB,CAAC;QAAE,OAAO,KAAK,CAAC,OAAO,CAAC;IAE7D,gFAAgF;IAChF,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAC7D,OAAO,YAAY,KAAK,EAAE;QACxB,CAAC,CAAC,mCAAiB;QACnB,CAAC,CAAC,GAAG,YAAY,IAAI,mCAAiB,EAAE,CAAC;AAC7C,CAAC,CAAC;AAXW,QAAA,sBAAsB,GAAtB,sBAAsB,CAWjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asHeaderKeysLowercased.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asHeaderKeysLowercased.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACI,MAAM,sBAAsB,GAAG,CAAC,KAEtC,EAA2B,EAAE;IAC5B,IAAI,CAAC,KAAK,CAAC,OAAO;QAAE,OAAO,EAAE,CAAC;IAE9B,OAAO,MAAM,CAAC,WAAW,CACvB,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;QAClD,GAAG,CAAC,WAAW,EAAE;QACjB,KAAK;KACN,CAAC,CACH,CAAC;AACJ,CAAC,CAAC;AAXW,QAAA,sBAAsB,
|
|
1
|
+
{"version":3,"file":"asHeaderKeysLowercased.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asHeaderKeysLowercased.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACI,MAAM,sBAAsB,GAAG,CAAC,KAEtC,EAA2B,EAAE;IAC5B,IAAI,CAAC,KAAK,CAAC,OAAO;QAAE,OAAO,EAAE,CAAC;IAE9B,OAAO,MAAM,CAAC,WAAW,CACvB,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;QAClD,GAAG,CAAC,WAAW,EAAE;QACjB,KAAK;KACN,CAAC,CACH,CAAC;AACJ,CAAC,CAAC;AAXW,QAAA,sBAAsB,GAAtB,sBAAsB,CAWjC"}
|
|
@@ -7,7 +7,7 @@ import type { ApiGatewayRequestEventOnwire } from '../../../domain.objects/ApiGa
|
|
|
7
7
|
import type { ApiGatewayResponse } from '../../../domain.objects/ApiGatewayResponse';
|
|
8
8
|
import type { ApiGatewayResponseOnwire } from '../../../domain.objects/ApiGatewayResponseOnwire';
|
|
9
9
|
import type { ContextAwsLambdaServer } from '../../../domain.objects/ContextAwsLambdaServer';
|
|
10
|
-
import type { TranslateLog } from '
|
|
10
|
+
import type { TranslateLog } from '../../../domain.operations/genLambdaEndpoint/TranslateLog';
|
|
11
11
|
import type { ApiGatewayHeadersDeclared, ApiGatewayHeadersMerged, ApiGatewayRequestEventUnified } from './ApiGatewayRequestEventUnified';
|
|
12
12
|
/**
|
|
13
13
|
* .what = the cors contract for an api-gateway handler
|
|
@@ -9,15 +9,15 @@ const http_cors_1 = __importDefault(require("@middy/http-cors"));
|
|
|
9
9
|
const http_response_serializer_1 = __importDefault(require("@middy/http-response-serializer"));
|
|
10
10
|
const http_security_headers_1 = __importDefault(require("@middy/http-security-headers"));
|
|
11
11
|
const helpful_errors_1 = require("helpful-errors");
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
12
|
+
const asContextLogTrail_1 = require("../../../domain.operations/genLambdaEndpoint/asContextLogTrail");
|
|
13
|
+
const genConstraintErrorMiddleware_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/genConstraintErrorMiddleware");
|
|
14
|
+
const genInternalServiceErrorMiddleware_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/genInternalServiceErrorMiddleware");
|
|
15
|
+
const genIntrospectionMiddleware_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/genIntrospectionMiddleware");
|
|
16
|
+
const genIoLoggerMiddleware_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/genIoLoggerMiddleware");
|
|
17
|
+
const genTrailMiddleware_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/genTrailMiddleware");
|
|
18
|
+
const getValidatedOutput_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/getValidatedOutput");
|
|
19
|
+
const setEventFrozen_1 = require("../../../domain.operations/genLambdaEndpoint/setEventFrozen");
|
|
20
|
+
const setHandlerTrailCarrier_1 = require("../../../domain.operations/lambdaEndpointWire/frame/setHandlerTrailCarrier");
|
|
21
21
|
const asApiGatewayRequestEventUnified_1 = require("./asApiGatewayRequestEventUnified");
|
|
22
22
|
const asApiGatewayResponseOnwire_1 = require("./asApiGatewayResponseOnwire");
|
|
23
23
|
const asApiGatewayResponseOnwireJson_1 = require("./asApiGatewayResponseOnwireJson");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genLambdaEndpoint.forApiGateway.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/genLambdaEndpoint.forApiGateway.ts"],"names":[],"mappings":";;;;;;AAAA,uDAAgC;AAChC,iEAAwC;AACxC,+FAAqE;AACrE,yFAA+D;AAE/D,mDAAkD;AAUlD,
|
|
1
|
+
{"version":3,"file":"genLambdaEndpoint.forApiGateway.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/genLambdaEndpoint.forApiGateway.ts"],"names":[],"mappings":";;;;;;AAAA,uDAAgC;AA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CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtE,IAAA,+BAAmB,EAAC;YAClB,YAAY,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;SACjC,CAAC;QACF,IAAA,mGAAgD,EAAC;YAC/C,YAAY,EAAE,WAAW,CAAC,OAAO;SAClC,CAAC;QACF;;;;;WAKG;QACH,IAAA,uCAAkB,EAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,CAAC;QACpD,IAAA,uDAA0B,EAAC;YACzB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,GAAG,EAAE,OAAO,EAAE,GAAG;YACjB;;;;;;eAMG;YACH,YAAY,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO;YACjD,aAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CACxB,IAAA,+DAA8B,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;SACnE,CAAC;QACF,IAAA,iEAA+B,EAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;KACjE,CAAC;IAEF;;;;;;;;OAQG;IACH,OAAO,IAAA,+CAAsB,EAAC;QAC5B,OAAO,EAAE,IAAA,cAAK,EACZ,KAGsC,CACvC,CAAC,GAAG,CAAC,WAAW,CAAC;QAClB,OAAO,EAAE,mBAAmB;KAC7B,CAAC,CAAC;AACL,CAAC,CAAC;AArOW,QAAA,aAAa,GAAb,aAAa,CAqOxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllResponseOnwireKeysFound.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getAllResponseOnwireKeysFound.ts"],"names":[],"mappings":";;;AAqBA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,8BAA8B,GAClC;IACE,UAAU,EAAE,IAAI;IAChB,IAAI,EAAE,IAAI;IACV,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,OAAO,EAAE,IAAI;CACd,CAAC;AAEJ;;;GAGG;AACH,MAAM,qBAAqB,GAAa,MAAM,CAAC,IAAI,CACjD,8BAA8B,CAC/B,CAAC;AAEF;;;;GAIG;AACI,MAAM,6BAA6B,GAAG,CAAC,KAE7C,EAAY,EAAE,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC;AAFhE,QAAA,6BAA6B,
|
|
1
|
+
{"version":3,"file":"getAllResponseOnwireKeysFound.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getAllResponseOnwireKeysFound.ts"],"names":[],"mappings":";;;AAqBA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,8BAA8B,GAClC;IACE,UAAU,EAAE,IAAI;IAChB,IAAI,EAAE,IAAI;IACV,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,OAAO,EAAE,IAAI;CACd,CAAC;AAEJ;;;GAGG;AACH,MAAM,qBAAqB,GAAa,MAAM,CAAC,IAAI,CACjD,8BAA8B,CAC/B,CAAC;AAEF;;;;GAIG;AACI,MAAM,6BAA6B,GAAG,CAAC,KAE7C,EAAY,EAAE,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC;AAFhE,QAAA,6BAA6B,GAA7B,6BAA6B,CAEmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCorsOrigin.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getCorsOrigin.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACI,MAAM,aAAa,GAAG,CAAC,KAI7B,EAAiB,EAAE;IAClB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAEtD,uFAAuF;IACvF,kGAAkG;IAClG,IAAI,OAAO,KAAK,GAAG,IAAI,WAAW,IAAI,aAAa;QAAE,OAAO,aAAa,CAAC;IAE1E,iDAAiD;IACjD,IAAI,OAAO,KAAK,GAAG;QAAE,OAAO,GAAG,CAAC;IAEhC,sCAAsC;IACtC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QAC5B,2EAA2E;QAC3E,IAAI,aAAa,IAAI,aAAa,KAAK,OAAO,EAAE,CAAC;YAC/C,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,kEAAkE;QAClE,4DAA4D;QAC5D,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,iDAAiD;IACjD,IAAI,aAAa,IAAI,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;QACrD,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,mEAAmE;IACnE,qFAAqF;IACrF,IAAI,CAAC,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzC,OAAO,OAAO,CAAC,CAAC,CAAE,CAAC;IACrB,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AArCW,QAAA,aAAa,
|
|
1
|
+
{"version":3,"file":"getCorsOrigin.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getCorsOrigin.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACI,MAAM,aAAa,GAAG,CAAC,KAI7B,EAAiB,EAAE;IAClB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAEtD,uFAAuF;IACvF,kGAAkG;IAClG,IAAI,OAAO,KAAK,GAAG,IAAI,WAAW,IAAI,aAAa;QAAE,OAAO,aAAa,CAAC;IAE1E,iDAAiD;IACjD,IAAI,OAAO,KAAK,GAAG;QAAE,OAAO,GAAG,CAAC;IAEhC,sCAAsC;IACtC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QAC5B,2EAA2E;QAC3E,IAAI,aAAa,IAAI,aAAa,KAAK,OAAO,EAAE,CAAC;YAC/C,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,kEAAkE;QAClE,4DAA4D;QAC5D,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,iDAAiD;IACjD,IAAI,aAAa,IAAI,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;QACrD,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,mEAAmE;IACnE,qFAAqF;IACrF,IAAI,CAAC,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzC,OAAO,OAAO,CAAC,CAAC,CAAE,CAAC;IACrB,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AArCW,QAAA,aAAa,GAAb,aAAa,CAqCxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIsV1ApiGatewayRequestEvent.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getIsV1ApiGatewayRequestEvent.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACI,MAAM,6BAA6B,GAAG,CAC3C,KAAc,EACiB,EAAE;IACjC,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IACtD,MAAM,GAAG,GAAG,KAAgC,CAAC;IAE7C,iEAAiE;IACjE,OAAO,OAAO,GAAG,CAAC,UAAU,KAAK,QAAQ,CAAC;AAC5C,CAAC,CAAC;AARW,QAAA,6BAA6B,
|
|
1
|
+
{"version":3,"file":"getIsV1ApiGatewayRequestEvent.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getIsV1ApiGatewayRequestEvent.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACI,MAAM,6BAA6B,GAAG,CAC3C,KAAc,EACiB,EAAE;IACjC,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IACtD,MAAM,GAAG,GAAG,KAAgC,CAAC;IAE7C,iEAAiE;IACjE,OAAO,OAAO,GAAG,CAAC,UAAU,KAAK,QAAQ,CAAC;AAC5C,CAAC,CAAC;AARW,QAAA,6BAA6B,GAA7B,6BAA6B,CAQxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIsV2ApiGatewayRequestEvent.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getIsV2ApiGatewayRequestEvent.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACI,MAAM,6BAA6B,GAAG,CAC3C,KAAc,EACmB,EAAE;IACnC,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IACtD,MAAM,GAAG,GAAG,KAAgC,CAAC;IAE7C,4CAA4C;IAC5C,OAAO,GAAG,CAAC,OAAO,KAAK,KAAK,CAAC;AAC/B,CAAC,CAAC;AARW,QAAA,6BAA6B,
|
|
1
|
+
{"version":3,"file":"getIsV2ApiGatewayRequestEvent.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getIsV2ApiGatewayRequestEvent.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACI,MAAM,6BAA6B,GAAG,CAC3C,KAAc,EACmB,EAAE;IACnC,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IACtD,MAAM,GAAG,GAAG,KAAgC,CAAC;IAE7C,4CAA4C;IAC5C,OAAO,GAAG,CAAC,OAAO,KAAK,KAAK,CAAC;AAC/B,CAAC,CAAC;AARW,QAAA,6BAA6B,GAA7B,6BAA6B,CAQxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isApiGatewayResponse.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/isApiGatewayResponse.ts"],"names":[],"mappings":";;;AAAA,uCAAsC;
|
|
1
|
+
{"version":3,"file":"isApiGatewayResponse.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/isApiGatewayResponse.ts"],"names":[],"mappings":";;;AAAA,uCAAsC;AAItC,mFAAgF;AAEhF;;;;;;;;;;;;;;;;;;;GAmBG;AACU,QAAA,oBAAoB,GAAG,IAAA,qBAAU,EAC5C,CAAC,KAAc,EAAwC,EAAE;IACvD,wDAAwD;IACxD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAE9D,2DAA2D;IAC3D,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAEvC,+EAA+E;IAC/E,IAAI,IAAA,6DAA6B,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM;QAAE,OAAO,KAAK,CAAC;IAE5E,0EAA0E;IAC1E,OAAO,QAAQ,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,CAAC;AACvE,CAAC,EACD,EAAE,IAAI,EAAE,sBAAsB,EAAE,CACjC,CAAC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.genApiGatewayRequestEventNormalizationMiddleware = void 0;
|
|
4
4
|
const helpful_errors_1 = require("helpful-errors");
|
|
5
5
|
const TrailExidHeader_1 = require("../../../../domain.objects/TrailExidHeader");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
6
|
+
const asApiGatewayRequestEventUnified_1 = require("../../../../domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayRequestEventUnified");
|
|
7
|
+
const getIsWrappedPayload_1 = require("../../../../domain.operations/lambdaEndpointWire/frame/getIsWrappedPayload");
|
|
8
8
|
/**
|
|
9
9
|
* .what = replaces the event with the v1/v2-reconciled shape
|
|
10
10
|
* .why = the api-gateway chain must read the same whichever version the trigger delivers, so
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genApiGatewayRequestEventNormalizationMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genApiGatewayRequestEventNormalizationMiddleware.ts"],"names":[],"mappings":";;;AACA,mDAAiD;AAGjD,
|
|
1
|
+
{"version":3,"file":"genApiGatewayRequestEventNormalizationMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genApiGatewayRequestEventNormalizationMiddleware.ts"],"names":[],"mappings":";;;AACA,mDAAiD;AAGjD,0EAAyE;AACzE,+JAA4J;AAC5J,8GAA2G;AAE3G;;;;;;;;GAQG;AACI,MAAM,gDAAgD,GAAG,CAAC,KAEhE,EAEC,EAAE;IACF,MAAM,MAAM,GAAiC,KAAK,EAAE,OAAO,EAAE,EAAE;QAC7D;;;;;;;;;WASG;QACH,IAAI,IAAA,yCAAmB,EAAC,OAAO,CAAC,KAAK,CAAC;YACpC,gCAAe,CAAC,KAAK,CACnB,iFAAiF,EACjF;gBACE,GAAG,EAAE;oBACH,6HAA6H,mCAAiB,SAAS;oBACvJ,mNAAmN;oBACnN,sGAAsG,mCAAiB,kBAAkB;oBACzI,uFAAuF;iBACxF;aACF,CACF,CAAC;QAEJ;;;;;;;;;WASG;QACH,OAAO,CAAC,KAAK,GAAG,IAAA,iEAA+B,EAC7C,EAAE,IAAI,EAAE,OAAO,CAAC,KAAqC,EAAE,EACvD,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,YAAY,EAAE,EAAE,CACd,CAAC;IACvC,CAAC,CAAC;IAEF,OAAO,EAAE,MAAM,EAAE,CAAC;AACpB,CAAC,CAAC;AA9CW,QAAA,gDAAgD,GAAhD,gDAAgD,CA8C3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genContentTypeCoherenceMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genContentTypeCoherenceMiddleware.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;GAcG;AACI,MAAM,iCAAiC,GAAG,GAG/C,EAAE;IACF,MAAM,UAAU,GAAiC,KAAK,EAAE,OAAO,EAAE,EAAE;QACjE,2DAA2D;QAC3D,IAAI,CAAC,OAAO,CAAC,QAAQ;YAAE,OAAO;QAE9B,6EAA6E;QAC7E,IAAI,OAAO,CAAC,QAAQ,CAAC,IAAI,KAAK,SAAS;YAAE,OAAO;QAEhD;;;;;;WAMG;QACH,MAAM,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,OAEpB,CAAC;QACd,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB;;;;;WAKG;QACH,OAAO,CAAC,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,CAC3C,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAC5B,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,KAAK,cAAc,CAChD,CACF,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACpD,CAAC,CAAC;AArCW,QAAA,iCAAiC,
|
|
1
|
+
{"version":3,"file":"genContentTypeCoherenceMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genContentTypeCoherenceMiddleware.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;GAcG;AACI,MAAM,iCAAiC,GAAG,GAG/C,EAAE;IACF,MAAM,UAAU,GAAiC,KAAK,EAAE,OAAO,EAAE,EAAE;QACjE,2DAA2D;QAC3D,IAAI,CAAC,OAAO,CAAC,QAAQ;YAAE,OAAO;QAE9B,6EAA6E;QAC7E,IAAI,OAAO,CAAC,QAAQ,CAAC,IAAI,KAAK,SAAS;YAAE,OAAO;QAEhD;;;;;;WAMG;QACH,MAAM,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,OAEpB,CAAC;QACd,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB;;;;;WAKG;QACH,OAAO,CAAC,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,CAC3C,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAC5B,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,KAAK,cAAc,CAChD,CACF,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACpD,CAAC,CAAC;AArCW,QAAA,iCAAiC,GAAjC,iCAAiC,CAqC5C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type middy from '@middy/core';
|
|
2
2
|
import type { ZodSchema } from 'zod';
|
|
3
|
-
import type { ApiGatewayHeadersDeclared } from '
|
|
3
|
+
import type { ApiGatewayHeadersDeclared } from '../../../../domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/ApiGatewayRequestEventUnified';
|
|
4
4
|
/**
|
|
5
5
|
* .what = validates the pair a caller may constrain — `{ headers?, payload }` — against
|
|
6
6
|
* `schema.input`, then writes the validated values back into the envelope
|
|
@@ -26,7 +26,20 @@ import type { ApiGatewayHeadersDeclared } from '../ApiGatewayRequestEventUnified
|
|
|
26
26
|
* (`asApiGatewayRequestEventUnified.ts`), so a reader who greps the interface will not
|
|
27
27
|
* find it
|
|
28
28
|
*/
|
|
29
|
-
export declare const genZodInputValidationMiddleware: <
|
|
29
|
+
export declare const genZodInputValidationMiddleware: <
|
|
30
|
+
/**
|
|
31
|
+
* .why bound = the write-back below spreads this value over the wire bag, so a `THeaders` that
|
|
32
|
+
* is not a record spreads as one — `{ ...'abc' }` is `{ 0: 'a', 1: 'b', 2: 'c' }`,
|
|
33
|
+
* injected into the slot `@middy/http-cors` reads
|
|
34
|
+
* (`rule.require.illegal-states-unrepresentable`)
|
|
35
|
+
*
|
|
36
|
+
* .why the SAME named bound as `ForApiGatewayInput` = this operation is a public export of its
|
|
37
|
+
* own (`index.ts`), so a direct consumer reaches it without `forApiGateway` at all — and
|
|
38
|
+
* `[case20]`, the clamp that proves the bound bites, enters through `forApiGateway`. a
|
|
39
|
+
* textual copy here could drift with no clamp to catch it. one named type makes that
|
|
40
|
+
* divergence a type error rather than a human obligation
|
|
41
|
+
*/
|
|
42
|
+
THeaders extends ApiGatewayHeadersDeclared, TPayload>(input: {
|
|
30
43
|
schema: ZodSchema<{
|
|
31
44
|
headers?: THeaders;
|
|
32
45
|
payload: TPayload;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.genZodInputValidationMiddleware = void 0;
|
|
4
|
-
const getValidatedInput_1 = require("
|
|
4
|
+
const getValidatedInput_1 = require("../../../../domain.operations/genLambdaEndpoint/middleware/getValidatedInput");
|
|
5
5
|
/**
|
|
6
6
|
* .what = validates the pair a caller may constrain — `{ headers?, payload }` — against
|
|
7
7
|
* `schema.input`, then writes the validated values back into the envelope
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genZodInputValidationMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genZodInputValidationMiddleware.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"genZodInputValidationMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genZodInputValidationMiddleware.ts"],"names":[],"mappings":";;;AAOA,8GAA2G;AAE3G;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACI,MAAM,+BAA+B,GAAG,CAe7C,KAED,EAEC,EAAE;IACF,MAAM,MAAM,GAAiC,KAAK,EAAE,OAAO,EAAE,EAAE;QAC7D;;;;;;;;;;;;;;;WAeG;QACH,MAAM,KAAK,GAAG,OAAO,CAAC,KAAsC,CAAC;QAE7D;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,MAAM,UAAU,GAAG,IAAA,qCAAiB,EAAC;YACnC,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE;SAC1D,CAAC,CAAC;QAEH;;;;;;WAMG;QAEH;;;;;;;;;;;;;;;;;;WAkBG;QACH,KAAK,CAAC,OAAO,GAAG,EAAE,GAAG,KAAK,CAAC,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;QAE5D;;;;;;WAMG;QACH,KAAK,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IACrC,CAAC,CAAC;IAEF,OAAO,EAAE,MAAM,EAAE,CAAC;AACpB,CAAC,CAAC;AAzGW,QAAA,+BAA+B,GAA/B,+BAA+B,CAyG1C"}
|
|
@@ -4,8 +4,8 @@ import type { ContextLogTrail } from 'sdk-logs';
|
|
|
4
4
|
import { type FrozenDeep } from 'type-fns';
|
|
5
5
|
import type { ZodSchema } from 'zod';
|
|
6
6
|
import type { ContextAwsLambdaServer } from '../../../domain.objects/ContextAwsLambdaServer';
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
7
|
+
import type { TranslateLog } from '../../../domain.operations/genLambdaEndpoint/TranslateLog';
|
|
8
|
+
import type { WrappedPayload } from '../../../domain.operations/lambdaEndpointWire/frame/getIsWrappedPayload';
|
|
9
9
|
/**
|
|
10
10
|
* .what = wrapped payload format: event nested under `event` key with trail
|
|
11
11
|
* .why = re-exported from its canonical owner (`lambdaEndpointWire/frame`), the common
|
|
@@ -6,15 +6,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.forAsk = void 0;
|
|
7
7
|
const core_1 = __importDefault(require("@middy/core"));
|
|
8
8
|
const type_fns_1 = require("type-fns");
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
9
|
+
const asContextLogTrail_1 = require("../../../domain.operations/genLambdaEndpoint/asContextLogTrail");
|
|
10
|
+
const genConstraintErrorMiddleware_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/genConstraintErrorMiddleware");
|
|
11
|
+
const genInternalServiceErrorMiddleware_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/genInternalServiceErrorMiddleware");
|
|
12
|
+
const genIntrospectionMiddleware_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/genIntrospectionMiddleware");
|
|
13
|
+
const genIoLoggerMiddleware_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/genIoLoggerMiddleware");
|
|
14
|
+
const genTrailMiddleware_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/genTrailMiddleware");
|
|
15
|
+
const getValidatedOutput_1 = require("../../../domain.operations/genLambdaEndpoint/middleware/getValidatedOutput");
|
|
16
|
+
const setEventFrozen_1 = require("../../../domain.operations/genLambdaEndpoint/setEventFrozen");
|
|
17
|
+
const setHandlerTrailCarrier_1 = require("../../../domain.operations/lambdaEndpointWire/frame/setHandlerTrailCarrier");
|
|
18
18
|
const genAskEventOnwireCaptureMiddleware_1 = require("./middleware/genAskEventOnwireCaptureMiddleware");
|
|
19
19
|
const genLambdaEventRefusedLogMiddleware_1 = require("./middleware/genLambdaEventRefusedLogMiddleware");
|
|
20
20
|
const genZodEventValidationMiddleware_1 = require("./middleware/genZodEventValidationMiddleware");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genLambdaEndpoint.forAsk.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/genLambdaEndpoint.forAsk.ts"],"names":[],"mappings":";;;;;;AAAA,uDAAgC;AAGhC,uCAAsD;
|
|
1
|
+
{"version":3,"file":"genLambdaEndpoint.forAsk.js","sourceRoot":"","sources":["../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/genLambdaEndpoint.forAsk.ts"],"names":[],"mappings":";;;;;;AAAA,uDAAgC;AAGhC,uCAAsD;AAKtD,mGAAgG;AAChG,oIAAiI;AACjI,8IAA2I;AAC3I,gIAA6H;AAC7H,sHAAmH;AACnH,gHAA6G;AAC7G,gHAA6G;AAC7G,6FAA0F;AAG1F,oHAAiH;AAEjH,wGAAqG;AACrG,wGAAqG;AACrG,kGAA+F;AAE/F;;;;;GAKG;AACH,MAAM,WAAW,GAAiB,SAAS,CAAC;AAqH5C;;;;;;;;;GASG;AACI,MAAM,MAAM,GAAG;AACpB,4FAA4F;AAC5F,KAA4D,EAC5D,OAAgC,EAQhC,EAAE;IACF,6DAA6D;IAC7D,MAAM,KAAK,GAAG,KAAK,EACjB,KAA8B,EAC9B,aAAsB,EACJ,EAAE;QACpB,qFAAqF;QACrF,MAAM,EAAE,GAAG,EAAE,GAAG,IAAA,qCAAiB,EAAC,EAAE,OAAO,EAAE,aAAa,EAAE,CAAC,CAAC;QAE9D;;;;;;WAMG;QACH,MAAM,WAAW,GAAG,IAAA,+BAAc,EAAC,EAAE,KAAK,EAAE,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AE,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;KAChE,CAAC,MAAM,CAAC,oBAAS,CAAC,CAAC;IAEpB;;;;;OAKG;IACH,OAAO,IAAA,+CAAsB,EAAC;QAC5B,OAAO,EAAE,IAAA,cAAK,EACZ,KAGqB,CACtB,CAAC,GAAG,CAAC,WAAW,CAAC;QAClB,OAAO,EAAE,WAAW;KACrB,CAAC,CAAC;AACL,CAAC,CAAC;AAvFW,QAAA,MAAM,GAAN,MAAM,CAuFjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genAskEventOnwireCaptureMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genAskEventOnwireCaptureMiddleware.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACU,QAAA,uBAAuB,GAAG,gBAAgB,CAAC;AAExD;;;;;;;;GAQG;AACI,MAAM,kCAAkC,GAAG,GAEhD,EAAE;IACF,MAAM,MAAM,GAAiC,KAAK,EAAE,OAAO,EAAE,EAAE;QAC7D,yFAAyF;QACzF,OAAO,CAAC,QAAQ,GAAG;YACjB,GAAG,OAAO,CAAC,QAAQ;YACnB,CAAC
|
|
1
|
+
{"version":3,"file":"genAskEventOnwireCaptureMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genAskEventOnwireCaptureMiddleware.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACU,QAAA,uBAAuB,GAAG,gBAAgB,CAAC;AAExD;;;;;;;;GAQG;AACI,MAAM,kCAAkC,GAAG,GAEhD,EAAE;IACF,MAAM,MAAM,GAAiC,KAAK,EAAE,OAAO,EAAE,EAAE;QAC7D,yFAAyF;QACzF,OAAO,CAAC,QAAQ,GAAG;YACjB,GAAG,OAAO,CAAC,QAAQ;YACnB,CAAC,QAAA,uBAAuB,CAAC,EAAE,OAAO,CAAC,KAAK;SACzC,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,EAAE,MAAM,EAAE,CAAC;AACpB,CAAC,CAAC;AAZW,QAAA,kCAAkC,GAAlC,kCAAkC,CAY7C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.genLambdaEventRefusedLogMiddleware = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
4
|
+
const asCallerFault_1 = require("../../../../domain.operations/genLambdaEndpoint/middleware/asCallerFault");
|
|
5
|
+
const asContextTrailed_1 = require("../../../../domain.operations/genLambdaEndpoint/middleware/asContextTrailed");
|
|
6
|
+
const getOneLambdaEventSchemaSource_1 = require("../../../../domain.operations/lambdaEndpointWire/frame/getOneLambdaEventSchemaSource");
|
|
7
7
|
const logLambdaEventRefused_1 = require("./logLambdaEventRefused");
|
|
8
8
|
/**
|
|
9
9
|
* .what = the key under which the unwrapped event rides in middy's `request.internal`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genLambdaEventRefusedLogMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genLambdaEventRefusedLogMiddleware.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"genLambdaEventRefusedLogMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genLambdaEventRefusedLogMiddleware.ts"],"names":[],"mappings":";;;AAEA,sGAAmG;AACnG,4GAAyG;AACzG,kIAA+H;AAE/H,mEAAgE;AAEhE;;;;GAIG;AACH,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;GAoBG;AACI,MAAM,kCAAkC,GAAG,CAAC,KAElD,EAAwC,EAAE;IACzC,wFAAwF;IACxF,MAAM,MAAM,GAAG,IAAA,6DAA6B,EAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACvE,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzB,MAAM,MAAM,GAAiC,KAAK,EAAE,OAAO,EAAE,EAAE;QAC7D,0DAA0D;QAC1D,yFAAyF;QACzF,OAAO,CAAC,QAAQ,GAAG;YACjB,GAAG,OAAO,CAAC,QAAQ;YACnB,CAAC,0BAA0B,CAAC,EAAE,OAAO,CAAC,KAAK;SAC5C,CAAC;IACJ,CAAC,CAAC;IAEF,MAAM,OAAO,GAAiC,KAAK,EAAE,OAAO,EAAE,EAAE;QAC9D,qFAAqF;QACrF,MAAM,KAAK,GAAG,IAAA,6BAAa,EAAC,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;QACtD,IAAI,CAAC,KAAK;YAAE,OAAO;QAEnB,gEAAgE;QAChE,MAAM,EAAE,GAAG,EAAE,GAAG,IAAA,mCAAgB,EAAC,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QAC/D,IAAI,CAAC,GAAG;YAAE,OAAO;QAEjB,IAAA,6CAAqB,EACnB;YACE,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,0BAA0B,CAAC,IAAI,IAAI;YAC7D,KAAK;YACL,MAAM;SACP,EACD,EAAE,GAAG,EAAE,CACR,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AAC7B,CAAC,CAAC;AApCW,QAAA,kCAAkC,GAAlC,kCAAkC,CAoC7C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.genZodEventValidationMiddleware = void 0;
|
|
4
|
-
const getValidatedInput_1 = require("
|
|
4
|
+
const getValidatedInput_1 = require("../../../../domain.operations/genLambdaEndpoint/middleware/getValidatedInput");
|
|
5
5
|
const genAskEventOnwireCaptureMiddleware_1 = require("./genAskEventOnwireCaptureMiddleware");
|
|
6
6
|
/**
|
|
7
7
|
* .what = validates the body against a zod schema, then writes the reconciled envelope
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genZodEventValidationMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genZodEventValidationMiddleware.ts"],"names":[],"mappings":";;;AAGA,
|
|
1
|
+
{"version":3,"file":"genZodEventValidationMiddleware.js","sourceRoot":"","sources":["../../../../../src/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genZodEventValidationMiddleware.ts"],"names":[],"mappings":";;;AAGA,8GAA2G;AAE3G,6FAA+E;AAE/E;;;;;;;;;;;;;;;GAeG;AACI,MAAM,+BAA+B,GAAG,CAAS,KAEvD,EAEC,EAAE;IACF,MAAM,MAAM,GAAiC,KAAK,EAAE,OAAO,EAAE,EAAE;QAC7D,MAAM,UAAU,GAAG,IAAA,qCAAiB,EAAC;YACnC,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,KAAK,EAAE,OAAO,CAAC,KAAK;SACrB,CAAC,CAAC;QAEH,6EAA6E;QAC7E,yFAAyF;QACzF,OAAO,CAAC,KAAK,GAAG;YACd,OAAO,EAAE,UAAU;YACnB,CAAC,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,4DAAuB,CAAC,EAAE;SACxD,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,EAAE,MAAM,EAAE,CAAC;AACpB,CAAC,CAAC;AApBW,QAAA,+BAA+B,GAA/B,+BAA+B,CAoB1C"}
|