Interface: ParamParameter
Metadata for a controller method parameter that receives a specific property from the event payload.
Extends
Properties
data
data:
string
The key of the property to extract from the payload.
Overrides
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:
PARAM
The parameter kind: inject a single payload property.