review-copilot
Version:
ReviewCopilot - AI-powered code review assistant with customizable prompts
18 lines (17 loc) • 413 B
TypeScript
export interface SelectiveReviewContext {
filePath: string;
startLine: number;
endLine: number;
fullFileContent: string;
selectedCodeContent: string;
triggerComment: string;
pullNumber: number;
owner: string;
repo: string;
commentId?: number;
threadId?: string;
}
export interface ReviewTrigger {
type: 'full' | 'selective';
context?: SelectiveReviewContext;
}