improved adherence to types

This commit is contained in:
2025-07-13 20:28:27 +02:00
parent 473c807461
commit 0a40a8ce5d
14 changed files with 114 additions and 38 deletions

View File

@@ -1,6 +1,20 @@
import sqlite3 from 'sqlite3'
import { open, Database } from 'sqlite'
export class dbUser{
id : number
login : string
password : string
}
export class dbCharacter{
id : number
user_id : number
level : number
inventory : string
questBook : string
}
export class DatabaseController {
private db: Database;