initial working version

This commit is contained in:
erik-sn committed 2020-11-19 13:41:23 -05:00
1 parent b87baeb12e
commit 956070951a
23 files changed
+260 -107

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
export default {
TWITTER: "TWITTER",
MESSAGES: "MESSAGES"
};
+3 -1
View File
@@ -55,7 +55,9 @@ export default {
//messages
MESSAGES_SEND_MESSAGE: 'phone:sendMessage',
MESSAGES_GET_MESSAGES: 'phone:getMessage',
MESSAGES_FETCH_MESSAGES: 'phone:fetchMessages',
MESSAGES_FETCH_MESSAGES_SUCCESS: 'phone:fetchMessagesSuccess',
MESSAGES_FETCH_MESSAGES_FAILED: 'phone:fetchMessagesFailed',
// Notes
NOTE_ADD_NOTE: 'phone:addNote',
+4
View File
@@ -13,3 +13,7 @@ function sendMessage(app: string, method: string, data: any) {
export function sendTwitterMessage(method: string, data: any = {}) {
return sendMessage(apps.TWITTER, method, data);
}
export function sendMessageEvent(method: string, data: any = {}) {
return sendMessage(apps.MESSAGES, method, data);
}