Check files that are missing in storage(add more information) (#424)

* Check files that are missing in storage(add more information)
This commit is contained in:
Anton Shepilov
2024-03-07 20:04:49 +01:00
committed by GitHub
parent c9ce1fce43
commit 301efd6aaa
2 changed files with 33 additions and 2 deletions
@@ -24,6 +24,10 @@ export class MissedDriveFile {
@Column("is_in_trash", "boolean")
is_in_trash: boolean;
@Type(() => Boolean)
@Column("is_from_nextcloud", "boolean")
is_from_nextcloud: boolean;
@Type(() => String)
@Column("name", "string")
name: string;
@@ -36,6 +40,14 @@ export class MissedDriveFile {
@Column("added", "number")
added: number;
@Type(() => Number)
@Column("version", "number")
version: number;
@Type(() => Number)
@Column("size", "number")
size: number;
@Type(() => Number)
@Column("last_modified", "number")
last_modified: number;
@@ -47,4 +59,8 @@ export class MissedDriveFile {
@Type(() => String)
@Column("creator", "uuid")
creator: string;
@Type(() => String)
@Column("path", "string")
path: string;
}