aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Media/chapters.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-11-05 17:53:07 -0800
committerFuwn <[email protected]>2023-11-05 17:53:07 -0800
commit914623a2fc0804fd74b72cbddbe0d44d07a9e4ce (patch)
tree4998f4e780e81afbf61e67079432490128676b33 /src/lib/Media/chapters.ts
parentfeat(list): display title as compliment (diff)
downloaddue.moe-914623a2fc0804fd74b72cbddbe0d44d07a9e4ce.tar.xz
due.moe-914623a2fc0804fd74b72cbddbe0d44d07a9e4ce.zip
feat(manga): display out-of-date volumes
Diffstat (limited to 'src/lib/Media/chapters.ts')
-rw-r--r--src/lib/Media/chapters.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Media/chapters.ts b/src/lib/Media/chapters.ts
index d580e6fa..a8a4d716 100644
--- a/src/lib/Media/chapters.ts
+++ b/src/lib/Media/chapters.ts
@@ -3,6 +3,7 @@ import Dexie, { type Table } from 'dexie';
export interface Chapter {
id: number;
chapters: number | null;
+ volumes: number | null;
}
export class ChapterDatabase extends Dexie {
@@ -11,7 +12,7 @@ export class ChapterDatabase extends Dexie {
constructor() {
super('chapterDatabase');
this.version(1).stores({
- chapters: 'id, chapters'
+ chapters: 'id, chapters, volumes'
});
this.chapters = this.table('chapters');