feat: file backups (#1024)

This commit is contained in:
Mo
2022-05-12 18:26:11 -05:00
committed by GitHub
parent b671ecb2b9
commit 942226e15a
20 changed files with 499 additions and 207 deletions

View File

@@ -21,7 +21,7 @@ export class Database {
constructor(public databaseName: string, private alertService: AlertService) {}
public deinit() {
public deinit(): void {
;(this.alertService as any) = undefined
this.db = undefined
}
@@ -29,7 +29,7 @@ export class Database {
/**
* Relinquishes the lock and allows db operations to proceed
*/
public unlock() {
public unlock(): void {
this.locked = false
}