mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-16 04:48:04 +00:00
20 lines
530 B
Go
20 lines
530 B
Go
|
package projection
|
||
|
|
||
|
import (
|
||
|
"github.com/zitadel/zitadel/internal/eventstore"
|
||
|
"github.com/zitadel/zitadel/internal/eventstore/handler/v2"
|
||
|
"github.com/zitadel/zitadel/internal/repository/org"
|
||
|
"github.com/zitadel/zitadel/internal/repository/project"
|
||
|
)
|
||
|
|
||
|
func newFillProjectGrantFields(config handler.Config) *handler.FieldHandler {
|
||
|
return handler.NewFieldHandler(
|
||
|
&config,
|
||
|
"project_grant_fields",
|
||
|
map[eventstore.AggregateType][]eventstore.EventType{
|
||
|
org.AggregateType: nil,
|
||
|
project.AggregateType: nil,
|
||
|
},
|
||
|
)
|
||
|
}
|