feat: add removing revisions from shared vaults (#811)

This commit is contained in:
Karol Sójko
2023-09-07 12:02:38 +02:00
committed by GitHub
parent 376466d9b2
commit 3bd63f7674
18 changed files with 316 additions and 29 deletions
@@ -2,6 +2,7 @@ import {
DuplicateItemSyncedEvent,
EmailRequestedEvent,
ItemDumpedEvent,
ItemRemovedFromSharedVaultEvent,
ItemRevisionCreationRequestedEvent,
MessageSentToUserEvent,
NotificationAddedForUserEvent,
@@ -93,4 +94,10 @@ export interface DomainEventFactoryInterface {
sharedVaultUuid: string
userUuid: string
}): UserRemovedFromSharedVaultEvent
createItemRemovedFromSharedVaultEvent(dto: {
sharedVaultUuid: string
itemUuid: string
userUuid: string
roleNames: string[]
}): ItemRemovedFromSharedVaultEvent
}