mirror of
https://github.com/AventurasTeam/Aventuras.git
synced 2026-04-29 20:30:17 +00:00
enhanced settings view!
This commit is contained in:
parent
09b070735a
commit
b3b5db588b
9 changed files with 3296 additions and 4029 deletions
|
|
@ -59,6 +59,11 @@ class DatabaseService {
|
|||
);
|
||||
}
|
||||
|
||||
async deleteSetting(key: string): Promise<void> {
|
||||
const db = await this.getDb();
|
||||
await db.execute('DELETE FROM settings WHERE key = ?', [key]);
|
||||
}
|
||||
|
||||
// Story operations
|
||||
async getAllStories(): Promise<Story[]> {
|
||||
const db = await this.getDb();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue