16 lines
466 B
TypeScript
16 lines
466 B
TypeScript
import { FileChange } from '../types';
|
|
import { DatabaseManager } from './db';
|
|
export declare class FileChangesDAO {
|
|
private dbManager;
|
|
constructor(dbManager: DatabaseManager);
|
|
private get db();
|
|
create(input: Partial<FileChange> & {
|
|
threadId: string;
|
|
filePath: string;
|
|
changeType: string;
|
|
}): FileChange;
|
|
findByThreadId(threadId: string): FileChange[];
|
|
private updateThreadStats;
|
|
private mapRowToFileChange;
|
|
}
|