feat: add item revision creation requested event

This commit is contained in:
Karol Sójko
2022-11-18 14:30:11 +01:00
parent abfbacb8c2
commit 5c9dff38c9
3 changed files with 12 additions and 0 deletions
@@ -0,0 +1,7 @@
import { DomainEventInterface } from './DomainEventInterface'
import { ItemRevisionCreationRequestedEventPayload } from './ItemRevisionCreationRequestedEventPayload'
export interface ItemRevisionCreationRequestedEvent extends DomainEventInterface {
type: 'ITEM_REVISION_CREATION_REQUESTED'
payload: ItemRevisionCreationRequestedEventPayload
}
@@ -0,0 +1,3 @@
export interface ItemRevisionCreationRequestedEventPayload {
itemUuid: string
}
@@ -46,6 +46,8 @@ export * from './Event/GoogleDriveBackupFailedEvent'
export * from './Event/GoogleDriveBackupFailedEventPayload'
export * from './Event/InvoiceGeneratedEvent'
export * from './Event/InvoiceGeneratedEventPayload'
export * from './Event/ItemRevisionCreationRequestedEvent'
export * from './Event/ItemRevisionCreationRequestedEventPayload'
export * from './Event/ItemsSyncedEvent'
export * from './Event/ItemsSyncedEventPayload'
export * from './Event/ListedAccountCreatedEvent'