mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-16 22:32:40 +00:00
add type defs for community automatic review
This commit is contained in:
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
import { Plugin, type App, type PluginManifest } from "./deps";
|
||||
import { LiveSyncCommands } from "./features/LiveSyncCommands.ts";
|
||||
import type { ObsidianServiceContext } from "@lib/services/implements/obsidian/ObsidianServiceContext.ts";
|
||||
import { LiveSyncBaseCore } from "./LiveSyncBaseCore.ts";
|
||||
export type LiveSyncCore = LiveSyncBaseCore<ObsidianServiceContext, LiveSyncCommands>;
|
||||
export default class ObsidianLiveSyncPlugin extends Plugin {
|
||||
core: LiveSyncCore;
|
||||
/**
|
||||
* Initialise service modules.
|
||||
*/
|
||||
private initialiseServiceModules;
|
||||
/**
|
||||
* @obsolete Use services.setting.saveSettingData instead. Save the settings to the disk. This is usually called after changing the settings in the code, to persist the changes.
|
||||
*/
|
||||
saveSettings(): Promise<void>;
|
||||
constructor(app: App, manifest: PluginManifest);
|
||||
private _startUp;
|
||||
onload(): void;
|
||||
onunload(): undefined;
|
||||
}
|
||||
Reference in New Issue
Block a user