Initial commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import { PublishProvider } from "builder-util-runtime";
|
||||
import { Stats } from "fs-extra";
|
||||
import { PublishContext, UploadTask } from ".";
|
||||
import { ProgressBar } from "./progress";
|
||||
export declare abstract class Publisher {
|
||||
protected readonly context: PublishContext;
|
||||
protected constructor(context: PublishContext);
|
||||
abstract get providerName(): PublishProvider;
|
||||
abstract upload(task: UploadTask): Promise<any>;
|
||||
protected createProgressBar(fileName: string, size: number): ProgressBar | null;
|
||||
protected createReadStreamAndProgressBar(file: string, fileStat: Stats, progressBar: ProgressBar | null, reject: (error: Error) => void): NodeJS.ReadableStream;
|
||||
abstract toString(): string;
|
||||
}
|
||||
export declare function getCiTag(): string | null;
|
||||
Reference in New Issue
Block a user