API reference / @backpack/aws-lambda / rest / ValidatedJsonResultOptions
Interface: ValidatedJsonResultOptions<T>
Extends
Type Parameters
Type Parameter |
---|
T |
Properties
headers?
ts
optional headers: Partial<Record<HttpResponseHeader, string>> & object;
Type declaration
Name | Type |
---|---|
Content-Type? | "application/json" | "application/problem+json" |
Inherited from
multiValueHeaders?
ts
optional multiValueHeaders: Record<HttpResponseHeader, string[]>;
Inherited from
JsonResultOptions
.multiValueHeaders
statusCode?
ts
optional statusCode: HttpStatus;
Inherited from
validated
ts
validated: ZodType<T>;