File tree Expand file tree Collapse file tree 2 files changed +46
-47
lines changed
adminRegistrationApplications/constants
emergencyEvacuationApplications/constants Expand file tree Collapse file tree 2 files changed +46
-47
lines changed Original file line number Diff line number Diff line change 1
- import { Institution , User } from "@/types /types" ;
1
+ import { Institution , User } from "@/common /types"
2
2
3
- export interface AdminRegistrationApplication {
4
- createdUser : string ;
5
- createdAt : string ;
6
- updatedUser : string ;
7
- updatedAt : string ;
8
- id : string ;
9
- reason : string ;
10
- rejectReason : string | null ;
11
- status : string ;
12
- institution : Institution ;
13
- user : User ;
14
- }
15
-
16
- export interface ApiResponse {
17
- time : string ;
18
- isSuccess : boolean ;
19
- response : AdminRegistrationApplication ;
20
- }
21
-
3
+ export interface AdminRegistrationApplication {
4
+ createdUser : string
5
+ createdAt : string
6
+ updatedUser : string
7
+ updatedAt : string
8
+ id : string
9
+ reason : string
10
+ rejectReason : string | null
11
+ status : string
12
+ institution : Institution
13
+ user : User
14
+ }
15
+
16
+ export interface ApiResponse {
17
+ time : string
18
+ isSuccess : boolean
19
+ response : AdminRegistrationApplication
20
+ }
Original file line number Diff line number Diff line change 1
- import { PhoneNumber } from "@/types /types"
1
+ import { PhoneNumber } from "@/common /types"
2
2
3
3
export interface EmergencyEvacuationApplications {
4
4
content : any [ ]
@@ -36,32 +36,32 @@ export interface StatusProps {
36
36
}
37
37
38
38
export interface EmergencyEvacuationApplication {
39
- id : string ;
40
- referenceNumber : string ;
41
- firstName : string ;
42
- lastName : string ;
43
- phoneNumber : PhoneNumber ;
44
- sourceCity : string ;
45
- sourceDistrict : string ;
46
- address : string ;
47
- seatingCount : number ;
48
- targetCity : string ;
49
- targetDistrict : string ;
50
- status : string ;
51
- applicantFirstName : string ;
52
- applicantLastName : string ;
53
- applicantPhoneNumber : PhoneNumber ;
54
- isInPerson : boolean ;
55
- hasObstaclePersonExist : boolean ;
56
- notes : string ;
57
- createdUser : string ;
58
- createdAt : string ;
59
- updatedUser : string ;
60
- updatedAt : string ;
39
+ id : string
40
+ referenceNumber : string
41
+ firstName : string
42
+ lastName : string
43
+ phoneNumber : PhoneNumber
44
+ sourceCity : string
45
+ sourceDistrict : string
46
+ address : string
47
+ seatingCount : number
48
+ targetCity : string
49
+ targetDistrict : string
50
+ status : string
51
+ applicantFirstName : string
52
+ applicantLastName : string
53
+ applicantPhoneNumber : PhoneNumber
54
+ isInPerson : boolean
55
+ hasObstaclePersonExist : boolean
56
+ notes : string
57
+ createdUser : string
58
+ createdAt : string
59
+ updatedUser : string
60
+ updatedAt : string
61
61
}
62
62
63
63
export interface ApiResponse {
64
- time : string ;
65
- isSuccess : boolean ;
66
- response : EmergencyEvacuationApplication ;
67
- }
64
+ time : string
65
+ isSuccess : boolean
66
+ response : EmergencyEvacuationApplication
67
+ }
You can’t perform that action at this time.
0 commit comments