diff options
| author | Fuwn <[email protected]> | 2026-03-01 16:20:51 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-03-01 16:21:02 -0800 |
| commit | eae5d24d9e79e59a19d4721caaeaa0ca650ecb33 (patch) | |
| tree | 1b685bb248e051dfa26d2bfdebe6689402dd93c5 /src/lib/Database/IDB/chapters.ts | |
| parent | chore(tooling): remove legacy eslint and prettier (diff) | |
| download | due.moe-eae5d24d9e79e59a19d4721caaeaa0ca650ecb33.tar.xz due.moe-eae5d24d9e79e59a19d4721caaeaa0ca650ecb33.zip | |
chore(biome): drop formatter style overrides
Diffstat (limited to 'src/lib/Database/IDB/chapters.ts')
| -rw-r--r-- | src/lib/Database/IDB/chapters.ts | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/Database/IDB/chapters.ts b/src/lib/Database/IDB/chapters.ts index 571c16e1..56ac379b 100644 --- a/src/lib/Database/IDB/chapters.ts +++ b/src/lib/Database/IDB/chapters.ts @@ -1,22 +1,22 @@ -import Dexie, { type Table } from 'dexie'; +import Dexie, { type Table } from "dexie"; export interface Chapter { - id: number; - chapters: number | null; - volumes: number | null; + id: number; + chapters: number | null; + volumes: number | null; } export class ChapterDatabase extends Dexie { - chapters: Table<Chapter>; + chapters: Table<Chapter>; - constructor() { - super('chapters'); - this.version(1).stores({ - chapters: 'id, chapters, volumes' - }); + constructor() { + super("chapters"); + this.version(1).stores({ + chapters: "id, chapters, volumes", + }); - this.chapters = this.table('chapters'); - } + this.chapters = this.table("chapters"); + } } export const database = new ChapterDatabase(); |