feat: adding env aware endpoint to obtain sqlite connection, remove libsql hard dependency

This commit is contained in:
dswbx committed 2025-06-13 11:09:47 +02:00
1 parent 046c1d21b1
commit bbb7bfb7a1
28 files changed
+288 -159

No files matched your search

+2 -1
View File
@@ -234,7 +234,8 @@ export class ModuleManager {
}
private get db() {
return this.connection.kysely as Kysely<{ table: ConfigTable }>;
// @todo: check why this is neccessary
return this.connection.kysely as unknown as Kysely<{ table: ConfigTable }>;
}
// @todo: add indices for: version, type