fix(history): remove selections atomically
This commit is contained in:
@@ -82,6 +82,7 @@ export const IPC_CHANNELS = {
|
||||
HISTORY_ENTRY_ADDED: "history:entry-added",
|
||||
CLEAR_HISTORY: "history:clear",
|
||||
REMOVE_HISTORY_ENTRY: "history:remove-entry",
|
||||
REMOVE_HISTORY_ENTRIES: "history:remove-entries",
|
||||
REVEAL_HISTORY_ENTRY: "history:reveal-entry",
|
||||
SET_PACKAGE_PRIORITY: "queue:set-package-priority",
|
||||
SKIP_ITEMS: "queue:skip-items",
|
||||
|
||||
@@ -145,6 +145,7 @@ export interface ElectronApi {
|
||||
onHistoryEntryAdded: (callback: (entry: HistoryEntry) => void) => () => void;
|
||||
clearHistory: () => Promise<void>;
|
||||
removeHistoryEntry: (entryId: string) => Promise<void>;
|
||||
removeHistoryEntries: (entryIds: string[]) => Promise<void>;
|
||||
revealHistoryEntry: (entryId: string) => Promise<HistoryRevealResult>;
|
||||
setPackagePriority: (packageId: string, priority: PackagePriority) => Promise<void>;
|
||||
skipItems: (itemIds: string[]) => Promise<void>;
|
||||
|
||||
Reference in New Issue
Block a user