mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 23:27:23 +00:00

* chore: move to new org * logging * fix: org rename caos -> zitadel Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
18 lines
387 B
Go
18 lines
387 B
Go
package handler
|
|
|
|
import "github.com/zitadel/zitadel/internal/eventstore"
|
|
|
|
//EventReducer represents the required data
|
|
//to work with events
|
|
type EventReducer struct {
|
|
Event eventstore.EventType
|
|
Reduce Reduce
|
|
}
|
|
|
|
//EventReducer represents the required data
|
|
//to work with aggregates
|
|
type AggregateReducer struct {
|
|
Aggregate eventstore.AggregateType
|
|
EventRedusers []EventReducer
|
|
}
|