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,8 +1,8 @@
import type { Volume } from '$lib/upload';
import type { Volume } from '$lib/types';
import Dexie, { type Table } from 'dexie';
export interface Catalog {
id?: number;
id: string;
manga: Volume[];
}
@@ -12,7 +12,7 @@ export class CatalogDexie extends Dexie {
constructor() {
super('mokuro');
this.version(1).stores({
catalog: '++id, manga'
catalog: 'id, manga'
});
}
}