2020-11-12 22:50:01 +01:00
|
|
|
package org
|
|
|
|
|
|
|
|
import (
|
2021-01-04 14:52:13 +01:00
|
|
|
"github.com/caos/zitadel/internal/v2/repository/policy"
|
2020-11-12 22:50:01 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2021-01-04 14:52:13 +01:00
|
|
|
LabelPolicyAddedEventType = orgEventTypePrefix + policy.LabelPolicyAddedEventType
|
|
|
|
LabelPolicyChangedEventType = orgEventTypePrefix + policy.LabelPolicyChangedEventType
|
2020-11-12 22:50:01 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
type LabelPolicyAddedEvent struct {
|
2021-01-04 14:52:13 +01:00
|
|
|
policy.LabelPolicyAddedEvent
|
2020-11-12 22:50:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
type LabelPolicyChangedEvent struct {
|
2021-01-04 14:52:13 +01:00
|
|
|
policy.LabelPolicyChangedEvent
|
2020-11-12 22:50:01 +01:00
|
|
|
}
|