zitadel/internal/repository/action/eventstore.go

12 lines
553 B
Go
Raw Normal View History

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)
}