git-aiflow
Version:
🚀 An AI-powered workflow automation tool for effortless Git-based development, combining smart GitLab/GitHub merge & pull request creation with Conan package management.
26 lines • 1.17 kB
TypeScript
import { GitPlatformService, GitPlatformProject, MergeRequestResponse, MergeRequestOptions } from './git-platform-service.js';
import { GitService } from './git-service.js';
import { HttpClient } from '../http/http-client.js';
/**
* GitHub platform service implementation
*/
export declare class GithubPlatformService extends GitPlatformService {
constructor(token: string, baseUrl: string, gitService: GitService, http: HttpClient);
getPlatformName(): string;
getProjectByPath(projectPath: string): Promise<GitPlatformProject>;
protected createMergeRequestInternal(sourceBranch: string, targetBranch: string, title: string, options?: MergeRequestOptions): Promise<MergeRequestResponse>;
/**
* Add reviewers to a pull request
* @param repoFullName Full repository name (owner/repo)
* @param prNumber Pull request number
* @param reviewerIds Array of reviewer user IDs
*/
private addReviewersToRequest;
/**
* Get GitHub API base URL
* For github.com, use api.github.com
* For GitHub Enterprise, use hostname/api/v3
*/
private getApiBaseUrl;
}
//# sourceMappingURL=github-platform-service.d.ts.map