feat(notes/client|server): sending alert results!

This commit is contained in:
Christopher committed 2021-02-08 18:54:13 +01:00
1 parent 4d92847163
commit a8f025aff3
5 files changed
+46 -29

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
export default {
TWITTER: 'TWITTER',
MESSAGES: 'MESSAGES',
NOTES: 'NOTES'
};
+2
View File
@@ -76,6 +76,8 @@ export default {
NOTE_UPDATE_NOTE: 'phone:updateNote',
NOTE_UPDATE_NOTE_SUCCESS: 'phone:updateNoteSuccess',
NOTE_UPDATE_NOTE_FAILURE: 'phone:updateNoteFailure',
NOTE_ACTION_RESULT: 'phone:notesActionResult',
// DO NOT CHANGE WHATS BELOW, PLEASE - CHIP
OPEN_APP_CONTACTS: 'phone:app:CONTACTS',
+4
View File
@@ -17,3 +17,7 @@ export function sendTwitterMessage(method: string, data: any = {}) {
export function sendMessageEvent(method: string, data: any = {}) {
return sendMessage(apps.MESSAGES, method, data);
}
export function sendNotesEvent(method: string, data: any = {}) {
return sendMessage(apps.NOTES, method, data);
}