UNPKG

@mieweb/wikigdrive

Version:

Google Drive to MarkDown synchronization

28 lines 1.02 kB
import { FileContentService } from '../../utils/FileContentService.js'; import { HugoTheme } from '../server/routes/ConfigController.js'; import { RewriteRule } from '../../odt/applyRewriteRule.js'; export declare class UserConfig { remote_branch: string; hugo_theme?: HugoTheme; config_toml?: string; transform_subdir?: string; use_google_markdowns?: boolean; auto_sync?: boolean; fm_without_version?: boolean; actions_yaml?: string; rewrite_rules?: RewriteRule[]; preview_rewrite_rule?: string; companion_files_rule?: string; } export declare class UserConfigService { private fileService; private driveId?; config: UserConfig; constructor(fileService: FileContentService, driveId?: string | undefined); load(): Promise<UserConfig>; save(): Promise<void>; getDeployPrivateKeyPath(): Promise<string | null>; getDeployKey(): Promise<string | null>; genKeys(force?: boolean): Promise<void>; } //# sourceMappingURL=UserConfigService.d.ts.map