/** * Tool Database API Interfaces * SOLID Principles: Interface Segregation */ export interface DatabaseConfig { host: string; port: number; database: string; user: string; password: string; } export interface IToolDataService { saveToolData(projectId: string, toolName: string, data: any): Promise; getToolData(projectId: string, toolName: string): Promise; deleteToolData(projectId: string, toolName: string): Promise; } export interface ISemanticSearchService { getSemanticSearchData(projectId: string, filters?: any): Promise; saveSemanticSearchData(projectId: string, data: any[]): Promise; deleteSemanticSearchData(projectId: string): Promise; saveSemanticSearch(projectId: string, data: any[]): Promise; getSemanticSearch(projectId: string, filters?: any): Promise; } export interface ITreeNavigationService { saveTreeNavigation(projectId: string, data: any[]): Promise; getTreeNavigation(projectId: string, filters?: any): Promise; deleteTreeNavigation(projectId: string): Promise; } export interface ICodeDuplicationsService { saveDuplications(projectId: string, data: any[]): Promise; getDuplications(projectId: string, filters?: any): Promise; deleteDuplications(projectId: string): Promise; } export interface ICentralizationService { saveCentralization(projectId: string, data: any[]): Promise; getCentralization(projectId: string, filters?: any): Promise; deleteCentralization(projectId: string): Promise; } export interface ITestCoverageService { saveTestCoverage(projectId: string, data: any[]): Promise; getTestCoverage(projectId: string, filters?: any): Promise; deleteTestCoverage(projectId: string): Promise; } export interface ICompilationService { saveCompilation(projectId: string, data: any[]): Promise; getCompilation(projectId: string, filters?: any): Promise; deleteCompilation(projectId: string): Promise; } export interface ISOLIDViolationsService { saveSOLIDViolations(projectId: string, data: any[]): Promise; getSOLIDViolations(projectId: string, filters?: any): Promise; deleteSOLIDViolations(projectId: string): Promise; } export interface IDatabaseConnection { initialize(): Promise; query(text: string, params?: any[]): Promise; close(): Promise; } //# sourceMappingURL=interfaces.d.ts.map