api-client/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/dist-js/index.d.ts
Shreyas f234e66078
feat(desktop): portable phase-2 app loader infra (#5341)
This implements backend path management, backup system, cross-platform utilities, and refactors the `appload` plugin arch to support portable mode deployment.

The changes are mainly establishing foundational infra maintaining current frontend behavior until phase-3+ integration.
2025-08-26 20:48:31 +05:30

44 lines
No EOL
1.2 KiB
TypeScript

export interface DownloadOptions {
serverUrl: string;
}
export interface DownloadResponse {
success: boolean;
bundleName: string;
serverUrl: string;
version: string;
}
export interface WindowOptions {
title?: string;
width?: number;
height?: number;
resizable?: boolean;
}
export interface LoadOptions {
bundleName: string;
inline?: boolean;
window?: WindowOptions;
}
export interface LoadResponse {
success: boolean;
windowLabel: string;
}
export interface CloseOptions {
windowLabel: string;
}
export interface CloseResponse {
success: boolean;
}
export interface RemoveOptions {
bundleName: string;
serverUrl: string;
}
export interface RemoveResponse {
success: boolean;
bundleName: string;
}
export declare function download(options: DownloadOptions): Promise<DownloadResponse>;
export declare function load(options: LoadOptions): Promise<LoadResponse>;
export declare function close(options: CloseOptions): Promise<CloseResponse>;
export declare function remove(options: RemoveOptions): Promise<RemoveResponse>;
export declare function clear(): Promise<void>;
//# sourceMappingURL=index.d.ts.map