mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
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:
@@ -0,0 +1,3 @@
|
||||
export function withUpdatedAt<T extends object>(data: T): T & { updatedAt: Date } {
|
||||
return {...data, updatedAt: new Date()};
|
||||
}
|
||||
Reference in New Issue
Block a user