many changes
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// Application-wide UI state store
|
||||
// TRACES: UR-005 | DR-005, DR-009
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
// App-wide state (root layout)
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
//
|
||||
// Simplified wrapper over Rust connectivity monitor.
|
||||
// The Rust backend handles all polling, reachability checks, and adaptive intervals.
|
||||
// TRACES: UR-002 | DR-013
|
||||
|
||||
import { writable, derived } from "svelte/store";
|
||||
import { browser } from "$app/environment";
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Tests for downloads store
|
||||
// TRACES: UR-011, UR-013, UR-018 | DR-015, DR-017 | UT-010, UT-024
|
||||
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
||||
import { get } from "svelte/store";
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Download manager state store
|
||||
// TRACES: UR-011, UR-013, UR-018 | DR-015, DR-017
|
||||
import { writable, derived, get } from 'svelte/store';
|
||||
import { invoke } from '@tauri-apps/api/core';
|
||||
import { listen, type UnlistenFn } from '@tauri-apps/api/event';
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Home screen data store - featured items, continue watching, recently added
|
||||
// TRACES: UR-023, UR-024, UR-034 | DR-026, DR-027, DR-038, DR-039
|
||||
import { writable, derived } from "svelte/store";
|
||||
import type { MediaItem } from "$lib/api/types";
|
||||
import { auth } from "./auth";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// Library state store
|
||||
// TRACES: UR-007, UR-008, UR-029, UR-030 | DR-007, DR-011, DR-033
|
||||
|
||||
import { writable, derived } from "svelte/store";
|
||||
import type { Library, MediaItem, SearchResult, Genre } from "$lib/api/types";
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* The backend handles all countdown logic and decisions.
|
||||
*
|
||||
* The backend emits ShowNextEpisodePopup and CountdownTick events to update this store.
|
||||
*
|
||||
* TRACES: UR-023 | DR-026, DR-047, DR-048
|
||||
*/
|
||||
|
||||
import { writable, derived } from "svelte/store";
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Tests for playback mode store
|
||||
// TRACES: UR-010 | DR-037
|
||||
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
||||
import { get } from "svelte/store";
|
||||
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
*
|
||||
* Most business logic moved to Rust (src-tauri/src/playback_mode/mod.rs)
|
||||
*
|
||||
* @req: UR-010 - Control playback of Jellyfin remote sessions
|
||||
* @req: IR-012 - Jellyfin Sessions API for remote playback control
|
||||
* @req: DR-037 - Remote session browser and control UI
|
||||
* TRACES: UR-010 | IR-012 | DR-037
|
||||
*/
|
||||
|
||||
import { writable, get, derived } from "svelte/store";
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Tests for sessions store
|
||||
// TRACES: UR-010 | DR-037
|
||||
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
||||
import { get } from "svelte/store";
|
||||
import type { Session } from "$lib/api/types";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// Remote sessions store for controlling playback on other Jellyfin clients
|
||||
// TRACES: UR-010 | DR-037
|
||||
|
||||
import { writable, derived } from "svelte/store";
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* All logic is in the Rust backend (PlayerController).
|
||||
*
|
||||
* The backend emits SleepTimerChanged events to update this store.
|
||||
*
|
||||
* TRACES: UR-026 | DR-029
|
||||
*/
|
||||
|
||||
import { writable, derived } from "svelte/store";
|
||||
|
||||
Reference in New Issue
Block a user