@studious-lms/server 1.1.10 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routers/_app.d.ts +70 -0
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/assignment.d.ts +10 -0
- package/dist/routers/assignment.d.ts.map +1 -1
- package/dist/routers/assignment.js +21 -0
- package/dist/routers/attendance.d.ts +15 -0
- package/dist/routers/attendance.d.ts.map +1 -1
- package/dist/routers/attendance.js +32 -0
- package/dist/routers/class.d.ts +10 -0
- package/dist/routers/class.d.ts.map +1 -1
- package/dist/routers/class.js +14 -0
- package/package.json +1 -1
- package/src/routers/assignment.ts +21 -0
- package/src/routers/attendance.ts +32 -0
- package/src/routers/class.ts +14 -0
package/dist/routers/_app.d.ts
CHANGED
|
@@ -131,12 +131,22 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
131
131
|
teacher: {
|
|
132
132
|
id: string;
|
|
133
133
|
username: string;
|
|
134
|
+
profile: {
|
|
135
|
+
displayName: string | null;
|
|
136
|
+
profilePicture: string | null;
|
|
137
|
+
profilePictureThumbnail: string | null;
|
|
138
|
+
} | null;
|
|
134
139
|
};
|
|
135
140
|
createdAt: Date;
|
|
136
141
|
}[];
|
|
137
142
|
students: {
|
|
138
143
|
id: string;
|
|
139
144
|
username: string;
|
|
145
|
+
profile: {
|
|
146
|
+
displayName: string | null;
|
|
147
|
+
profilePicture: string | null;
|
|
148
|
+
profilePictureThumbnail: string | null;
|
|
149
|
+
} | null;
|
|
140
150
|
}[];
|
|
141
151
|
teachers: {
|
|
142
152
|
id: string;
|
|
@@ -1557,6 +1567,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1557
1567
|
student: {
|
|
1558
1568
|
id: string;
|
|
1559
1569
|
username: string;
|
|
1570
|
+
profile: {
|
|
1571
|
+
displayName: string | null;
|
|
1572
|
+
profilePicture: string | null;
|
|
1573
|
+
profilePictureThumbnail: string | null;
|
|
1574
|
+
} | null;
|
|
1560
1575
|
};
|
|
1561
1576
|
attachments: ({
|
|
1562
1577
|
thumbnail: {
|
|
@@ -1670,6 +1685,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1670
1685
|
student: {
|
|
1671
1686
|
id: string;
|
|
1672
1687
|
username: string;
|
|
1688
|
+
profile: {
|
|
1689
|
+
displayName: string | null;
|
|
1690
|
+
profilePicture: string | null;
|
|
1691
|
+
profilePictureThumbnail: string | null;
|
|
1692
|
+
} | null;
|
|
1673
1693
|
};
|
|
1674
1694
|
attachments: {
|
|
1675
1695
|
path: string;
|
|
@@ -2335,14 +2355,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2335
2355
|
late: {
|
|
2336
2356
|
id: string;
|
|
2337
2357
|
username: string;
|
|
2358
|
+
profile: {
|
|
2359
|
+
displayName: string | null;
|
|
2360
|
+
profilePicture: string | null;
|
|
2361
|
+
profilePictureThumbnail: string | null;
|
|
2362
|
+
} | null;
|
|
2338
2363
|
}[];
|
|
2339
2364
|
present: {
|
|
2340
2365
|
id: string;
|
|
2341
2366
|
username: string;
|
|
2367
|
+
profile: {
|
|
2368
|
+
displayName: string | null;
|
|
2369
|
+
profilePicture: string | null;
|
|
2370
|
+
profilePictureThumbnail: string | null;
|
|
2371
|
+
} | null;
|
|
2342
2372
|
}[];
|
|
2343
2373
|
absent: {
|
|
2344
2374
|
id: string;
|
|
2345
2375
|
username: string;
|
|
2376
|
+
profile: {
|
|
2377
|
+
displayName: string | null;
|
|
2378
|
+
profilePicture: string | null;
|
|
2379
|
+
profilePictureThumbnail: string | null;
|
|
2380
|
+
} | null;
|
|
2346
2381
|
}[];
|
|
2347
2382
|
} & {
|
|
2348
2383
|
id: string;
|
|
@@ -3747,12 +3782,22 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3747
3782
|
teacher: {
|
|
3748
3783
|
id: string;
|
|
3749
3784
|
username: string;
|
|
3785
|
+
profile: {
|
|
3786
|
+
displayName: string | null;
|
|
3787
|
+
profilePicture: string | null;
|
|
3788
|
+
profilePictureThumbnail: string | null;
|
|
3789
|
+
} | null;
|
|
3750
3790
|
};
|
|
3751
3791
|
createdAt: Date;
|
|
3752
3792
|
}[];
|
|
3753
3793
|
students: {
|
|
3754
3794
|
id: string;
|
|
3755
3795
|
username: string;
|
|
3796
|
+
profile: {
|
|
3797
|
+
displayName: string | null;
|
|
3798
|
+
profilePicture: string | null;
|
|
3799
|
+
profilePictureThumbnail: string | null;
|
|
3800
|
+
} | null;
|
|
3756
3801
|
}[];
|
|
3757
3802
|
teachers: {
|
|
3758
3803
|
id: string;
|
|
@@ -5173,6 +5218,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5173
5218
|
student: {
|
|
5174
5219
|
id: string;
|
|
5175
5220
|
username: string;
|
|
5221
|
+
profile: {
|
|
5222
|
+
displayName: string | null;
|
|
5223
|
+
profilePicture: string | null;
|
|
5224
|
+
profilePictureThumbnail: string | null;
|
|
5225
|
+
} | null;
|
|
5176
5226
|
};
|
|
5177
5227
|
attachments: ({
|
|
5178
5228
|
thumbnail: {
|
|
@@ -5286,6 +5336,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5286
5336
|
student: {
|
|
5287
5337
|
id: string;
|
|
5288
5338
|
username: string;
|
|
5339
|
+
profile: {
|
|
5340
|
+
displayName: string | null;
|
|
5341
|
+
profilePicture: string | null;
|
|
5342
|
+
profilePictureThumbnail: string | null;
|
|
5343
|
+
} | null;
|
|
5289
5344
|
};
|
|
5290
5345
|
attachments: {
|
|
5291
5346
|
path: string;
|
|
@@ -5951,14 +6006,29 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5951
6006
|
late: {
|
|
5952
6007
|
id: string;
|
|
5953
6008
|
username: string;
|
|
6009
|
+
profile: {
|
|
6010
|
+
displayName: string | null;
|
|
6011
|
+
profilePicture: string | null;
|
|
6012
|
+
profilePictureThumbnail: string | null;
|
|
6013
|
+
} | null;
|
|
5954
6014
|
}[];
|
|
5955
6015
|
present: {
|
|
5956
6016
|
id: string;
|
|
5957
6017
|
username: string;
|
|
6018
|
+
profile: {
|
|
6019
|
+
displayName: string | null;
|
|
6020
|
+
profilePicture: string | null;
|
|
6021
|
+
profilePictureThumbnail: string | null;
|
|
6022
|
+
} | null;
|
|
5958
6023
|
}[];
|
|
5959
6024
|
absent: {
|
|
5960
6025
|
id: string;
|
|
5961
6026
|
username: string;
|
|
6027
|
+
profile: {
|
|
6028
|
+
displayName: string | null;
|
|
6029
|
+
profilePicture: string | null;
|
|
6030
|
+
profilePictureThumbnail: string | null;
|
|
6031
|
+
} | null;
|
|
5962
6032
|
}[];
|
|
5963
6033
|
} & {
|
|
5964
6034
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_app.d.ts","sourceRoot":"","sources":["../../src/routers/_app.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAY1E,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"_app.d.ts","sourceRoot":"","sources":["../../src/routers/_app.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAY1E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
|
|
@@ -719,6 +719,11 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
719
719
|
student: {
|
|
720
720
|
id: string;
|
|
721
721
|
username: string;
|
|
722
|
+
profile: {
|
|
723
|
+
displayName: string | null;
|
|
724
|
+
profilePicture: string | null;
|
|
725
|
+
profilePictureThumbnail: string | null;
|
|
726
|
+
} | null;
|
|
722
727
|
};
|
|
723
728
|
attachments: ({
|
|
724
729
|
thumbnail: {
|
|
@@ -832,6 +837,11 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
832
837
|
student: {
|
|
833
838
|
id: string;
|
|
834
839
|
username: string;
|
|
840
|
+
profile: {
|
|
841
|
+
displayName: string | null;
|
|
842
|
+
profilePicture: string | null;
|
|
843
|
+
profilePictureThumbnail: string | null;
|
|
844
|
+
} | null;
|
|
835
845
|
};
|
|
836
846
|
attachments: {
|
|
837
847
|
path: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assignment.d.ts","sourceRoot":"","sources":["../../src/routers/assignment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsFxB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"assignment.d.ts","sourceRoot":"","sources":["../../src/routers/assignment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsFxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+rD3B,CAAC"}
|
|
@@ -1003,6 +1003,13 @@ export const assignmentRouter = createTRPCRouter({
|
|
|
1003
1003
|
select: {
|
|
1004
1004
|
id: true,
|
|
1005
1005
|
username: true,
|
|
1006
|
+
profile: {
|
|
1007
|
+
select: {
|
|
1008
|
+
displayName: true,
|
|
1009
|
+
profilePicture: true,
|
|
1010
|
+
profilePictureThumbnail: true,
|
|
1011
|
+
},
|
|
1012
|
+
},
|
|
1006
1013
|
},
|
|
1007
1014
|
},
|
|
1008
1015
|
assignment: {
|
|
@@ -1099,6 +1106,13 @@ export const assignmentRouter = createTRPCRouter({
|
|
|
1099
1106
|
select: {
|
|
1100
1107
|
id: true,
|
|
1101
1108
|
username: true,
|
|
1109
|
+
profile: {
|
|
1110
|
+
select: {
|
|
1111
|
+
displayName: true,
|
|
1112
|
+
profilePicture: true,
|
|
1113
|
+
profilePictureThumbnail: true,
|
|
1114
|
+
},
|
|
1115
|
+
},
|
|
1102
1116
|
},
|
|
1103
1117
|
},
|
|
1104
1118
|
assignment: {
|
|
@@ -1207,6 +1221,13 @@ export const assignmentRouter = createTRPCRouter({
|
|
|
1207
1221
|
select: {
|
|
1208
1222
|
id: true,
|
|
1209
1223
|
username: true,
|
|
1224
|
+
profile: {
|
|
1225
|
+
select: {
|
|
1226
|
+
displayName: true,
|
|
1227
|
+
profilePicture: true,
|
|
1228
|
+
profilePictureThumbnail: true,
|
|
1229
|
+
},
|
|
1230
|
+
},
|
|
1210
1231
|
},
|
|
1211
1232
|
},
|
|
1212
1233
|
assignment: {
|
|
@@ -33,14 +33,29 @@ export declare const attendanceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
33
33
|
late: {
|
|
34
34
|
id: string;
|
|
35
35
|
username: string;
|
|
36
|
+
profile: {
|
|
37
|
+
displayName: string | null;
|
|
38
|
+
profilePicture: string | null;
|
|
39
|
+
profilePictureThumbnail: string | null;
|
|
40
|
+
} | null;
|
|
36
41
|
}[];
|
|
37
42
|
present: {
|
|
38
43
|
id: string;
|
|
39
44
|
username: string;
|
|
45
|
+
profile: {
|
|
46
|
+
displayName: string | null;
|
|
47
|
+
profilePicture: string | null;
|
|
48
|
+
profilePictureThumbnail: string | null;
|
|
49
|
+
} | null;
|
|
40
50
|
}[];
|
|
41
51
|
absent: {
|
|
42
52
|
id: string;
|
|
43
53
|
username: string;
|
|
54
|
+
profile: {
|
|
55
|
+
displayName: string | null;
|
|
56
|
+
profilePicture: string | null;
|
|
57
|
+
profilePictureThumbnail: string | null;
|
|
58
|
+
} | null;
|
|
44
59
|
}[];
|
|
45
60
|
} & {
|
|
46
61
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attendance.d.ts","sourceRoot":"","sources":["../../src/routers/attendance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"attendance.d.ts","sourceRoot":"","sources":["../../src/routers/attendance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+S3B,CAAC"}
|
|
@@ -46,6 +46,17 @@ export const attendanceRouter = createTRPCRouter({
|
|
|
46
46
|
students: {
|
|
47
47
|
select: {
|
|
48
48
|
id: true,
|
|
49
|
+
username: true,
|
|
50
|
+
profile: {
|
|
51
|
+
select: {
|
|
52
|
+
displayName: true,
|
|
53
|
+
profilePicture: true,
|
|
54
|
+
profilePictureThumbnail: true,
|
|
55
|
+
bio: true,
|
|
56
|
+
location: true,
|
|
57
|
+
website: true,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
49
60
|
},
|
|
50
61
|
},
|
|
51
62
|
},
|
|
@@ -108,18 +119,39 @@ export const attendanceRouter = createTRPCRouter({
|
|
|
108
119
|
select: {
|
|
109
120
|
id: true,
|
|
110
121
|
username: true,
|
|
122
|
+
profile: {
|
|
123
|
+
select: {
|
|
124
|
+
displayName: true,
|
|
125
|
+
profilePicture: true,
|
|
126
|
+
profilePictureThumbnail: true,
|
|
127
|
+
},
|
|
128
|
+
},
|
|
111
129
|
},
|
|
112
130
|
},
|
|
113
131
|
late: {
|
|
114
132
|
select: {
|
|
115
133
|
id: true,
|
|
116
134
|
username: true,
|
|
135
|
+
profile: {
|
|
136
|
+
select: {
|
|
137
|
+
displayName: true,
|
|
138
|
+
profilePicture: true,
|
|
139
|
+
profilePictureThumbnail: true,
|
|
140
|
+
},
|
|
141
|
+
},
|
|
117
142
|
},
|
|
118
143
|
},
|
|
119
144
|
absent: {
|
|
120
145
|
select: {
|
|
121
146
|
id: true,
|
|
122
147
|
username: true,
|
|
148
|
+
profile: {
|
|
149
|
+
select: {
|
|
150
|
+
displayName: true,
|
|
151
|
+
profilePicture: true,
|
|
152
|
+
profilePictureThumbnail: true,
|
|
153
|
+
},
|
|
154
|
+
},
|
|
123
155
|
},
|
|
124
156
|
},
|
|
125
157
|
},
|
package/dist/routers/class.d.ts
CHANGED
|
@@ -114,12 +114,22 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
114
114
|
teacher: {
|
|
115
115
|
id: string;
|
|
116
116
|
username: string;
|
|
117
|
+
profile: {
|
|
118
|
+
displayName: string | null;
|
|
119
|
+
profilePicture: string | null;
|
|
120
|
+
profilePictureThumbnail: string | null;
|
|
121
|
+
} | null;
|
|
117
122
|
};
|
|
118
123
|
createdAt: Date;
|
|
119
124
|
}[];
|
|
120
125
|
students: {
|
|
121
126
|
id: string;
|
|
122
127
|
username: string;
|
|
128
|
+
profile: {
|
|
129
|
+
displayName: string | null;
|
|
130
|
+
profilePicture: string | null;
|
|
131
|
+
profilePictureThumbnail: string | null;
|
|
132
|
+
} | null;
|
|
123
133
|
}[];
|
|
124
134
|
teachers: {
|
|
125
135
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../src/routers/class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../src/routers/class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwjCtB,CAAC"}
|
package/dist/routers/class.js
CHANGED
|
@@ -100,6 +100,13 @@ export const classRouter = createTRPCRouter({
|
|
|
100
100
|
select: {
|
|
101
101
|
id: true,
|
|
102
102
|
username: true,
|
|
103
|
+
profile: {
|
|
104
|
+
select: {
|
|
105
|
+
displayName: true,
|
|
106
|
+
profilePicture: true,
|
|
107
|
+
profilePictureThumbnail: true,
|
|
108
|
+
},
|
|
109
|
+
},
|
|
103
110
|
},
|
|
104
111
|
},
|
|
105
112
|
announcements: {
|
|
@@ -114,6 +121,13 @@ export const classRouter = createTRPCRouter({
|
|
|
114
121
|
select: {
|
|
115
122
|
id: true,
|
|
116
123
|
username: true,
|
|
124
|
+
profile: {
|
|
125
|
+
select: {
|
|
126
|
+
displayName: true,
|
|
127
|
+
profilePicture: true,
|
|
128
|
+
profilePictureThumbnail: true,
|
|
129
|
+
},
|
|
130
|
+
},
|
|
117
131
|
},
|
|
118
132
|
},
|
|
119
133
|
},
|
package/package.json
CHANGED
|
@@ -1093,6 +1093,13 @@ export const assignmentRouter = createTRPCRouter({
|
|
|
1093
1093
|
select: {
|
|
1094
1094
|
id: true,
|
|
1095
1095
|
username: true,
|
|
1096
|
+
profile: {
|
|
1097
|
+
select: {
|
|
1098
|
+
displayName: true,
|
|
1099
|
+
profilePicture: true,
|
|
1100
|
+
profilePictureThumbnail: true,
|
|
1101
|
+
},
|
|
1102
|
+
},
|
|
1096
1103
|
},
|
|
1097
1104
|
},
|
|
1098
1105
|
assignment: {
|
|
@@ -1195,6 +1202,13 @@ export const assignmentRouter = createTRPCRouter({
|
|
|
1195
1202
|
select: {
|
|
1196
1203
|
id: true,
|
|
1197
1204
|
username: true,
|
|
1205
|
+
profile: {
|
|
1206
|
+
select: {
|
|
1207
|
+
displayName: true,
|
|
1208
|
+
profilePicture: true,
|
|
1209
|
+
profilePictureThumbnail: true,
|
|
1210
|
+
},
|
|
1211
|
+
},
|
|
1198
1212
|
},
|
|
1199
1213
|
},
|
|
1200
1214
|
assignment: {
|
|
@@ -1311,6 +1325,13 @@ export const assignmentRouter = createTRPCRouter({
|
|
|
1311
1325
|
select: {
|
|
1312
1326
|
id: true,
|
|
1313
1327
|
username: true,
|
|
1328
|
+
profile: {
|
|
1329
|
+
select: {
|
|
1330
|
+
displayName: true,
|
|
1331
|
+
profilePicture: true,
|
|
1332
|
+
profilePictureThumbnail: true,
|
|
1333
|
+
},
|
|
1334
|
+
},
|
|
1314
1335
|
},
|
|
1315
1336
|
},
|
|
1316
1337
|
assignment: {
|
|
@@ -49,6 +49,17 @@ export const attendanceRouter = createTRPCRouter({
|
|
|
49
49
|
students: {
|
|
50
50
|
select: {
|
|
51
51
|
id: true,
|
|
52
|
+
username: true,
|
|
53
|
+
profile: {
|
|
54
|
+
select: {
|
|
55
|
+
displayName: true,
|
|
56
|
+
profilePicture: true,
|
|
57
|
+
profilePictureThumbnail: true,
|
|
58
|
+
bio: true,
|
|
59
|
+
location: true,
|
|
60
|
+
website: true,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
52
63
|
},
|
|
53
64
|
},
|
|
54
65
|
},
|
|
@@ -117,18 +128,39 @@ export const attendanceRouter = createTRPCRouter({
|
|
|
117
128
|
select: {
|
|
118
129
|
id: true,
|
|
119
130
|
username: true,
|
|
131
|
+
profile: {
|
|
132
|
+
select: {
|
|
133
|
+
displayName: true,
|
|
134
|
+
profilePicture: true,
|
|
135
|
+
profilePictureThumbnail: true,
|
|
136
|
+
},
|
|
137
|
+
},
|
|
120
138
|
},
|
|
121
139
|
},
|
|
122
140
|
late: {
|
|
123
141
|
select: {
|
|
124
142
|
id: true,
|
|
125
143
|
username: true,
|
|
144
|
+
profile: {
|
|
145
|
+
select: {
|
|
146
|
+
displayName: true,
|
|
147
|
+
profilePicture: true,
|
|
148
|
+
profilePictureThumbnail: true,
|
|
149
|
+
},
|
|
150
|
+
},
|
|
126
151
|
},
|
|
127
152
|
},
|
|
128
153
|
absent: {
|
|
129
154
|
select: {
|
|
130
155
|
id: true,
|
|
131
156
|
username: true,
|
|
157
|
+
profile: {
|
|
158
|
+
select: {
|
|
159
|
+
displayName: true,
|
|
160
|
+
profilePicture: true,
|
|
161
|
+
profilePictureThumbnail: true,
|
|
162
|
+
},
|
|
163
|
+
},
|
|
132
164
|
},
|
|
133
165
|
},
|
|
134
166
|
},
|
package/src/routers/class.ts
CHANGED
|
@@ -104,6 +104,13 @@ export const classRouter = createTRPCRouter({
|
|
|
104
104
|
select: {
|
|
105
105
|
id: true,
|
|
106
106
|
username: true,
|
|
107
|
+
profile: {
|
|
108
|
+
select: {
|
|
109
|
+
displayName: true,
|
|
110
|
+
profilePicture: true,
|
|
111
|
+
profilePictureThumbnail: true,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
107
114
|
},
|
|
108
115
|
},
|
|
109
116
|
announcements: {
|
|
@@ -118,6 +125,13 @@ export const classRouter = createTRPCRouter({
|
|
|
118
125
|
select: {
|
|
119
126
|
id: true,
|
|
120
127
|
username: true,
|
|
128
|
+
profile: {
|
|
129
|
+
select: {
|
|
130
|
+
displayName: true,
|
|
131
|
+
profilePicture: true,
|
|
132
|
+
profilePictureThumbnail: true,
|
|
133
|
+
},
|
|
134
|
+
},
|
|
121
135
|
},
|
|
122
136
|
},
|
|
123
137
|
},
|