Move domain data helpers into lib/data

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-22 14:10:55 +02:00
co-authored by Claude Sonnet 5
parent f1220a688a
commit b63e30d2f8
10 changed files with 176 additions and 8 deletions
+2 -2
View File
@@ -13,8 +13,8 @@
type ApiTrackLike
} from '$lib/player/player.svelte';
import { pressable } from '$lib/actions/pressable';
import { mergeRecentlyPlayed } from '$lib/recentlyPlayed';
import { mixItemTrack } from '$lib/mixes';
import { mergeRecentlyPlayed } from '$lib/data/recentlyPlayed';
import { mixItemTrack } from '$lib/data/mixes';
import { fmtTime, fmtDurationLong, fmtPlays, plural } from '$lib/format';
import Page from '$lib/components/ui/Page.svelte';
import Artwork from '$lib/components/ui/Artwork.svelte';