mirror of
https://github.com/standardnotes/server
synced 2026-07-30 02:16:37 -04:00
feat: user to user message model. (#649)
Co-authored-by: Mo <[email protected]>
This commit is contained in:
@@ -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>
|
||||
}
|
||||
Reference in New Issue
Block a user