UNPKG

review-copilot

Version:

ReviewCopilot - AI-powered code review assistant with customizable prompts

14 lines (13 loc) 848 B
import { IGitPlatformService, GitPlatformDetails, CreateReviewCommentParams, createIssueComment, ReplyToCommentParams, ReplyToReviewCommentParams, GetFileContentParams } from './services.types'; export declare class GitLabService implements IGitPlatformService { private client; constructor(token: string); getPRDetails(): Promise<GitPlatformDetails | undefined>; createIssueComment({ owner, repo, issue_number, body, }: createIssueComment): Promise<void>; createReviewComment(params: CreateReviewCommentParams): Promise<void>; replyToComment(params: ReplyToCommentParams): Promise<void>; replyToReviewComment(params: ReplyToReviewCommentParams): Promise<void>; getCurrentBranch(): Promise<string>; getCommitMessage(): Promise<string>; getFileContent(params: GetFileContentParams): Promise<string | null>; }