2021-01-22 12:31:52 +00:00
|
|
|
package project
|
|
|
|
|
|
|
|
import (
|
2022-04-26 23:01:45 +00:00
|
|
|
"github.com/zitadel/zitadel/internal/eventstore"
|
2021-01-22 12:31:52 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func RegisterEventMappers(es *eventstore.Eventstore) {
|
2021-01-28 05:35:26 +00:00
|
|
|
es.RegisterFilterEventMapper(ProjectAddedType, ProjectAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(ProjectChangedType, ProjectChangeEventMapper).
|
|
|
|
RegisterFilterEventMapper(ProjectDeactivatedType, ProjectDeactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(ProjectReactivatedType, ProjectReactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(ProjectRemovedType, ProjectRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(MemberAddedType, MemberAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(MemberChangedType, MemberChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(MemberRemovedType, MemberRemovedEventMapper).
|
2021-06-07 05:20:47 +00:00
|
|
|
RegisterFilterEventMapper(MemberCascadeRemovedType, MemberCascadeRemovedEventMapper).
|
2021-01-28 05:35:26 +00:00
|
|
|
RegisterFilterEventMapper(RoleAddedType, RoleAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(RoleChangedType, RoleChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(RoleRemovedType, RoleRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(GrantAddedType, GrantAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(GrantChangedType, GrantChangedEventMapper).
|
2021-02-15 12:31:24 +00:00
|
|
|
RegisterFilterEventMapper(GrantCascadeChangedType, GrantCascadeChangedEventMapper).
|
2021-01-28 05:35:26 +00:00
|
|
|
RegisterFilterEventMapper(GrantDeactivatedType, GrantDeactivateEventMapper).
|
|
|
|
RegisterFilterEventMapper(GrantReactivatedType, GrantReactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(GrantRemovedType, GrantRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(GrantMemberAddedType, GrantMemberAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(GrantMemberChangedType, GrantMemberChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(GrantMemberRemovedType, GrantMemberRemovedEventMapper).
|
2021-06-07 05:20:47 +00:00
|
|
|
RegisterFilterEventMapper(GrantMemberCascadeRemovedType, GrantMemberCascadeRemovedEventMapper).
|
2021-01-28 05:35:26 +00:00
|
|
|
RegisterFilterEventMapper(ApplicationAddedType, ApplicationAddedEventMapper).
|
2021-02-15 12:31:24 +00:00
|
|
|
RegisterFilterEventMapper(ApplicationChangedType, ApplicationChangedEventMapper).
|
2021-01-28 05:35:26 +00:00
|
|
|
RegisterFilterEventMapper(ApplicationRemovedType, ApplicationRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(ApplicationDeactivatedType, ApplicationDeactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(ApplicationReactivatedType, ApplicationReactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(OIDCConfigAddedType, OIDCConfigAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(OIDCConfigChangedType, OIDCConfigChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(OIDCConfigSecretChangedType, OIDCConfigSecretChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(OIDCClientSecretCheckSucceededType, OIDCConfigSecretCheckSucceededEventMapper).
|
2021-02-22 11:27:47 +00:00
|
|
|
RegisterFilterEventMapper(OIDCClientSecretCheckFailedType, OIDCConfigSecretCheckFailedEventMapper).
|
|
|
|
RegisterFilterEventMapper(APIConfigAddedType, APIConfigAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(APIConfigChangedType, APIConfigChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(APIConfigSecretChangedType, APIConfigSecretChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(ApplicationKeyAddedEventType, ApplicationKeyAddedEventMapper).
|
2022-09-12 16:18:08 +00:00
|
|
|
RegisterFilterEventMapper(ApplicationKeyRemovedEventType, ApplicationKeyRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(SAMLConfigAddedType, SAMLConfigAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(SAMLConfigChangedType, SAMLConfigChangedEventMapper)
|
2021-01-22 12:31:52 +00:00
|
|
|
}
|