mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
12 lines
475 B
Go
12 lines
475 B
Go
|
package action
|
||
|
|
||
|
import "github.com/caos/zitadel/internal/eventstore"
|
||
|
|
||
|
func RegisterEventMappers(es *eventstore.Eventstore) {
|
||
|
es.RegisterFilterEventMapper(AddedEventType, AddedEventMapper).
|
||
|
RegisterFilterEventMapper(ChangedEventType, ChangedEventMapper).
|
||
|
RegisterFilterEventMapper(DeactivatedEventType, DeactivatedEventMapper).
|
||
|
RegisterFilterEventMapper(ReactivatedEventType, ReactivatedEventMapper).
|
||
|
RegisterFilterEventMapper(RemovedEventType, RemovedEventMapper)
|
||
|
}
|