review-copilot
Version:
ReviewCopilot - AI-powered code review assistant with customizable prompts
17 lines (16 loc) • 431 B
TypeScript
export interface PullRequestFile {
filename: string;
changes: string;
}
export interface PullRequestReviewInfo {
hash: string;
date: string;
message: string;
author: string;
files?: PullRequestFile[];
}
export interface VcsProvider {
getCurrentBranchName(): Promise<string>;
getPullRequestFiles(): Promise<PullRequestReviewInfo>;
getPullRequestCommits(): Promise<PullRequestReviewInfo[]>;
}