mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
20 lines
955 B
Go
20 lines
955 B
Go
|
package org
|
||
|
|
||
|
import (
|
||
|
"github.com/caos/zitadel/internal/eventstore/v2"
|
||
|
)
|
||
|
|
||
|
func RegisterEventMappers(es *eventstore.Eventstore) {
|
||
|
es.RegisterFilterEventMapper(OrgAdded, OrgAddedEventMapper).
|
||
|
RegisterFilterEventMapper(OrgChanged, OrgChangedEventMapper).
|
||
|
//RegisterFilterEventMapper(OrgDeactivated, OrgChangedEventMapper). TODO: !
|
||
|
//RegisterFilterEventMapper(OrgReactivated, OrgChangedEventMapper).
|
||
|
//RegisterFilterEventMapper(OrgRemoved, OrgChangedEventMapper).
|
||
|
RegisterFilterEventMapper(OrgDomainAdded, DomainAddedEventMapper).
|
||
|
RegisterFilterEventMapper(OrgDomainVerificationAdded, DomainVerificationAddedEventMapper).
|
||
|
RegisterFilterEventMapper(OrgDomainVerificationFailed, DomainVerificationFailedEventMapper).
|
||
|
RegisterFilterEventMapper(OrgDomainVerified, DomainVerifiedEventMapper).
|
||
|
RegisterFilterEventMapper(OrgDomainPrimarySet, DomainPrimarySetEventMapper).
|
||
|
RegisterFilterEventMapper(OrgDomainRemoved, DomainRemovedEventMapper)
|
||
|
}
|