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