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/user.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/user.ts')
| -rw-r--r-- | src/lib/Database/IDB/user.ts | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/Database/IDB/user.ts b/src/lib/Database/IDB/user.ts index b1a1b936..1158a8ff 100644 --- a/src/lib/Database/IDB/user.ts +++ b/src/lib/Database/IDB/user.ts @@ -1,23 +1,23 @@ -import type { AniListAuthorisation } from '$lib/Data/AniList/identity'; -import Dexie, { type Table } from 'dexie'; +import type { AniListAuthorisation } from "$lib/Data/AniList/identity"; +import Dexie, { type Table } from "dexie"; export interface User { - id: number; - user: AniListAuthorisation; - lastNotificationID: number | null; + id: number; + user: AniListAuthorisation; + lastNotificationID: number | null; } export class UserDatabase extends Dexie { - users: Table<User>; + users: Table<User>; - constructor() { - super('users'); - this.version(1).stores({ - users: 'id, user, lastNotificationID' - }); + constructor() { + super("users"); + this.version(1).stores({ + users: "id, user, lastNotificationID", + }); - this.users = this.table('users'); - } + this.users = this.table("users"); + } } export const database = new UserDatabase(); |