LambdaFunctionUrlEnvelope: {
    parse<T extends ZodType<any, ZodTypeDef, any>>(
        data: unknown,
        schema: T,
    ): TypeOf<T>;
    safeParse<T extends ZodType<any, ZodTypeDef, any>>(
        data: unknown,
        schema: T,
    ): ParsedResult<unknown, TypeOf<T>>;
} = ...

Lambda function URL envelope to extract data within body key

Type declaration

  • parse:function
    • Type Parameters

      • T extends ZodType<any, ZodTypeDef, any>

      Parameters

      • data: unknown
      • schema: T

      Returns TypeOf<T>

  • safeParse:function