mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
15 lines
866 B
Go
15 lines
866 B
Go
package session
|
|
|
|
import "github.com/zitadel/zitadel/internal/eventstore"
|
|
|
|
func RegisterEventMappers(es *eventstore.Eventstore) {
|
|
es.RegisterFilterEventMapper(AggregateType, AddedType, AddedEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, UserCheckedType, UserCheckedEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, PasswordCheckedType, PasswordCheckedEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, PasskeyChallengedType, eventstore.GenericEventMapper[PasskeyChallengedEvent]).
|
|
RegisterFilterEventMapper(AggregateType, PasskeyCheckedType, eventstore.GenericEventMapper[PasskeyCheckedEvent]).
|
|
RegisterFilterEventMapper(AggregateType, TokenSetType, TokenSetEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, MetadataSetType, MetadataSetEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, TerminateType, TerminateEventMapper)
|
|
}
|