Submit an action event of 'create' when an entity is created
When an entity (activity, image, object) is created, submit an ActionEvent to Pulsar.
See https://gitlab.com/minds/engine/-/blob/master/Core/Security/Events.php#L28 for an example of an internal event that we can register to.
- User should be the actor
- Entity should be the entity in question
Future use cases
- When a video is uploaded, we can have a background job to reprocess the dimensions (useful for letting the browser know a video is portrait)
- Submitting analytics
- Moving heavy jobs like dispatching TAG events to the background