mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-22 09:03:21 +00:00
10 lines
493 B
TypeScript
10 lines
493 B
TypeScript
import type { DiagnosticNameMode } from "@vrtmrz/livesync-commonlib/diagnostics";
|
|
import type { DatabaseDiagnosticKind, DatabaseDiagnosticOutput } from "./databaseDiagnostics";
|
|
|
|
/** The dialogue can run or cancel an inspection without receiving the service container. */
|
|
export interface DatabaseDiagnosticDialogOptions {
|
|
kind: DatabaseDiagnosticKind;
|
|
run(nameMode: DiagnosticNameMode, onProgress: (processed: number) => void): Promise<DatabaseDiagnosticOutput>;
|
|
cancel(): void;
|
|
}
|