mirror of
https://github.com/standardnotes/server
synced 2026-07-31 14:16:46 -04:00
feat: sending messages. (#651)
* feat: sending messages. Co-authored-by: Mo <[email protected]> * fix: messages repository. Co-authored-by: Mo <[email protected]> --------- Co-authored-by: Mo <[email protected]>
This commit is contained in:
@@ -4,6 +4,10 @@ import { Message } from './Message'
|
||||
|
||||
export interface MessageRepositoryInterface {
|
||||
findByUuid: (uuid: Uuid) => Promise<Message | null>
|
||||
findByRecipientUuidAndReplaceabilityIdentifier: (dto: {
|
||||
recipientUuid: Uuid
|
||||
replaceabilityIdentifier: string
|
||||
}) => Promise<Message | null>
|
||||
save(message: Message): Promise<void>
|
||||
remove(message: Message): Promise<void>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user