feat: user to user message model. (#649)

Co-authored-by: Mo <[email protected]>
This commit is contained in:
Karol Sójko
2023-07-10 12:10:25 +02:00
committed by GitHub
co-authored by Mo
parent 2606f6d929
commit f759261919
6 changed files with 181 additions and 0 deletions
@@ -0,0 +1,9 @@
import { Uuid } from '@standardnotes/domain-core'
import { Message } from './Message'
export interface MessageRepositoryInterface {
findByUuid: (uuid: Uuid) => Promise<Message | null>
save(message: Message): Promise<void>
remove(message: Message): Promise<void>
}