UNPKG

741 BTypeScriptView Raw
1import S3, { ClientConfiguration } from "aws-sdk/clients/s3";
2import { S3Options } from "builder-util-runtime";
3import { PublishContext } from "electron-publish";
4import { BaseS3Publisher } from "./BaseS3Publisher";
5export default class S3Publisher extends BaseS3Publisher {
6 private readonly info;
7 readonly providerName: string;
8 constructor(context: PublishContext, info: S3Options);
9 static checkAndResolveOptions(options: S3Options, channelFromAppVersion: string | null, errorIfCannot: boolean): Promise<void>;
10 protected createClientConfiguration(): ClientConfiguration;
11 protected getBucketName(): string;
12 protected configureS3Options(s3Options: S3.CreateMultipartUploadRequest): void;
13 toString(): string;
14}