@mieweb/wikigdrive
Version:
Google Drive to MarkDown synchronization
35 lines • 1.47 kB
TypeScript
import { Controller, type ControllerCallContext } from './Controller.js';
import { FolderRegistryContainer } from '../../folder_registry/FolderRegistryContainer.js';
import { FileContentService } from '../../../utils/FileContentService.js';
import { Container } from '../../../ContainerEngine.js';
export declare class DriveController extends Controller {
private readonly filesService;
private readonly folderRegistryContainer;
private readonly authContainer;
constructor(subPath: string, filesService: FileContentService, folderRegistryContainer: FolderRegistryContainer, authContainer: Container);
getDrives(ctx: ControllerCallContext): Promise<{
id: string;
folderId: string;
name: string;
exists: boolean;
}[]>;
getDrive(ctx: ControllerCallContext): Promise<{
gitStats: {
initialized: boolean;
headAhead: number;
headBehind: number;
unstaged: number;
remote_branch: string;
remote_url: string | null;
};
tocFilePath: string | null;
navFilePath: string | null;
id: import("../../../model/model.js").FileId;
name: string;
new?: boolean;
driveId?: import("../../../model/model.js").FileId;
}>;
downloadOdt(ctx: ControllerCallContext): Promise<void>;
downloadTransformed(ctx: ControllerCallContext): Promise<void>;
}
//# sourceMappingURL=DriveController.d.ts.map