mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 19:44:21 +00:00
ff87264f95
* add setup steps * refactoring * omitempty * cleanup * begin org * create org * setup org * setup org * merge * fixes * fixes * fixes
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)
|
|
}
|