2021-09-27 11:43:49 +00:00
|
|
|
package action
|
|
|
|
|
2022-04-26 23:01:45 +00:00
|
|
|
import "github.com/zitadel/zitadel/internal/eventstore"
|
2021-09-27 11:43:49 +00:00
|
|
|
|
|
|
|
func RegisterEventMappers(es *eventstore.Eventstore) {
|
2023-01-16 11:30:03 +00:00
|
|
|
es.RegisterFilterEventMapper(AggregateType, AddedEventType, AddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ChangedEventType, ChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, DeactivatedEventType, DeactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ReactivatedEventType, ReactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, RemovedEventType, RemovedEventMapper)
|
2021-09-27 11:43:49 +00:00
|
|
|
}
|