Cleanup and zip handling

This commit is contained in:
ZXY101
2023-08-11 12:35:17 +02:00
parent 416b832f63
commit 1e943ea74e
11 changed files with 92 additions and 53 deletions

View File

@@ -1,5 +1,8 @@
import type { Volume } from "$lib/upload";
import type { Volume } from "$lib/types";
import { writable } from "svelte/store";
import { db } from "$lib/catalog/db";
import { liveQuery } from "dexie";
export const currentManga = writable<Volume[] | undefined>(undefined);
export const currentVolume = writable<Volume | undefined>(undefined);
export const catalog = liveQuery(() => db.catalog.toArray());