@mieweb/wikigdrive
Version:
Google Drive to MarkDown synchronization
22 lines • 685 B
TypeScript
import { FileContentService } from '../../utils/FileContentService.js';
export interface LogRow {
filePath: string;
mtime?: number;
id: string;
type: string;
event: string;
}
export declare const LOG_NAME = ".wgd-local-log.csv";
export declare class LocalLog {
private transformFileService;
private rows;
constructor(transformFileService: FileContentService);
load(): Promise<void>;
append(row: LogRow): void;
getLogs(): LogRow[];
save(): Promise<void>;
findLastFile(id: string): LogRow;
findLastFileByPath(filePath: string): LogRow | null;
remove(filePath: string): Promise<boolean>;
}
//# sourceMappingURL=LocalLog.d.ts.map