API Reference
Preparing search index...
@aws-lambda-powertools/parser
types
ParserOptions
Type Alias ParserOptions<TSchema, TEnvelope, TSafeParse>
Options for the parser used in middy middleware and decorator
type
ParserOptions
<
TSchema
extends
ZodSchema
,
TEnvelope
extends
Envelope
,
TSafeParse
extends
boolean
,
>
=
{
envelope
?:
TEnvelope
;
safeParse
?:
TSafeParse
;
schema
:
TSchema
;
}
Type Parameters
TSchema
extends
ZodSchema
TEnvelope
extends
Envelope
TSafeParse
extends
boolean
Index
Properties
envelope?
safe
Parse?
schema
Properties
Optional
envelope
envelope
?:
TEnvelope
Optional
safe
Parse
safeParse
?:
TSafeParse
schema
schema
:
TSchema
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
envelope
safe
Parse
schema
API Reference
Loading...
Options for the parser used in middy middleware and decorator