thedesk/app/node_modules/app-builder-lib/out/publish/SnapStorePublisher.d.ts

20 lines
671 B
TypeScript
Raw Normal View History

2019-09-13 00:38:13 +10:00
import { Publisher, UploadTask, PublishContext } from "electron-publish";
import { PublishConfiguration } from "builder-util-runtime";
export declare class SnapStorePublisher extends Publisher {
private options;
readonly providerName = "snapStore";
constructor(context: PublishContext, options: SnapStoreOptions);
upload(task: UploadTask): Promise<any>;
toString(): string;
}
/**
* [Snap Store](https://snapcraft.io/) options.
*/
export interface SnapStoreOptions extends PublishConfiguration {
/**
* The list of channels the snap would be released.
* @default ["edge"]
*/
readonly channels?: string | Array<string> | null;
}