UNPKG

pr-sizewise

Version:

A CLI tool that measures and reports pull request sizes for GitHub and GitLab, helping teams maintain manageable code changes.

18 lines 844 B
import type { VCSProvider, VCSProviderConfig, DiffInfo, Comment, PullRequestInfo } from './base'; /** * GitLab provider implementation */ export declare class GitLabProvider implements VCSProvider { private gitlab; private projectId; initialize(config: VCSProviderConfig): Promise<void>; getDiffs(pullRequestId: string): Promise<DiffInfo[]>; getComments(pullRequestId: string): Promise<Comment[]>; createComment(pullRequestId: string, body: string): Promise<Comment>; updateComment(pullRequestId: string, commentId: string, body: string): Promise<Comment>; getLabels(pullRequestId: string): Promise<string[]>; setLabels(pullRequestId: string, labels: string[]): Promise<void>; getPullRequest(pullRequestId: string): Promise<PullRequestInfo>; private mapState; } //# sourceMappingURL=gitlab.d.ts.map