mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-23 08:43:50 +02:00
Refactor SQLite to inform user of database errors
This commit is contained in:
9
src/types/globals.d.ts
vendored
9
src/types/globals.d.ts
vendored
@@ -22,7 +22,7 @@ declare global {
|
||||
utils: any;
|
||||
dayjs: any;
|
||||
configRepository: any;
|
||||
datebase: any;
|
||||
database: any;
|
||||
gameLogService: any;
|
||||
crypto: any;
|
||||
sqliteService: any;
|
||||
@@ -120,12 +120,9 @@ declare global {
|
||||
};
|
||||
|
||||
const SQLite: {
|
||||
Execute: (
|
||||
sql: string,
|
||||
args: string
|
||||
) => Promise<{ Item1: any; Item2: any[] }>;
|
||||
Execute: (sql: string, args: string) => Promise<any[]>;
|
||||
ExecuteJson: (sql: string, args: string) => Promise<string>;
|
||||
ExecuteNonQuery: (sql: string, args: string) => Promise<void>;
|
||||
ExecuteNonQuery: (sql: string, args: string) => Promise<Number>;
|
||||
};
|
||||
|
||||
const LogWatcher: {
|
||||
|
||||
Reference in New Issue
Block a user