mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 06:25:41 +00:00
7a7a9f5e6b
111 of 122 top-level src/utils/ files move into 16 topic folders (audio, cache, cover, share, server, playback, playlist, deviceSync, waveform, mix, format, export, changelog, ui, perf, componentHelpers). True singletons with no cluster stay at the utils/ root. Pure file-move: a path-aware codemod rewrote 539 relative-import specifiers across 275 files; no logic touched. The hot-path coverage gate list (.github/frontend-hot-path-files.txt) is updated to the new paths for the 11 gated utils files — a mechanical consequence of the move, not a CI change. tsc is green.
10 lines
378 B
TypeScript
10 lines
378 B
TypeScript
/**
|
|
* Every literal `coverArtCacheKey(_, size)` width used across the UI.
|
|
* Used for IndexedDB sibling lookup, invalidateCoverArt, and the static test guard.
|
|
*
|
|
* When adding a new cover size anywhere in `src/**`, bump this tuple and rerun tests.
|
|
*/
|
|
export const COVER_ART_REGISTERED_SIZES = [
|
|
40, 48, 64, 80, 96, 128, 200, 256, 300, 400, 500, 600, 800, 2000,
|
|
] as const;
|