mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-30 16:26:36 +08:00
f1bdb2e2ef
- Add dashboard auto-refresh with 5s polling and visibility-aware pause - Harden node realtime reconnection with exponential backoff and polling fallback - Implement local state patching for forward/tunnel/user mutations - Add batch operation progress feedback UI - Add shared list-state helpers for replace/remove operations - Preserve derived UI state during server payload merges Closes #276 Entire-Checkpoint: 7d6188355d7f
21 lines
505 B
TypeScript
21 lines
505 B
TypeScript
/// <reference types="vite/client" />
|
|
/// <reference types="vite-plugin-pwa/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_API_BASE?: string;
|
|
readonly VITE_APP_VERSION?: string;
|
|
readonly VITE_GITHUB_REPO?: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|
|
|
|
declare module "virtual:pwa-register" {
|
|
export function registerSW(options?: {
|
|
immediate?: boolean;
|
|
onNeedRefresh?: () => void;
|
|
onOfflineReady?: () => void;
|
|
}): (reloadPage?: boolean) => Promise<void>;
|
|
}
|