UNPKG

web-ext-deploy

Version:

A tool for deploying WebExtensions to multiple stores.

25 lines 1.14 kB
import type { SupportedStores, SupportedStoresCapitalized } from "./types.js"; export declare function getFullPath(file: string): string; export declare function getIsFileExists(file: string): boolean; export declare function isObjectEmpty(object: object): boolean; export declare function getCorrectZip(zipName: string): string; export declare function getExtJson(zip: string): Record<string, any>; export declare function logSuccessfullyPublished({ extId, store, zip }: { extId: string | number; store: string; zip: string; }): void; export declare function getErrorMessage({ store, zip, error, actionName }: { store: SupportedStoresCapitalized; zip: string; error?: number | string; actionName: string; }): string; export declare function getVerboseMessage({ message, prefix, store }: { message: string; prefix?: "Info" | "Error" | "Warning"; store: SupportedStoresCapitalized; }): string; export declare function createGitIgnoreIfNeeded(stores: Array<SupportedStores>): void; export declare function headersToEnv(headersTotal: Record<string, unknown>): string; //# sourceMappingURL=utils.d.ts.map