-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathIAccessRepository.ts
More file actions
32 lines (24 loc) · 1.01 KB
/
IAccessRepository.ts
File metadata and controls
32 lines (24 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { GuestbookResponseDTO } from '../dtos/GuestbookResponseDTO'
export interface IAccessRepository {
getSignedDatafileDownloadUrl(fileId: number | string): Promise<string>
getSignedDatafilesDownloadUrl(fileIds: string | Array<number | string>): Promise<string>
getSignedDatasetDownloadUrl(datasetId: number | string): Promise<string>
getSignedDatasetVersionDownloadUrl(datasetId: number | string, versionId: string): Promise<string>
submitGuestbookForDatafileDownload(
fileId: number | string,
guestbookResponse: GuestbookResponseDTO
): Promise<string>
submitGuestbookForDatafilesDownload(
fileIds: string | Array<number | string>,
guestbookResponse: GuestbookResponseDTO
): Promise<string>
submitGuestbookForDatasetDownload(
datasetId: number | string,
guestbookResponse: GuestbookResponseDTO
): Promise<string>
submitGuestbookForDatasetVersionDownload(
datasetId: number | string,
versionId: string,
guestbookResponse: GuestbookResponseDTO
): Promise<string>
}