UNPKG

@mcp-consultant-tools/github-enterprise

Version:

MCP server for GitHub Enterprise - repositories, commits, pull requests, and code search

53 lines 1.73 kB
/** * GitHub Enterprise Formatters * Transform GitHub API responses into human-readable markdown */ /** * Format branch list as markdown table */ export declare function formatBranchListAsMarkdown(branches: any[]): string; /** * Format commit history as markdown */ export declare function formatCommitHistoryAsMarkdown(commits: any[]): string; /** * Format code search results as markdown with highlighting */ export declare function formatCodeSearchResultsAsMarkdown(results: any): string; /** * Format pull requests as markdown table */ export declare function formatPullRequestsAsMarkdown(prs: any[]): string; /** * Format file tree as markdown */ export declare function formatFileTreeAsMarkdown(tree: any[], prefix?: string): string; /** * Format directory contents as markdown table */ export declare function formatDirectoryContentsAsMarkdown(contents: any[]): string; /** * Analyze branch comparison and extract insights */ export declare function analyzeBranchComparison(comparison: any): string[]; /** * Generate deployment checklist from changes */ export declare function generateDeploymentChecklist(comparison: any): string[]; /** * Format commit details with file changes */ export declare function formatCommitDetailsAsMarkdown(commit: any): string; /** * Format pull request details */ export declare function formatPullRequestDetailsAsMarkdown(pr: any): string; /** * Format repository overview */ export declare function formatRepositoryOverviewAsMarkdown(repo: any, branches: any[], recentCommits: any[]): string; /** * Sanitize error messages (remove sensitive data) */ export declare function sanitizeErrorMessage(error: any): string; //# sourceMappingURL=ghe-formatters.d.ts.map