-
Notifications
You must be signed in to change notification settings - Fork 1
/
typings.d.ts
56 lines (51 loc) · 968 Bytes
/
typings.d.ts
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
enum Role {
ADMIN = "Admin",
POLICE = "Police",
NULL = 0 as const,
}
type FIR = {
id: string;
FIRname: string;
image: string;
properties: FIRProperties;
};
type FIRProperties = {
name: string;
status?: string;
description: string;
contact: string;
email: string;
documents: FileList;
walletAddress: string;
location: string;
time: string;
date: string;
firId: string;
remark: string;
};
type OfficerMetadata = {
description: string;
id: string;
image: string;
name: string;
properties: Officer;
};
type Officer = {
id: string;
walletAddress: string;
name: string;
email: string;
contact: string;
location: string;
idCard: FileList;
};
type Complaint = {
complaintId: string;
walletAddress: string;
name: string;
contact: string;
email: string;
address: string;
title: string;
description: string;
} | null;