mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 15:25:46 +00:00
2756cb7698
utils/library is the local-index query/browse/sync engine -- feature-free shared infra consumed by the album, search, genre, artist and offline features. With its last feature edges removed (queue resolver, shuffleArray, albumBrowseCatalogChunk, genreBrowsePlayback all relocated earlier this branch), the whole directory is pure infra and belongs under lib/. Whole-directory move (58 files, 76 consumers rewritten) via resolver-based rewrite: cross-cluster relatives absolutized to @/, intra-cluster siblings kept relative. utils/library is gone; lib/library imports zero @/features. Three stale doc comments in the album/search/artist barrels repointed. tsc 0, lint 0, full suite 2353/2353, production build OK.
16 lines
902 B
TypeScript
16 lines
902 B
TypeScript
/**
|
|
* Search feature — the live search dropdown, the mobile search overlay, the
|
|
* search/browse page (lazy via the deep path `pages/SearchBrowsePage`), live
|
|
* search scope UI/state, and the share-link search/queue-preview surfaces.
|
|
*
|
|
* The local-index query engine (`lib/library/*search*`), the shared Subsonic
|
|
* search API, the cross-cutting `liveSearchScopeStore`, and the
|
|
* `advancedSearch*` session/scroll state live outside this feature
|
|
* (library-core / cross-cutting) — this feature consumes them.
|
|
*/
|
|
export { default as LiveSearch } from './components/LiveSearch';
|
|
export { default as MobileSearchOverlay } from './components/MobileSearchOverlay';
|
|
export { default as ShareQueuePreviewModal } from './components/ShareQueuePreviewModal';
|
|
export { useLiveSearchRouteScope } from './hooks/useLiveSearchRouteScope';
|
|
export { useShareQueuePreview } from './hooks/useShareQueuePreview';
|