init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { Plugin } from 'obsidian';
|
||||
|
||||
export interface ModuleSettings {
|
||||
enabled: boolean;
|
||||
settings: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface ZeroQSettings {
|
||||
modules: Record<string, ModuleSettings>;
|
||||
}
|
||||
|
||||
export interface QoLModule {
|
||||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
defaultSettings: Record<string, unknown>;
|
||||
onload(plugin: Plugin, moduleSettings: Record<string, unknown>): void;
|
||||
onunload(plugin: Plugin): void;
|
||||
}
|
||||
Reference in New Issue
Block a user