2023-05-05 17:34:53 +02:00
|
|
|
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).
|
2023-06-21 16:06:18 +02:00
|
|
|
RegisterFilterEventMapper(AggregateType, IntentCheckedType, IntentCheckedEventMapper).
|
2023-08-11 18:36:18 +03:00
|
|
|
RegisterFilterEventMapper(AggregateType, WebAuthNChallengedType, eventstore.GenericEventMapper[WebAuthNChallengedEvent]).
|
|
|
|
RegisterFilterEventMapper(AggregateType, WebAuthNCheckedType, eventstore.GenericEventMapper[WebAuthNCheckedEvent]).
|
2023-08-15 12:50:42 +03:00
|
|
|
RegisterFilterEventMapper(AggregateType, TOTPCheckedType, eventstore.GenericEventMapper[TOTPCheckedEvent]).
|
2023-08-24 11:41:52 +02:00
|
|
|
RegisterFilterEventMapper(AggregateType, OTPSMSChallengedType, eventstore.GenericEventMapper[OTPSMSChallengedEvent]).
|
|
|
|
RegisterFilterEventMapper(AggregateType, OTPSMSSentType, eventstore.GenericEventMapper[OTPSMSSentEvent]).
|
|
|
|
RegisterFilterEventMapper(AggregateType, OTPSMSCheckedType, eventstore.GenericEventMapper[OTPSMSCheckedEvent]).
|
|
|
|
RegisterFilterEventMapper(AggregateType, OTPEmailChallengedType, eventstore.GenericEventMapper[OTPEmailChallengedEvent]).
|
|
|
|
RegisterFilterEventMapper(AggregateType, OTPEmailSentType, eventstore.GenericEventMapper[OTPEmailSentEvent]).
|
|
|
|
RegisterFilterEventMapper(AggregateType, OTPEmailCheckedType, eventstore.GenericEventMapper[OTPEmailCheckedEvent]).
|
2023-05-05 17:34:53 +02:00
|
|
|
RegisterFilterEventMapper(AggregateType, TokenSetType, TokenSetEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, MetadataSetType, MetadataSetEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, TerminateType, TerminateEventMapper)
|
|
|
|
}
|