repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git]
/
packages
/
shared
/
lib
/
interfaces
/
drive
/
device.ts
blob
dd6c34e51371c162c4bbe47d20a073ee1b39b5bb
1
export interface DevicePayload {
2
Device: {
3
DeviceID: string;
4
VolumeID: string;
5
CreateTime: number;
6
ModifyTime: number;
7
Type: number;
8
SyncState: number;
9
};
10
Share: {
11
ShareID: string;
12
Name: string;
13
LinkID: string;
14
};
15
}
16
17
export type DevicesResult = {
18
Devices: DevicePayload[];
19
};
20
21
export interface CreateDeviceVolume {
22
Device: {
23
VolumeID: string;
24
SyncState: number;
25
Type: number;
26
};
27
Share: {
28
Name: string;
29
AddressID: string;
30
AddressKeyID: string;
31
Key: string;
32
Passphrase: string;
33
PassphraseSignature: string;
34
};
35
Link: {
36
NodeKey: string;
37
NodePassphrase: string;
38
NodePassphraseSignature: string;
39
NodeHashKey: string;
40
Name: string;
41
};
42
}