Interface: PayloadParameter
Metadata for a controller method parameter that receives the entire event payload.
Extends
Properties
data?
optional
data:string
Optional extra data for the decorator, such as the payload property key
when type
is MethodParamType.PARAM
.
Inherited from
defaultValue?
optional
defaultValue:any
Inherited from
index
index:
number
The zero-based position of this parameter in the method signature.
Inherited from
isOptional?
optional
isOptional:boolean
Inherited from
metatype?
optional
metatype:Function
Inherited from
method?
optional
method:string
Inherited from
type
type:
PAYLOAD
The parameter kind: inject the full payload object.