2023-05-05 15:34:53 +00: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 14:06:18 +00:00
|
|
|
RegisterFilterEventMapper(AggregateType, IntentCheckedType, IntentCheckedEventMapper).
|
2023-08-11 15:36:18 +00:00
|
|
|
RegisterFilterEventMapper(AggregateType, WebAuthNChallengedType, eventstore.GenericEventMapper[WebAuthNChallengedEvent]).
|
|
|
|
RegisterFilterEventMapper(AggregateType, WebAuthNCheckedType, eventstore.GenericEventMapper[WebAuthNCheckedEvent]).
|
2023-08-15 09:50:42 +00:00
|
|
|
RegisterFilterEventMapper(AggregateType, TOTPCheckedType, eventstore.GenericEventMapper[TOTPCheckedEvent]).
|
2023-08-24 09:41:52 +00: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 15:34:53 +00:00
|
|
|
RegisterFilterEventMapper(AggregateType, TokenSetType, TokenSetEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, MetadataSetType, MetadataSetEventMapper).
|
|
|
|
RegisterFilterEventMapper(AggregateType, TerminateType, TerminateEventMapper)
|
|
|
|
}
|