You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.1 KiB
TypeScript
66 lines
1.1 KiB
TypeScript
5 years ago
|
interface Window {
|
||
|
CONSTANTS: any;
|
||
|
versionInfo: any;
|
||
|
|
||
|
Events: any;
|
||
|
deleteAllData: any;
|
||
|
clearLocalData: any;
|
||
|
getAccountManager: any;
|
||
|
getConversations: any;
|
||
|
getFriendsFromContacts: any;
|
||
|
mnemonic: any;
|
||
|
clipboard: any;
|
||
|
attemptConnection: any;
|
||
|
|
||
|
passwordUtil: any;
|
||
|
userConfig: any;
|
||
|
shortenPubkey: any;
|
||
|
|
||
|
dcodeIO: any;
|
||
|
libsignal: any;
|
||
|
libloki: any;
|
||
|
displayNameRegex: any;
|
||
|
|
||
|
Signal: any;
|
||
|
Whisper: any;
|
||
|
ConversationController: any;
|
||
|
|
||
|
// Following function needs to be written in background.js
|
||
|
// getMemberList: any;
|
||
|
|
||
|
onLogin: any;
|
||
|
setPassword: any;
|
||
|
textsecure: any;
|
||
|
Session: any;
|
||
|
log: any;
|
||
|
i18n: any;
|
||
|
friends: any;
|
||
|
generateID: any;
|
||
|
storage: any;
|
||
|
pushToast: any;
|
||
|
|
||
|
confirmationDialog: any;
|
||
|
showQRDialog: any;
|
||
|
showSeedDialog: any;
|
||
|
showPasswordDialog: any;
|
||
|
showEditProfileDialog: any;
|
||
|
|
||
|
deleteAccount: any;
|
||
|
|
||
|
toggleTheme: any;
|
||
|
toggleMenuBar: any;
|
||
|
toggleSpellCheck: any;
|
||
|
toggleLinkPreview: any;
|
||
|
toggleMediaPermissions: any;
|
||
|
|
||
|
getSettingValue: any;
|
||
|
setSettingValue: any;
|
||
|
lokiFeatureFlags: any;
|
||
|
|
||
|
resetDatabase: any;
|
||
|
}
|
||
|
|
||
|
interface Promise<T> {
|
||
|
ignore(): void;
|
||
|
}
|