aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-09-14 14:41:09 -0700
committerFuwn <[email protected]>2023-09-14 14:41:09 -0700
commit569defd379a3ea05d1ad9f551d9725129580d98a (patch)
tree7178fc8b52a68c012bf206c53ef972005c52a0d8
parentrefactor: move media to folder (diff)
downloaddue.moe-569defd379a3ea05d1ad9f551d9725129580d98a.tar.xz
due.moe-569defd379a3ea05d1ad9f551d9725129580d98a.zip
refactor(media): move chapters in
-rw-r--r--src/lib/List/Due/MangaList.svelte2
-rw-r--r--src/lib/Media/chapters.ts (renamed from src/lib/chapterDatabase.ts)0
-rw-r--r--src/lib/Media/manga.ts2
-rw-r--r--src/routes/settings/+page.svelte2
4 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/List/Due/MangaList.svelte b/src/lib/List/Due/MangaList.svelte
index ad553639..2bd01829 100644
--- a/src/lib/List/Due/MangaList.svelte
+++ b/src/lib/List/Due/MangaList.svelte
@@ -4,7 +4,7 @@
import { onDestroy, onMount } from 'svelte';
import { chapterCount } from '$lib/Media/manga';
import manga from '../../../stores/manga';
- import { chapterDatabase } from '$lib/chapterDatabase';
+ import { chapterDatabase } from '$lib/Media/chapters';
import settings from '../../../stores/settings';
import lastPruneTimes from '../../../stores/lastPruneTimes';
diff --git a/src/lib/chapterDatabase.ts b/src/lib/Media/chapters.ts
index d580e6fa..d580e6fa 100644
--- a/src/lib/chapterDatabase.ts
+++ b/src/lib/Media/chapters.ts
diff --git a/src/lib/Media/manga.ts b/src/lib/Media/manga.ts
index 7150bf60..acaccefc 100644
--- a/src/lib/Media/manga.ts
+++ b/src/lib/Media/manga.ts
@@ -1,6 +1,6 @@
import { recentMediaActivities, type Media } from '$lib/AniList/media';
import type { UserIdentity } from '../AniList/identity';
-import { chapterDatabase } from '../chapterDatabase';
+import { chapterDatabase } from './chapters';
export const chapterCount = async (
identity: UserIdentity,
diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte
index 18aa42cc..0686b201 100644
--- a/src/routes/settings/+page.svelte
+++ b/src/routes/settings/+page.svelte
@@ -1,7 +1,7 @@
<script lang="ts">
/* eslint svelte/no-at-html-tags: "off" */
- import { chapterDatabase } from '$lib/chapterDatabase';
+ import { chapterDatabase } from '$lib/Media/chapters';
import manga from '../../stores/manga';
import anime from '../../stores/anime';
import settings from '../../stores/settings';