mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 19:14:23 +00:00
10 lines
456 B
Go
10 lines
456 B
Go
|
package deviceauth
|
||
|
|
||
|
import "github.com/zitadel/zitadel/internal/eventstore"
|
||
|
|
||
|
func RegisterEventMappers(es *eventstore.Eventstore) {
|
||
|
es.RegisterFilterEventMapper(AggregateType, AddedEventType, eventstore.GenericEventMapper[AddedEvent]).
|
||
|
RegisterFilterEventMapper(AggregateType, ApprovedEventType, eventstore.GenericEventMapper[ApprovedEvent]).
|
||
|
RegisterFilterEventMapper(AggregateType, CanceledEventType, eventstore.GenericEventMapper[CanceledEvent])
|
||
|
}
|