refactor(webui): route stats interop through shell bridge
- move stats route legacy handoffs onto explicit SoulSyncWebShellBridge methods\n- stop relying on ad hoc window globals from React code for artist navigation and playback\n- update shell bridge tests and route test doubles to enforce the expanded bridge contract
This commit is contained in:
parent
ff4c556257
commit
5680e52ceb
1 changed files with 0 additions and 22 deletions
22
webui/src/platform/shell/globals.d.ts
vendored
22
webui/src/platform/shell/globals.d.ts
vendored
|
|
@ -62,28 +62,6 @@ declare global {
|
|||
showLoadingOverlay: (message?: string) => void;
|
||||
hideLoadingOverlay: () => void;
|
||||
};
|
||||
navigateToArtistDetail?: (
|
||||
artistId: string | number,
|
||||
artistName: string,
|
||||
sourceOverride?: string | null,
|
||||
options?: Record<string, unknown>,
|
||||
) => void;
|
||||
playLibraryTrack?: (
|
||||
track: {
|
||||
id: string | number;
|
||||
title: string;
|
||||
file_path: string;
|
||||
bitrate?: string | number | null;
|
||||
artist_id?: string | number | null;
|
||||
album_id?: string | number | null;
|
||||
_stats_image?: string | null;
|
||||
},
|
||||
albumTitle: string,
|
||||
artistName: string,
|
||||
) => void | Promise<void>;
|
||||
startStream?: (searchResult: Record<string, unknown>) => void | Promise<void>;
|
||||
showLoadingOverlay?: (message?: string) => void;
|
||||
hideLoadingOverlay?: () => void;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue