mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
send / receive message.
This commit is contained in:
@ -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'
|
||||
|
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user