mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
Merge branch 'master' into feat/calling-lua-ts
This commit is contained in:
commit
a227743bdc
195 files changed
+2244
-1886
No files matched your search
@@ -1,4 +1,4 @@
|
||||
export default {
|
||||
TWITTER: "TWITTER",
|
||||
MESSAGES: "MESSAGES"
|
||||
MESSAGES: "MESSAGES",
|
||||
};
|
||||
@@ -1,4 +1,4 @@
|
||||
import config from '../../config.json';
|
||||
import { ServerConfig } from '../../phone/src/common/typings/config';
|
||||
import config from "../../config.json";
|
||||
import { ServerConfig } from "../../phone/src/common/typings/config";
|
||||
|
||||
export default <ServerConfig>config;
|
||||
export default <ServerConfig>config;
|
||||
+58
-58
@@ -28,74 +28,74 @@ export default {
|
||||
TWITTER_REPORT_FAILURE: "reportTweetFailed",
|
||||
|
||||
// Contacts
|
||||
CONTACTS_SEND_CONTACTS: 'phone:sendContacts',
|
||||
CONTACTS_GET_CONTACTS: 'phone:getContacts',
|
||||
CONTACTS_ADD_CONTACT_NUI: 'contacts:add',
|
||||
CONTACTS_ADD_CONTACT: 'contacts:add',
|
||||
CONTACTS_ADD_CONTACT_SUCCESS: 'contacts:addSuccess',
|
||||
CONTACTS_UPDATE_CONTACT: 'phone:updateContact',
|
||||
CONTACTS_DELETE_CONTACT: 'phone:deleteContact',
|
||||
CONTACTS_DELETE_CONTACT_SUCCESS: 'contacts:deleteSuccess',
|
||||
CONTACTS_UPDATE_CONTACT_SUCCESS: 'phone:updateContactSuccess',
|
||||
CONTACTS_SEND_CONTACTS: "phone:sendContacts",
|
||||
CONTACTS_GET_CONTACTS: "phone:getContacts",
|
||||
CONTACTS_ADD_CONTACT_NUI: "contacts:add",
|
||||
CONTACTS_ADD_CONTACT: "contacts:add",
|
||||
CONTACTS_ADD_CONTACT_SUCCESS: "contacts:addSuccess",
|
||||
CONTACTS_UPDATE_CONTACT: "phone:updateContact",
|
||||
CONTACTS_DELETE_CONTACT: "phone:deleteContact",
|
||||
CONTACTS_DELETE_CONTACT_SUCCESS: "contacts:deleteSuccess",
|
||||
CONTACTS_UPDATE_CONTACT_SUCCESS: "phone:updateContactSuccess",
|
||||
|
||||
// Sellout
|
||||
SELLOUT_ADD_LISTING: 'phone:addListing',
|
||||
SELLOUT_FETCH_LISTING: 'phone:fetchAllListings',
|
||||
SELLOUT_SEND_LISTING: 'phone:sendAllListings',
|
||||
SELLOUT_ADD_LISTING: "phone:addListing",
|
||||
SELLOUT_FETCH_LISTING: "phone:fetchAllListings",
|
||||
SELLOUT_SEND_LISTING: "phone:sendAllListings",
|
||||
|
||||
//
|
||||
BANK_ADD_TRANSFER: 'phone:addTransfer',
|
||||
BANK_ADD_TRANSFER_SUCCESS: 'phone:addTransferSuccess',
|
||||
BANK_FETCH_TRANSACTIONS: 'phone:fetchAllTransactions',
|
||||
BANK_SEND_TRANSFERS: 'phone:sendTransfers',
|
||||
BANK_TRANSACTION_ALERT: 'phone:bankTransactionAlert',
|
||||
BANK_TRANSACTION_NOTIFICATION: 'phone:bankTransactionNotification',
|
||||
BANK_SEND_CREDENTIALS: 'phone:sendBankCredentials',
|
||||
BANK_GET_CREDENTIALS: 'phone:getBankCredentials',
|
||||
//
|
||||
BANK_ADD_TRANSFER: "phone:addTransfer",
|
||||
BANK_ADD_TRANSFER_SUCCESS: "phone:addTransferSuccess",
|
||||
BANK_FETCH_TRANSACTIONS: "phone:fetchAllTransactions",
|
||||
BANK_SEND_TRANSFERS: "phone:sendTransfers",
|
||||
BANK_TRANSACTION_ALERT: "phone:bankTransactionAlert",
|
||||
BANK_TRANSACTION_NOTIFICATION: "phone:bankTransactionNotification",
|
||||
BANK_SEND_CREDENTIALS: "phone:sendBankCredentials",
|
||||
BANK_GET_CREDENTIALS: "phone:getBankCredentials",
|
||||
|
||||
//messages
|
||||
MESSAGES_FETCH_MESSAGE_GROUPS: 'phone:fetchMessageGroups',
|
||||
MESSAGES_FETCH_MESSAGE_GROUPS_SUCCESS: 'phone:fetchMessageGroupsSuccess',
|
||||
MESSAGES_FETCH_MESSAGE_GROUPS_FAILED: 'phone:fetchMessageGroupsFailed',
|
||||
MESSAGES_CREATE_MESSAGE_GROUP: 'phone:createMessageGroup',
|
||||
MESSAGES_CREATE_MESSAGE_GROUP_SUCCESS: 'phone:createMessageGroupSuccess',
|
||||
MESSAGES_CREATE_MESSAGE_GROUP_FAILED: 'phone:createMessageGroupFailed',
|
||||
MESSAGES_SEND_MESSAGE: 'phone:sendMessage',
|
||||
MESSAGES_SEND_MESSAGE_SUCCESS: 'phone:sendMessageSuccess',
|
||||
MESSAGES_SEND_MESSAGE_FAILED: 'phone:sendMessageFailed',
|
||||
MESSAGES_FETCH_MESSAGES: 'phone:fetchMessages',
|
||||
MESSAGES_FETCH_MESSAGES_SUCCESS: 'phone:fetchMessagesSuccess',
|
||||
MESSAGES_FETCH_MESSAGES_FAILED: 'phone:fetchMessagesFailed',
|
||||
MESSAGES_FETCH_MESSAGE_GROUPS: "phone:fetchMessageGroups",
|
||||
MESSAGES_FETCH_MESSAGE_GROUPS_SUCCESS: "phone:fetchMessageGroupsSuccess",
|
||||
MESSAGES_FETCH_MESSAGE_GROUPS_FAILED: "phone:fetchMessageGroupsFailed",
|
||||
MESSAGES_CREATE_MESSAGE_GROUP: "phone:createMessageGroup",
|
||||
MESSAGES_CREATE_MESSAGE_GROUP_SUCCESS: "phone:createMessageGroupSuccess",
|
||||
MESSAGES_CREATE_MESSAGE_GROUP_FAILED: "phone:createMessageGroupFailed",
|
||||
MESSAGES_SEND_MESSAGE: "phone:sendMessage",
|
||||
MESSAGES_SEND_MESSAGE_SUCCESS: "phone:sendMessageSuccess",
|
||||
MESSAGES_SEND_MESSAGE_FAILED: "phone:sendMessageFailed",
|
||||
MESSAGES_FETCH_MESSAGES: "phone:fetchMessages",
|
||||
MESSAGES_FETCH_MESSAGES_SUCCESS: "phone:fetchMessagesSuccess",
|
||||
MESSAGES_FETCH_MESSAGES_FAILED: "phone:fetchMessagesFailed",
|
||||
|
||||
// Notes
|
||||
NOTE_ADD_NOTE: 'phone:addNote',
|
||||
NOTE_FETCH_ALL_NOTES: 'phone:fetchAllNotes',
|
||||
NOTE_SEND_NOTE: 'phone:sendNote',
|
||||
NOTE_SEND_NOTE_SUCCESS: 'phone:sendNoteSuccess',
|
||||
NOTE_DELETE_NOTE: 'phone:deleteNote',
|
||||
NOTE_UPDATE_NOTE: 'phone:updateNote',
|
||||
NOTE_UPDATE_NOTE_SUCCESS: 'phone:updateNoteSuccess',
|
||||
NOTE_UPDATE_NOTE_FAILURE: 'phone:updateNoteFailure',
|
||||
// Notes
|
||||
NOTE_ADD_NOTE: "phone:addNote",
|
||||
NOTE_FETCH_ALL_NOTES: "phone:fetchAllNotes",
|
||||
NOTE_SEND_NOTE: "phone:sendNote",
|
||||
NOTE_SEND_NOTE_SUCCESS: "phone:sendNoteSuccess",
|
||||
NOTE_DELETE_NOTE: "phone:deleteNote",
|
||||
NOTE_UPDATE_NOTE: "phone:updateNote",
|
||||
NOTE_UPDATE_NOTE_SUCCESS: "phone:updateNoteSuccess",
|
||||
NOTE_UPDATE_NOTE_FAILURE: "phone:updateNoteFailure",
|
||||
|
||||
// DO NOT CHANGE WHATS BELOW, PLEASE - CHIP
|
||||
OPEN_APP_CONTACTS: 'phone:app:CONTACTS',
|
||||
OPEN_APP_BANK: 'phone:app:BANK',
|
||||
OPEN_APP_NOTES: 'phone:app:NOTES',
|
||||
OPEN_APP_LISTINGS: 'phone:app:SELLOUT',
|
||||
OPEN_APP_CAMERA: 'phone:app:CAMERA',
|
||||
OPEN_APP_CONTACTS: "phone:app:CONTACTS",
|
||||
OPEN_APP_BANK: "phone:app:BANK",
|
||||
OPEN_APP_NOTES: "phone:app:NOTES",
|
||||
OPEN_APP_LISTINGS: "phone:app:SELLOUT",
|
||||
OPEN_APP_CAMERA: "phone:app:CAMERA",
|
||||
|
||||
// camera
|
||||
CAMERA_TAKE_PHOTO: 'phone:TakePhoto',
|
||||
CAMERA_UPLOAD_PHOTO: 'phone:UploadPhoto',
|
||||
CAMERA_FETCH_PHOTOS: 'phone:FetchPhotos',
|
||||
CAMERA_SEND_PHOTOS: 'phone:SendPhotos',
|
||||
CAMERA_DELETE_PHOTO: 'photo:deletePhoto',
|
||||
CAMERA_DELETE_PHOTO_SUCCESS: 'phone:deletePhotoSuccess',
|
||||
CONTACTS_ACTION_RESULT: 'phone:contactActionResult',
|
||||
CAMERA_TAKE_PHOTO: "phone:TakePhoto",
|
||||
CAMERA_UPLOAD_PHOTO: "phone:UploadPhoto",
|
||||
CAMERA_FETCH_PHOTOS: "phone:FetchPhotos",
|
||||
CAMERA_SEND_PHOTOS: "phone:SendPhotos",
|
||||
CAMERA_DELETE_PHOTO: "photo:deletePhoto",
|
||||
CAMERA_DELETE_PHOTO_SUCCESS: "phone:deletePhotoSuccess",
|
||||
CONTACTS_ACTION_RESULT: "phone:contactActionResult",
|
||||
// copy
|
||||
PHONE_USE_CLIPBOARD: 'phone:useClipboard',
|
||||
PHONE_USE_CLIPBOARD: "phone:useClipboard",
|
||||
|
||||
// calling
|
||||
PHONE_BEGIN_CALL: 'phone:beginCall',
|
||||
PHONE_START_CALL: 'phone:startCall'
|
||||
}
|
||||
PHONE_BEGIN_CALL: "phone:beginCall",
|
||||
PHONE_START_CALL: "phone:startCall",
|
||||
};
|
||||
@@ -16,4 +16,4 @@ export function sendTwitterMessage(method: string, data: any = {}) {
|
||||
|
||||
export function sendMessageEvent(method: string, data: any = {}) {
|
||||
return sendMessage(apps.MESSAGES, method, data);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user