ResourceActionInformationTransactionEvent
Hierarchy
- TransactionEvent<{ action: { name: string }; capture?: { response: Partial<BaseResourceSchema[response]> }; diff: DiffMetadata }>
- ResourceActionInformationTransactionEvent
Index
Constructors
constructor
Parameters
optionalname: string
optionalpayload: { action: { name: string }; capture?: { response: Partial<BaseResourceSchema[response]> }; diff: DiffMetadata }
action: { name: string }
optionalcapture: { response: Partial<BaseResourceSchema[response]> }
diff: DiffMetadata
Returns ResourceActionInformationTransactionEvent
Properties
readonlyinheritedheader
Type declaration
timestamp: number
readonlyinheritedname
readonlyinheritedpayload
Type declaration
action: { name: string }
name: string
optionalcapture?: { response: Partial<BaseResourceSchema[response]> }
response: Partial<BaseResourceSchema[response]>
diff: DiffMetadata
Methods
staticinheritedregistrar
The
registrar()method is explicitly called by the EventSource decorator for a method to enhance that method to auto-emit events.Parameters
rest...args: [EventService, PropertyDescriptor]
Arguments are spread out using the array spread operator.
- args[0] - Instance of EventService.
- args[1] - PropertyDescriptor.
Returns void
This event is emitted pre-transaction to provide information for resource actions about to be executed in the transaction.
Events/Transaction
The Event instance.