mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-29 07:28:52 +00:00
feat: add assets to eventstore and event (#1674)
* fix: add assets to eventstore and event * fix: project member, grant member, app changed tests * fix: asset migrations * feat: add asset tests * feat: add asset tests * Update internal/eventstore/repository/repository.go Co-authored-by: Livio Amstutz <[email protected]> * feat: add asset tests Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
@@ -42,6 +42,10 @@ func (e *FeaturesSetEvent) UniqueConstraints() []*eventstore.EventUniqueConstrai
|
||||
return nil
|
||||
}
|
||||
|
||||
func (e *FeaturesSetEvent) Assets() []*eventstore.Asset {
|
||||
return nil
|
||||
}
|
||||
|
||||
func NewFeaturesSetEvent(
|
||||
base *eventstore.BaseEvent,
|
||||
changes []FeaturesChanges,
|
||||
@@ -163,6 +167,10 @@ func (e *FeaturesRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueCons
|
||||
return nil
|
||||
}
|
||||
|
||||
func (e *FeaturesRemovedEvent) Assets() []*eventstore.Asset {
|
||||
return nil
|
||||
}
|
||||
|
||||
func NewFeaturesRemovedEvent(base *eventstore.BaseEvent) *FeaturesRemovedEvent {
|
||||
return &FeaturesRemovedEvent{
|
||||
BaseEvent: *base,
|
||||
|
||||
Reference in New Issue
Block a user