mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 15:25:46 +00:00
refactor(lib): move library-index hooks into lib/library/hooks
This commit is contained in:
@@ -21,7 +21,7 @@ import {
|
||||
ARTIST_LIST_ROW_EST,
|
||||
} from '@/features/artist/utils/artistsHelpers';
|
||||
import { useArtistsFiltering } from '@/features/artist/hooks/useArtistsFiltering';
|
||||
import { useLibraryIgnoredArticles } from '@/hooks/useLibraryIgnoredArticles';
|
||||
import { useLibraryIgnoredArticles } from '@/lib/library/hooks/useLibraryIgnoredArticles';
|
||||
import { useArtistsBrowseCatalog } from '@/features/artist/hooks/useArtistsBrowseCatalog';
|
||||
import { useBrowseArtistTextSearch } from '@/features/artist/hooks/useBrowseArtistTextSearch';
|
||||
import { useMainstageInpageHeaderTight } from '@/lib/hooks/useMainstageInpageHeaderTight';
|
||||
|
||||
@@ -21,7 +21,7 @@ import { useScopedBrowseSearchQuery } from '@/store/liveSearchScopeStore';
|
||||
import { readComposerBrowseRestore } from '@/utils/navigation/albumDetailNavigation';
|
||||
import { filterArtistsWithRoleAlbumCredits } from '@/lib/library/composerBrowse';
|
||||
import { ALL_SENTINEL, artistLetterBucket } from '@/features/artist';
|
||||
import { useLibraryIgnoredArticles } from '@/hooks/useLibraryIgnoredArticles';
|
||||
import { useLibraryIgnoredArticles } from '@/lib/library/hooks/useLibraryIgnoredArticles';
|
||||
import { usePerfProbeFlags } from '@/utils/perf/perfFlags';
|
||||
import { VirtualCardGrid } from '@/ui/VirtualCardGrid';
|
||||
import OverlayScrollArea from '@/ui/OverlayScrollArea';
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
libraryStatusDisplayTrackCount,
|
||||
libraryStatusIsReady,
|
||||
} from '@/lib/library/libraryReady';
|
||||
import type { LibraryServerConnection } from '@/hooks/useLibraryIndexSync';
|
||||
import type { LibraryServerConnection } from '@/lib/library/hooks/useLibraryIndexSync';
|
||||
|
||||
interface ServerLibraryIndexControlsProps {
|
||||
status: SyncStateDto | null;
|
||||
|
||||
@@ -9,7 +9,7 @@ import { buildCapabilityContext } from '@/serverCapabilities/context';
|
||||
import { useLibraryIndexStore } from '@/store/libraryIndexStore';
|
||||
import { libraryDeleteServerData, librarySyncClearSession } from '@/lib/api/library';
|
||||
import { bootstrapIndexedServer } from '@/lib/library/librarySession';
|
||||
import { useLibraryIndexSync } from '@/hooks/useLibraryIndexSync';
|
||||
import { useLibraryIndexSync } from '@/lib/library/hooks/useLibraryIndexSync';
|
||||
import ServerLibraryIndexControls from '@/features/settings/components/ServerLibraryIndexControls';
|
||||
import type { ServerProfile } from '@/store/authStoreTypes';
|
||||
import { pingWithCredentialsForProfile, scheduleInstantMixProbeForServer } from '@/lib/api/subsonic';
|
||||
|
||||
Reference in New Issue
Block a user