-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.d.ts
More file actions
63 lines (61 loc) · 1.32 KB
/
types.d.ts
File metadata and controls
63 lines (61 loc) · 1.32 KB
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
57
58
59
60
61
62
63
interface Course {
_id: string;
platformType: string;
title: string;
description: string;
seo: {
keywords: string;
};
img: string;
mode: string;
categoryId: string;
batches: any[]; // You can specify the type more precisely if needed
createdAt: string;
tags: string[]; // You can specify the type more precisely if needed
courseMeta: {
instructors: string[];
overview: {
language: string;
learn: string[];
requirements: string[];
features: string[];
};
}[];
instructorsDetails: {
_id: string;
name: string;
social: {
linkedin?: string;
instagram?: string;
github?: string;
};
description: string;
img: {
source: string;
link: string;
};
}[];
classTimings?: ClassTimings;
courseInOneNeuron: {
bundleName: string;
bundleId: string;
};
pricing: {
IN: number;
US: number;
discount: number;
isFree: boolean;
};
}
interface Banner {
_id: string;
text: string;
link: string;
bannerType: string;
imgUrl: string;
}
interface ClassTimings{
startDate: string;
doubtClearing: string;
timings: string;
}