Events are plain javascript objects, they have 3 mandatory properties (aggregate, id and sequence) and as much custom properties that you need to describe what happened.
aggregate
id
sequence
Any additional serializable properties.
An event is always related to a specific aggregate.
The id of the specific entity that emitted the event.
For each entity, events are sequentially numbered.
Generated using TypeDoc
Events are plain javascript objects, they have 3 mandatory properties (
aggregate,idandsequence) and as much custom properties that you need to describe what happened.