@mearl/preset 3.0.5 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/installation.d.ts +10 -0
- package/package.json +1 -1
package/dist/installation.d.ts
CHANGED
|
@@ -11,6 +11,16 @@ export interface InstallationConfig {
|
|
|
11
11
|
guide?: InstallationGuide;
|
|
12
12
|
presets?: Record<string, InstallationPreset>;
|
|
13
13
|
}
|
|
14
|
+
export type PresetUninstallBlocker = {
|
|
15
|
+
reason: 'selection-changed';
|
|
16
|
+
} | {
|
|
17
|
+
reason: 'browser-update-required' | 'browser-unavailable';
|
|
18
|
+
browser: string;
|
|
19
|
+
};
|
|
20
|
+
export interface PresetUninstallResult {
|
|
21
|
+
ready: boolean;
|
|
22
|
+
blocker?: PresetUninstallBlocker;
|
|
23
|
+
}
|
|
14
24
|
/** One validated catalog is used by the website and extension; parameters cannot add install sources. */
|
|
15
25
|
export declare function parseInstallationConfig(value: unknown, publicOrigin: string): InstallationConfig;
|
|
16
26
|
/** Explicit host scopes retain their selected schemes; download sources remain HTTPS. */
|