Skip to content

Commit

Permalink
docs: updated documentation for dual package publish
Browse files Browse the repository at this point in the history
  • Loading branch information
H4ad committed Dec 26, 2023
1 parent dd0803f commit 03ee217
Show file tree
Hide file tree
Showing 36 changed files with 112 additions and 104 deletions.
6 changes: 3 additions & 3 deletions www/blog/2023-04-28-aws-lambda-response-streaming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ If you already use this library, just change [DefaultHandler](/docs/main/handler

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { AwsStreamHandler } from '@h4ad/serverless-adapter/lib/handlers/aws';
import { DummyResolver } from '@h4ad/serverless-adapter/lib/resolvers/dummy';
import { ApiGatewayV2Adapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { AwsStreamHandler } from '@h4ad/serverless-adapter/handlers/aws';
import { DummyResolver } from '@h4ad/serverless-adapter/resolvers/dummy';
import { ApiGatewayV2Adapter } from '@h4ad/serverless-adapter/adapters/aws';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/adapters/aws/alb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ To add support to AWS ALB you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { AlbAdapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { AlbAdapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/adapters/aws/api-gateway-v1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ To add support to AWS API Gateway V1 you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { ApiGatewayV1Adapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { ApiGatewayV1Adapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/adapters/aws/api-gateway-v2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ To add support to AWS API Gateway V2 you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { ApiGatewayV2Adapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { ApiGatewayV2Adapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/adapters/aws/dynamodb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ To add support to AWS DynamoDB you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { DynamoDBAdapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { DynamoDBAdapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/adapters/aws/event-bridge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ To add support to AWS EventBridge you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { EventBridgeAdapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { EventBridgeAdapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/adapters/aws/function-url.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ so you can use the [ApiGatewayV2Adapter](./api-gateway-v2#usage) to support it.

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { ApiGatewayV2Adapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { ApiGatewayV2Adapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/adapters/aws/lambda-edge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ To add support to AWS Lambda@Edge you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { RequestLambdaEdgeAdapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { RequestLambdaEdgeAdapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/adapters/aws/s3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ To add support to AWS S3 you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { S3Adapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { S3Adapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/adapters/aws/sns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ To add support to AWS SNS you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { SNSAdapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { SNSAdapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/adapters/aws/sqs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ To add support to AWS SQS you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { SQSAdapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { SQSAdapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
6 changes: 3 additions & 3 deletions www/docs/main/adapters/azure/http-trigger-v4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ To add support to Azure Http Trigger you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { AzureHandler } from '@h4ad/serverless-adapter/lib/handlers/azure';
import { PromiseResolver } from '@h4ad/serverless-adapter/lib/resolvers/promise';
import { HttpTriggerV4Adapter } from '@h4ad/serverless-adapter/lib/adapters/azure';
import { AzureHandler } from '@h4ad/serverless-adapter/handlers/azure';
import { PromiseResolver } from '@h4ad/serverless-adapter/resolvers/promise';
import { HttpTriggerV4Adapter } from '@h4ad/serverless-adapter/adapters/azure';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
6 changes: 3 additions & 3 deletions www/docs/main/adapters/digital-ocean/http-function.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ To add support to DigitalOcean Functions you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { DigitalOceanHandler } from '@h4ad/serverless-adapter/lib/handlers/digital-ocean';
import { PromiseResolver } from '@h4ad/serverless-adapter/lib/resolvers/promise';
import { HttpFunctionAdapter } from '@h4ad/serverless-adapter/lib/adapters/digital-ocean';
import { DigitalOceanHandler } from '@h4ad/serverless-adapter/handlers/digital-ocean';
import { PromiseResolver } from '@h4ad/serverless-adapter/resolvers/promise';
import { HttpFunctionAdapter } from '@h4ad/serverless-adapter/adapters/digital-ocean';
import app from './app';

export const main = ServerlessAdapter.new(app)
Expand Down
8 changes: 4 additions & 4 deletions www/docs/main/adapters/huawei/huawei-api-gateway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ To add support to Api Gateway you do the following:

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { HuaweiApiGatewayAdapter } from '@h4ad/serverless-adapter/lib/adapters/huawei';
import { ExpressFramework } from '@h4ad/serverless-adapter/lib/frameworks/express';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { CallbackResolver } from '@h4ad/serverless-adapter/lib/resolvers/callback';
import { HuaweiApiGatewayAdapter } from '@h4ad/serverless-adapter/adapters/huawei';
import { ExpressFramework } from '@h4ad/serverless-adapter/frameworks/express';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import { CallbackResolver } from '@h4ad/serverless-adapter/resolvers/callback';
import app from './app';

export const handler = ServerlessAdapter.new(app)
Expand Down
2 changes: 1 addition & 1 deletion www/docs/main/advanced/adapters/creating-an-adapter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ First, we need to create our new adapter class, let's define it as:
```typescript title="api-gateway-v2.adapter.ts"
import type { APIGatewayProxyEventV2, Context } from 'aws-lambda';
import type { APIGatewayProxyStructuredResultV2 } from 'aws-lambda/trigger/api-gateway-proxy';
import { AdapterContract } from '@h4ad/serverless-adapter/lib/contracts';
import { AdapterContract } from '@h4ad/serverless-adapter/contracts';

export class ApiGatewayV2Adapter implements AdapterContract<APIGatewayProxyEventV2, Context, APIGatewayProxyStructuredResultV2> {}
```
Expand Down
24 changes: 12 additions & 12 deletions www/docs/main/frameworks/apollo-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Then, you just need to use the [ApolloServerFramework](/docs/api/Frameworks/Apol

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { CorsFramework } from '@h4ad/serverless-adapter/lib/frameworks/cors';
import { ApolloServerFramework } from '@h4ad/serverless-adapter/lib/frameworks/apollo-server';
import { JsonBodyParserFramework } from '@h4ad/serverless-adapter/lib/frameworks/body-parser';
import { CorsFramework } from '@h4ad/serverless-adapter/frameworks/cors';
import { ApolloServerFramework } from '@h4ad/serverless-adapter/frameworks/apollo-server';
import { JsonBodyParserFramework } from '@h4ad/serverless-adapter/frameworks/body-parser';
import { ApolloServer } from '@apollo/server';

export const app = new ApolloServer({
Expand Down Expand Up @@ -117,7 +117,7 @@ Ok, after define the schema, let's create the apollo server instance.
```ts
import { ApolloServer } from '@apollo/server';
import { GraphQLError } from 'graphql/error/GraphQLError';
import { DefaultServerlessApolloServerContext } from '@h4ad/serverless-adapter/lib/frameworks/apollo-server';
import { DefaultServerlessApolloServerContext } from '@h4ad/serverless-adapter/frameworks/apollo-server';
import type { SNSEvent, SQSEvent } from 'aws-lambda';

export const app = new ApolloServer<DefaultServerlessApolloServerContext>({
Expand Down Expand Up @@ -170,13 +170,13 @@ Well, now we only need to expose the Apollo Server Instance using Serverless Ada

```ts
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { ApolloServerMutationAdapter } from '@h4ad/serverless-adapter/lib/adapters/apollo-server';
import { ApiGatewayV2Adapter, SNSAdapter, SQSAdapter } from '@h4ad/serverless-adapter/lib/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/lib/handlers/default';
import { PromiseResolver } from '@h4ad/serverless-adapter/lib/resolvers/promise';
import { CorsFramework } from '@h4ad/serverless-adapter/lib/frameworks/cors';
import { ApolloServerFramework, DefaultServerlessApolloServerContext } from '@h4ad/serverless-adapter/lib/frameworks/apollo-server';
import { JsonBodyParserFramework } from '@h4ad/serverless-adapter/lib/frameworks/body-parser';
import { ApolloServerMutationAdapter } from '@h4ad/serverless-adapter/adapters/apollo-server';
import { ApiGatewayV2Adapter, SNSAdapter, SQSAdapter } from '@h4ad/serverless-adapter/adapters/aws';
import { DefaultHandler } from '@h4ad/serverless-adapter/handlers/default';
import { PromiseResolver } from '@h4ad/serverless-adapter/resolvers/promise';
import { CorsFramework } from '@h4ad/serverless-adapter/frameworks/cors';
import { ApolloServerFramework, DefaultServerlessApolloServerContext } from '@h4ad/serverless-adapter/frameworks/apollo-server';
import { JsonBodyParserFramework } from '@h4ad/serverless-adapter/frameworks/body-parser';

const framework = new ApolloServerFramework<DefaultServerlessApolloServerContext>();
const jsonBodyFramework = new JsonBodyParserFramework(framework);
Expand Down Expand Up @@ -239,7 +239,7 @@ By default, the context will be [DefaultServerlessApolloServerContext](/docs/api
the creation of the context by passing `context` variable inside `ApolloServerFramework`, like:

```ts
import { ApolloServerFramework, DefaultServerlessApolloServerContext } from '@h4ad/serverless-adapter/lib/frameworks/apollo-server';
import { ApolloServerFramework, DefaultServerlessApolloServerContext } from '@h4ad/serverless-adapter/frameworks/apollo-server';

// I want the date when it's started, and also, i always recommend including the default context
type MyCustomContext = { startedAt: Date } & DefaultServerlessApolloServerContext;
Expand Down
2 changes: 1 addition & 1 deletion www/docs/main/frameworks/deepkit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { App } from '@deepkit/app';
import { FrameworkModule } from '@deepkit/framework';
import { HtmlResponse, HttpKernel, HttpModule, HttpRouterRegistry } from '@deepkit/http';
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { HttpDeepkitFramework } from '@h4ad/serverless-adapter/lib/frameworks/deepkit';
import { HttpDeepkitFramework } from '@h4ad/serverless-adapter/frameworks/deepkit';

const app = new App({
controllers: [],
Expand Down
2 changes: 1 addition & 1 deletion www/docs/main/frameworks/express.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Then, you need you just need to use the [ExpressFramework](../../api/Frameworks/

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { ExpressFramework } from '@h4ad/serverless-adapter/lib/frameworks/express';
import { ExpressFramework } from '@h4ad/serverless-adapter/frameworks/express';

const express = require('express');

Expand Down
2 changes: 1 addition & 1 deletion www/docs/main/frameworks/fastify.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Then, you need you just need to use the [FastifyFramework](../../api/Frameworks/

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { FastifyFramework } from '@h4ad/serverless-adapter/lib/frameworks/fastify';
import { FastifyFramework } from '@h4ad/serverless-adapter/frameworks/fastify';

const Fastify = require('fastify');

Expand Down
2 changes: 1 addition & 1 deletion www/docs/main/frameworks/hapi.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Then, you need you just need to use the [HapiFramework](../../api/Frameworks/Hap

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { HapiFramework } from '@h4ad/serverless-adapter/lib/frameworks/hapi';
import { HapiFramework } from '@h4ad/serverless-adapter/frameworks/hapi';

const Hapi = require('@hapi/hapi');

Expand Down
12 changes: 6 additions & 6 deletions www/docs/main/frameworks/helpers/body-parser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ The first parameter is the instance of another framework, so if you want to use

```ts
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { JsonBodyParserFramework, JsonBodyParserFrameworkOptions } from '@h4ad/serverless-adapter/lib/frameworks/cors';
import { ExpressFramework } from '@h4ad/serverless-adapter/lib/frameworks/express';
import { JsonBodyParserFramework, JsonBodyParserFrameworkOptions } from '@h4ad/serverless-adapter/frameworks/cors';
import { ExpressFramework } from '@h4ad/serverless-adapter/frameworks/express';

const express = require('express');

Expand All @@ -68,9 +68,9 @@ If you want to combine with more frameworks, just add others like:

```ts
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { JsonBodyParserFramework, UrlencodedBodyParserFramework, RawBodyParserFramework } from '@h4ad/serverless-adapter/lib/frameworks/body-parser';
import { CorsFramework } from '@h4ad/serverless-adapter/lib/frameworks/cors';
import { ExpressFramework } from '@h4ad/serverless-adapter/lib/frameworks/express'; import { } from './cors.framework';
import { JsonBodyParserFramework, UrlencodedBodyParserFramework, RawBodyParserFramework } from '@h4ad/serverless-adapter/frameworks/body-parser';
import { CorsFramework } from '@h4ad/serverless-adapter/frameworks/cors';
import { ExpressFramework } from '@h4ad/serverless-adapter/frameworks/express'; import { } from './cors.framework';

const expressFramework = new ExpressFramework();

Expand Down Expand Up @@ -103,7 +103,7 @@ If you want to customize the error messages, like when the size limit is exceede
```ts
import type { IncomingMessage, ServerResponse } from 'http';
import type { HttpError } from 'http-errors';
import { JsonBodyParserFramework, JsonBodyParserFrameworkOptions } from '@h4ad/serverless-adapter/lib/frameworks/body-parser';
import { JsonBodyParserFramework, JsonBodyParserFrameworkOptions } from '@h4ad/serverless-adapter/frameworks/body-parser';

const options: JsonBodyParserFrameworkOptions = {
customErrorHandler: (req: IncomingMessage, response: ServerResponse, error: HttpError<any>) => {
Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/frameworks/helpers/cors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ The first parameter is the instance of another framework, so if you want to use

```ts
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { CorsFramework, CorsFrameworkOptions } from '@h4ad/serverless-adapter/lib/frameworks/cors';
import { ExpressFramework } from '@h4ad/serverless-adapter/lib/frameworks/express';
import { CorsFramework, CorsFrameworkOptions } from '@h4ad/serverless-adapter/frameworks/cors';
import { ExpressFramework } from '@h4ad/serverless-adapter/frameworks/express';

const express = require('express');

Expand Down
4 changes: 2 additions & 2 deletions www/docs/main/frameworks/helpers/lazy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ The first parameter is the instance of another framework, so if you want to use

```ts
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { LazyFramework } from '@h4ad/serverless-adapter/lib/frameworks/lazy';
import { ExpressFramework } from '@h4ad/serverless-adapter/lib/frameworks/express';
import { LazyFramework } from '@h4ad/serverless-adapter/frameworks/lazy';
import { ExpressFramework } from '@h4ad/serverless-adapter/frameworks/express';

const express = require('express');

Expand Down
2 changes: 1 addition & 1 deletion www/docs/main/frameworks/koa.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Then, you need you just need to use the [KoaFramework](../../api/Frameworks/KoaF

```ts title="index.ts"
import { ServerlessAdapter } from '@h4ad/serverless-adapter';
import { KoaFramework } from '@h4ad/serverless-adapter/lib/frameworks/koa';
import { KoaFramework } from '@h4ad/serverless-adapter/frameworks/koa';

const Koa = require('koa');

Expand Down
8 changes: 4 additions & 4 deletions www/docs/main/frameworks/nestjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ So, to add support to NestJS, we have two ways:
```typescript title="index.ts"
import { NestFactory } from '@nestjs/core';
import { ExpressAdapter } from '@nestjs/platform-express';
import { LazyFramework } from '@h4ad/serverless-adapter/lib/frameworks/lazy';
import { ExpressFramework } from '@h4ad/serverless-adapter/lib/frameworks/express';
import { LazyFramework } from '@h4ad/serverless-adapter/frameworks/lazy';
import { ExpressFramework } from '@h4ad/serverless-adapter/frameworks/express';
import { AppModule } from './app.module';

async function bootstrap() {
Expand Down Expand Up @@ -71,8 +71,8 @@ export const handler = ServerlessAdapter.new(null)
```typescript title="index.ts"
import { NestFactory } from '@nestjs/core';
import { FastifyAdapter } from '@nestjs/platform-fastify';
import { LazyFramework } from '@h4ad/serverless-adapter/lib/frameworks/lazy';
import { FastifyFramework } from '@h4ad/serverless-adapter/lib/frameworks/fastify';
import { LazyFramework } from '@h4ad/serverless-adapter/frameworks/lazy';
import { FastifyFramework } from '@h4ad/serverless-adapter/frameworks/fastify';
import { AppModule } from './app.module';

async function bootstrap() {
Expand Down
Loading

0 comments on commit 03ee217

Please sign in to comment.