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