Skip to content

Commit 338a818

Browse files
committed
Added: conditional types to request payload model
1 parent ba78b69 commit 338a818

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/files/infra/repositories/FilesRepository.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ export interface GetFilesTotalDownloadSizeQueryParams {
4444

4545
export interface UploadedFileRequestBody {
4646
fileName: string
47-
description: string
48-
directoryLabel: string
49-
categories: string[]
50-
restrict: boolean
5147
checksum: ChecksumRequestBody
5248
mimeType: string
5349
storageIdentifier: string
50+
description?: string
51+
directoryLabel?: string
52+
categories?: string[]
53+
restrict?: boolean
5454
}
5555

5656
export interface ChecksumRequestBody {

0 commit comments

Comments
 (0)