send / receive message.

This commit is contained in:
Miroslav Šedivý
2021-01-28 16:08:17 +01:00
parent 115b8b93d0
commit 962b84d89e
4 changed files with 38 additions and 0 deletions

View File

@ -32,5 +32,8 @@ export const CURSOR_IMAGE = 'cursor/image'
export const BORADCAST_STATUS = 'broadcast/status'
export const SEND_UNICAST = 'send/unicast'
export const SEND_BROADCAST = 'send/broadcast'
export const FILE_CHOOSER_DIALOG_OPENED = 'file_chooser_dialog/opened'
export const FILE_CHOOSER_DIALOG_CLOSED = 'file_chooser_dialog/closed'

View File

@ -170,3 +170,14 @@ export interface BroadcastStatus {
is_active: boolean
url: string | undefined
}
/////////////////////////////
// Send
/////////////////////////////
export interface SendMessage {
event: string | undefined
sender: string
subject: string
body: string
}