Adding methods to delete backups on remote storage s3 and local. Some refactoring on models db and adding common.ts model with createdAt, updatedAt, and deletedAt.

This commit is contained in:
charlesgauthereau
2025-08-29 15:31:23 +02:00
parent c8da2579e8
commit 45e3b31fda
48 changed files with 310 additions and 148 deletions
+3
View File
@@ -0,0 +1,3 @@
export function withUpdatedAt<T extends object>(data: T): T & { updatedAt: Date } {
return {...data, updatedAt: new Date()};
}