UNPKG

gitdb-database

Version:

A production-ready CLI tool for managing a NoSQL database using GitHub repositories as storage

64 lines 1.44 kB
export interface DiagnosticResult { status: 'healthy' | 'warning' | 'error'; category: string; message: string; recommendation?: string; severity: 'low' | 'medium' | 'high' | 'critical'; } export interface HealthCheck { name: string; description: string; check: () => Promise<DiagnosticResult>; } export declare class AIDiagnostics { private octokit; private owner; private repo; private token; constructor(token: string, owner: string, repo: string); /** * Run comprehensive health check */ runHealthCheck(): Promise<DiagnosticResult[]>; /** * Check GitHub API connection */ private checkGitHubConnection; /** * Check repository access */ private checkRepositoryAccess; /** * Check token permissions */ private checkTokenPermissions; /** * Check rate limits */ private checkRateLimits; /** * Check data integrity */ private checkDataIntegrity; /** * Check performance metrics */ private checkPerformance; /** * Get list of collections */ private getCollections; /** * Get collection data */ private getCollectionData; /** * Get total document count */ private getTotalDocuments; /** * Generate diagnostic report */ generateReport(): Promise<string>; } //# sourceMappingURL=diagnostics.d.ts.map