Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
toggleControls: ActionType.Promise, "hideControls"> | void, void>(),
toggleLocalDbMailsListViewMode: ActionType.Promise(),
notification: ActionType.Observable>(),
};
export interface InitResponse {
electronLocations: ElectronContextLocations;
hasSavedPassword?: boolean;
snapPasswordManagerServiceHint?: boolean;
keytarSupport: boolean;
checkUpdateAndNotify: boolean;
}
export const IPC_MAIN_API = createIpcMainApiService({
channel: `${PACKAGE_NAME}:ipcMain-api`,
apiDefinition: ENDPOINTS_DEFINITION,
});
export const IPC_MAIN_API_DB_INDEXER_ON_ACTIONS = unionize({
Bootstrapped: ofType<{}>(),
ProgressState: ofType<{
key: DbModel.DbAccountPk;
status: {
indexing?: boolean;
searching?: boolean;
};
} | {
status: {
indexing?: boolean;
};