chore: export types

This commit is contained in:
Baptiste Grob
2020-08-26 17:33:52 +02:00
parent 730c81646a
commit 3126a40e4a
3 changed files with 5 additions and 0 deletions

View File

@@ -3,8 +3,10 @@ import { ApplicationService, WebPrefKey } from 'snjs';
export declare class PreferencesManager extends ApplicationService {
private userPreferences;
private loadingPrefs;
private unubscribeStreamItems?;
/** @override */
onAppLaunch(): Promise<void>;
deinit(): void;
get webApplication(): WebApplication;
streamPreferences(): void;
private reloadSingleton;

View File

@@ -40,3 +40,5 @@ export declare const STRING_AUTHENTICATION_REQUIRED = "Authentication Required";
/** @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_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;

View File

@@ -6,3 +6,4 @@ export declare function dateToLocalizedString(date: Date): string;
/** Via https://davidwalsh.name/javascript-debounce-function */
export declare function debounce(this: any, func: any, wait: number, immediate?: boolean): () => void;
export declare function isDesktopApplication(): any;
export declare function preventRefreshing(message: string, operation: () => Promise<void> | void): Promise<void>;