2021-01-22 13:31:52 +01:00
|
|
|
package usergrant
|
|
|
|
|
|
|
|
import (
|
2022-04-27 01:01:45 +02:00
|
|
|
"github.com/zitadel/zitadel/internal/eventstore"
|
2021-01-22 13:31:52 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
func RegisterEventMappers(es *eventstore.Eventstore) {
|
|
|
|
es.RegisterFilterEventMapper(UserGrantAddedType, UserGrantAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(UserGrantChangedType, UserGrantChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(UserGrantCascadeChangedType, UserGrantCascadeChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(UserGrantRemovedType, UserGrantRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(UserGrantCascadeRemovedType, UserGrantCascadeRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(UserGrantDeactivatedType, UserGrantDeactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(UserGrantReactivatedType, UserGrantReactivatedEventMapper)
|
|
|
|
}
|