mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 12:27:59 +00:00
1bf1f335dc
* docs: update cockroachdb version to 22.2 * feat(adminAPI): ListEventTypes returns the list of event types ZITADEL implements * feat(adminAPI): ListAggregateTypes returns the list of aggregate types ZITADEL implements * feat(adminAPI): ListEvents allows `IAM_OWNERS` to search for events
12 lines
553 B
Go
12 lines
553 B
Go
package action
|
|
|
|
import "github.com/zitadel/zitadel/internal/eventstore"
|
|
|
|
func RegisterEventMappers(es *eventstore.Eventstore) {
|
|
es.RegisterFilterEventMapper(AggregateType, AddedEventType, AddedEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, ChangedEventType, ChangedEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, DeactivatedEventType, DeactivatedEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, ReactivatedEventType, ReactivatedEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, RemovedEventType, RemovedEventMapper)
|
|
}
|