update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
24
electron/node_modules/electron-publish/out/s3/baseS3Publisher.d.ts
generated
vendored
Normal file
24
electron/node_modules/electron-publish/out/s3/baseS3Publisher.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import { BaseS3Options } from "builder-util-runtime";
|
||||
import { PublishContext, UploadTask } from "..";
|
||||
import { Publisher } from "../publisher";
|
||||
import type { AwsCredentials } from "./awsCredentials";
|
||||
export interface S3UploadConfig {
|
||||
region: string;
|
||||
endpoint?: string;
|
||||
forcePathStyle?: boolean;
|
||||
credentials?: AwsCredentials;
|
||||
}
|
||||
export interface S3UploadExtraParams {
|
||||
acl?: string;
|
||||
storageClass?: string;
|
||||
serverSideEncryption?: string;
|
||||
}
|
||||
export declare abstract class BaseS3Publisher extends Publisher {
|
||||
private readonly options;
|
||||
protected constructor(context: PublishContext, options: BaseS3Options);
|
||||
protected abstract getBucketName(): string;
|
||||
abstract getS3UploadConfig(): S3UploadConfig;
|
||||
getUploadExtraParams(): S3UploadExtraParams;
|
||||
upload(task: UploadTask): Promise<any>;
|
||||
toString(): string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue