colocate typings

This commit is contained in:
Ollie Taylor
2023-02-25 14:23:56 +00:00
parent 42c27b2469
commit e46b929d69
5 changed files with 25 additions and 26 deletions
+2 -13
View File
@@ -1,23 +1,12 @@
import { audio_element, type AudioElementStore } from '$lib/audio/audio-element';
import {
episode_details,
type EpisodeDetails,
type EpisodeDetailsStore,
} from '$lib/audio/episode-details';
import { episode_details, type EpisodeDetailsStore } from '$lib/audio/episode-details';
import { podcast_preferences } from '$lib/preferences';
import { podcast_progress } from '$lib/progress';
import type { EpisodeAttributes, EpisodeDetails } from '$lib/types';
import { warn } from '$lib/utility/package/log';
import clamp from 'just-clamp';
import { derived, get } from 'svelte/store';
type EpisodeAttributes = {
will_autoplay: boolean;
is_muted: boolean;
duration: number;
src: string;
start_at: number;
details: EpisodeDetails;
};
const default_episode_attributes = {
will_autoplay: false,
is_muted: false,