-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackend.js
92 lines (89 loc) · 2.62 KB
/
backend.js
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// below is the schema for getStudentDirectory ()
// {
// "records": [
// {
// "id": string, // ex: "rec1kdysrRiUUgQ5F"
// "createdTime": string, // ex: "2024-11-14T01:38:47.000Z"
// "fields": {
// "FavoritePart": string,
// "ImageAlt": string, // alt text for img
// "IOT": string, // url
// "LinkedIn": string, // URL link to linkedin profile
// "Bio": string, // Bio
// "WebApp": string, // webapp URL link
// "AboutMe": string, // aboutMe URL Link
// "Name": string, // ex: "John Doe"
// "Image": [
// {
// "id": string, // ex: "attQV525TEPtjPE4g"
// "width": int, // ex: 2048
// "height": int, // ex: 1365
// "url": string, // src-url for img
// "filename": string, // ex: Oussama 1.jpg
// "size": int, // ex: 1119159
// "type": string, // ex: "image/jpeg"
// "thumbnails": {
// "small": {
// "url": string, // src-url for small thumbnails
// "width": number, // ex: 54
// "height": number, // ex: 36
// },
// "large": {
// "url": string,
// "width": number, // ex: 758
// "height": number, // ex: 512
// },
// "full": {
// "url": string,
// "width": number, // ex: 2048
// "height": number, // ex: 1365
// }
// }
// }
// ]
// }
// },
// ...
// ]
//}
// this is the schema for getPictureDirectory ()
// {
// "records": [
// {
// "id": string,
// "createdTime": string,
// "fields": {
// "ImgName": string,
// "Image": [
// {
// "id": string,
// "width": number,
// "height": number,
// "url": string,
// "filename": string,
// "size": number,
// "type": string, // ex: "image/png"
// "thumbnails": {
// "small": {
// "url": string,
// "width": number,
// "height": number
// },
// "large": {
// "url": string,
// "width": number,
// "height": number
// },
// "full": {
// "url": string,
// "width": number,
// "height": number
// }
// }
// }
// ]
// }
// },
// ...,
// ]
// }