From 0caf1c305a4ed0d34c3aebe759d29929a5845867 Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Tue, 8 Jul 2025 23:53:34 +0200 Subject: [PATCH 1/2] chore(parser): remove deprecated parser type --- packages/parser/src/types/index.ts | 1 - packages/parser/src/types/schema.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/packages/parser/src/types/index.ts b/packages/parser/src/types/index.ts index e111d0d5b..213e89691 100644 --- a/packages/parser/src/types/index.ts +++ b/packages/parser/src/types/index.ts @@ -9,7 +9,6 @@ export type { Envelope } from './envelope.js'; export type { ALBEvent, - ALBMultiValueHeadersEvent, APIGatewayEventRequestContext, APIGatewayProxyEvent, APIGatewayProxyEventV2, diff --git a/packages/parser/src/types/schema.ts b/packages/parser/src/types/schema.ts index 62d4172da..eec4e4488 100644 --- a/packages/parser/src/types/schema.ts +++ b/packages/parser/src/types/schema.ts @@ -1,6 +1,5 @@ import type { z } from 'zod'; import type { - AlbMultiValueHeadersSchema, AlbSchema, APIGatewayEventRequestContextSchema, APIGatewayProxyEventSchema, @@ -53,8 +52,6 @@ import type { type ALBEvent = z.infer; -type ALBMultiValueHeadersEvent = z.infer; - type APIGatewayProxyEvent = z.infer; type APIGatewayRequestAuthorizerEvent = z.infer< @@ -173,7 +170,6 @@ type VpcLatticeEventV2 = z.infer; export type { ALBEvent, - ALBMultiValueHeadersEvent, APIGatewayEventRequestContext, APIGatewayProxyEvent, APIGatewayProxyEventV2, From 81bbaaa8c3b853808fbdf8c227d524d557b66dfe Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Tue, 8 Jul 2025 23:59:09 +0200 Subject: [PATCH 2/2] chore: update docstring of schema --- packages/parser/src/schemas/alb.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/parser/src/schemas/alb.ts b/packages/parser/src/schemas/alb.ts index f22e53fcb..732cabc31 100644 --- a/packages/parser/src/schemas/alb.ts +++ b/packages/parser/src/schemas/alb.ts @@ -82,7 +82,7 @@ const AlbSchema = z.object({ }); /** - * @deprecated Use `AlbSchema` instead, which handles both types of headers & querystring parameters. + * @deprecated Use {@link AlbSchema | `AlbSchema`} instead, which handles both types of headers & querystring parameters. * * This schema will be removed in a future major release. */