Cleanup and zip handling
This commit is contained in:
@@ -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());
|
||||
Reference in New Issue
Block a user