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