web-ext-deploy
Version:
A tool for deploying WebExtensions to multiple stores.
62 lines • 1.54 kB
TypeScript
interface FirefoxErrorMessage {
message: string;
description: string;
instancePath: string;
type: "error" | "warning";
id: Array<string>;
tier: number;
}
export interface FirefoxCreateNewVersion {
id: number;
approval_notes: string;
channel: "listed" | "unlisted";
compatibility: {
firefox?: {
min: string;
max: string;
};
};
edit_url: string;
file: {
id: number;
created: string;
hash: string;
is_mozilla_signed_extension: boolean;
size: number;
status: string;
url: string;
permissions: Array<string>;
optional_permissions: Array<string>;
host_permissions: Array<string>;
};
is_disabled: boolean;
is_strict_compatibility_enabled: boolean;
license: {
id: number;
is_custom: boolean;
name: Record<string, string>;
slug: string;
text: Record<string, string>;
url: string;
};
release_notes: Record<string, string>;
reviewed: string | null;
source: string | null;
version: string;
}
export type FirefoxUploadSource = FirefoxCreateNewVersion;
export interface FirefoxUploadDetail {
uuid: string;
channel: "listed" | "unlisted";
processed: boolean;
submitted: boolean;
url: string;
valid: boolean;
validation: {
messages?: Array<FirefoxErrorMessage>;
};
version: string;
detail?: string;
}
export {};
//# sourceMappingURL=firefox-types.d.ts.map