Feature: Emit custom events from store actions and subscribe to them
Feature: Emit custom events from store actions and subscribe to them: a task in LegoFlow-SWE (Harbor dataset). When types.emitted is not defined, any event object with a type property should be allowed.
The task
When `types.emitted` is **not** defined, any event object with a `type` property should be allowed.
Part of Lego-X/LegoFlow-SWE.