82 lines
1.3 KiB
TypeScript
82 lines
1.3 KiB
TypeScript
// Stores module exports
|
|
|
|
// Auth store
|
|
export {
|
|
auth,
|
|
isAuthenticated,
|
|
isLoading as isAuthLoading,
|
|
currentUser,
|
|
authError,
|
|
securityWarning,
|
|
needsReauth,
|
|
isVerifying,
|
|
sessionVerified,
|
|
} from "./auth";
|
|
|
|
// Library store
|
|
export {
|
|
library,
|
|
libraries,
|
|
currentLibrary,
|
|
libraryItems,
|
|
isLibraryLoading,
|
|
libraryError,
|
|
} from "./library";
|
|
|
|
// Player store
|
|
export {
|
|
player,
|
|
playerState,
|
|
currentMedia,
|
|
isPlaying,
|
|
isPaused,
|
|
isLoading as isPlayerLoading,
|
|
playbackPosition,
|
|
playbackDuration,
|
|
volume,
|
|
isMuted,
|
|
} from "./player";
|
|
|
|
// Queue store
|
|
export {
|
|
queue,
|
|
queueItems,
|
|
currentQueueIndex,
|
|
currentQueueItem,
|
|
isShuffle,
|
|
repeatMode,
|
|
hasNext,
|
|
hasPrevious,
|
|
} from "./queue";
|
|
|
|
// Sessions store
|
|
export {
|
|
sessions,
|
|
activeSessions,
|
|
selectedSession,
|
|
controllableSessions,
|
|
} from "./sessions";
|
|
|
|
// Sleep timer store
|
|
export {
|
|
sleepTimer,
|
|
sleepTimerMode,
|
|
sleepTimerActive,
|
|
sleepTimerRemainingSeconds,
|
|
sleepTimerRemainingEpisodes,
|
|
} from "./sleepTimer";
|
|
|
|
// Connectivity store
|
|
export {
|
|
connectivity,
|
|
isOnline,
|
|
isServerReachable,
|
|
isConnected,
|
|
connectionError,
|
|
} from "./connectivity";
|
|
|
|
// Re-export types
|
|
export type { RepeatMode } from "./player";
|
|
export type { SleepTimerMode } from "./sleepTimer";
|
|
export type { ConnectivityState, ConnectivityEvents } from "./connectivity";
|