Skip to content

ServerlessContextOptions

@tsed/platform-serverless

Usage

typescript
import { ServerlessContextOptions } from "@tsed/platform-serverless";

See /packages/platform/platform-serverless/src/types/domain/ServerlessContext.ts.

Overview

ts
interface ServerlessContextOptions<Event = APIGatewayProxyEvent> extends DIContextOptions {
    event: Event;
    context: Context;
    responseStream?: ServerlessResponseStream;
    endpoint: JsonEntityStore;
}

event

ts
event: Event;

context

ts
context: Context;

responseStream

ts
responseStream?: ServerlessResponseStream;

endpoint

ts
endpoint: JsonEntityStore;

Released under the MIT License.