chore: export types
This commit is contained in:
@@ -3,8 +3,10 @@ import { ApplicationService, WebPrefKey } from 'snjs';
|
|||||||
export declare class PreferencesManager extends ApplicationService {
|
export declare class PreferencesManager extends ApplicationService {
|
||||||
private userPreferences;
|
private userPreferences;
|
||||||
private loadingPrefs;
|
private loadingPrefs;
|
||||||
|
private unubscribeStreamItems?;
|
||||||
/** @override */
|
/** @override */
|
||||||
onAppLaunch(): Promise<void>;
|
onAppLaunch(): Promise<void>;
|
||||||
|
deinit(): void;
|
||||||
get webApplication(): WebApplication;
|
get webApplication(): WebApplication;
|
||||||
streamPreferences(): void;
|
streamPreferences(): void;
|
||||||
private reloadSingleton;
|
private reloadSingleton;
|
||||||
|
|||||||
@@ -40,3 +40,5 @@ export declare const STRING_AUTHENTICATION_REQUIRED = "Authentication Required";
|
|||||||
/** @password_change */
|
/** @password_change */
|
||||||
export declare const STRING_FAILED_PASSWORD_CHANGE = "There was an error re-encrypting your items. Your password was changed, but not all your items were properly re-encrypted and synced. You should try syncing again. If all else fails, you should restore your notes from backup.";
|
export declare const STRING_FAILED_PASSWORD_CHANGE = "There was an error re-encrypting your items. Your password was changed, but not all your items were properly re-encrypted and synced. You should try syncing again. If all else fails, you should restore your notes from backup.";
|
||||||
export declare const STRING_CONFIRM_APP_QUIT_DURING_UPGRADE: string;
|
export declare const STRING_CONFIRM_APP_QUIT_DURING_UPGRADE: string;
|
||||||
|
export declare const STRING_CONFIRM_APP_QUIT_DURING_PASSCODE_CHANGE: string;
|
||||||
|
export declare const STRING_CONFIRM_APP_QUIT_DURING_PASSCODE_REMOVAL: string;
|
||||||
|
|||||||
@@ -6,3 +6,4 @@ export declare function dateToLocalizedString(date: Date): string;
|
|||||||
/** Via https://davidwalsh.name/javascript-debounce-function */
|
/** Via https://davidwalsh.name/javascript-debounce-function */
|
||||||
export declare function debounce(this: any, func: any, wait: number, immediate?: boolean): () => void;
|
export declare function debounce(this: any, func: any, wait: number, immediate?: boolean): () => void;
|
||||||
export declare function isDesktopApplication(): any;
|
export declare function isDesktopApplication(): any;
|
||||||
|
export declare function preventRefreshing(message: string, operation: () => Promise<void> | void): Promise<void>;
|
||||||
|
|||||||
Reference in New Issue
Block a user