refactor(lib): move library-index hooks into lib/library/hooks

This commit is contained in:
Psychotoxical
2026-06-30 19:48:49 +02:00
parent 1f93984482
commit 777c72adf7
10 changed files with 14 additions and 14 deletions
@@ -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';