@bitblit/ratchet-epsilon-common 4.0.183-alpha → 4.0.184-alpha
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/lib/background/background-dynamo-log-table-handler.d.ts +11 -0
- package/lib/background/background-entry.d.ts +4 -0
- package/lib/background/background-execution-event-type.d.ts +7 -0
- package/lib/background/background-execution-event.d.ts +8 -0
- package/lib/background/background-execution-listener.d.ts +5 -0
- package/lib/background/background-handler.d.ts +29 -0
- package/lib/background/background-http-adapter-handler.d.ts +22 -0
- package/lib/background/background-meta-response-internal.d.ts +5 -0
- package/lib/background/background-process-handling.d.ts +4 -0
- package/lib/background/background-process-log-table-entry.d.ts +11 -0
- package/lib/background/background-queue-response-internal.d.ts +8 -0
- package/lib/background/background-validator.d.ts +17 -0
- package/lib/background/epsilon-background-process-error.d.ts +30 -0
- package/lib/background/internal-background-entry.d.ts +7 -0
- package/lib/background/manager/abstract-background-manager.d.ts +19 -0
- package/lib/background/manager/aws-sqs-sns-background-manager.d.ts +23 -0
- package/lib/background/manager/background-manager-like.d.ts +17 -0
- package/lib/background/manager/background-manager.spec.d.ts +1 -0
- package/lib/background/manager/single-thread-local-background-manager.d.ts +15 -0
- package/lib/background/s3-background-transaction-logger.d.ts +17 -0
- package/lib/build/ratchet-epsilon-common-info.d.ts +5 -0
- package/lib/built-in/background/echo-processor.d.ts +7 -0
- package/lib/built-in/background/log-and-enqueue-echo-processor.d.ts +6 -0
- package/lib/built-in/background/log-message-background-error-processor.d.ts +5 -0
- package/lib/built-in/background/no-op-processor.d.ts +6 -0
- package/lib/built-in/background/retry-processor.d.ts +16 -0
- package/lib/built-in/background/sample-delay-processor.d.ts +6 -0
- package/lib/built-in/background/sample-input-validated-processor-data.d.ts +4 -0
- package/lib/built-in/background/sample-input-validated-processor.d.ts +8 -0
- package/lib/built-in/built-in-trace-id-generators.d.ts +5 -0
- package/lib/built-in/daemon/daemon-authorizer-function.d.ts +5 -0
- package/lib/built-in/daemon/daemon-config.d.ts +8 -0
- package/lib/built-in/daemon/daemon-group-selection-function.d.ts +4 -0
- package/lib/built-in/daemon/daemon-handler.d.ts +16 -0
- package/lib/built-in/daemon/daemon-process-state-list.d.ts +5 -0
- package/lib/built-in/http/apollo/apollo-util.d.ts +10 -0
- package/lib/built-in/http/apollo/default-epsilon-apollo-context.d.ts +10 -0
- package/lib/built-in/http/apollo/epsilon-apollo-cors-method.d.ts +5 -0
- package/lib/built-in/http/apollo/epsilon-lambda-apollo-context-function-argument.d.ts +5 -0
- package/lib/built-in/http/apollo/epsilon-lambda-apollo-options.d.ts +8 -0
- package/lib/built-in/http/apollo-filter.d.ts +10 -0
- package/lib/built-in/http/built-in-auth-filters.d.ts +9 -0
- package/lib/built-in/http/built-in-authorizers.d.ts +8 -0
- package/lib/built-in/http/built-in-filters.d.ts +25 -0
- package/lib/built-in/http/built-in-handlers.d.ts +9 -0
- package/lib/built-in/http/log-level-manipulation-filter.d.ts +6 -0
- package/lib/built-in/http/run-handler-as-filter.d.ts +12 -0
- package/lib/built-in/http/run-handler-as-filter.spec.d.ts +1 -0
- package/lib/cli/ratchet-cli-handler.d.ts +6 -0
- package/lib/cli/run-background-process-from-command-line.d.ts +3 -0
- package/lib/config/background/background-aws-config.d.ts +7 -0
- package/lib/config/background/background-config.d.ts +14 -0
- package/lib/config/background/background-error-processor.d.ts +4 -0
- package/lib/config/background/background-processor.d.ts +6 -0
- package/lib/config/background/background-transaction-log.d.ts +8 -0
- package/lib/config/background/background-transaction-logger.d.ts +5 -0
- package/lib/config/cron/abstract-cron-entry.d.ts +12 -0
- package/lib/config/cron/cron-background-entry.d.ts +6 -0
- package/lib/config/cron/cron-config.d.ts +6 -0
- package/lib/config/dynamo-db-config.d.ts +5 -0
- package/lib/config/epsilon-config.d.ts +21 -0
- package/lib/config/epsilon-lambda-event-handler.d.ts +7 -0
- package/lib/config/epsilon-logger-config.d.ts +13 -0
- package/lib/config/generic-aws-event-handler-function.d.ts +3 -0
- package/lib/config/http/authorizer-function.d.ts +6 -0
- package/lib/config/http/epsilon-authorization-context.d.ts +5 -0
- package/lib/config/http/extended-api-gateway-event.d.ts +7 -0
- package/lib/config/http/filter-chain-context.d.ts +14 -0
- package/lib/config/http/filter-function.d.ts +4 -0
- package/lib/config/http/handler-function.d.ts +5 -0
- package/lib/config/http/http-config.d.ts +15 -0
- package/lib/config/http/http-processing-config.d.ts +11 -0
- package/lib/config/http/mapped-http-processing-config.d.ts +7 -0
- package/lib/config/http/null-returned-object-handling.d.ts +5 -0
- package/lib/config/inter-api/inter-api-aws-config.d.ts +5 -0
- package/lib/config/inter-api/inter-api-config.d.ts +6 -0
- package/lib/config/inter-api/inter-api-process-mapping.d.ts +6 -0
- package/lib/config/logging-trace-id-generator.d.ts +4 -0
- package/lib/config/open-api/open-api-document-components.d.ts +4 -0
- package/lib/config/open-api/open-api-document-path.d.ts +2 -0
- package/lib/config/open-api/open-api-document.d.ts +6 -0
- package/lib/config/s3-config.d.ts +6 -0
- package/lib/config/sns-config.d.ts +5 -0
- package/lib/http/auth/api-gateway-adapter-authentication-handler.d.ts +8 -0
- package/lib/http/auth/auth0-web-token-manipulator.d.ts +13 -0
- package/lib/http/auth/basic-auth-token.d.ts +4 -0
- package/lib/http/auth/google-web-token-manipulator.d.ts +14 -0
- package/lib/http/auth/google-web-token-manipulator.spec.d.ts +1 -0
- package/lib/http/auth/jwt-ratchet-local-web-token-manipulator.d.ts +11 -0
- package/lib/http/auth/local-web-token-manipulator.d.ts +19 -0
- package/lib/http/auth/local-web-token-manipulator.spec.d.ts +1 -0
- package/lib/http/auth/web-token-manipulator.d.ts +4 -0
- package/lib/http/error/bad-gateway.d.ts +5 -0
- package/lib/http/error/bad-request-error.d.ts +5 -0
- package/lib/http/error/conflict-error.d.ts +5 -0
- package/lib/http/error/epsilon-http-error.d.ts +41 -0
- package/lib/http/error/epsilon-http-error.spec.d.ts +1 -0
- package/lib/http/error/forbidden-error.d.ts +5 -0
- package/lib/http/error/gateway-timeout.d.ts +5 -0
- package/lib/http/error/method-not-allowed-error.d.ts +5 -0
- package/lib/http/error/misconfigured-error.d.ts +5 -0
- package/lib/http/error/not-found-error.d.ts +5 -0
- package/lib/http/error/not-implemented.d.ts +5 -0
- package/lib/http/error/request-timeout-error.d.ts +5 -0
- package/lib/http/error/service-unavailable.d.ts +5 -0
- package/lib/http/error/too-many-requests-error.d.ts +5 -0
- package/lib/http/error/unauthorized-error.d.ts +5 -0
- package/lib/http/event-util.d.ts +27 -0
- package/lib/http/event-util.spec.d.ts +1 -0
- package/lib/http/response-util.d.ts +11 -0
- package/lib/http/response-util.spec.d.ts +1 -0
- package/lib/http/route/epsilon-router.d.ts +8 -0
- package/lib/http/route/extended-auth-response-context.d.ts +6 -0
- package/lib/http/route/route-mapping.d.ts +12 -0
- package/lib/http/route/route-validator-config.d.ts +5 -0
- package/lib/http/route/router-util.d.ts +23 -0
- package/lib/http/route/router-util.spec.d.ts +1 -0
- package/lib/http/web-handler.d.ts +23 -0
- package/lib/http/web-handler.spec.d.ts +1 -0
- package/lib/http/web-v2-handler.d.ts +10 -0
- package/lib/index.mjs +1 -1
- package/lib/inter-api/inter-api-entry.d.ts +7 -0
- package/lib/inter-api/inter-api-util.d.ts +10 -0
- package/lib/inter-api/inter-api-util.spec.d.ts +1 -0
- package/lib/lambda-event-handler/cron-epsilon-lambda-event-handler.d.ts +14 -0
- package/lib/lambda-event-handler/cron-epsilon-lambda-event-handler.spec.d.ts +1 -0
- package/lib/lambda-event-handler/dynamo-epsilon-lambda-event-handler.d.ts +11 -0
- package/lib/lambda-event-handler/generic-sns-epsilon-lambda-event-handler.d.ts +10 -0
- package/lib/lambda-event-handler/inter-api-epsilon-lambda-event-handler.d.ts +10 -0
- package/lib/lambda-event-handler/s3-epsilon-lambda-event-handler.d.ts +10 -0
- package/lib/open-api-util/open-api-doc-modifications.d.ts +8 -0
- package/lib/open-api-util/open-api-doc-modifier.d.ts +7 -0
- package/lib/open-api-util/open-api-doc-modifier.spec.d.ts +1 -0
- package/lib/open-api-util/yaml-combiner.d.ts +3 -0
- package/lib/open-api-util/yaml-combiner.spec.d.ts +1 -0
- package/lib/sample/sample-server-components.d.ts +10 -0
- package/lib/sample/sample-server-static-files.d.ts +5 -0
- package/lib/sample/test-error-server.d.ts +11 -0
- package/lib/util/aws-util.d.ts +8 -0
- package/lib/util/context-util.d.ts +34 -0
- package/lib/util/cron-util.d.ts +11 -0
- package/lib/util/cron-util.spec.d.ts +1 -0
- package/lib/util/epsilon-config-parser.d.ts +14 -0
- package/package.json +8 -8
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EpsilonRouter } from './route/epsilon-router.js';
|
|
2
|
+
import { APIGatewayEvent, Context, ProxyResult } from 'aws-lambda';
|
|
3
|
+
import Route from 'route-parser';
|
|
4
|
+
import { RouteMapping } from './route/route-mapping.js';
|
|
5
|
+
import { ExtendedAPIGatewayEvent } from '../config/http/extended-api-gateway-event.js';
|
|
6
|
+
import { EpsilonLambdaEventHandler } from '../config/epsilon-lambda-event-handler.js';
|
|
7
|
+
export declare class WebHandler implements EpsilonLambdaEventHandler<APIGatewayEvent> {
|
|
8
|
+
private routerConfig;
|
|
9
|
+
static readonly MAXIMUM_LAMBDA_BODY_SIZE_BYTES: number;
|
|
10
|
+
constructor(routerConfig: EpsilonRouter);
|
|
11
|
+
get router(): EpsilonRouter;
|
|
12
|
+
extractLabel(evt: APIGatewayEvent, context: Context): string;
|
|
13
|
+
handlesEvent(evt: any): boolean;
|
|
14
|
+
processEvent(event: APIGatewayEvent, context: Context): Promise<ProxyResult>;
|
|
15
|
+
openApiLambdaHandler(evt: ExtendedAPIGatewayEvent, context: Context): Promise<ProxyResult>;
|
|
16
|
+
findBestMatchingRoute(event: APIGatewayEvent): RouteAndParse;
|
|
17
|
+
private cleanPath;
|
|
18
|
+
}
|
|
19
|
+
export interface RouteAndParse {
|
|
20
|
+
mapping: RouteMapping;
|
|
21
|
+
route: Route;
|
|
22
|
+
parsed: any;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIGatewayProxyEventV2, Context, ProxyResult } from 'aws-lambda';
|
|
2
|
+
import { EpsilonLambdaEventHandler } from '../config/epsilon-lambda-event-handler.js';
|
|
3
|
+
import { WebHandler } from './web-handler.js';
|
|
4
|
+
export declare class WebV2Handler implements EpsilonLambdaEventHandler<APIGatewayProxyEventV2> {
|
|
5
|
+
private webHandler;
|
|
6
|
+
constructor(webHandler: WebHandler);
|
|
7
|
+
extractLabel(evt: APIGatewayProxyEventV2, context: Context): string;
|
|
8
|
+
handlesEvent(evt: any): boolean;
|
|
9
|
+
processEvent(evt: APIGatewayProxyEventV2, context: Context): Promise<ProxyResult>;
|
|
10
|
+
}
|