mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
27 lines
1.7 KiB
Go
27 lines
1.7 KiB
Go
|
package iam
|
||
|
|
||
|
import (
|
||
|
"github.com/caos/zitadel/internal/eventstore/v2"
|
||
|
)
|
||
|
|
||
|
func RegisterEventMappers(es *eventstore.Eventstore) {
|
||
|
es.RegisterFilterEventMapper(SetupStartedEventType, SetupStepMapper).
|
||
|
RegisterFilterEventMapper(SetupDoneEventType, SetupStepMapper).
|
||
|
RegisterFilterEventMapper(GlobalOrgSetEventType, GlobalOrgSetMapper).
|
||
|
RegisterFilterEventMapper(ProjectSetEventType, ProjectSetMapper).
|
||
|
RegisterFilterEventMapper(LabelPolicyAddedEventType, LabelPolicyAddedEventMapper).
|
||
|
RegisterFilterEventMapper(LabelPolicyChangedEventType, LabelPolicyChangedEventMapper).
|
||
|
RegisterFilterEventMapper(LoginPolicyAddedEventType, LoginPolicyAddedEventMapper).
|
||
|
RegisterFilterEventMapper(LoginPolicyChangedEventType, LoginPolicyChangedEventMapper).
|
||
|
RegisterFilterEventMapper(OrgIAMPolicyAddedEventType, OrgIAMPolicyAddedEventMapper).
|
||
|
RegisterFilterEventMapper(PasswordAgePolicyAddedEventType, PasswordAgePolicyAddedEventMapper).
|
||
|
RegisterFilterEventMapper(PasswordAgePolicyChangedEventType, PasswordAgePolicyChangedEventMapper).
|
||
|
RegisterFilterEventMapper(PasswordComplexityPolicyAddedEventType, PasswordComplexityPolicyAddedEventMapper).
|
||
|
RegisterFilterEventMapper(PasswordComplexityPolicyChangedEventType, PasswordComplexityPolicyChangedEventMapper).
|
||
|
RegisterFilterEventMapper(PasswordLockoutPolicyAddedEventType, PasswordLockoutPolicyAddedEventMapper).
|
||
|
RegisterFilterEventMapper(PasswordLockoutPolicyChangedEventType, PasswordLockoutPolicyChangedEventMapper).
|
||
|
RegisterFilterEventMapper(MemberAddedEventType, MemberAddedEventMapper).
|
||
|
RegisterFilterEventMapper(MemberChangedEventType, MemberChangedEventMapper).
|
||
|
RegisterFilterEventMapper(MemberRemovedEventType, MemberRemovedEventMapper)
|
||
|
}
|