Skip to content

Commit 08f02c7

Browse files
fix: standardize array syntax and formatting in interface definitions
1 parent 7ec77c2 commit 08f02c7

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/interface.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface IUpcomingSlot {
5353
}
5454
export interface IUpcomingSubject {
5555
subject: string;
56-
slots: string [];
56+
slots: string[];
5757
}
5858
export interface CloudinaryUploadWidgetProps {
5959
info: CloudinaryUploadResult;
@@ -74,20 +74,20 @@ export interface PaperResponse {
7474
export interface IAdminPaper {
7575
public_id_cloudinary: string;
7676
finalUrl: string;
77-
thumbnailUrl: string;
77+
thumbnailUrl: string;
7878
subject: string;
7979
slot: string;
8080
year: string;
8181
exam: "CAT-1" | "CAT-2" | "FAT" | "Model";
8282
semester: "Fall Semester" | "Winter Semester" | "Summer Semester" | "Weekend Semester";
8383
cloudinary_index: number;
8484
campus:
85-
| "Vellore"
86-
| "Chennai"
87-
| "Andhra Pradesh"
88-
| "Bhopal"
89-
| "Bangalore"
90-
| "Mauritius";
85+
| "Vellore"
86+
| "Chennai"
87+
| "Andhra Pradesh"
88+
| "Bhopal"
89+
| "Bangalore"
90+
| "Mauritius";
9191
answerKeyIncluded?: boolean;
9292
isSelected?: boolean;
9393
}
@@ -139,7 +139,7 @@ export interface DecryptedLoginResponse {
139139
}
140140
export interface IUpcomingPaper extends mongo.Document {
141141
subject: string;
142-
slots: string [];
142+
slots: string[];
143143
}
144144
export interface IPaper {
145145
_id: string;
@@ -148,12 +148,12 @@ export interface IPaper {
148148
thumbnailUrl: string;
149149
semester: "Fall Semester" | "Winter Semester" | "Summer Semester" | "Weekend Semester";
150150
campus:
151-
| "Vellore"
152-
| "Chennai"
153-
| "Andhra Pradesh"
154-
| "Bhopal"
155-
| "Bangalore"
156-
| "Mauritius";
151+
| "Vellore"
152+
| "Chennai"
153+
| "Andhra Pradesh"
154+
| "Bhopal"
155+
| "Bangalore"
156+
| "Mauritius";
157157
slot: string;
158158
subject: string;
159159
year: string;

0 commit comments

Comments
 (0)