feat: working on signed url for private files

This commit is contained in:
Abdalhamid Alhamad
2024-12-12 09:46:38 +03:00
parent 83fc634d25
commit 220a03cc46
20 changed files with 359 additions and 2818 deletions

View File

@ -15,6 +15,9 @@ export class DocumentMetaResponseDto {
@ApiProperty()
documentType!: DocumentType;
@ApiProperty({ type: String })
url!: string | null;
@ApiProperty()
createdAt!: Date;
@ -26,6 +29,7 @@ export class DocumentMetaResponseDto {
this.name = document.name;
this.extension = document.extension;
this.documentType = document.documentType;
this.url = document.url || null;
this.createdAt = document.createdAt;
this.updatedAt = document.updatedAt;
}