This commit is contained in:
vorotamoroz
2024-11-08 11:12:35 +00:00
parent a2b36ccf31
commit 8b45dd1d24

View File

@@ -0,0 +1,10 @@
import type { TFile } from "../deps";
import type { FilePathWithPrefix, LoadedEntry } from "../lib/src/common/types";
export const EVENT_REQUEST_SHOW_HISTORY = "show-history";
declare global {
interface LSEvents {
[EVENT_REQUEST_SHOW_HISTORY]: { file: TFile, fileOnDB: LoadedEntry } | { file: FilePathWithPrefix, fileOnDB: LoadedEntry };
}
}