mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-08 15:22:43 +08:00
18 lines
877 B
TypeScript
18 lines
877 B
TypeScript
import { Arch } from "builder-util";
|
|
import { BitbucketOptions } from "builder-util-runtime/out/publishOptions";
|
|
import { ClientRequest } from "http";
|
|
import { PublishContext } from "./";
|
|
import { HttpPublisher } from "./httpPublisher";
|
|
export declare class BitbucketPublisher extends HttpPublisher {
|
|
readonly providerName = "bitbucket";
|
|
readonly hostname = "api.bitbucket.org";
|
|
private readonly info;
|
|
private readonly auth;
|
|
private readonly basePath;
|
|
constructor(context: PublishContext, info: BitbucketOptions);
|
|
protected doUpload(fileName: string, _arch: Arch, _dataLength: number, _requestProcessor: (request: ClientRequest, reject: (error: Error) => void) => void, file: string): Promise<any>;
|
|
deleteRelease(filename: string): Promise<void>;
|
|
toString(): string;
|
|
static convertAppPassword(username: string, token: string): string;
|
|
}
|