mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(notes/client|server): sending alert results!
This commit is contained in:
1 parent
4d92847163
commit
a8f025aff3
5 files changed
+46
-29
No files matched your search
@@ -1,4 +1,5 @@
|
||||
export default {
|
||||
TWITTER: 'TWITTER',
|
||||
MESSAGES: 'MESSAGES',
|
||||
NOTES: 'NOTES'
|
||||
};
|
||||
@@ -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',
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user