We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d29eabd + 337085f commit 9a29201Copy full SHA for 9a29201
src/services/file-transfer/types.ts
@@ -0,0 +1,29 @@
1
+export interface File {
2
+ fileName: string;
3
+ body: ArrayBuffer;
4
+ mimeType: string;
5
+ size: number;
6
+ extension: string
7
+}
8
+
9
+export interface FileDetails {
10
+ id: string;
11
+ avTimestamp: string;
12
+ avStatus: AvStatus;
13
+ contentType: string;
14
15
+ name: string;
16
+ createdOn: string;
17
+ links: FileLinks;
18
19
20
+export interface FileLinks {
21
+ download: string;
22
+ self: string;
23
24
25
+export enum AvStatus {
26
+ INFECTED = "INFECTED",
27
+ CLEAN = "CLEAN",
28
+ NOT_SCANNED = "NOT_SCANNED"
29
0 commit comments