web-ext-deploy
Version:
A tool for deploying WebExtensions to multiple stores.
31 lines • 1.22 kB
TypeScript
export declare class OperaOptions {
/** Get it from `https://addons.opera.com/developer/package/PACKAGE_ID` */
packageId: number;
/** If you have a hard time obtaining it, run:
* ```shell
* web-ext-deploy --get-cookies=opera
* ```
* */
sessionid: string;
/** If you have a hard time obtaining it, run:
* ```shell
* web-ext-deploy --get-cookies=opera
* ```
* */
csrftoken: string;
/**
* The path to the ZIP, relative from the current working directory (`process.cwd()`)<br>
* You can use `{version}`, which will be replaced by the `version` entry from your `package.json`, e.g. `some-zip-v{version}.zip`
*/
zip: string;
/**
* A description of the changes in this version, compared to the previous one<br>
* It's recommended to use instead `--opera-changelog`, so it stays up to date
*/
changelog?: string;
/** Setting to `true` will result in every step of the deployment to be logged to the console */
verbose?: boolean;
constructor(options: OperaOptions);
}
export declare function prepareToDeployOpera(options: OperaOptions): Promise<boolean>;
//# sourceMappingURL=opera-input.d.ts.map