2021-01-22 13:31:52 +01:00
|
|
|
package project
|
|
|
|
|
|
|
|
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) {
|
2023-01-16 12:30:03 +01:00
|
|
|
es.RegisterFilterEventMapper(AggregateType, ProjectAddedType, ProjectAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ProjectChangedType, ProjectChangeEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ProjectDeactivatedType, ProjectDeactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ProjectReactivatedType, ProjectReactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ProjectRemovedType, ProjectRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, MemberAddedType, MemberAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, MemberChangedType, MemberChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, MemberRemovedType, MemberRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, MemberCascadeRemovedType, MemberCascadeRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, RoleAddedType, RoleAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, RoleChangedType, RoleChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, RoleRemovedType, RoleRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, GrantAddedType, GrantAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, GrantChangedType, GrantChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, GrantCascadeChangedType, GrantCascadeChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, GrantDeactivatedType, GrantDeactivateEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, GrantReactivatedType, GrantReactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, GrantRemovedType, GrantRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, GrantMemberAddedType, GrantMemberAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, GrantMemberChangedType, GrantMemberChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, GrantMemberRemovedType, GrantMemberRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, GrantMemberCascadeRemovedType, GrantMemberCascadeRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ApplicationAddedType, ApplicationAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ApplicationChangedType, ApplicationChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ApplicationRemovedType, ApplicationRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ApplicationDeactivatedType, ApplicationDeactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ApplicationReactivatedType, ApplicationReactivatedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, OIDCConfigAddedType, OIDCConfigAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, OIDCConfigChangedType, OIDCConfigChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, OIDCConfigSecretChangedType, OIDCConfigSecretChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, OIDCClientSecretCheckSucceededType, OIDCConfigSecretCheckSucceededEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, OIDCClientSecretCheckFailedType, OIDCConfigSecretCheckFailedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, APIConfigAddedType, APIConfigAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, APIConfigChangedType, APIConfigChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, APIConfigSecretChangedType, APIConfigSecretChangedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ApplicationKeyAddedEventType, ApplicationKeyAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, ApplicationKeyRemovedEventType, ApplicationKeyRemovedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, SAMLConfigAddedType, SAMLConfigAddedEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, SAMLConfigChangedType, SAMLConfigChangedEventMapper)
|
2021-01-22 13:31:52 +01:00
|
|
|
}
|