Skip to content

Commit d8a5089

Browse files
committed
AYS-283: fix build issues about refactored type folder name
1 parent eae50b5 commit d8a5089

File tree

2 files changed

+46
-47
lines changed
  • src/modules
    • adminRegistrationApplications/constants
    • emergencyEvacuationApplications/constants

2 files changed

+46
-47
lines changed
Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
import { Institution, User } from "@/types/types";
1+
import { Institution, User } from "@/common/types"
22

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+
}

src/modules/emergencyEvacuationApplications/constants/types.ts

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { PhoneNumber } from "@/types/types"
1+
import { PhoneNumber } from "@/common/types"
22

33
export interface EmergencyEvacuationApplications {
44
content: any[]
@@ -36,32 +36,32 @@ export interface StatusProps {
3636
}
3737

3838
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
6161
}
6262

6363
export interface ApiResponse {
64-
time: string;
65-
isSuccess: boolean;
66-
response: EmergencyEvacuationApplication;
67-
}
64+
time: string
65+
isSuccess: boolean
66+
response: EmergencyEvacuationApplication
67+
}

0 commit comments

Comments
 (0)