UNPKG

sfdx-hardis

Version:

Swiss-army-knife Toolbox for Salesforce. Allows you to define a complete CD/CD Pipeline. Orchestrate base commands and assist users with interactive wizards

27 lines (26 loc) 1.45 kB
import { CommonPullRequestInfo, PullRequestMessageRequest, PullRequestMessageResult } from "./index.js"; export declare abstract class GitProviderRoot { serverUrl: string | null; token: string; getLabel(): string; getBranchDeploymentCheckId(gitBranch: string): Promise<string | null>; getPullRequestDeploymentCheckId(): Promise<string | null>; getCurrentJobUrl(): Promise<string | null>; getCurrentBranchUrl(): Promise<string | null>; supportsMermaidInPrMarkdown(): Promise<boolean>; supportsSvgAttachments(): Promise<boolean>; getPullRequestInfo(): Promise<CommonPullRequestInfo | null>; uploadImage(image: string): Promise<any>; listPullRequests(filters?: { status?: string; targetBranch?: string; minDate?: Date; }, options?: { formatted?: boolean; }): Promise<any | null>; listPullRequestsInBranchSinceLastMerge(_currentBranchName: string, _targetBranchName: string, _childBranchesNames: string[]): Promise<CommonPullRequestInfo[]>; postPullRequestMessage(prMessage: PullRequestMessageRequest): Promise<PullRequestMessageResult>; tryPostPullRequestMessage(prMessage: PullRequestMessageRequest): Promise<PullRequestMessageResult>; uploadAndReplaceImageReferences(markdownBody: string, sourceFile?: string | null): Promise<string>; protected completeWithCustomBehaviors(pullRequestInfo: CommonPullRequestInfo): CommonPullRequestInfo; }