@studious-lms/server 1.14.0 → 1.16.0
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/lib/inferDocumentFormat.d.ts +10 -0
- package/dist/lib/inferDocumentFormat.d.ts.map +1 -0
- package/dist/lib/inferDocumentFormat.js +48 -0
- package/dist/lib/inferDocumentFormat.js.map +1 -0
- package/dist/models/announcement.d.ts +45 -45
- package/dist/models/assignment.d.ts +75 -75
- package/dist/models/class.d.ts +13 -13
- package/dist/models/comment.d.ts +6 -6
- package/dist/models/conversation.d.ts +23 -23
- package/dist/models/event.d.ts +18 -18
- package/dist/models/file.d.ts +9 -9
- package/dist/models/labChat.d.ts +4 -4
- package/dist/models/message.d.ts +13 -13
- package/dist/models/newtonChat.d.ts +3 -3
- package/dist/models/notification.d.ts +4 -4
- package/dist/models/worksheet.d.ts +121 -121
- package/dist/pipelines/aiLabChat.d.ts +7 -1
- package/dist/pipelines/aiLabChat.d.ts.map +1 -1
- package/dist/pipelines/aiLabChat.js +145 -67
- package/dist/pipelines/aiLabChat.js.map +1 -1
- package/dist/pipelines/aiLabChatContract.d.ts +34 -195
- package/dist/pipelines/aiLabChatContract.d.ts.map +1 -1
- package/dist/pipelines/aiLabChatContract.js +9 -19
- package/dist/pipelines/aiLabChatContract.js.map +1 -1
- package/dist/pipelines/gradeWorksheet.d.ts +6 -6
- package/dist/pipelines/gradeWorksheet.d.ts.map +1 -1
- package/dist/pipelines/gradeWorksheet.js +75 -36
- package/dist/pipelines/gradeWorksheet.js.map +1 -1
- package/dist/pipelines/labChatPrompt.d.ts +8 -3
- package/dist/pipelines/labChatPrompt.d.ts.map +1 -1
- package/dist/pipelines/labChatPrompt.js +49 -14
- package/dist/pipelines/labChatPrompt.js.map +1 -1
- package/dist/pipelines/pdfToWorksheet.d.ts +1 -1
- package/dist/routers/_app.d.ts +524 -516
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/announcement.d.ts +40 -40
- package/dist/routers/assignment.d.ts +121 -121
- package/dist/routers/class.d.ts +8 -8
- package/dist/routers/comment.d.ts +5 -5
- package/dist/routers/conversation.d.ts +6 -6
- package/dist/routers/discussion.d.ts +3 -3
- package/dist/routers/embedding.d.ts +6 -2
- package/dist/routers/embedding.d.ts.map +1 -1
- package/dist/routers/embedding.js +44 -36
- package/dist/routers/embedding.js.map +1 -1
- package/dist/routers/event.d.ts +18 -18
- package/dist/routers/file.d.ts +2 -2
- package/dist/routers/labChat.d.ts +3 -3
- package/dist/routers/notifications.d.ts +4 -4
- package/dist/routers/search.d.ts +2 -2
- package/dist/routers/worksheet.d.ts +44 -44
- package/dist/routes/aiStream.d.ts.map +1 -1
- package/dist/routes/aiStream.js +41 -11
- package/dist/routes/aiStream.js.map +1 -1
- package/dist/seedDatabase.d.ts +1 -1
- package/dist/services/aiChatStream.d.ts +18 -0
- package/dist/services/aiChatStream.d.ts.map +1 -1
- package/dist/services/aiChatStream.js +81 -11
- package/dist/services/aiChatStream.js.map +1 -1
- package/dist/services/aiModifierTools.d.ts +0 -16
- package/dist/services/aiModifierTools.d.ts.map +1 -1
- package/dist/services/aiModifierTools.js +112 -3
- package/dist/services/aiModifierTools.js.map +1 -1
- package/dist/services/aiProposalTools.d.ts.map +1 -1
- package/dist/services/aiProposalTools.js +25 -25
- package/dist/services/aiProposalTools.js.map +1 -1
- package/dist/services/announcement.d.ts +34 -34
- package/dist/services/assignment.d.ts +111 -111
- package/dist/services/assignment.d.ts.map +1 -1
- package/dist/services/assignment.js +4 -2
- package/dist/services/assignment.js.map +1 -1
- package/dist/services/class.d.ts +6 -6
- package/dist/services/class.d.ts.map +1 -1
- package/dist/services/class.js +7 -3
- package/dist/services/class.js.map +1 -1
- package/dist/services/comment.d.ts +5 -5
- package/dist/services/conversation.d.ts +6 -6
- package/dist/services/discussion.d.ts.map +1 -1
- package/dist/services/discussion.js +9 -2
- package/dist/services/discussion.js.map +1 -1
- package/dist/services/embedding.d.ts +19 -1
- package/dist/services/embedding.d.ts.map +1 -1
- package/dist/services/embedding.js +154 -8
- package/dist/services/embedding.js.map +1 -1
- package/dist/services/event.d.ts +18 -18
- package/dist/services/file.d.ts +4 -4
- package/dist/services/folder.d.ts.map +1 -1
- package/dist/services/folder.js +32 -2
- package/dist/services/folder.js.map +1 -1
- package/dist/services/labChat.d.ts +3 -3
- package/dist/services/notification.d.ts +4 -4
- package/dist/services/openaiDocumentGen.d.ts +25 -0
- package/dist/services/openaiDocumentGen.d.ts.map +1 -0
- package/dist/services/openaiDocumentGen.js +195 -0
- package/dist/services/openaiDocumentGen.js.map +1 -0
- package/dist/services/search.d.ts +1 -1
- package/dist/services/search.d.ts.map +1 -1
- package/dist/services/search.js +27 -2
- package/dist/services/search.js.map +1 -1
- package/dist/services/worksheet.d.ts +66 -49
- package/dist/services/worksheet.d.ts.map +1 -1
- package/dist/services/worksheet.js +48 -3
- package/dist/services/worksheet.js.map +1 -1
- package/dist/workers/processors/embedContent.d.ts.map +1 -1
- package/dist/workers/processors/embedContent.js +16 -25
- package/dist/workers/processors/embedContent.js.map +1 -1
- package/package.json +1 -1
- package/prisma/migrations/20260610140000_expand_embedding_source_types/migration.sql +4 -0
- package/prisma/schema.prisma +3 -0
- package/src/lib/inferDocumentFormat.ts +58 -0
- package/src/pipelines/aiLabChat.ts +185 -74
- package/src/pipelines/aiLabChatContract.ts +7 -17
- package/src/pipelines/gradeWorksheet.ts +95 -38
- package/src/pipelines/labChatPrompt.ts +61 -14
- package/src/routers/embedding.ts +44 -39
- package/src/routes/aiStream.ts +47 -9
- package/src/services/aiChatStream.ts +103 -8
- package/src/services/aiModifierTools.ts +154 -1
- package/src/services/aiProposalTools.ts +26 -25
- package/src/services/assignment.ts +3 -0
- package/src/services/class.ts +7 -1
- package/src/services/discussion.ts +13 -0
- package/src/services/embedding.ts +167 -6
- package/src/services/folder.ts +31 -0
- package/src/services/openaiDocumentGen.ts +237 -0
- package/src/services/search.ts +25 -1
- package/src/services/worksheet.ts +68 -1
- package/src/workers/processors/embedContent.ts +18 -22
- package/tests/unit/lib/inferDocumentFormat.test.ts +33 -0
package/dist/routers/_app.d.ts
CHANGED
|
@@ -376,7 +376,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
376
376
|
input: {
|
|
377
377
|
[x: string]: unknown;
|
|
378
378
|
classId: string;
|
|
379
|
-
type: "
|
|
379
|
+
type: "student" | "teacher";
|
|
380
380
|
userId: string;
|
|
381
381
|
};
|
|
382
382
|
output: {
|
|
@@ -394,7 +394,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
394
394
|
studentsCanReply: boolean;
|
|
395
395
|
};
|
|
396
396
|
user: {
|
|
397
|
-
type: "
|
|
397
|
+
type: "student" | "teacher";
|
|
398
398
|
id: string;
|
|
399
399
|
username: string;
|
|
400
400
|
};
|
|
@@ -496,8 +496,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
496
496
|
id: string;
|
|
497
497
|
createdAt: Date;
|
|
498
498
|
assignmentId: string;
|
|
499
|
-
modifiedAt: Date;
|
|
500
499
|
studentId: string;
|
|
500
|
+
modifiedAt: Date;
|
|
501
501
|
extendedResponse: string | null;
|
|
502
502
|
gradeReceived: number | null;
|
|
503
503
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -532,8 +532,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
532
532
|
id: string;
|
|
533
533
|
createdAt: Date;
|
|
534
534
|
assignmentId: string;
|
|
535
|
-
modifiedAt: Date;
|
|
536
535
|
studentId: string;
|
|
536
|
+
modifiedAt: Date;
|
|
537
537
|
extendedResponse: string | null;
|
|
538
538
|
gradeReceived: number | null;
|
|
539
539
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -761,7 +761,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
761
761
|
input: {
|
|
762
762
|
[x: string]: unknown;
|
|
763
763
|
classId: string;
|
|
764
|
-
type: "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "
|
|
764
|
+
type: "DISCUSSION" | "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "PRESENTATION" | "LAB" | "OTHER";
|
|
765
765
|
title: string;
|
|
766
766
|
instructions: string;
|
|
767
767
|
dueDate?: Date | undefined;
|
|
@@ -1034,11 +1034,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1034
1034
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
1035
1035
|
options: import("@prisma/client/runtime/library.js").JsonValue;
|
|
1036
1036
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue;
|
|
1037
|
-
|
|
1038
|
-
worksheetId: string;
|
|
1037
|
+
points: number;
|
|
1039
1038
|
question: string;
|
|
1039
|
+
worksheetId: string;
|
|
1040
|
+
order: number | null;
|
|
1040
1041
|
answer: string;
|
|
1041
|
-
points: number;
|
|
1042
1042
|
}[];
|
|
1043
1043
|
}[];
|
|
1044
1044
|
markSchemes: {
|
|
@@ -1104,6 +1104,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1104
1104
|
id: string;
|
|
1105
1105
|
createdAt: Date;
|
|
1106
1106
|
remarks: string;
|
|
1107
|
+
attachments: {
|
|
1108
|
+
path: string;
|
|
1109
|
+
type: string;
|
|
1110
|
+
id: string;
|
|
1111
|
+
name: string;
|
|
1112
|
+
size: number | null;
|
|
1113
|
+
uploadedAt: Date | null;
|
|
1114
|
+
thumbnailId: string | null;
|
|
1115
|
+
}[];
|
|
1107
1116
|
modifiedAt: Date | null;
|
|
1108
1117
|
teacher: {
|
|
1109
1118
|
id: string;
|
|
@@ -1114,15 +1123,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1114
1123
|
profilePictureThumbnail: string | null;
|
|
1115
1124
|
} | null;
|
|
1116
1125
|
};
|
|
1117
|
-
attachments: {
|
|
1118
|
-
path: string;
|
|
1119
|
-
type: string;
|
|
1120
|
-
id: string;
|
|
1121
|
-
name: string;
|
|
1122
|
-
size: number | null;
|
|
1123
|
-
uploadedAt: Date | null;
|
|
1124
|
-
thumbnailId: string | null;
|
|
1125
|
-
}[];
|
|
1126
1126
|
}[];
|
|
1127
1127
|
};
|
|
1128
1128
|
meta: object;
|
|
@@ -1138,6 +1138,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1138
1138
|
id: string;
|
|
1139
1139
|
createdAt: Date;
|
|
1140
1140
|
remarks: string;
|
|
1141
|
+
attachments: {
|
|
1142
|
+
path: string;
|
|
1143
|
+
type: string;
|
|
1144
|
+
id: string;
|
|
1145
|
+
name: string;
|
|
1146
|
+
size: number | null;
|
|
1147
|
+
uploadedAt: Date | null;
|
|
1148
|
+
thumbnailId: string | null;
|
|
1149
|
+
}[];
|
|
1141
1150
|
modifiedAt: Date | null;
|
|
1142
1151
|
teacher: {
|
|
1143
1152
|
id: string;
|
|
@@ -1148,15 +1157,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1148
1157
|
profilePictureThumbnail: string | null;
|
|
1149
1158
|
} | null;
|
|
1150
1159
|
};
|
|
1151
|
-
attachments: {
|
|
1152
|
-
path: string;
|
|
1153
|
-
type: string;
|
|
1154
|
-
id: string;
|
|
1155
|
-
name: string;
|
|
1156
|
-
size: number | null;
|
|
1157
|
-
uploadedAt: Date | null;
|
|
1158
|
-
thumbnailId: string | null;
|
|
1159
|
-
}[];
|
|
1160
1160
|
};
|
|
1161
1161
|
};
|
|
1162
1162
|
meta: object;
|
|
@@ -1178,6 +1178,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1178
1178
|
id: string;
|
|
1179
1179
|
createdAt: Date;
|
|
1180
1180
|
remarks: string;
|
|
1181
|
+
attachments: {
|
|
1182
|
+
path: string;
|
|
1183
|
+
type: string;
|
|
1184
|
+
id: string;
|
|
1185
|
+
name: string;
|
|
1186
|
+
size: number | null;
|
|
1187
|
+
uploadedAt: Date | null;
|
|
1188
|
+
thumbnailId: string | null;
|
|
1189
|
+
}[];
|
|
1181
1190
|
modifiedAt: Date | null;
|
|
1182
1191
|
teacher: {
|
|
1183
1192
|
id: string;
|
|
@@ -1188,15 +1197,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1188
1197
|
profilePictureThumbnail: string | null;
|
|
1189
1198
|
} | null;
|
|
1190
1199
|
};
|
|
1191
|
-
attachments: {
|
|
1192
|
-
path: string;
|
|
1193
|
-
type: string;
|
|
1194
|
-
id: string;
|
|
1195
|
-
name: string;
|
|
1196
|
-
size: number | null;
|
|
1197
|
-
uploadedAt: Date | null;
|
|
1198
|
-
thumbnailId: string | null;
|
|
1199
|
-
}[];
|
|
1200
1200
|
};
|
|
1201
1201
|
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[] | undefined;
|
|
1202
1202
|
};
|
|
@@ -1223,6 +1223,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1223
1223
|
id: string;
|
|
1224
1224
|
createdAt: Date;
|
|
1225
1225
|
remarks: string;
|
|
1226
|
+
attachments: {
|
|
1227
|
+
path: string;
|
|
1228
|
+
type: string;
|
|
1229
|
+
id: string;
|
|
1230
|
+
name: string;
|
|
1231
|
+
size: number | null;
|
|
1232
|
+
uploadedAt: Date | null;
|
|
1233
|
+
thumbnailId: string | null;
|
|
1234
|
+
}[];
|
|
1226
1235
|
modifiedAt: Date | null;
|
|
1227
1236
|
teacher: {
|
|
1228
1237
|
id: string;
|
|
@@ -1233,15 +1242,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1233
1242
|
profilePictureThumbnail: string | null;
|
|
1234
1243
|
} | null;
|
|
1235
1244
|
};
|
|
1236
|
-
attachments: {
|
|
1237
|
-
path: string;
|
|
1238
|
-
type: string;
|
|
1239
|
-
id: string;
|
|
1240
|
-
name: string;
|
|
1241
|
-
size: number | null;
|
|
1242
|
-
uploadedAt: Date | null;
|
|
1243
|
-
thumbnailId: string | null;
|
|
1244
|
-
}[];
|
|
1245
1245
|
};
|
|
1246
1246
|
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[] | undefined;
|
|
1247
1247
|
};
|
|
@@ -1314,8 +1314,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1314
1314
|
content: string;
|
|
1315
1315
|
assignmentId: string | null;
|
|
1316
1316
|
submissionId: string | null;
|
|
1317
|
-
modifiedAt: Date | null;
|
|
1318
1317
|
announcementId: string | null;
|
|
1318
|
+
modifiedAt: Date | null;
|
|
1319
1319
|
authorId: string;
|
|
1320
1320
|
isPinned: boolean;
|
|
1321
1321
|
parentCommentId: string | null;
|
|
@@ -1346,8 +1346,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1346
1346
|
content: string;
|
|
1347
1347
|
assignmentId: string | null;
|
|
1348
1348
|
submissionId: string | null;
|
|
1349
|
-
modifiedAt: Date | null;
|
|
1350
1349
|
announcementId: string | null;
|
|
1350
|
+
modifiedAt: Date | null;
|
|
1351
1351
|
authorId: string;
|
|
1352
1352
|
isPinned: boolean;
|
|
1353
1353
|
parentCommentId: string | null;
|
|
@@ -1398,8 +1398,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1398
1398
|
content: string;
|
|
1399
1399
|
assignmentId: string | null;
|
|
1400
1400
|
submissionId: string | null;
|
|
1401
|
-
modifiedAt: Date | null;
|
|
1402
1401
|
announcementId: string | null;
|
|
1402
|
+
modifiedAt: Date | null;
|
|
1403
1403
|
authorId: string;
|
|
1404
1404
|
isPinned: boolean;
|
|
1405
1405
|
parentCommentId: string | null;
|
|
@@ -1411,8 +1411,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1411
1411
|
content: string;
|
|
1412
1412
|
assignmentId: string | null;
|
|
1413
1413
|
submissionId: string | null;
|
|
1414
|
-
modifiedAt: Date | null;
|
|
1415
1414
|
announcementId: string | null;
|
|
1415
|
+
modifiedAt: Date | null;
|
|
1416
1416
|
authorId: string;
|
|
1417
1417
|
isPinned: boolean;
|
|
1418
1418
|
parentCommentId: string | null;
|
|
@@ -1589,7 +1589,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1589
1589
|
title: string;
|
|
1590
1590
|
dueDate: string;
|
|
1591
1591
|
instructions: string;
|
|
1592
|
-
type?: "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "
|
|
1592
|
+
type?: "DISCUSSION" | "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "PRESENTATION" | "LAB" | "OTHER" | undefined;
|
|
1593
1593
|
id?: string | undefined;
|
|
1594
1594
|
files?: {
|
|
1595
1595
|
type: string;
|
|
@@ -1627,6 +1627,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1627
1627
|
title: string;
|
|
1628
1628
|
dueDate: Date;
|
|
1629
1629
|
maxGrade: number | null;
|
|
1630
|
+
attachments: {
|
|
1631
|
+
type: string;
|
|
1632
|
+
id: string;
|
|
1633
|
+
name: string;
|
|
1634
|
+
}[];
|
|
1630
1635
|
instructions: string;
|
|
1631
1636
|
graded: boolean;
|
|
1632
1637
|
weight: number;
|
|
@@ -1634,11 +1639,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1634
1639
|
id: string;
|
|
1635
1640
|
username: string;
|
|
1636
1641
|
};
|
|
1637
|
-
attachments: {
|
|
1638
|
-
type: string;
|
|
1639
|
-
id: string;
|
|
1640
|
-
name: string;
|
|
1641
|
-
}[];
|
|
1642
1642
|
};
|
|
1643
1643
|
meta: object;
|
|
1644
1644
|
}>;
|
|
@@ -1682,7 +1682,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1682
1682
|
[x: string]: unknown;
|
|
1683
1683
|
classId: string;
|
|
1684
1684
|
id: string;
|
|
1685
|
-
type?: "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "
|
|
1685
|
+
type?: "DISCUSSION" | "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "PRESENTATION" | "LAB" | "OTHER" | undefined;
|
|
1686
1686
|
files?: {
|
|
1687
1687
|
type: string;
|
|
1688
1688
|
name: string;
|
|
@@ -1739,18 +1739,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1739
1739
|
title: string;
|
|
1740
1740
|
dueDate: Date;
|
|
1741
1741
|
maxGrade: number | null;
|
|
1742
|
-
instructions: string;
|
|
1743
|
-
graded: boolean;
|
|
1744
|
-
weight: number;
|
|
1745
|
-
markSchemeId: string | null;
|
|
1746
|
-
teacher: {
|
|
1747
|
-
id: string;
|
|
1748
|
-
username: string;
|
|
1749
|
-
email: string;
|
|
1750
|
-
password: string;
|
|
1751
|
-
verified: boolean;
|
|
1752
|
-
schoolId: string | null;
|
|
1753
|
-
};
|
|
1754
1742
|
attachments: {
|
|
1755
1743
|
path: string;
|
|
1756
1744
|
type: string;
|
|
@@ -1770,6 +1758,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1770
1758
|
submissionId: string | null;
|
|
1771
1759
|
thumbnailId: string | null;
|
|
1772
1760
|
annotationId: string | null;
|
|
1761
|
+
conversationId: string | null;
|
|
1773
1762
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1774
1763
|
uploadUrl: string | null;
|
|
1775
1764
|
uploadExpiresAt: Date | null;
|
|
@@ -1781,7 +1770,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1781
1770
|
cleanupAt: Date | null;
|
|
1782
1771
|
classDraftId: string | null;
|
|
1783
1772
|
folderId: string | null;
|
|
1784
|
-
conversationId: string | null;
|
|
1785
1773
|
messageId: string | null;
|
|
1786
1774
|
announcementId: string | null;
|
|
1787
1775
|
discussionId: string | null;
|
|
@@ -1790,6 +1778,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1790
1778
|
} | null;
|
|
1791
1779
|
thumbnailId: string | null;
|
|
1792
1780
|
}[];
|
|
1781
|
+
instructions: string;
|
|
1782
|
+
graded: boolean;
|
|
1783
|
+
weight: number;
|
|
1784
|
+
markSchemeId: string | null;
|
|
1785
|
+
teacher: {
|
|
1786
|
+
id: string;
|
|
1787
|
+
username: string;
|
|
1788
|
+
email: string;
|
|
1789
|
+
password: string;
|
|
1790
|
+
verified: boolean;
|
|
1791
|
+
schoolId: string | null;
|
|
1792
|
+
};
|
|
1793
1793
|
};
|
|
1794
1794
|
meta: object;
|
|
1795
1795
|
}>;
|
|
@@ -1840,10 +1840,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1840
1840
|
id: string;
|
|
1841
1841
|
name: string;
|
|
1842
1842
|
}[];
|
|
1843
|
-
teacher: {
|
|
1844
|
-
id: string;
|
|
1845
|
-
username: string;
|
|
1846
|
-
};
|
|
1847
1843
|
attachments: {
|
|
1848
1844
|
path: string;
|
|
1849
1845
|
type: string;
|
|
@@ -1853,6 +1849,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1853
1849
|
uploadedAt: Date | null;
|
|
1854
1850
|
thumbnailId: string | null;
|
|
1855
1851
|
}[];
|
|
1852
|
+
teacher: {
|
|
1853
|
+
id: string;
|
|
1854
|
+
username: string;
|
|
1855
|
+
};
|
|
1856
1856
|
eventAttached: {
|
|
1857
1857
|
id: string;
|
|
1858
1858
|
location: string | null;
|
|
@@ -1961,6 +1961,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1961
1961
|
submissionId: string | null;
|
|
1962
1962
|
thumbnailId: string | null;
|
|
1963
1963
|
annotationId: string | null;
|
|
1964
|
+
conversationId: string | null;
|
|
1964
1965
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1965
1966
|
uploadUrl: string | null;
|
|
1966
1967
|
uploadExpiresAt: Date | null;
|
|
@@ -1972,17 +1973,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1972
1973
|
cleanupAt: Date | null;
|
|
1973
1974
|
classDraftId: string | null;
|
|
1974
1975
|
folderId: string | null;
|
|
1975
|
-
conversationId: string | null;
|
|
1976
1976
|
messageId: string | null;
|
|
1977
1977
|
announcementId: string | null;
|
|
1978
1978
|
discussionId: string | null;
|
|
1979
1979
|
discussionReplyId: string | null;
|
|
1980
1980
|
schoolDevelopementProgramId: string | null;
|
|
1981
1981
|
}[];
|
|
1982
|
-
student: {
|
|
1983
|
-
id: string;
|
|
1984
|
-
username: string;
|
|
1985
|
-
};
|
|
1986
1982
|
annotations: {
|
|
1987
1983
|
path: string;
|
|
1988
1984
|
type: string;
|
|
@@ -1995,6 +1991,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1995
1991
|
submissionId: string | null;
|
|
1996
1992
|
thumbnailId: string | null;
|
|
1997
1993
|
annotationId: string | null;
|
|
1994
|
+
conversationId: string | null;
|
|
1998
1995
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1999
1996
|
uploadUrl: string | null;
|
|
2000
1997
|
uploadExpiresAt: Date | null;
|
|
@@ -2006,18 +2003,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2006
2003
|
cleanupAt: Date | null;
|
|
2007
2004
|
classDraftId: string | null;
|
|
2008
2005
|
folderId: string | null;
|
|
2009
|
-
conversationId: string | null;
|
|
2010
2006
|
messageId: string | null;
|
|
2011
2007
|
announcementId: string | null;
|
|
2012
2008
|
discussionId: string | null;
|
|
2013
2009
|
discussionReplyId: string | null;
|
|
2014
2010
|
schoolDevelopementProgramId: string | null;
|
|
2015
2011
|
}[];
|
|
2012
|
+
student: {
|
|
2013
|
+
id: string;
|
|
2014
|
+
username: string;
|
|
2015
|
+
};
|
|
2016
2016
|
id: string;
|
|
2017
2017
|
createdAt: Date;
|
|
2018
2018
|
assignmentId: string;
|
|
2019
|
-
modifiedAt: Date;
|
|
2020
2019
|
studentId: string;
|
|
2020
|
+
modifiedAt: Date;
|
|
2021
2021
|
extendedResponse: string | null;
|
|
2022
2022
|
gradeReceived: number | null;
|
|
2023
2023
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -2103,6 +2103,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2103
2103
|
submissionId: string | null;
|
|
2104
2104
|
thumbnailId: string | null;
|
|
2105
2105
|
annotationId: string | null;
|
|
2106
|
+
conversationId: string | null;
|
|
2106
2107
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2107
2108
|
uploadUrl: string | null;
|
|
2108
2109
|
uploadExpiresAt: Date | null;
|
|
@@ -2114,29 +2115,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2114
2115
|
cleanupAt: Date | null;
|
|
2115
2116
|
classDraftId: string | null;
|
|
2116
2117
|
folderId: string | null;
|
|
2117
|
-
conversationId: string | null;
|
|
2118
2118
|
messageId: string | null;
|
|
2119
2119
|
announcementId: string | null;
|
|
2120
2120
|
discussionId: string | null;
|
|
2121
2121
|
discussionReplyId: string | null;
|
|
2122
2122
|
schoolDevelopementProgramId: string | null;
|
|
2123
2123
|
}[];
|
|
2124
|
-
student: {
|
|
2125
|
-
id: string;
|
|
2126
|
-
username: string;
|
|
2127
|
-
profile: {
|
|
2128
|
-
id: string;
|
|
2129
|
-
userId: string;
|
|
2130
|
-
displayName: string | null;
|
|
2131
|
-
bio: string | null;
|
|
2132
|
-
location: string | null;
|
|
2133
|
-
website: string | null;
|
|
2134
|
-
createdAt: Date;
|
|
2135
|
-
updatedAt: Date;
|
|
2136
|
-
profilePicture: string | null;
|
|
2137
|
-
profilePictureThumbnail: string | null;
|
|
2138
|
-
} | null;
|
|
2139
|
-
};
|
|
2140
2124
|
annotations: {
|
|
2141
2125
|
path: string;
|
|
2142
2126
|
type: string;
|
|
@@ -2149,6 +2133,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2149
2133
|
submissionId: string | null;
|
|
2150
2134
|
thumbnailId: string | null;
|
|
2151
2135
|
annotationId: string | null;
|
|
2136
|
+
conversationId: string | null;
|
|
2152
2137
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2153
2138
|
uploadUrl: string | null;
|
|
2154
2139
|
uploadExpiresAt: Date | null;
|
|
@@ -2160,18 +2145,33 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2160
2145
|
cleanupAt: Date | null;
|
|
2161
2146
|
classDraftId: string | null;
|
|
2162
2147
|
folderId: string | null;
|
|
2163
|
-
conversationId: string | null;
|
|
2164
2148
|
messageId: string | null;
|
|
2165
2149
|
announcementId: string | null;
|
|
2166
2150
|
discussionId: string | null;
|
|
2167
2151
|
discussionReplyId: string | null;
|
|
2168
2152
|
schoolDevelopementProgramId: string | null;
|
|
2169
2153
|
}[];
|
|
2154
|
+
student: {
|
|
2155
|
+
id: string;
|
|
2156
|
+
username: string;
|
|
2157
|
+
profile: {
|
|
2158
|
+
id: string;
|
|
2159
|
+
userId: string;
|
|
2160
|
+
displayName: string | null;
|
|
2161
|
+
bio: string | null;
|
|
2162
|
+
location: string | null;
|
|
2163
|
+
website: string | null;
|
|
2164
|
+
createdAt: Date;
|
|
2165
|
+
updatedAt: Date;
|
|
2166
|
+
profilePicture: string | null;
|
|
2167
|
+
profilePictureThumbnail: string | null;
|
|
2168
|
+
} | null;
|
|
2169
|
+
};
|
|
2170
2170
|
id: string;
|
|
2171
2171
|
createdAt: Date;
|
|
2172
2172
|
assignmentId: string;
|
|
2173
|
-
modifiedAt: Date;
|
|
2174
2173
|
studentId: string;
|
|
2174
|
+
modifiedAt: Date;
|
|
2175
2175
|
extendedResponse: string | null;
|
|
2176
2176
|
gradeReceived: number | null;
|
|
2177
2177
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -2262,6 +2262,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2262
2262
|
submissionId: string | null;
|
|
2263
2263
|
thumbnailId: string | null;
|
|
2264
2264
|
annotationId: string | null;
|
|
2265
|
+
conversationId: string | null;
|
|
2265
2266
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2266
2267
|
uploadUrl: string | null;
|
|
2267
2268
|
uploadExpiresAt: Date | null;
|
|
@@ -2273,7 +2274,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2273
2274
|
cleanupAt: Date | null;
|
|
2274
2275
|
classDraftId: string | null;
|
|
2275
2276
|
folderId: string | null;
|
|
2276
|
-
conversationId: string | null;
|
|
2277
2277
|
messageId: string | null;
|
|
2278
2278
|
announcementId: string | null;
|
|
2279
2279
|
discussionId: string | null;
|
|
@@ -2288,8 +2288,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2288
2288
|
id: string;
|
|
2289
2289
|
createdAt: Date;
|
|
2290
2290
|
assignmentId: string;
|
|
2291
|
-
modifiedAt: Date;
|
|
2292
2291
|
studentId: string;
|
|
2292
|
+
modifiedAt: Date;
|
|
2293
2293
|
extendedResponse: string | null;
|
|
2294
2294
|
gradeReceived: number | null;
|
|
2295
2295
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -2372,6 +2372,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2372
2372
|
submissionId: string | null;
|
|
2373
2373
|
thumbnailId: string | null;
|
|
2374
2374
|
annotationId: string | null;
|
|
2375
|
+
conversationId: string | null;
|
|
2375
2376
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2376
2377
|
uploadUrl: string | null;
|
|
2377
2378
|
uploadExpiresAt: Date | null;
|
|
@@ -2383,7 +2384,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2383
2384
|
cleanupAt: Date | null;
|
|
2384
2385
|
classDraftId: string | null;
|
|
2385
2386
|
folderId: string | null;
|
|
2386
|
-
conversationId: string | null;
|
|
2387
2387
|
messageId: string | null;
|
|
2388
2388
|
announcementId: string | null;
|
|
2389
2389
|
discussionId: string | null;
|
|
@@ -2402,6 +2402,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2402
2402
|
submissionId: string | null;
|
|
2403
2403
|
thumbnailId: string | null;
|
|
2404
2404
|
annotationId: string | null;
|
|
2405
|
+
conversationId: string | null;
|
|
2405
2406
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2406
2407
|
uploadUrl: string | null;
|
|
2407
2408
|
uploadExpiresAt: Date | null;
|
|
@@ -2413,7 +2414,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2413
2414
|
cleanupAt: Date | null;
|
|
2414
2415
|
classDraftId: string | null;
|
|
2415
2416
|
folderId: string | null;
|
|
2416
|
-
conversationId: string | null;
|
|
2417
2417
|
messageId: string | null;
|
|
2418
2418
|
announcementId: string | null;
|
|
2419
2419
|
discussionId: string | null;
|
|
@@ -2432,8 +2432,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2432
2432
|
id: string;
|
|
2433
2433
|
createdAt: Date;
|
|
2434
2434
|
assignmentId: string;
|
|
2435
|
-
modifiedAt: Date;
|
|
2436
2435
|
studentId: string;
|
|
2436
|
+
modifiedAt: Date;
|
|
2437
2437
|
extendedResponse: string | null;
|
|
2438
2438
|
gradeReceived: number | null;
|
|
2439
2439
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -2480,8 +2480,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2480
2480
|
content: string;
|
|
2481
2481
|
assignmentId: string | null;
|
|
2482
2482
|
submissionId: string | null;
|
|
2483
|
-
modifiedAt: Date | null;
|
|
2484
2483
|
announcementId: string | null;
|
|
2484
|
+
modifiedAt: Date | null;
|
|
2485
2485
|
authorId: string;
|
|
2486
2486
|
isPinned: boolean;
|
|
2487
2487
|
parentCommentId: string | null;
|
|
@@ -2493,8 +2493,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2493
2493
|
content: string;
|
|
2494
2494
|
assignmentId: string | null;
|
|
2495
2495
|
submissionId: string | null;
|
|
2496
|
-
modifiedAt: Date | null;
|
|
2497
2496
|
announcementId: string | null;
|
|
2497
|
+
modifiedAt: Date | null;
|
|
2498
2498
|
authorId: string;
|
|
2499
2499
|
isPinned: boolean;
|
|
2500
2500
|
parentCommentId: string | null;
|
|
@@ -2538,8 +2538,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2538
2538
|
content: string;
|
|
2539
2539
|
assignmentId: string | null;
|
|
2540
2540
|
submissionId: string | null;
|
|
2541
|
-
modifiedAt: Date | null;
|
|
2542
2541
|
announcementId: string | null;
|
|
2542
|
+
modifiedAt: Date | null;
|
|
2543
2543
|
authorId: string;
|
|
2544
2544
|
isPinned: boolean;
|
|
2545
2545
|
parentCommentId: string | null;
|
|
@@ -2551,8 +2551,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2551
2551
|
content: string;
|
|
2552
2552
|
assignmentId: string | null;
|
|
2553
2553
|
submissionId: string | null;
|
|
2554
|
-
modifiedAt: Date | null;
|
|
2555
2554
|
announcementId: string | null;
|
|
2555
|
+
modifiedAt: Date | null;
|
|
2556
2556
|
authorId: string;
|
|
2557
2557
|
isPinned: boolean;
|
|
2558
2558
|
parentCommentId: string | null;
|
|
@@ -2595,8 +2595,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2595
2595
|
content: string;
|
|
2596
2596
|
assignmentId: string | null;
|
|
2597
2597
|
submissionId: string | null;
|
|
2598
|
-
modifiedAt: Date | null;
|
|
2599
2598
|
announcementId: string | null;
|
|
2599
|
+
modifiedAt: Date | null;
|
|
2600
2600
|
authorId: string;
|
|
2601
2601
|
isPinned: boolean;
|
|
2602
2602
|
parentCommentId: string | null;
|
|
@@ -2608,8 +2608,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2608
2608
|
content: string;
|
|
2609
2609
|
assignmentId: string | null;
|
|
2610
2610
|
submissionId: string | null;
|
|
2611
|
-
modifiedAt: Date | null;
|
|
2612
2611
|
announcementId: string | null;
|
|
2612
|
+
modifiedAt: Date | null;
|
|
2613
2613
|
authorId: string;
|
|
2614
2614
|
isPinned: boolean;
|
|
2615
2615
|
parentCommentId: string | null;
|
|
@@ -2654,8 +2654,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2654
2654
|
content: string;
|
|
2655
2655
|
assignmentId: string | null;
|
|
2656
2656
|
submissionId: string | null;
|
|
2657
|
-
modifiedAt: Date | null;
|
|
2658
2657
|
announcementId: string | null;
|
|
2658
|
+
modifiedAt: Date | null;
|
|
2659
2659
|
authorId: string;
|
|
2660
2660
|
isPinned: boolean;
|
|
2661
2661
|
parentCommentId: string | null;
|
|
@@ -2667,8 +2667,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2667
2667
|
content: string;
|
|
2668
2668
|
assignmentId: string | null;
|
|
2669
2669
|
submissionId: string | null;
|
|
2670
|
-
modifiedAt: Date | null;
|
|
2671
2670
|
announcementId: string | null;
|
|
2671
|
+
modifiedAt: Date | null;
|
|
2672
2672
|
authorId: string;
|
|
2673
2673
|
isPinned: boolean;
|
|
2674
2674
|
parentCommentId: string | null;
|
|
@@ -2762,6 +2762,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2762
2762
|
submissionId: string | null;
|
|
2763
2763
|
thumbnailId: string | null;
|
|
2764
2764
|
annotationId: string | null;
|
|
2765
|
+
conversationId: string | null;
|
|
2765
2766
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2766
2767
|
uploadUrl: string | null;
|
|
2767
2768
|
uploadExpiresAt: Date | null;
|
|
@@ -2773,7 +2774,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2773
2774
|
cleanupAt: Date | null;
|
|
2774
2775
|
classDraftId: string | null;
|
|
2775
2776
|
folderId: string | null;
|
|
2776
|
-
conversationId: string | null;
|
|
2777
2777
|
messageId: string | null;
|
|
2778
2778
|
announcementId: string | null;
|
|
2779
2779
|
discussionId: string | null;
|
|
@@ -2792,6 +2792,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2792
2792
|
submissionId: string | null;
|
|
2793
2793
|
thumbnailId: string | null;
|
|
2794
2794
|
annotationId: string | null;
|
|
2795
|
+
conversationId: string | null;
|
|
2795
2796
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2796
2797
|
uploadUrl: string | null;
|
|
2797
2798
|
uploadExpiresAt: Date | null;
|
|
@@ -2803,22 +2804,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2803
2804
|
cleanupAt: Date | null;
|
|
2804
2805
|
classDraftId: string | null;
|
|
2805
2806
|
folderId: string | null;
|
|
2806
|
-
conversationId: string | null;
|
|
2807
2807
|
messageId: string | null;
|
|
2808
2808
|
announcementId: string | null;
|
|
2809
2809
|
discussionId: string | null;
|
|
2810
2810
|
discussionReplyId: string | null;
|
|
2811
2811
|
schoolDevelopementProgramId: string | null;
|
|
2812
2812
|
})[];
|
|
2813
|
-
student: {
|
|
2814
|
-
id: string;
|
|
2815
|
-
username: string;
|
|
2816
|
-
profile: {
|
|
2817
|
-
profilePicture: string | null;
|
|
2818
|
-
displayName: string | null;
|
|
2819
|
-
profilePictureThumbnail: string | null;
|
|
2820
|
-
} | null;
|
|
2821
|
-
};
|
|
2822
2813
|
annotations: ({
|
|
2823
2814
|
thumbnail: {
|
|
2824
2815
|
path: string;
|
|
@@ -2832,6 +2823,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2832
2823
|
submissionId: string | null;
|
|
2833
2824
|
thumbnailId: string | null;
|
|
2834
2825
|
annotationId: string | null;
|
|
2826
|
+
conversationId: string | null;
|
|
2835
2827
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2836
2828
|
uploadUrl: string | null;
|
|
2837
2829
|
uploadExpiresAt: Date | null;
|
|
@@ -2843,7 +2835,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2843
2835
|
cleanupAt: Date | null;
|
|
2844
2836
|
classDraftId: string | null;
|
|
2845
2837
|
folderId: string | null;
|
|
2846
|
-
conversationId: string | null;
|
|
2847
2838
|
messageId: string | null;
|
|
2848
2839
|
announcementId: string | null;
|
|
2849
2840
|
discussionId: string | null;
|
|
@@ -2862,6 +2853,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2862
2853
|
submissionId: string | null;
|
|
2863
2854
|
thumbnailId: string | null;
|
|
2864
2855
|
annotationId: string | null;
|
|
2856
|
+
conversationId: string | null;
|
|
2865
2857
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2866
2858
|
uploadUrl: string | null;
|
|
2867
2859
|
uploadExpiresAt: Date | null;
|
|
@@ -2873,19 +2865,27 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2873
2865
|
cleanupAt: Date | null;
|
|
2874
2866
|
classDraftId: string | null;
|
|
2875
2867
|
folderId: string | null;
|
|
2876
|
-
conversationId: string | null;
|
|
2877
2868
|
messageId: string | null;
|
|
2878
2869
|
announcementId: string | null;
|
|
2879
2870
|
discussionId: string | null;
|
|
2880
2871
|
discussionReplyId: string | null;
|
|
2881
2872
|
schoolDevelopementProgramId: string | null;
|
|
2882
2873
|
})[];
|
|
2874
|
+
student: {
|
|
2875
|
+
id: string;
|
|
2876
|
+
username: string;
|
|
2877
|
+
profile: {
|
|
2878
|
+
profilePicture: string | null;
|
|
2879
|
+
displayName: string | null;
|
|
2880
|
+
profilePictureThumbnail: string | null;
|
|
2881
|
+
} | null;
|
|
2882
|
+
};
|
|
2883
2883
|
} & {
|
|
2884
2884
|
id: string;
|
|
2885
2885
|
createdAt: Date;
|
|
2886
2886
|
assignmentId: string;
|
|
2887
|
-
modifiedAt: Date;
|
|
2888
2887
|
studentId: string;
|
|
2888
|
+
modifiedAt: Date;
|
|
2889
2889
|
extendedResponse: string | null;
|
|
2890
2890
|
gradeReceived: number | null;
|
|
2891
2891
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -2912,15 +2912,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2912
2912
|
id: string;
|
|
2913
2913
|
name: string;
|
|
2914
2914
|
} | null;
|
|
2915
|
-
teacher: {
|
|
2916
|
-
id: string;
|
|
2917
|
-
username: string;
|
|
2918
|
-
};
|
|
2919
2915
|
attachments: {
|
|
2920
2916
|
type: string;
|
|
2921
2917
|
id: string;
|
|
2922
2918
|
name: string;
|
|
2923
2919
|
}[];
|
|
2920
|
+
teacher: {
|
|
2921
|
+
id: string;
|
|
2922
|
+
username: string;
|
|
2923
|
+
};
|
|
2924
2924
|
eventAttached: {
|
|
2925
2925
|
id: string;
|
|
2926
2926
|
name: string | null;
|
|
@@ -2969,15 +2969,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2969
2969
|
id: string;
|
|
2970
2970
|
name: string;
|
|
2971
2971
|
} | null;
|
|
2972
|
-
teacher: {
|
|
2973
|
-
id: string;
|
|
2974
|
-
username: string;
|
|
2975
|
-
};
|
|
2976
2972
|
attachments: {
|
|
2977
2973
|
type: string;
|
|
2978
2974
|
id: string;
|
|
2979
2975
|
name: string;
|
|
2980
2976
|
}[];
|
|
2977
|
+
teacher: {
|
|
2978
|
+
id: string;
|
|
2979
|
+
username: string;
|
|
2980
|
+
};
|
|
2981
2981
|
eventAttached: {
|
|
2982
2982
|
id: string;
|
|
2983
2983
|
name: string | null;
|
|
@@ -3071,14 +3071,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3071
3071
|
classId: string;
|
|
3072
3072
|
order: number | null;
|
|
3073
3073
|
} | null;
|
|
3074
|
-
teacher: {
|
|
3075
|
-
id: string;
|
|
3076
|
-
username: string;
|
|
3077
|
-
email: string;
|
|
3078
|
-
password: string;
|
|
3079
|
-
verified: boolean;
|
|
3080
|
-
schoolId: string | null;
|
|
3081
|
-
};
|
|
3082
3074
|
attachments: {
|
|
3083
3075
|
path: string;
|
|
3084
3076
|
type: string;
|
|
@@ -3091,6 +3083,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3091
3083
|
submissionId: string | null;
|
|
3092
3084
|
thumbnailId: string | null;
|
|
3093
3085
|
annotationId: string | null;
|
|
3086
|
+
conversationId: string | null;
|
|
3094
3087
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
3095
3088
|
uploadUrl: string | null;
|
|
3096
3089
|
uploadExpiresAt: Date | null;
|
|
@@ -3102,13 +3095,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3102
3095
|
cleanupAt: Date | null;
|
|
3103
3096
|
classDraftId: string | null;
|
|
3104
3097
|
folderId: string | null;
|
|
3105
|
-
conversationId: string | null;
|
|
3106
3098
|
messageId: string | null;
|
|
3107
3099
|
announcementId: string | null;
|
|
3108
3100
|
discussionId: string | null;
|
|
3109
3101
|
discussionReplyId: string | null;
|
|
3110
3102
|
schoolDevelopementProgramId: string | null;
|
|
3111
3103
|
}[];
|
|
3104
|
+
teacher: {
|
|
3105
|
+
id: string;
|
|
3106
|
+
username: string;
|
|
3107
|
+
email: string;
|
|
3108
|
+
password: string;
|
|
3109
|
+
verified: boolean;
|
|
3110
|
+
schoolId: string | null;
|
|
3111
|
+
};
|
|
3112
3112
|
eventAttached: {
|
|
3113
3113
|
id: string;
|
|
3114
3114
|
userId: string | null;
|
|
@@ -3169,14 +3169,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3169
3169
|
classId: string;
|
|
3170
3170
|
order: number | null;
|
|
3171
3171
|
} | null;
|
|
3172
|
-
teacher: {
|
|
3173
|
-
id: string;
|
|
3174
|
-
username: string;
|
|
3175
|
-
email: string;
|
|
3176
|
-
password: string;
|
|
3177
|
-
verified: boolean;
|
|
3178
|
-
schoolId: string | null;
|
|
3179
|
-
};
|
|
3180
3172
|
attachments: {
|
|
3181
3173
|
path: string;
|
|
3182
3174
|
type: string;
|
|
@@ -3189,6 +3181,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3189
3181
|
submissionId: string | null;
|
|
3190
3182
|
thumbnailId: string | null;
|
|
3191
3183
|
annotationId: string | null;
|
|
3184
|
+
conversationId: string | null;
|
|
3192
3185
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
3193
3186
|
uploadUrl: string | null;
|
|
3194
3187
|
uploadExpiresAt: Date | null;
|
|
@@ -3200,13 +3193,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3200
3193
|
cleanupAt: Date | null;
|
|
3201
3194
|
classDraftId: string | null;
|
|
3202
3195
|
folderId: string | null;
|
|
3203
|
-
conversationId: string | null;
|
|
3204
3196
|
messageId: string | null;
|
|
3205
3197
|
announcementId: string | null;
|
|
3206
3198
|
discussionId: string | null;
|
|
3207
3199
|
discussionReplyId: string | null;
|
|
3208
3200
|
schoolDevelopementProgramId: string | null;
|
|
3209
3201
|
}[];
|
|
3202
|
+
teacher: {
|
|
3203
|
+
id: string;
|
|
3204
|
+
username: string;
|
|
3205
|
+
email: string;
|
|
3206
|
+
password: string;
|
|
3207
|
+
verified: boolean;
|
|
3208
|
+
schoolId: string | null;
|
|
3209
|
+
};
|
|
3210
3210
|
eventAttached: {
|
|
3211
3211
|
id: string;
|
|
3212
3212
|
userId: string | null;
|
|
@@ -3268,14 +3268,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3268
3268
|
classId: string;
|
|
3269
3269
|
order: number | null;
|
|
3270
3270
|
} | null;
|
|
3271
|
-
teacher: {
|
|
3272
|
-
id: string;
|
|
3273
|
-
username: string;
|
|
3274
|
-
email: string;
|
|
3275
|
-
password: string;
|
|
3276
|
-
verified: boolean;
|
|
3277
|
-
schoolId: string | null;
|
|
3278
|
-
};
|
|
3279
3271
|
attachments: {
|
|
3280
3272
|
path: string;
|
|
3281
3273
|
type: string;
|
|
@@ -3288,6 +3280,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3288
3280
|
submissionId: string | null;
|
|
3289
3281
|
thumbnailId: string | null;
|
|
3290
3282
|
annotationId: string | null;
|
|
3283
|
+
conversationId: string | null;
|
|
3291
3284
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
3292
3285
|
uploadUrl: string | null;
|
|
3293
3286
|
uploadExpiresAt: Date | null;
|
|
@@ -3299,13 +3292,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3299
3292
|
cleanupAt: Date | null;
|
|
3300
3293
|
classDraftId: string | null;
|
|
3301
3294
|
folderId: string | null;
|
|
3302
|
-
conversationId: string | null;
|
|
3303
3295
|
messageId: string | null;
|
|
3304
3296
|
announcementId: string | null;
|
|
3305
3297
|
discussionId: string | null;
|
|
3306
3298
|
discussionReplyId: string | null;
|
|
3307
3299
|
schoolDevelopementProgramId: string | null;
|
|
3308
3300
|
}[];
|
|
3301
|
+
teacher: {
|
|
3302
|
+
id: string;
|
|
3303
|
+
username: string;
|
|
3304
|
+
email: string;
|
|
3305
|
+
password: string;
|
|
3306
|
+
verified: boolean;
|
|
3307
|
+
schoolId: string | null;
|
|
3308
|
+
};
|
|
3309
3309
|
eventAttached: {
|
|
3310
3310
|
id: string;
|
|
3311
3311
|
userId: string | null;
|
|
@@ -3366,14 +3366,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3366
3366
|
classId: string;
|
|
3367
3367
|
order: number | null;
|
|
3368
3368
|
} | null;
|
|
3369
|
-
teacher: {
|
|
3370
|
-
id: string;
|
|
3371
|
-
username: string;
|
|
3372
|
-
email: string;
|
|
3373
|
-
password: string;
|
|
3374
|
-
verified: boolean;
|
|
3375
|
-
schoolId: string | null;
|
|
3376
|
-
};
|
|
3377
3369
|
attachments: {
|
|
3378
3370
|
path: string;
|
|
3379
3371
|
type: string;
|
|
@@ -3386,6 +3378,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3386
3378
|
submissionId: string | null;
|
|
3387
3379
|
thumbnailId: string | null;
|
|
3388
3380
|
annotationId: string | null;
|
|
3381
|
+
conversationId: string | null;
|
|
3389
3382
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
3390
3383
|
uploadUrl: string | null;
|
|
3391
3384
|
uploadExpiresAt: Date | null;
|
|
@@ -3397,13 +3390,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3397
3390
|
cleanupAt: Date | null;
|
|
3398
3391
|
classDraftId: string | null;
|
|
3399
3392
|
folderId: string | null;
|
|
3400
|
-
conversationId: string | null;
|
|
3401
3393
|
messageId: string | null;
|
|
3402
3394
|
announcementId: string | null;
|
|
3403
3395
|
discussionId: string | null;
|
|
3404
3396
|
discussionReplyId: string | null;
|
|
3405
3397
|
schoolDevelopementProgramId: string | null;
|
|
3406
3398
|
}[];
|
|
3399
|
+
teacher: {
|
|
3400
|
+
id: string;
|
|
3401
|
+
username: string;
|
|
3402
|
+
email: string;
|
|
3403
|
+
password: string;
|
|
3404
|
+
verified: boolean;
|
|
3405
|
+
schoolId: string | null;
|
|
3406
|
+
};
|
|
3407
3407
|
eventAttached: {
|
|
3408
3408
|
id: string;
|
|
3409
3409
|
userId: string | null;
|
|
@@ -3927,6 +3927,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3927
3927
|
title: string;
|
|
3928
3928
|
dueDate: Date;
|
|
3929
3929
|
maxGrade: number | null;
|
|
3930
|
+
attachments: {
|
|
3931
|
+
type: string;
|
|
3932
|
+
id: string;
|
|
3933
|
+
name: string;
|
|
3934
|
+
}[];
|
|
3930
3935
|
instructions: string;
|
|
3931
3936
|
graded: boolean;
|
|
3932
3937
|
weight: number;
|
|
@@ -3934,11 +3939,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3934
3939
|
id: string;
|
|
3935
3940
|
username: string;
|
|
3936
3941
|
};
|
|
3937
|
-
attachments: {
|
|
3938
|
-
type: string;
|
|
3939
|
-
id: string;
|
|
3940
|
-
name: string;
|
|
3941
|
-
}[];
|
|
3942
3942
|
}[];
|
|
3943
3943
|
} & {
|
|
3944
3944
|
id: string;
|
|
@@ -4031,15 +4031,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4031
4031
|
id: string;
|
|
4032
4032
|
name: string;
|
|
4033
4033
|
} | null;
|
|
4034
|
-
teacher: {
|
|
4035
|
-
id: string;
|
|
4036
|
-
username: string;
|
|
4037
|
-
};
|
|
4038
4034
|
attachments: {
|
|
4039
4035
|
type: string;
|
|
4040
4036
|
id: string;
|
|
4041
4037
|
name: string;
|
|
4042
4038
|
}[];
|
|
4039
|
+
teacher: {
|
|
4040
|
+
id: string;
|
|
4041
|
+
username: string;
|
|
4042
|
+
};
|
|
4043
4043
|
} & {
|
|
4044
4044
|
type: import(".prisma/client").$Enums.AssignmentType;
|
|
4045
4045
|
id: string;
|
|
@@ -4080,15 +4080,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4080
4080
|
id: string;
|
|
4081
4081
|
name: string;
|
|
4082
4082
|
} | null;
|
|
4083
|
-
teacher: {
|
|
4084
|
-
id: string;
|
|
4085
|
-
username: string;
|
|
4086
|
-
};
|
|
4087
4083
|
attachments: {
|
|
4088
4084
|
type: string;
|
|
4089
4085
|
id: string;
|
|
4090
4086
|
name: string;
|
|
4091
4087
|
}[];
|
|
4088
|
+
teacher: {
|
|
4089
|
+
id: string;
|
|
4090
|
+
username: string;
|
|
4091
|
+
};
|
|
4092
4092
|
} & {
|
|
4093
4093
|
type: import(".prisma/client").$Enums.AssignmentType;
|
|
4094
4094
|
id: string;
|
|
@@ -4133,6 +4133,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4133
4133
|
title: string;
|
|
4134
4134
|
dueDate: Date;
|
|
4135
4135
|
maxGrade: number | null;
|
|
4136
|
+
attachments: {
|
|
4137
|
+
type: string;
|
|
4138
|
+
id: string;
|
|
4139
|
+
name: string;
|
|
4140
|
+
}[];
|
|
4136
4141
|
instructions: string;
|
|
4137
4142
|
graded: boolean;
|
|
4138
4143
|
weight: number;
|
|
@@ -4140,11 +4145,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4140
4145
|
id: string;
|
|
4141
4146
|
username: string;
|
|
4142
4147
|
};
|
|
4143
|
-
attachments: {
|
|
4144
|
-
type: string;
|
|
4145
|
-
id: string;
|
|
4146
|
-
name: string;
|
|
4147
|
-
}[];
|
|
4148
4148
|
}[];
|
|
4149
4149
|
};
|
|
4150
4150
|
meta: object;
|
|
@@ -4449,6 +4449,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4449
4449
|
submissionId: string | null;
|
|
4450
4450
|
thumbnailId: string | null;
|
|
4451
4451
|
annotationId: string | null;
|
|
4452
|
+
conversationId: string | null;
|
|
4452
4453
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
4453
4454
|
uploadUrl: string | null;
|
|
4454
4455
|
uploadExpiresAt: Date | null;
|
|
@@ -4460,7 +4461,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4460
4461
|
cleanupAt: Date | null;
|
|
4461
4462
|
classDraftId: string | null;
|
|
4462
4463
|
folderId: string | null;
|
|
4463
|
-
conversationId: string | null;
|
|
4464
4464
|
messageId: string | null;
|
|
4465
4465
|
announcementId: string | null;
|
|
4466
4466
|
discussionId: string | null;
|
|
@@ -4491,6 +4491,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4491
4491
|
submissionId: string | null;
|
|
4492
4492
|
thumbnailId: string | null;
|
|
4493
4493
|
annotationId: string | null;
|
|
4494
|
+
conversationId: string | null;
|
|
4494
4495
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
4495
4496
|
uploadUrl: string | null;
|
|
4496
4497
|
uploadExpiresAt: Date | null;
|
|
@@ -4502,7 +4503,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4502
4503
|
cleanupAt: Date | null;
|
|
4503
4504
|
classDraftId: string | null;
|
|
4504
4505
|
folderId: string | null;
|
|
4505
|
-
conversationId: string | null;
|
|
4506
4506
|
messageId: string | null;
|
|
4507
4507
|
announcementId: string | null;
|
|
4508
4508
|
discussionId: string | null;
|
|
@@ -4875,9 +4875,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4875
4875
|
createdAt: Date;
|
|
4876
4876
|
title: string;
|
|
4877
4877
|
content: string;
|
|
4878
|
+
senderId: string | null;
|
|
4878
4879
|
read: boolean;
|
|
4879
4880
|
receiverId: string;
|
|
4880
|
-
senderId: string | null;
|
|
4881
4881
|
})[];
|
|
4882
4882
|
meta: object;
|
|
4883
4883
|
}>;
|
|
@@ -4897,9 +4897,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4897
4897
|
createdAt: Date;
|
|
4898
4898
|
title: string;
|
|
4899
4899
|
content: string;
|
|
4900
|
+
senderId: string | null;
|
|
4900
4901
|
read: boolean;
|
|
4901
4902
|
receiverId: string;
|
|
4902
|
-
senderId: string | null;
|
|
4903
4903
|
};
|
|
4904
4904
|
meta: object;
|
|
4905
4905
|
}>;
|
|
@@ -4914,9 +4914,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4914
4914
|
createdAt: Date;
|
|
4915
4915
|
title: string;
|
|
4916
4916
|
content: string;
|
|
4917
|
+
senderId: string | null;
|
|
4917
4918
|
read: boolean;
|
|
4918
4919
|
receiverId: string;
|
|
4919
|
-
senderId: string | null;
|
|
4920
4920
|
};
|
|
4921
4921
|
meta: object;
|
|
4922
4922
|
}>;
|
|
@@ -4945,9 +4945,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4945
4945
|
createdAt: Date;
|
|
4946
4946
|
title: string;
|
|
4947
4947
|
content: string;
|
|
4948
|
+
senderId: string | null;
|
|
4948
4949
|
read: boolean;
|
|
4949
4950
|
receiverId: string;
|
|
4950
|
-
senderId: string | null;
|
|
4951
4951
|
};
|
|
4952
4952
|
meta: object;
|
|
4953
4953
|
}>;
|
|
@@ -4993,8 +4993,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4993
4993
|
} & {
|
|
4994
4994
|
id: string;
|
|
4995
4995
|
userId: string;
|
|
4996
|
-
conversationId: string;
|
|
4997
4996
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
4997
|
+
conversationId: string;
|
|
4998
4998
|
joinedAt: Date;
|
|
4999
4999
|
hiddenAt: Date | null;
|
|
5000
5000
|
lastViewedAt: Date | null;
|
|
@@ -5014,9 +5014,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5014
5014
|
id: string;
|
|
5015
5015
|
createdAt: Date;
|
|
5016
5016
|
content: string;
|
|
5017
|
+
senderId: string;
|
|
5017
5018
|
conversationId: string;
|
|
5018
5019
|
runJobId: string | null;
|
|
5019
|
-
senderId: string;
|
|
5020
5020
|
};
|
|
5021
5021
|
unreadCount: number;
|
|
5022
5022
|
unreadMentionCount: number;
|
|
@@ -5057,8 +5057,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5057
5057
|
} & {
|
|
5058
5058
|
id: string;
|
|
5059
5059
|
userId: string;
|
|
5060
|
-
conversationId: string;
|
|
5061
5060
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
5061
|
+
conversationId: string;
|
|
5062
5062
|
joinedAt: Date;
|
|
5063
5063
|
hiddenAt: Date | null;
|
|
5064
5064
|
lastViewedAt: Date | null;
|
|
@@ -5091,8 +5091,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5091
5091
|
} & {
|
|
5092
5092
|
id: string;
|
|
5093
5093
|
userId: string;
|
|
5094
|
-
conversationId: string;
|
|
5095
5094
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
5095
|
+
conversationId: string;
|
|
5096
5096
|
joinedAt: Date;
|
|
5097
5097
|
hiddenAt: Date | null;
|
|
5098
5098
|
lastViewedAt: Date | null;
|
|
@@ -5135,8 +5135,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5135
5135
|
} & {
|
|
5136
5136
|
id: string;
|
|
5137
5137
|
userId: string;
|
|
5138
|
-
conversationId: string;
|
|
5139
5138
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
5139
|
+
conversationId: string;
|
|
5140
5140
|
joinedAt: Date;
|
|
5141
5141
|
hiddenAt: Date | null;
|
|
5142
5142
|
lastViewedAt: Date | null;
|
|
@@ -5170,8 +5170,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5170
5170
|
} & {
|
|
5171
5171
|
id: string;
|
|
5172
5172
|
userId: string;
|
|
5173
|
-
conversationId: string;
|
|
5174
5173
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
5174
|
+
conversationId: string;
|
|
5175
5175
|
joinedAt: Date;
|
|
5176
5176
|
hiddenAt: Date | null;
|
|
5177
5177
|
lastViewedAt: Date | null;
|
|
@@ -5440,8 +5440,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5440
5440
|
} & {
|
|
5441
5441
|
id: string;
|
|
5442
5442
|
userId: string;
|
|
5443
|
-
conversationId: string;
|
|
5444
5443
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
5444
|
+
conversationId: string;
|
|
5445
5445
|
joinedAt: Date;
|
|
5446
5446
|
hiddenAt: Date | null;
|
|
5447
5447
|
lastViewedAt: Date | null;
|
|
@@ -5499,8 +5499,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5499
5499
|
} & {
|
|
5500
5500
|
id: string;
|
|
5501
5501
|
userId: string;
|
|
5502
|
-
conversationId: string;
|
|
5503
5502
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
5503
|
+
conversationId: string;
|
|
5504
5504
|
joinedAt: Date;
|
|
5505
5505
|
hiddenAt: Date | null;
|
|
5506
5506
|
lastViewedAt: Date | null;
|
|
@@ -5565,9 +5565,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5565
5565
|
id: string;
|
|
5566
5566
|
createdAt: Date;
|
|
5567
5567
|
content: string;
|
|
5568
|
+
senderId: string;
|
|
5568
5569
|
conversationId: string;
|
|
5569
5570
|
runJobId: string | null;
|
|
5570
|
-
senderId: string;
|
|
5571
5571
|
};
|
|
5572
5572
|
messageCount: number;
|
|
5573
5573
|
}[];
|
|
@@ -5827,11 +5827,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5827
5827
|
id: string;
|
|
5828
5828
|
createdAt: Date;
|
|
5829
5829
|
updatedAt: Date;
|
|
5830
|
-
|
|
5831
|
-
worksheetId: string;
|
|
5830
|
+
points: number;
|
|
5832
5831
|
question: string;
|
|
5832
|
+
worksheetId: string;
|
|
5833
|
+
order: number | null;
|
|
5833
5834
|
answer: string;
|
|
5834
|
-
points: number;
|
|
5835
5835
|
}[];
|
|
5836
5836
|
} & {
|
|
5837
5837
|
status: import(".prisma/client").$Enums.JobStatus | null;
|
|
@@ -5840,8 +5840,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5840
5840
|
updatedAt: Date;
|
|
5841
5841
|
name: string;
|
|
5842
5842
|
classId: string;
|
|
5843
|
-
sourceUrl: string | null;
|
|
5844
5843
|
runJobId: string | null;
|
|
5844
|
+
sourceUrl: string | null;
|
|
5845
5845
|
};
|
|
5846
5846
|
meta: object;
|
|
5847
5847
|
}>;
|
|
@@ -5876,8 +5876,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5876
5876
|
updatedAt: Date;
|
|
5877
5877
|
name: string;
|
|
5878
5878
|
classId: string;
|
|
5879
|
-
sourceUrl: string | null;
|
|
5880
5879
|
runJobId: string | null;
|
|
5880
|
+
sourceUrl: string | null;
|
|
5881
5881
|
}[];
|
|
5882
5882
|
meta: object;
|
|
5883
5883
|
}>;
|
|
@@ -5893,8 +5893,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5893
5893
|
updatedAt: Date;
|
|
5894
5894
|
name: string;
|
|
5895
5895
|
classId: string;
|
|
5896
|
-
sourceUrl: string | null;
|
|
5897
5896
|
runJobId: string | null;
|
|
5897
|
+
sourceUrl: string | null;
|
|
5898
5898
|
};
|
|
5899
5899
|
meta: object;
|
|
5900
5900
|
}>;
|
|
@@ -5909,8 +5909,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5909
5909
|
updatedAt: Date;
|
|
5910
5910
|
name: string;
|
|
5911
5911
|
classId: string;
|
|
5912
|
-
sourceUrl: string | null;
|
|
5913
5912
|
runJobId: string | null;
|
|
5913
|
+
sourceUrl: string | null;
|
|
5914
5914
|
};
|
|
5915
5915
|
meta: object;
|
|
5916
5916
|
}>;
|
|
@@ -5927,8 +5927,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5927
5927
|
updatedAt: Date;
|
|
5928
5928
|
name: string;
|
|
5929
5929
|
classId: string;
|
|
5930
|
-
sourceUrl: string | null;
|
|
5931
5930
|
runJobId: string | null;
|
|
5931
|
+
sourceUrl: string | null;
|
|
5932
5932
|
};
|
|
5933
5933
|
meta: object;
|
|
5934
5934
|
}>;
|
|
@@ -5946,8 +5946,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5946
5946
|
updatedAt: Date;
|
|
5947
5947
|
name: string;
|
|
5948
5948
|
classId: string;
|
|
5949
|
-
sourceUrl: string | null;
|
|
5950
5949
|
runJobId: string | null;
|
|
5950
|
+
sourceUrl: string | null;
|
|
5951
5951
|
};
|
|
5952
5952
|
meta: object;
|
|
5953
5953
|
}>;
|
|
@@ -6022,13 +6022,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6022
6022
|
addQuestion: import("@trpc/server").TRPCMutationProcedure<{
|
|
6023
6023
|
input: {
|
|
6024
6024
|
type: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION";
|
|
6025
|
-
worksheetId: string;
|
|
6026
6025
|
question: string;
|
|
6026
|
+
worksheetId: string;
|
|
6027
6027
|
answer: string;
|
|
6028
6028
|
options?: any;
|
|
6029
6029
|
markScheme?: any;
|
|
6030
|
-
order?: number | undefined;
|
|
6031
6030
|
points?: number | undefined;
|
|
6031
|
+
order?: number | undefined;
|
|
6032
6032
|
};
|
|
6033
6033
|
output: {
|
|
6034
6034
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
@@ -6037,11 +6037,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6037
6037
|
id: string;
|
|
6038
6038
|
createdAt: Date;
|
|
6039
6039
|
updatedAt: Date;
|
|
6040
|
-
|
|
6041
|
-
worksheetId: string;
|
|
6040
|
+
points: number;
|
|
6042
6041
|
question: string;
|
|
6042
|
+
worksheetId: string;
|
|
6043
|
+
order: number | null;
|
|
6043
6044
|
answer: string;
|
|
6044
|
-
points: number;
|
|
6045
6045
|
};
|
|
6046
6046
|
meta: object;
|
|
6047
6047
|
}>;
|
|
@@ -6059,14 +6059,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6059
6059
|
}>;
|
|
6060
6060
|
updateQuestion: import("@trpc/server").TRPCMutationProcedure<{
|
|
6061
6061
|
input: {
|
|
6062
|
-
worksheetId: string;
|
|
6063
6062
|
questionId: string;
|
|
6063
|
+
worksheetId: string;
|
|
6064
6064
|
type?: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION" | undefined;
|
|
6065
6065
|
options?: any;
|
|
6066
6066
|
markScheme?: any;
|
|
6067
|
+
points?: number | undefined;
|
|
6067
6068
|
question?: string | undefined;
|
|
6068
6069
|
answer?: string | undefined;
|
|
6069
|
-
points?: number | undefined;
|
|
6070
6070
|
};
|
|
6071
6071
|
output: {
|
|
6072
6072
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
@@ -6075,18 +6075,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6075
6075
|
id: string;
|
|
6076
6076
|
createdAt: Date;
|
|
6077
6077
|
updatedAt: Date;
|
|
6078
|
-
|
|
6079
|
-
worksheetId: string;
|
|
6078
|
+
points: number;
|
|
6080
6079
|
question: string;
|
|
6080
|
+
worksheetId: string;
|
|
6081
|
+
order: number | null;
|
|
6081
6082
|
answer: string;
|
|
6082
|
-
points: number;
|
|
6083
6083
|
};
|
|
6084
6084
|
meta: object;
|
|
6085
6085
|
}>;
|
|
6086
6086
|
deleteQuestion: import("@trpc/server").TRPCMutationProcedure<{
|
|
6087
6087
|
input: {
|
|
6088
|
-
worksheetId: string;
|
|
6089
6088
|
questionId: string;
|
|
6089
|
+
worksheetId: string;
|
|
6090
6090
|
};
|
|
6091
6091
|
output: {
|
|
6092
6092
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
@@ -6095,11 +6095,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6095
6095
|
id: string;
|
|
6096
6096
|
createdAt: Date;
|
|
6097
6097
|
updatedAt: Date;
|
|
6098
|
-
|
|
6099
|
-
worksheetId: string;
|
|
6098
|
+
points: number;
|
|
6100
6099
|
question: string;
|
|
6100
|
+
worksheetId: string;
|
|
6101
|
+
order: number | null;
|
|
6101
6102
|
answer: string;
|
|
6102
|
-
points: number;
|
|
6103
6103
|
};
|
|
6104
6104
|
meta: object;
|
|
6105
6105
|
}>;
|
|
@@ -6120,14 +6120,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6120
6120
|
createdAt: Date;
|
|
6121
6121
|
updatedAt: Date | null;
|
|
6122
6122
|
feedback: string | null;
|
|
6123
|
-
studentId: string;
|
|
6124
6123
|
runJobId: string | null;
|
|
6125
|
-
points: number;
|
|
6126
6124
|
response: string;
|
|
6127
6125
|
isCorrect: boolean;
|
|
6128
6126
|
markschemeState: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
6129
|
-
|
|
6127
|
+
points: number;
|
|
6128
|
+
studentId: string;
|
|
6130
6129
|
questionId: string;
|
|
6130
|
+
studentWorksheetResponseId: string | null;
|
|
6131
6131
|
})[];
|
|
6132
6132
|
} & {
|
|
6133
6133
|
id: string;
|
|
@@ -6135,9 +6135,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6135
6135
|
updatedAt: Date;
|
|
6136
6136
|
submissionId: string | null;
|
|
6137
6137
|
studentId: string;
|
|
6138
|
+
worksheetId: string;
|
|
6138
6139
|
submittedAt: Date | null;
|
|
6139
6140
|
submitted: boolean;
|
|
6140
|
-
worksheetId: string;
|
|
6141
6141
|
};
|
|
6142
6142
|
meta: object;
|
|
6143
6143
|
}>;
|
|
@@ -6154,14 +6154,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6154
6154
|
createdAt: Date;
|
|
6155
6155
|
updatedAt: Date | null;
|
|
6156
6156
|
feedback: string | null;
|
|
6157
|
-
studentId: string;
|
|
6158
6157
|
runJobId: string | null;
|
|
6159
|
-
points: number;
|
|
6160
6158
|
response: string;
|
|
6161
6159
|
isCorrect: boolean;
|
|
6162
6160
|
markschemeState: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
6163
|
-
|
|
6161
|
+
points: number;
|
|
6162
|
+
studentId: string;
|
|
6164
6163
|
questionId: string;
|
|
6164
|
+
studentWorksheetResponseId: string | null;
|
|
6165
6165
|
}[];
|
|
6166
6166
|
} & {
|
|
6167
6167
|
id: string;
|
|
@@ -6169,9 +6169,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6169
6169
|
updatedAt: Date;
|
|
6170
6170
|
submissionId: string | null;
|
|
6171
6171
|
studentId: string;
|
|
6172
|
+
worksheetId: string;
|
|
6172
6173
|
submittedAt: Date | null;
|
|
6173
6174
|
submitted: boolean;
|
|
6174
|
-
worksheetId: string;
|
|
6175
6175
|
};
|
|
6176
6176
|
meta: object;
|
|
6177
6177
|
}>;
|
|
@@ -6186,14 +6186,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6186
6186
|
createdAt: Date;
|
|
6187
6187
|
updatedAt: Date | null;
|
|
6188
6188
|
feedback: string | null;
|
|
6189
|
-
studentId: string;
|
|
6190
6189
|
runJobId: string | null;
|
|
6191
|
-
points: number;
|
|
6192
6190
|
response: string;
|
|
6193
6191
|
isCorrect: boolean;
|
|
6194
6192
|
markschemeState: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
6195
|
-
|
|
6193
|
+
points: number;
|
|
6194
|
+
studentId: string;
|
|
6196
6195
|
questionId: string;
|
|
6196
|
+
studentWorksheetResponseId: string | null;
|
|
6197
6197
|
};
|
|
6198
6198
|
meta: object;
|
|
6199
6199
|
}>;
|
|
@@ -6208,26 +6208,26 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6208
6208
|
createdAt: Date;
|
|
6209
6209
|
updatedAt: Date | null;
|
|
6210
6210
|
feedback: string | null;
|
|
6211
|
-
studentId: string;
|
|
6212
6211
|
runJobId: string | null;
|
|
6213
|
-
points: number;
|
|
6214
6212
|
response: string;
|
|
6215
6213
|
isCorrect: boolean;
|
|
6216
6214
|
markschemeState: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
6217
|
-
|
|
6215
|
+
points: number;
|
|
6216
|
+
studentId: string;
|
|
6218
6217
|
questionId: string;
|
|
6218
|
+
studentWorksheetResponseId: string | null;
|
|
6219
6219
|
} | null;
|
|
6220
6220
|
meta: object;
|
|
6221
6221
|
}>;
|
|
6222
6222
|
gradeAnswer: import("@trpc/server").TRPCMutationProcedure<{
|
|
6223
6223
|
input: {
|
|
6224
6224
|
isCorrect: boolean;
|
|
6225
|
-
studentWorksheetResponseId: string;
|
|
6226
6225
|
questionId: string;
|
|
6226
|
+
studentWorksheetResponseId: string;
|
|
6227
6227
|
feedback?: string | undefined;
|
|
6228
|
-
points?: number | undefined;
|
|
6229
6228
|
response?: string | undefined;
|
|
6230
6229
|
markschemeState?: any;
|
|
6230
|
+
points?: number | undefined;
|
|
6231
6231
|
responseId?: string | undefined;
|
|
6232
6232
|
};
|
|
6233
6233
|
output: {
|
|
@@ -6236,14 +6236,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6236
6236
|
createdAt: Date;
|
|
6237
6237
|
updatedAt: Date | null;
|
|
6238
6238
|
feedback: string | null;
|
|
6239
|
-
studentId: string;
|
|
6240
6239
|
runJobId: string | null;
|
|
6241
|
-
points: number;
|
|
6242
6240
|
response: string;
|
|
6243
6241
|
isCorrect: boolean;
|
|
6244
6242
|
markschemeState: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
6245
|
-
|
|
6243
|
+
points: number;
|
|
6244
|
+
studentId: string;
|
|
6246
6245
|
questionId: string;
|
|
6246
|
+
studentWorksheetResponseId: string | null;
|
|
6247
6247
|
};
|
|
6248
6248
|
meta: object;
|
|
6249
6249
|
}>;
|
|
@@ -6258,8 +6258,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6258
6258
|
content: string;
|
|
6259
6259
|
assignmentId: string | null;
|
|
6260
6260
|
submissionId: string | null;
|
|
6261
|
-
modifiedAt: Date | null;
|
|
6262
6261
|
announcementId: string | null;
|
|
6262
|
+
modifiedAt: Date | null;
|
|
6263
6263
|
authorId: string;
|
|
6264
6264
|
isPinned: boolean;
|
|
6265
6265
|
parentCommentId: string | null;
|
|
@@ -6299,8 +6299,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6299
6299
|
updatedAt: Date;
|
|
6300
6300
|
name: string;
|
|
6301
6301
|
classId: string;
|
|
6302
|
-
sourceUrl: string | null;
|
|
6303
6302
|
runJobId: string | null;
|
|
6303
|
+
sourceUrl: string | null;
|
|
6304
6304
|
};
|
|
6305
6305
|
meta: object;
|
|
6306
6306
|
}>;
|
|
@@ -6344,8 +6344,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6344
6344
|
content: string;
|
|
6345
6345
|
assignmentId: string | null;
|
|
6346
6346
|
submissionId: string | null;
|
|
6347
|
-
modifiedAt: Date | null;
|
|
6348
6347
|
announcementId: string | null;
|
|
6348
|
+
modifiedAt: Date | null;
|
|
6349
6349
|
isPinned: boolean;
|
|
6350
6350
|
author: {
|
|
6351
6351
|
id: string;
|
|
@@ -6380,8 +6380,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6380
6380
|
content: string;
|
|
6381
6381
|
assignmentId: string | null;
|
|
6382
6382
|
submissionId: string | null;
|
|
6383
|
-
modifiedAt: Date | null;
|
|
6384
6383
|
announcementId: string | null;
|
|
6384
|
+
modifiedAt: Date | null;
|
|
6385
6385
|
authorId: string;
|
|
6386
6386
|
isPinned: boolean;
|
|
6387
6387
|
parentCommentId: string | null;
|
|
@@ -6400,8 +6400,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6400
6400
|
content: string;
|
|
6401
6401
|
assignmentId: string | null;
|
|
6402
6402
|
submissionId: string | null;
|
|
6403
|
-
modifiedAt: Date | null;
|
|
6404
6403
|
announcementId: string | null;
|
|
6404
|
+
modifiedAt: Date | null;
|
|
6405
6405
|
authorId: string;
|
|
6406
6406
|
isPinned: boolean;
|
|
6407
6407
|
parentCommentId: string | null;
|
|
@@ -6420,8 +6420,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6420
6420
|
content: string;
|
|
6421
6421
|
assignmentId: string | null;
|
|
6422
6422
|
submissionId: string | null;
|
|
6423
|
-
modifiedAt: Date | null;
|
|
6424
6423
|
announcementId: string | null;
|
|
6424
|
+
modifiedAt: Date | null;
|
|
6425
6425
|
authorId: string;
|
|
6426
6426
|
isPinned: boolean;
|
|
6427
6427
|
parentCommentId: string | null;
|
|
@@ -6449,8 +6449,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6449
6449
|
content: string;
|
|
6450
6450
|
assignmentId: string | null;
|
|
6451
6451
|
submissionId: string | null;
|
|
6452
|
-
modifiedAt: Date | null;
|
|
6453
6452
|
announcementId: string | null;
|
|
6453
|
+
modifiedAt: Date | null;
|
|
6454
6454
|
authorId: string;
|
|
6455
6455
|
isPinned: boolean;
|
|
6456
6456
|
parentCommentId: string | null;
|
|
@@ -6745,7 +6745,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6745
6745
|
query: string;
|
|
6746
6746
|
results: {
|
|
6747
6747
|
id: string;
|
|
6748
|
-
type: "class" | "file" | "assignment" | "announcement" | "section" | "event" | "worksheet" | "syllabus";
|
|
6748
|
+
type: "class" | "file" | "assignment" | "announcement" | "discussion" | "submission" | "section" | "event" | "worksheet" | "syllabus";
|
|
6749
6749
|
title: string;
|
|
6750
6750
|
subtitle: string;
|
|
6751
6751
|
classId: string;
|
|
@@ -6766,7 +6766,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6766
6766
|
query: string;
|
|
6767
6767
|
results: {
|
|
6768
6768
|
id: string;
|
|
6769
|
-
type: "class" | "file" | "assignment" | "announcement" | "section" | "event" | "worksheet" | "syllabus";
|
|
6769
|
+
type: "class" | "file" | "assignment" | "announcement" | "discussion" | "submission" | "section" | "event" | "worksheet" | "syllabus";
|
|
6770
6770
|
title: string;
|
|
6771
6771
|
subtitle: string;
|
|
6772
6772
|
classId: string;
|
|
@@ -7847,7 +7847,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7847
7847
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
7848
7848
|
input: {
|
|
7849
7849
|
classId: string;
|
|
7850
|
-
type?: "
|
|
7850
|
+
type?: "ANNOUNCEMENT" | "DISCUSSION" | "QUESTION" | undefined;
|
|
7851
7851
|
sort?: "recent" | "activity" | "top" | undefined;
|
|
7852
7852
|
cursor?: string | undefined;
|
|
7853
7853
|
search?: string | undefined;
|
|
@@ -7993,7 +7993,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7993
7993
|
classId: string;
|
|
7994
7994
|
title: string;
|
|
7995
7995
|
body: string;
|
|
7996
|
-
type?: "
|
|
7996
|
+
type?: "ANNOUNCEMENT" | "DISCUSSION" | "QUESTION" | undefined;
|
|
7997
7997
|
tagIds?: string[] | undefined;
|
|
7998
7998
|
attachmentIds?: string[] | undefined;
|
|
7999
7999
|
};
|
|
@@ -8086,7 +8086,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8086
8086
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
8087
8087
|
input: {
|
|
8088
8088
|
discussionId: string;
|
|
8089
|
-
type?: "
|
|
8089
|
+
type?: "ANNOUNCEMENT" | "DISCUSSION" | "QUESTION" | undefined;
|
|
8090
8090
|
title?: string | undefined;
|
|
8091
8091
|
body?: string | undefined;
|
|
8092
8092
|
allowReplies?: boolean | undefined;
|
|
@@ -8870,7 +8870,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8870
8870
|
query: string;
|
|
8871
8871
|
classId: string;
|
|
8872
8872
|
limit?: number | undefined;
|
|
8873
|
-
sourceTypes?: ("
|
|
8873
|
+
sourceTypes?: ("FILE" | "ASSIGNMENT" | "WORKSHEET" | "ANNOUNCEMENT" | "SECTION" | "DISCUSSION" | "SUBMISSION" | "SYLLABUS")[] | undefined;
|
|
8874
8874
|
};
|
|
8875
8875
|
output: import("../services/embedding.js").EmbeddingSearchResult[];
|
|
8876
8876
|
meta: object;
|
|
@@ -8878,7 +8878,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8878
8878
|
reindex: import("@trpc/server").TRPCMutationProcedure<{
|
|
8879
8879
|
input: {
|
|
8880
8880
|
classId: string;
|
|
8881
|
-
sourceType: "
|
|
8881
|
+
sourceType: "FILE" | "ASSIGNMENT" | "WORKSHEET" | "ANNOUNCEMENT" | "SECTION" | "DISCUSSION" | "SUBMISSION" | "SYLLABUS";
|
|
8882
8882
|
sourceId: string;
|
|
8883
8883
|
};
|
|
8884
8884
|
output: {
|
|
@@ -8895,6 +8895,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8895
8895
|
assignments: number;
|
|
8896
8896
|
worksheets: number;
|
|
8897
8897
|
announcements: number;
|
|
8898
|
+
discussions: number;
|
|
8899
|
+
submissions: number;
|
|
8900
|
+
syllabus: number;
|
|
8901
|
+
files: number;
|
|
8898
8902
|
};
|
|
8899
8903
|
};
|
|
8900
8904
|
meta: object;
|
|
@@ -9281,7 +9285,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9281
9285
|
input: {
|
|
9282
9286
|
[x: string]: unknown;
|
|
9283
9287
|
classId: string;
|
|
9284
|
-
type: "
|
|
9288
|
+
type: "student" | "teacher";
|
|
9285
9289
|
userId: string;
|
|
9286
9290
|
};
|
|
9287
9291
|
output: {
|
|
@@ -9299,7 +9303,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9299
9303
|
studentsCanReply: boolean;
|
|
9300
9304
|
};
|
|
9301
9305
|
user: {
|
|
9302
|
-
type: "
|
|
9306
|
+
type: "student" | "teacher";
|
|
9303
9307
|
id: string;
|
|
9304
9308
|
username: string;
|
|
9305
9309
|
};
|
|
@@ -9401,8 +9405,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9401
9405
|
id: string;
|
|
9402
9406
|
createdAt: Date;
|
|
9403
9407
|
assignmentId: string;
|
|
9404
|
-
modifiedAt: Date;
|
|
9405
9408
|
studentId: string;
|
|
9409
|
+
modifiedAt: Date;
|
|
9406
9410
|
extendedResponse: string | null;
|
|
9407
9411
|
gradeReceived: number | null;
|
|
9408
9412
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -9437,8 +9441,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9437
9441
|
id: string;
|
|
9438
9442
|
createdAt: Date;
|
|
9439
9443
|
assignmentId: string;
|
|
9440
|
-
modifiedAt: Date;
|
|
9441
9444
|
studentId: string;
|
|
9445
|
+
modifiedAt: Date;
|
|
9442
9446
|
extendedResponse: string | null;
|
|
9443
9447
|
gradeReceived: number | null;
|
|
9444
9448
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -9666,7 +9670,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9666
9670
|
input: {
|
|
9667
9671
|
[x: string]: unknown;
|
|
9668
9672
|
classId: string;
|
|
9669
|
-
type: "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "
|
|
9673
|
+
type: "DISCUSSION" | "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "PRESENTATION" | "LAB" | "OTHER";
|
|
9670
9674
|
title: string;
|
|
9671
9675
|
instructions: string;
|
|
9672
9676
|
dueDate?: Date | undefined;
|
|
@@ -9939,11 +9943,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9939
9943
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
9940
9944
|
options: import("@prisma/client/runtime/library.js").JsonValue;
|
|
9941
9945
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue;
|
|
9942
|
-
|
|
9943
|
-
worksheetId: string;
|
|
9946
|
+
points: number;
|
|
9944
9947
|
question: string;
|
|
9948
|
+
worksheetId: string;
|
|
9949
|
+
order: number | null;
|
|
9945
9950
|
answer: string;
|
|
9946
|
-
points: number;
|
|
9947
9951
|
}[];
|
|
9948
9952
|
}[];
|
|
9949
9953
|
markSchemes: {
|
|
@@ -10009,6 +10013,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10009
10013
|
id: string;
|
|
10010
10014
|
createdAt: Date;
|
|
10011
10015
|
remarks: string;
|
|
10016
|
+
attachments: {
|
|
10017
|
+
path: string;
|
|
10018
|
+
type: string;
|
|
10019
|
+
id: string;
|
|
10020
|
+
name: string;
|
|
10021
|
+
size: number | null;
|
|
10022
|
+
uploadedAt: Date | null;
|
|
10023
|
+
thumbnailId: string | null;
|
|
10024
|
+
}[];
|
|
10012
10025
|
modifiedAt: Date | null;
|
|
10013
10026
|
teacher: {
|
|
10014
10027
|
id: string;
|
|
@@ -10019,15 +10032,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10019
10032
|
profilePictureThumbnail: string | null;
|
|
10020
10033
|
} | null;
|
|
10021
10034
|
};
|
|
10022
|
-
attachments: {
|
|
10023
|
-
path: string;
|
|
10024
|
-
type: string;
|
|
10025
|
-
id: string;
|
|
10026
|
-
name: string;
|
|
10027
|
-
size: number | null;
|
|
10028
|
-
uploadedAt: Date | null;
|
|
10029
|
-
thumbnailId: string | null;
|
|
10030
|
-
}[];
|
|
10031
10035
|
}[];
|
|
10032
10036
|
};
|
|
10033
10037
|
meta: object;
|
|
@@ -10043,6 +10047,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10043
10047
|
id: string;
|
|
10044
10048
|
createdAt: Date;
|
|
10045
10049
|
remarks: string;
|
|
10050
|
+
attachments: {
|
|
10051
|
+
path: string;
|
|
10052
|
+
type: string;
|
|
10053
|
+
id: string;
|
|
10054
|
+
name: string;
|
|
10055
|
+
size: number | null;
|
|
10056
|
+
uploadedAt: Date | null;
|
|
10057
|
+
thumbnailId: string | null;
|
|
10058
|
+
}[];
|
|
10046
10059
|
modifiedAt: Date | null;
|
|
10047
10060
|
teacher: {
|
|
10048
10061
|
id: string;
|
|
@@ -10053,15 +10066,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10053
10066
|
profilePictureThumbnail: string | null;
|
|
10054
10067
|
} | null;
|
|
10055
10068
|
};
|
|
10056
|
-
attachments: {
|
|
10057
|
-
path: string;
|
|
10058
|
-
type: string;
|
|
10059
|
-
id: string;
|
|
10060
|
-
name: string;
|
|
10061
|
-
size: number | null;
|
|
10062
|
-
uploadedAt: Date | null;
|
|
10063
|
-
thumbnailId: string | null;
|
|
10064
|
-
}[];
|
|
10065
10069
|
};
|
|
10066
10070
|
};
|
|
10067
10071
|
meta: object;
|
|
@@ -10083,6 +10087,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10083
10087
|
id: string;
|
|
10084
10088
|
createdAt: Date;
|
|
10085
10089
|
remarks: string;
|
|
10090
|
+
attachments: {
|
|
10091
|
+
path: string;
|
|
10092
|
+
type: string;
|
|
10093
|
+
id: string;
|
|
10094
|
+
name: string;
|
|
10095
|
+
size: number | null;
|
|
10096
|
+
uploadedAt: Date | null;
|
|
10097
|
+
thumbnailId: string | null;
|
|
10098
|
+
}[];
|
|
10086
10099
|
modifiedAt: Date | null;
|
|
10087
10100
|
teacher: {
|
|
10088
10101
|
id: string;
|
|
@@ -10093,15 +10106,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10093
10106
|
profilePictureThumbnail: string | null;
|
|
10094
10107
|
} | null;
|
|
10095
10108
|
};
|
|
10096
|
-
attachments: {
|
|
10097
|
-
path: string;
|
|
10098
|
-
type: string;
|
|
10099
|
-
id: string;
|
|
10100
|
-
name: string;
|
|
10101
|
-
size: number | null;
|
|
10102
|
-
uploadedAt: Date | null;
|
|
10103
|
-
thumbnailId: string | null;
|
|
10104
|
-
}[];
|
|
10105
10109
|
};
|
|
10106
10110
|
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[] | undefined;
|
|
10107
10111
|
};
|
|
@@ -10128,6 +10132,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10128
10132
|
id: string;
|
|
10129
10133
|
createdAt: Date;
|
|
10130
10134
|
remarks: string;
|
|
10135
|
+
attachments: {
|
|
10136
|
+
path: string;
|
|
10137
|
+
type: string;
|
|
10138
|
+
id: string;
|
|
10139
|
+
name: string;
|
|
10140
|
+
size: number | null;
|
|
10141
|
+
uploadedAt: Date | null;
|
|
10142
|
+
thumbnailId: string | null;
|
|
10143
|
+
}[];
|
|
10131
10144
|
modifiedAt: Date | null;
|
|
10132
10145
|
teacher: {
|
|
10133
10146
|
id: string;
|
|
@@ -10138,15 +10151,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10138
10151
|
profilePictureThumbnail: string | null;
|
|
10139
10152
|
} | null;
|
|
10140
10153
|
};
|
|
10141
|
-
attachments: {
|
|
10142
|
-
path: string;
|
|
10143
|
-
type: string;
|
|
10144
|
-
id: string;
|
|
10145
|
-
name: string;
|
|
10146
|
-
size: number | null;
|
|
10147
|
-
uploadedAt: Date | null;
|
|
10148
|
-
thumbnailId: string | null;
|
|
10149
|
-
}[];
|
|
10150
10154
|
};
|
|
10151
10155
|
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[] | undefined;
|
|
10152
10156
|
};
|
|
@@ -10219,8 +10223,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10219
10223
|
content: string;
|
|
10220
10224
|
assignmentId: string | null;
|
|
10221
10225
|
submissionId: string | null;
|
|
10222
|
-
modifiedAt: Date | null;
|
|
10223
10226
|
announcementId: string | null;
|
|
10227
|
+
modifiedAt: Date | null;
|
|
10224
10228
|
authorId: string;
|
|
10225
10229
|
isPinned: boolean;
|
|
10226
10230
|
parentCommentId: string | null;
|
|
@@ -10251,8 +10255,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10251
10255
|
content: string;
|
|
10252
10256
|
assignmentId: string | null;
|
|
10253
10257
|
submissionId: string | null;
|
|
10254
|
-
modifiedAt: Date | null;
|
|
10255
10258
|
announcementId: string | null;
|
|
10259
|
+
modifiedAt: Date | null;
|
|
10256
10260
|
authorId: string;
|
|
10257
10261
|
isPinned: boolean;
|
|
10258
10262
|
parentCommentId: string | null;
|
|
@@ -10303,8 +10307,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10303
10307
|
content: string;
|
|
10304
10308
|
assignmentId: string | null;
|
|
10305
10309
|
submissionId: string | null;
|
|
10306
|
-
modifiedAt: Date | null;
|
|
10307
10310
|
announcementId: string | null;
|
|
10311
|
+
modifiedAt: Date | null;
|
|
10308
10312
|
authorId: string;
|
|
10309
10313
|
isPinned: boolean;
|
|
10310
10314
|
parentCommentId: string | null;
|
|
@@ -10316,8 +10320,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10316
10320
|
content: string;
|
|
10317
10321
|
assignmentId: string | null;
|
|
10318
10322
|
submissionId: string | null;
|
|
10319
|
-
modifiedAt: Date | null;
|
|
10320
10323
|
announcementId: string | null;
|
|
10324
|
+
modifiedAt: Date | null;
|
|
10321
10325
|
authorId: string;
|
|
10322
10326
|
isPinned: boolean;
|
|
10323
10327
|
parentCommentId: string | null;
|
|
@@ -10494,7 +10498,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10494
10498
|
title: string;
|
|
10495
10499
|
dueDate: string;
|
|
10496
10500
|
instructions: string;
|
|
10497
|
-
type?: "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "
|
|
10501
|
+
type?: "DISCUSSION" | "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "PRESENTATION" | "LAB" | "OTHER" | undefined;
|
|
10498
10502
|
id?: string | undefined;
|
|
10499
10503
|
files?: {
|
|
10500
10504
|
type: string;
|
|
@@ -10532,6 +10536,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10532
10536
|
title: string;
|
|
10533
10537
|
dueDate: Date;
|
|
10534
10538
|
maxGrade: number | null;
|
|
10539
|
+
attachments: {
|
|
10540
|
+
type: string;
|
|
10541
|
+
id: string;
|
|
10542
|
+
name: string;
|
|
10543
|
+
}[];
|
|
10535
10544
|
instructions: string;
|
|
10536
10545
|
graded: boolean;
|
|
10537
10546
|
weight: number;
|
|
@@ -10539,11 +10548,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10539
10548
|
id: string;
|
|
10540
10549
|
username: string;
|
|
10541
10550
|
};
|
|
10542
|
-
attachments: {
|
|
10543
|
-
type: string;
|
|
10544
|
-
id: string;
|
|
10545
|
-
name: string;
|
|
10546
|
-
}[];
|
|
10547
10551
|
};
|
|
10548
10552
|
meta: object;
|
|
10549
10553
|
}>;
|
|
@@ -10587,7 +10591,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10587
10591
|
[x: string]: unknown;
|
|
10588
10592
|
classId: string;
|
|
10589
10593
|
id: string;
|
|
10590
|
-
type?: "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "
|
|
10594
|
+
type?: "DISCUSSION" | "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "PRESENTATION" | "LAB" | "OTHER" | undefined;
|
|
10591
10595
|
files?: {
|
|
10592
10596
|
type: string;
|
|
10593
10597
|
name: string;
|
|
@@ -10644,18 +10648,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10644
10648
|
title: string;
|
|
10645
10649
|
dueDate: Date;
|
|
10646
10650
|
maxGrade: number | null;
|
|
10647
|
-
instructions: string;
|
|
10648
|
-
graded: boolean;
|
|
10649
|
-
weight: number;
|
|
10650
|
-
markSchemeId: string | null;
|
|
10651
|
-
teacher: {
|
|
10652
|
-
id: string;
|
|
10653
|
-
username: string;
|
|
10654
|
-
email: string;
|
|
10655
|
-
password: string;
|
|
10656
|
-
verified: boolean;
|
|
10657
|
-
schoolId: string | null;
|
|
10658
|
-
};
|
|
10659
10651
|
attachments: {
|
|
10660
10652
|
path: string;
|
|
10661
10653
|
type: string;
|
|
@@ -10675,6 +10667,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10675
10667
|
submissionId: string | null;
|
|
10676
10668
|
thumbnailId: string | null;
|
|
10677
10669
|
annotationId: string | null;
|
|
10670
|
+
conversationId: string | null;
|
|
10678
10671
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
10679
10672
|
uploadUrl: string | null;
|
|
10680
10673
|
uploadExpiresAt: Date | null;
|
|
@@ -10686,7 +10679,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10686
10679
|
cleanupAt: Date | null;
|
|
10687
10680
|
classDraftId: string | null;
|
|
10688
10681
|
folderId: string | null;
|
|
10689
|
-
conversationId: string | null;
|
|
10690
10682
|
messageId: string | null;
|
|
10691
10683
|
announcementId: string | null;
|
|
10692
10684
|
discussionId: string | null;
|
|
@@ -10695,6 +10687,18 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10695
10687
|
} | null;
|
|
10696
10688
|
thumbnailId: string | null;
|
|
10697
10689
|
}[];
|
|
10690
|
+
instructions: string;
|
|
10691
|
+
graded: boolean;
|
|
10692
|
+
weight: number;
|
|
10693
|
+
markSchemeId: string | null;
|
|
10694
|
+
teacher: {
|
|
10695
|
+
id: string;
|
|
10696
|
+
username: string;
|
|
10697
|
+
email: string;
|
|
10698
|
+
password: string;
|
|
10699
|
+
verified: boolean;
|
|
10700
|
+
schoolId: string | null;
|
|
10701
|
+
};
|
|
10698
10702
|
};
|
|
10699
10703
|
meta: object;
|
|
10700
10704
|
}>;
|
|
@@ -10745,10 +10749,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10745
10749
|
id: string;
|
|
10746
10750
|
name: string;
|
|
10747
10751
|
}[];
|
|
10748
|
-
teacher: {
|
|
10749
|
-
id: string;
|
|
10750
|
-
username: string;
|
|
10751
|
-
};
|
|
10752
10752
|
attachments: {
|
|
10753
10753
|
path: string;
|
|
10754
10754
|
type: string;
|
|
@@ -10758,6 +10758,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10758
10758
|
uploadedAt: Date | null;
|
|
10759
10759
|
thumbnailId: string | null;
|
|
10760
10760
|
}[];
|
|
10761
|
+
teacher: {
|
|
10762
|
+
id: string;
|
|
10763
|
+
username: string;
|
|
10764
|
+
};
|
|
10761
10765
|
eventAttached: {
|
|
10762
10766
|
id: string;
|
|
10763
10767
|
location: string | null;
|
|
@@ -10866,6 +10870,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10866
10870
|
submissionId: string | null;
|
|
10867
10871
|
thumbnailId: string | null;
|
|
10868
10872
|
annotationId: string | null;
|
|
10873
|
+
conversationId: string | null;
|
|
10869
10874
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
10870
10875
|
uploadUrl: string | null;
|
|
10871
10876
|
uploadExpiresAt: Date | null;
|
|
@@ -10877,17 +10882,12 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10877
10882
|
cleanupAt: Date | null;
|
|
10878
10883
|
classDraftId: string | null;
|
|
10879
10884
|
folderId: string | null;
|
|
10880
|
-
conversationId: string | null;
|
|
10881
10885
|
messageId: string | null;
|
|
10882
10886
|
announcementId: string | null;
|
|
10883
10887
|
discussionId: string | null;
|
|
10884
10888
|
discussionReplyId: string | null;
|
|
10885
10889
|
schoolDevelopementProgramId: string | null;
|
|
10886
10890
|
}[];
|
|
10887
|
-
student: {
|
|
10888
|
-
id: string;
|
|
10889
|
-
username: string;
|
|
10890
|
-
};
|
|
10891
10891
|
annotations: {
|
|
10892
10892
|
path: string;
|
|
10893
10893
|
type: string;
|
|
@@ -10900,6 +10900,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10900
10900
|
submissionId: string | null;
|
|
10901
10901
|
thumbnailId: string | null;
|
|
10902
10902
|
annotationId: string | null;
|
|
10903
|
+
conversationId: string | null;
|
|
10903
10904
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
10904
10905
|
uploadUrl: string | null;
|
|
10905
10906
|
uploadExpiresAt: Date | null;
|
|
@@ -10911,18 +10912,21 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10911
10912
|
cleanupAt: Date | null;
|
|
10912
10913
|
classDraftId: string | null;
|
|
10913
10914
|
folderId: string | null;
|
|
10914
|
-
conversationId: string | null;
|
|
10915
10915
|
messageId: string | null;
|
|
10916
10916
|
announcementId: string | null;
|
|
10917
10917
|
discussionId: string | null;
|
|
10918
10918
|
discussionReplyId: string | null;
|
|
10919
10919
|
schoolDevelopementProgramId: string | null;
|
|
10920
10920
|
}[];
|
|
10921
|
+
student: {
|
|
10922
|
+
id: string;
|
|
10923
|
+
username: string;
|
|
10924
|
+
};
|
|
10921
10925
|
id: string;
|
|
10922
10926
|
createdAt: Date;
|
|
10923
10927
|
assignmentId: string;
|
|
10924
|
-
modifiedAt: Date;
|
|
10925
10928
|
studentId: string;
|
|
10929
|
+
modifiedAt: Date;
|
|
10926
10930
|
extendedResponse: string | null;
|
|
10927
10931
|
gradeReceived: number | null;
|
|
10928
10932
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -11008,6 +11012,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11008
11012
|
submissionId: string | null;
|
|
11009
11013
|
thumbnailId: string | null;
|
|
11010
11014
|
annotationId: string | null;
|
|
11015
|
+
conversationId: string | null;
|
|
11011
11016
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
11012
11017
|
uploadUrl: string | null;
|
|
11013
11018
|
uploadExpiresAt: Date | null;
|
|
@@ -11019,29 +11024,12 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11019
11024
|
cleanupAt: Date | null;
|
|
11020
11025
|
classDraftId: string | null;
|
|
11021
11026
|
folderId: string | null;
|
|
11022
|
-
conversationId: string | null;
|
|
11023
11027
|
messageId: string | null;
|
|
11024
11028
|
announcementId: string | null;
|
|
11025
11029
|
discussionId: string | null;
|
|
11026
11030
|
discussionReplyId: string | null;
|
|
11027
11031
|
schoolDevelopementProgramId: string | null;
|
|
11028
11032
|
}[];
|
|
11029
|
-
student: {
|
|
11030
|
-
id: string;
|
|
11031
|
-
username: string;
|
|
11032
|
-
profile: {
|
|
11033
|
-
id: string;
|
|
11034
|
-
userId: string;
|
|
11035
|
-
displayName: string | null;
|
|
11036
|
-
bio: string | null;
|
|
11037
|
-
location: string | null;
|
|
11038
|
-
website: string | null;
|
|
11039
|
-
createdAt: Date;
|
|
11040
|
-
updatedAt: Date;
|
|
11041
|
-
profilePicture: string | null;
|
|
11042
|
-
profilePictureThumbnail: string | null;
|
|
11043
|
-
} | null;
|
|
11044
|
-
};
|
|
11045
11033
|
annotations: {
|
|
11046
11034
|
path: string;
|
|
11047
11035
|
type: string;
|
|
@@ -11054,6 +11042,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11054
11042
|
submissionId: string | null;
|
|
11055
11043
|
thumbnailId: string | null;
|
|
11056
11044
|
annotationId: string | null;
|
|
11045
|
+
conversationId: string | null;
|
|
11057
11046
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
11058
11047
|
uploadUrl: string | null;
|
|
11059
11048
|
uploadExpiresAt: Date | null;
|
|
@@ -11065,18 +11054,33 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11065
11054
|
cleanupAt: Date | null;
|
|
11066
11055
|
classDraftId: string | null;
|
|
11067
11056
|
folderId: string | null;
|
|
11068
|
-
conversationId: string | null;
|
|
11069
11057
|
messageId: string | null;
|
|
11070
11058
|
announcementId: string | null;
|
|
11071
11059
|
discussionId: string | null;
|
|
11072
11060
|
discussionReplyId: string | null;
|
|
11073
11061
|
schoolDevelopementProgramId: string | null;
|
|
11074
11062
|
}[];
|
|
11063
|
+
student: {
|
|
11064
|
+
id: string;
|
|
11065
|
+
username: string;
|
|
11066
|
+
profile: {
|
|
11067
|
+
id: string;
|
|
11068
|
+
userId: string;
|
|
11069
|
+
displayName: string | null;
|
|
11070
|
+
bio: string | null;
|
|
11071
|
+
location: string | null;
|
|
11072
|
+
website: string | null;
|
|
11073
|
+
createdAt: Date;
|
|
11074
|
+
updatedAt: Date;
|
|
11075
|
+
profilePicture: string | null;
|
|
11076
|
+
profilePictureThumbnail: string | null;
|
|
11077
|
+
} | null;
|
|
11078
|
+
};
|
|
11075
11079
|
id: string;
|
|
11076
11080
|
createdAt: Date;
|
|
11077
11081
|
assignmentId: string;
|
|
11078
|
-
modifiedAt: Date;
|
|
11079
11082
|
studentId: string;
|
|
11083
|
+
modifiedAt: Date;
|
|
11080
11084
|
extendedResponse: string | null;
|
|
11081
11085
|
gradeReceived: number | null;
|
|
11082
11086
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -11167,6 +11171,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11167
11171
|
submissionId: string | null;
|
|
11168
11172
|
thumbnailId: string | null;
|
|
11169
11173
|
annotationId: string | null;
|
|
11174
|
+
conversationId: string | null;
|
|
11170
11175
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
11171
11176
|
uploadUrl: string | null;
|
|
11172
11177
|
uploadExpiresAt: Date | null;
|
|
@@ -11178,7 +11183,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11178
11183
|
cleanupAt: Date | null;
|
|
11179
11184
|
classDraftId: string | null;
|
|
11180
11185
|
folderId: string | null;
|
|
11181
|
-
conversationId: string | null;
|
|
11182
11186
|
messageId: string | null;
|
|
11183
11187
|
announcementId: string | null;
|
|
11184
11188
|
discussionId: string | null;
|
|
@@ -11193,8 +11197,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11193
11197
|
id: string;
|
|
11194
11198
|
createdAt: Date;
|
|
11195
11199
|
assignmentId: string;
|
|
11196
|
-
modifiedAt: Date;
|
|
11197
11200
|
studentId: string;
|
|
11201
|
+
modifiedAt: Date;
|
|
11198
11202
|
extendedResponse: string | null;
|
|
11199
11203
|
gradeReceived: number | null;
|
|
11200
11204
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -11277,6 +11281,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11277
11281
|
submissionId: string | null;
|
|
11278
11282
|
thumbnailId: string | null;
|
|
11279
11283
|
annotationId: string | null;
|
|
11284
|
+
conversationId: string | null;
|
|
11280
11285
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
11281
11286
|
uploadUrl: string | null;
|
|
11282
11287
|
uploadExpiresAt: Date | null;
|
|
@@ -11288,7 +11293,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11288
11293
|
cleanupAt: Date | null;
|
|
11289
11294
|
classDraftId: string | null;
|
|
11290
11295
|
folderId: string | null;
|
|
11291
|
-
conversationId: string | null;
|
|
11292
11296
|
messageId: string | null;
|
|
11293
11297
|
announcementId: string | null;
|
|
11294
11298
|
discussionId: string | null;
|
|
@@ -11307,6 +11311,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11307
11311
|
submissionId: string | null;
|
|
11308
11312
|
thumbnailId: string | null;
|
|
11309
11313
|
annotationId: string | null;
|
|
11314
|
+
conversationId: string | null;
|
|
11310
11315
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
11311
11316
|
uploadUrl: string | null;
|
|
11312
11317
|
uploadExpiresAt: Date | null;
|
|
@@ -11318,7 +11323,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11318
11323
|
cleanupAt: Date | null;
|
|
11319
11324
|
classDraftId: string | null;
|
|
11320
11325
|
folderId: string | null;
|
|
11321
|
-
conversationId: string | null;
|
|
11322
11326
|
messageId: string | null;
|
|
11323
11327
|
announcementId: string | null;
|
|
11324
11328
|
discussionId: string | null;
|
|
@@ -11337,8 +11341,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11337
11341
|
id: string;
|
|
11338
11342
|
createdAt: Date;
|
|
11339
11343
|
assignmentId: string;
|
|
11340
|
-
modifiedAt: Date;
|
|
11341
11344
|
studentId: string;
|
|
11345
|
+
modifiedAt: Date;
|
|
11342
11346
|
extendedResponse: string | null;
|
|
11343
11347
|
gradeReceived: number | null;
|
|
11344
11348
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -11385,8 +11389,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11385
11389
|
content: string;
|
|
11386
11390
|
assignmentId: string | null;
|
|
11387
11391
|
submissionId: string | null;
|
|
11388
|
-
modifiedAt: Date | null;
|
|
11389
11392
|
announcementId: string | null;
|
|
11393
|
+
modifiedAt: Date | null;
|
|
11390
11394
|
authorId: string;
|
|
11391
11395
|
isPinned: boolean;
|
|
11392
11396
|
parentCommentId: string | null;
|
|
@@ -11398,8 +11402,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11398
11402
|
content: string;
|
|
11399
11403
|
assignmentId: string | null;
|
|
11400
11404
|
submissionId: string | null;
|
|
11401
|
-
modifiedAt: Date | null;
|
|
11402
11405
|
announcementId: string | null;
|
|
11406
|
+
modifiedAt: Date | null;
|
|
11403
11407
|
authorId: string;
|
|
11404
11408
|
isPinned: boolean;
|
|
11405
11409
|
parentCommentId: string | null;
|
|
@@ -11443,8 +11447,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11443
11447
|
content: string;
|
|
11444
11448
|
assignmentId: string | null;
|
|
11445
11449
|
submissionId: string | null;
|
|
11446
|
-
modifiedAt: Date | null;
|
|
11447
11450
|
announcementId: string | null;
|
|
11451
|
+
modifiedAt: Date | null;
|
|
11448
11452
|
authorId: string;
|
|
11449
11453
|
isPinned: boolean;
|
|
11450
11454
|
parentCommentId: string | null;
|
|
@@ -11456,8 +11460,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11456
11460
|
content: string;
|
|
11457
11461
|
assignmentId: string | null;
|
|
11458
11462
|
submissionId: string | null;
|
|
11459
|
-
modifiedAt: Date | null;
|
|
11460
11463
|
announcementId: string | null;
|
|
11464
|
+
modifiedAt: Date | null;
|
|
11461
11465
|
authorId: string;
|
|
11462
11466
|
isPinned: boolean;
|
|
11463
11467
|
parentCommentId: string | null;
|
|
@@ -11500,8 +11504,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11500
11504
|
content: string;
|
|
11501
11505
|
assignmentId: string | null;
|
|
11502
11506
|
submissionId: string | null;
|
|
11503
|
-
modifiedAt: Date | null;
|
|
11504
11507
|
announcementId: string | null;
|
|
11508
|
+
modifiedAt: Date | null;
|
|
11505
11509
|
authorId: string;
|
|
11506
11510
|
isPinned: boolean;
|
|
11507
11511
|
parentCommentId: string | null;
|
|
@@ -11513,8 +11517,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11513
11517
|
content: string;
|
|
11514
11518
|
assignmentId: string | null;
|
|
11515
11519
|
submissionId: string | null;
|
|
11516
|
-
modifiedAt: Date | null;
|
|
11517
11520
|
announcementId: string | null;
|
|
11521
|
+
modifiedAt: Date | null;
|
|
11518
11522
|
authorId: string;
|
|
11519
11523
|
isPinned: boolean;
|
|
11520
11524
|
parentCommentId: string | null;
|
|
@@ -11559,8 +11563,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11559
11563
|
content: string;
|
|
11560
11564
|
assignmentId: string | null;
|
|
11561
11565
|
submissionId: string | null;
|
|
11562
|
-
modifiedAt: Date | null;
|
|
11563
11566
|
announcementId: string | null;
|
|
11567
|
+
modifiedAt: Date | null;
|
|
11564
11568
|
authorId: string;
|
|
11565
11569
|
isPinned: boolean;
|
|
11566
11570
|
parentCommentId: string | null;
|
|
@@ -11572,8 +11576,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11572
11576
|
content: string;
|
|
11573
11577
|
assignmentId: string | null;
|
|
11574
11578
|
submissionId: string | null;
|
|
11575
|
-
modifiedAt: Date | null;
|
|
11576
11579
|
announcementId: string | null;
|
|
11580
|
+
modifiedAt: Date | null;
|
|
11577
11581
|
authorId: string;
|
|
11578
11582
|
isPinned: boolean;
|
|
11579
11583
|
parentCommentId: string | null;
|
|
@@ -11667,6 +11671,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11667
11671
|
submissionId: string | null;
|
|
11668
11672
|
thumbnailId: string | null;
|
|
11669
11673
|
annotationId: string | null;
|
|
11674
|
+
conversationId: string | null;
|
|
11670
11675
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
11671
11676
|
uploadUrl: string | null;
|
|
11672
11677
|
uploadExpiresAt: Date | null;
|
|
@@ -11678,7 +11683,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11678
11683
|
cleanupAt: Date | null;
|
|
11679
11684
|
classDraftId: string | null;
|
|
11680
11685
|
folderId: string | null;
|
|
11681
|
-
conversationId: string | null;
|
|
11682
11686
|
messageId: string | null;
|
|
11683
11687
|
announcementId: string | null;
|
|
11684
11688
|
discussionId: string | null;
|
|
@@ -11697,6 +11701,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11697
11701
|
submissionId: string | null;
|
|
11698
11702
|
thumbnailId: string | null;
|
|
11699
11703
|
annotationId: string | null;
|
|
11704
|
+
conversationId: string | null;
|
|
11700
11705
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
11701
11706
|
uploadUrl: string | null;
|
|
11702
11707
|
uploadExpiresAt: Date | null;
|
|
@@ -11708,22 +11713,12 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11708
11713
|
cleanupAt: Date | null;
|
|
11709
11714
|
classDraftId: string | null;
|
|
11710
11715
|
folderId: string | null;
|
|
11711
|
-
conversationId: string | null;
|
|
11712
11716
|
messageId: string | null;
|
|
11713
11717
|
announcementId: string | null;
|
|
11714
11718
|
discussionId: string | null;
|
|
11715
11719
|
discussionReplyId: string | null;
|
|
11716
11720
|
schoolDevelopementProgramId: string | null;
|
|
11717
11721
|
})[];
|
|
11718
|
-
student: {
|
|
11719
|
-
id: string;
|
|
11720
|
-
username: string;
|
|
11721
|
-
profile: {
|
|
11722
|
-
profilePicture: string | null;
|
|
11723
|
-
displayName: string | null;
|
|
11724
|
-
profilePictureThumbnail: string | null;
|
|
11725
|
-
} | null;
|
|
11726
|
-
};
|
|
11727
11722
|
annotations: ({
|
|
11728
11723
|
thumbnail: {
|
|
11729
11724
|
path: string;
|
|
@@ -11737,6 +11732,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11737
11732
|
submissionId: string | null;
|
|
11738
11733
|
thumbnailId: string | null;
|
|
11739
11734
|
annotationId: string | null;
|
|
11735
|
+
conversationId: string | null;
|
|
11740
11736
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
11741
11737
|
uploadUrl: string | null;
|
|
11742
11738
|
uploadExpiresAt: Date | null;
|
|
@@ -11748,7 +11744,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11748
11744
|
cleanupAt: Date | null;
|
|
11749
11745
|
classDraftId: string | null;
|
|
11750
11746
|
folderId: string | null;
|
|
11751
|
-
conversationId: string | null;
|
|
11752
11747
|
messageId: string | null;
|
|
11753
11748
|
announcementId: string | null;
|
|
11754
11749
|
discussionId: string | null;
|
|
@@ -11767,6 +11762,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11767
11762
|
submissionId: string | null;
|
|
11768
11763
|
thumbnailId: string | null;
|
|
11769
11764
|
annotationId: string | null;
|
|
11765
|
+
conversationId: string | null;
|
|
11770
11766
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
11771
11767
|
uploadUrl: string | null;
|
|
11772
11768
|
uploadExpiresAt: Date | null;
|
|
@@ -11778,19 +11774,27 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11778
11774
|
cleanupAt: Date | null;
|
|
11779
11775
|
classDraftId: string | null;
|
|
11780
11776
|
folderId: string | null;
|
|
11781
|
-
conversationId: string | null;
|
|
11782
11777
|
messageId: string | null;
|
|
11783
11778
|
announcementId: string | null;
|
|
11784
11779
|
discussionId: string | null;
|
|
11785
11780
|
discussionReplyId: string | null;
|
|
11786
11781
|
schoolDevelopementProgramId: string | null;
|
|
11787
11782
|
})[];
|
|
11783
|
+
student: {
|
|
11784
|
+
id: string;
|
|
11785
|
+
username: string;
|
|
11786
|
+
profile: {
|
|
11787
|
+
profilePicture: string | null;
|
|
11788
|
+
displayName: string | null;
|
|
11789
|
+
profilePictureThumbnail: string | null;
|
|
11790
|
+
} | null;
|
|
11791
|
+
};
|
|
11788
11792
|
} & {
|
|
11789
11793
|
id: string;
|
|
11790
11794
|
createdAt: Date;
|
|
11791
11795
|
assignmentId: string;
|
|
11792
|
-
modifiedAt: Date;
|
|
11793
11796
|
studentId: string;
|
|
11797
|
+
modifiedAt: Date;
|
|
11794
11798
|
extendedResponse: string | null;
|
|
11795
11799
|
gradeReceived: number | null;
|
|
11796
11800
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -11817,15 +11821,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11817
11821
|
id: string;
|
|
11818
11822
|
name: string;
|
|
11819
11823
|
} | null;
|
|
11820
|
-
teacher: {
|
|
11821
|
-
id: string;
|
|
11822
|
-
username: string;
|
|
11823
|
-
};
|
|
11824
11824
|
attachments: {
|
|
11825
11825
|
type: string;
|
|
11826
11826
|
id: string;
|
|
11827
11827
|
name: string;
|
|
11828
11828
|
}[];
|
|
11829
|
+
teacher: {
|
|
11830
|
+
id: string;
|
|
11831
|
+
username: string;
|
|
11832
|
+
};
|
|
11829
11833
|
eventAttached: {
|
|
11830
11834
|
id: string;
|
|
11831
11835
|
name: string | null;
|
|
@@ -11874,15 +11878,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11874
11878
|
id: string;
|
|
11875
11879
|
name: string;
|
|
11876
11880
|
} | null;
|
|
11877
|
-
teacher: {
|
|
11878
|
-
id: string;
|
|
11879
|
-
username: string;
|
|
11880
|
-
};
|
|
11881
11881
|
attachments: {
|
|
11882
11882
|
type: string;
|
|
11883
11883
|
id: string;
|
|
11884
11884
|
name: string;
|
|
11885
11885
|
}[];
|
|
11886
|
+
teacher: {
|
|
11887
|
+
id: string;
|
|
11888
|
+
username: string;
|
|
11889
|
+
};
|
|
11886
11890
|
eventAttached: {
|
|
11887
11891
|
id: string;
|
|
11888
11892
|
name: string | null;
|
|
@@ -11976,14 +11980,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11976
11980
|
classId: string;
|
|
11977
11981
|
order: number | null;
|
|
11978
11982
|
} | null;
|
|
11979
|
-
teacher: {
|
|
11980
|
-
id: string;
|
|
11981
|
-
username: string;
|
|
11982
|
-
email: string;
|
|
11983
|
-
password: string;
|
|
11984
|
-
verified: boolean;
|
|
11985
|
-
schoolId: string | null;
|
|
11986
|
-
};
|
|
11987
11983
|
attachments: {
|
|
11988
11984
|
path: string;
|
|
11989
11985
|
type: string;
|
|
@@ -11996,6 +11992,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11996
11992
|
submissionId: string | null;
|
|
11997
11993
|
thumbnailId: string | null;
|
|
11998
11994
|
annotationId: string | null;
|
|
11995
|
+
conversationId: string | null;
|
|
11999
11996
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
12000
11997
|
uploadUrl: string | null;
|
|
12001
11998
|
uploadExpiresAt: Date | null;
|
|
@@ -12007,13 +12004,20 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12007
12004
|
cleanupAt: Date | null;
|
|
12008
12005
|
classDraftId: string | null;
|
|
12009
12006
|
folderId: string | null;
|
|
12010
|
-
conversationId: string | null;
|
|
12011
12007
|
messageId: string | null;
|
|
12012
12008
|
announcementId: string | null;
|
|
12013
12009
|
discussionId: string | null;
|
|
12014
12010
|
discussionReplyId: string | null;
|
|
12015
12011
|
schoolDevelopementProgramId: string | null;
|
|
12016
12012
|
}[];
|
|
12013
|
+
teacher: {
|
|
12014
|
+
id: string;
|
|
12015
|
+
username: string;
|
|
12016
|
+
email: string;
|
|
12017
|
+
password: string;
|
|
12018
|
+
verified: boolean;
|
|
12019
|
+
schoolId: string | null;
|
|
12020
|
+
};
|
|
12017
12021
|
eventAttached: {
|
|
12018
12022
|
id: string;
|
|
12019
12023
|
userId: string | null;
|
|
@@ -12074,14 +12078,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12074
12078
|
classId: string;
|
|
12075
12079
|
order: number | null;
|
|
12076
12080
|
} | null;
|
|
12077
|
-
teacher: {
|
|
12078
|
-
id: string;
|
|
12079
|
-
username: string;
|
|
12080
|
-
email: string;
|
|
12081
|
-
password: string;
|
|
12082
|
-
verified: boolean;
|
|
12083
|
-
schoolId: string | null;
|
|
12084
|
-
};
|
|
12085
12081
|
attachments: {
|
|
12086
12082
|
path: string;
|
|
12087
12083
|
type: string;
|
|
@@ -12094,6 +12090,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12094
12090
|
submissionId: string | null;
|
|
12095
12091
|
thumbnailId: string | null;
|
|
12096
12092
|
annotationId: string | null;
|
|
12093
|
+
conversationId: string | null;
|
|
12097
12094
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
12098
12095
|
uploadUrl: string | null;
|
|
12099
12096
|
uploadExpiresAt: Date | null;
|
|
@@ -12105,13 +12102,20 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12105
12102
|
cleanupAt: Date | null;
|
|
12106
12103
|
classDraftId: string | null;
|
|
12107
12104
|
folderId: string | null;
|
|
12108
|
-
conversationId: string | null;
|
|
12109
12105
|
messageId: string | null;
|
|
12110
12106
|
announcementId: string | null;
|
|
12111
12107
|
discussionId: string | null;
|
|
12112
12108
|
discussionReplyId: string | null;
|
|
12113
12109
|
schoolDevelopementProgramId: string | null;
|
|
12114
12110
|
}[];
|
|
12111
|
+
teacher: {
|
|
12112
|
+
id: string;
|
|
12113
|
+
username: string;
|
|
12114
|
+
email: string;
|
|
12115
|
+
password: string;
|
|
12116
|
+
verified: boolean;
|
|
12117
|
+
schoolId: string | null;
|
|
12118
|
+
};
|
|
12115
12119
|
eventAttached: {
|
|
12116
12120
|
id: string;
|
|
12117
12121
|
userId: string | null;
|
|
@@ -12173,14 +12177,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12173
12177
|
classId: string;
|
|
12174
12178
|
order: number | null;
|
|
12175
12179
|
} | null;
|
|
12176
|
-
teacher: {
|
|
12177
|
-
id: string;
|
|
12178
|
-
username: string;
|
|
12179
|
-
email: string;
|
|
12180
|
-
password: string;
|
|
12181
|
-
verified: boolean;
|
|
12182
|
-
schoolId: string | null;
|
|
12183
|
-
};
|
|
12184
12180
|
attachments: {
|
|
12185
12181
|
path: string;
|
|
12186
12182
|
type: string;
|
|
@@ -12193,6 +12189,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12193
12189
|
submissionId: string | null;
|
|
12194
12190
|
thumbnailId: string | null;
|
|
12195
12191
|
annotationId: string | null;
|
|
12192
|
+
conversationId: string | null;
|
|
12196
12193
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
12197
12194
|
uploadUrl: string | null;
|
|
12198
12195
|
uploadExpiresAt: Date | null;
|
|
@@ -12204,13 +12201,20 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12204
12201
|
cleanupAt: Date | null;
|
|
12205
12202
|
classDraftId: string | null;
|
|
12206
12203
|
folderId: string | null;
|
|
12207
|
-
conversationId: string | null;
|
|
12208
12204
|
messageId: string | null;
|
|
12209
12205
|
announcementId: string | null;
|
|
12210
12206
|
discussionId: string | null;
|
|
12211
12207
|
discussionReplyId: string | null;
|
|
12212
12208
|
schoolDevelopementProgramId: string | null;
|
|
12213
12209
|
}[];
|
|
12210
|
+
teacher: {
|
|
12211
|
+
id: string;
|
|
12212
|
+
username: string;
|
|
12213
|
+
email: string;
|
|
12214
|
+
password: string;
|
|
12215
|
+
verified: boolean;
|
|
12216
|
+
schoolId: string | null;
|
|
12217
|
+
};
|
|
12214
12218
|
eventAttached: {
|
|
12215
12219
|
id: string;
|
|
12216
12220
|
userId: string | null;
|
|
@@ -12271,14 +12275,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12271
12275
|
classId: string;
|
|
12272
12276
|
order: number | null;
|
|
12273
12277
|
} | null;
|
|
12274
|
-
teacher: {
|
|
12275
|
-
id: string;
|
|
12276
|
-
username: string;
|
|
12277
|
-
email: string;
|
|
12278
|
-
password: string;
|
|
12279
|
-
verified: boolean;
|
|
12280
|
-
schoolId: string | null;
|
|
12281
|
-
};
|
|
12282
12278
|
attachments: {
|
|
12283
12279
|
path: string;
|
|
12284
12280
|
type: string;
|
|
@@ -12291,6 +12287,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12291
12287
|
submissionId: string | null;
|
|
12292
12288
|
thumbnailId: string | null;
|
|
12293
12289
|
annotationId: string | null;
|
|
12290
|
+
conversationId: string | null;
|
|
12294
12291
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
12295
12292
|
uploadUrl: string | null;
|
|
12296
12293
|
uploadExpiresAt: Date | null;
|
|
@@ -12302,13 +12299,20 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12302
12299
|
cleanupAt: Date | null;
|
|
12303
12300
|
classDraftId: string | null;
|
|
12304
12301
|
folderId: string | null;
|
|
12305
|
-
conversationId: string | null;
|
|
12306
12302
|
messageId: string | null;
|
|
12307
12303
|
announcementId: string | null;
|
|
12308
12304
|
discussionId: string | null;
|
|
12309
12305
|
discussionReplyId: string | null;
|
|
12310
12306
|
schoolDevelopementProgramId: string | null;
|
|
12311
12307
|
}[];
|
|
12308
|
+
teacher: {
|
|
12309
|
+
id: string;
|
|
12310
|
+
username: string;
|
|
12311
|
+
email: string;
|
|
12312
|
+
password: string;
|
|
12313
|
+
verified: boolean;
|
|
12314
|
+
schoolId: string | null;
|
|
12315
|
+
};
|
|
12312
12316
|
eventAttached: {
|
|
12313
12317
|
id: string;
|
|
12314
12318
|
userId: string | null;
|
|
@@ -12832,6 +12836,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12832
12836
|
title: string;
|
|
12833
12837
|
dueDate: Date;
|
|
12834
12838
|
maxGrade: number | null;
|
|
12839
|
+
attachments: {
|
|
12840
|
+
type: string;
|
|
12841
|
+
id: string;
|
|
12842
|
+
name: string;
|
|
12843
|
+
}[];
|
|
12835
12844
|
instructions: string;
|
|
12836
12845
|
graded: boolean;
|
|
12837
12846
|
weight: number;
|
|
@@ -12839,11 +12848,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12839
12848
|
id: string;
|
|
12840
12849
|
username: string;
|
|
12841
12850
|
};
|
|
12842
|
-
attachments: {
|
|
12843
|
-
type: string;
|
|
12844
|
-
id: string;
|
|
12845
|
-
name: string;
|
|
12846
|
-
}[];
|
|
12847
12851
|
}[];
|
|
12848
12852
|
} & {
|
|
12849
12853
|
id: string;
|
|
@@ -12936,15 +12940,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12936
12940
|
id: string;
|
|
12937
12941
|
name: string;
|
|
12938
12942
|
} | null;
|
|
12939
|
-
teacher: {
|
|
12940
|
-
id: string;
|
|
12941
|
-
username: string;
|
|
12942
|
-
};
|
|
12943
12943
|
attachments: {
|
|
12944
12944
|
type: string;
|
|
12945
12945
|
id: string;
|
|
12946
12946
|
name: string;
|
|
12947
12947
|
}[];
|
|
12948
|
+
teacher: {
|
|
12949
|
+
id: string;
|
|
12950
|
+
username: string;
|
|
12951
|
+
};
|
|
12948
12952
|
} & {
|
|
12949
12953
|
type: import(".prisma/client").$Enums.AssignmentType;
|
|
12950
12954
|
id: string;
|
|
@@ -12985,15 +12989,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
12985
12989
|
id: string;
|
|
12986
12990
|
name: string;
|
|
12987
12991
|
} | null;
|
|
12988
|
-
teacher: {
|
|
12989
|
-
id: string;
|
|
12990
|
-
username: string;
|
|
12991
|
-
};
|
|
12992
12992
|
attachments: {
|
|
12993
12993
|
type: string;
|
|
12994
12994
|
id: string;
|
|
12995
12995
|
name: string;
|
|
12996
12996
|
}[];
|
|
12997
|
+
teacher: {
|
|
12998
|
+
id: string;
|
|
12999
|
+
username: string;
|
|
13000
|
+
};
|
|
12997
13001
|
} & {
|
|
12998
13002
|
type: import(".prisma/client").$Enums.AssignmentType;
|
|
12999
13003
|
id: string;
|
|
@@ -13038,6 +13042,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13038
13042
|
title: string;
|
|
13039
13043
|
dueDate: Date;
|
|
13040
13044
|
maxGrade: number | null;
|
|
13045
|
+
attachments: {
|
|
13046
|
+
type: string;
|
|
13047
|
+
id: string;
|
|
13048
|
+
name: string;
|
|
13049
|
+
}[];
|
|
13041
13050
|
instructions: string;
|
|
13042
13051
|
graded: boolean;
|
|
13043
13052
|
weight: number;
|
|
@@ -13045,11 +13054,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13045
13054
|
id: string;
|
|
13046
13055
|
username: string;
|
|
13047
13056
|
};
|
|
13048
|
-
attachments: {
|
|
13049
|
-
type: string;
|
|
13050
|
-
id: string;
|
|
13051
|
-
name: string;
|
|
13052
|
-
}[];
|
|
13053
13057
|
}[];
|
|
13054
13058
|
};
|
|
13055
13059
|
meta: object;
|
|
@@ -13354,6 +13358,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13354
13358
|
submissionId: string | null;
|
|
13355
13359
|
thumbnailId: string | null;
|
|
13356
13360
|
annotationId: string | null;
|
|
13361
|
+
conversationId: string | null;
|
|
13357
13362
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
13358
13363
|
uploadUrl: string | null;
|
|
13359
13364
|
uploadExpiresAt: Date | null;
|
|
@@ -13365,7 +13370,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13365
13370
|
cleanupAt: Date | null;
|
|
13366
13371
|
classDraftId: string | null;
|
|
13367
13372
|
folderId: string | null;
|
|
13368
|
-
conversationId: string | null;
|
|
13369
13373
|
messageId: string | null;
|
|
13370
13374
|
announcementId: string | null;
|
|
13371
13375
|
discussionId: string | null;
|
|
@@ -13396,6 +13400,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13396
13400
|
submissionId: string | null;
|
|
13397
13401
|
thumbnailId: string | null;
|
|
13398
13402
|
annotationId: string | null;
|
|
13403
|
+
conversationId: string | null;
|
|
13399
13404
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
13400
13405
|
uploadUrl: string | null;
|
|
13401
13406
|
uploadExpiresAt: Date | null;
|
|
@@ -13407,7 +13412,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13407
13412
|
cleanupAt: Date | null;
|
|
13408
13413
|
classDraftId: string | null;
|
|
13409
13414
|
folderId: string | null;
|
|
13410
|
-
conversationId: string | null;
|
|
13411
13415
|
messageId: string | null;
|
|
13412
13416
|
announcementId: string | null;
|
|
13413
13417
|
discussionId: string | null;
|
|
@@ -13780,9 +13784,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13780
13784
|
createdAt: Date;
|
|
13781
13785
|
title: string;
|
|
13782
13786
|
content: string;
|
|
13787
|
+
senderId: string | null;
|
|
13783
13788
|
read: boolean;
|
|
13784
13789
|
receiverId: string;
|
|
13785
|
-
senderId: string | null;
|
|
13786
13790
|
})[];
|
|
13787
13791
|
meta: object;
|
|
13788
13792
|
}>;
|
|
@@ -13802,9 +13806,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13802
13806
|
createdAt: Date;
|
|
13803
13807
|
title: string;
|
|
13804
13808
|
content: string;
|
|
13809
|
+
senderId: string | null;
|
|
13805
13810
|
read: boolean;
|
|
13806
13811
|
receiverId: string;
|
|
13807
|
-
senderId: string | null;
|
|
13808
13812
|
};
|
|
13809
13813
|
meta: object;
|
|
13810
13814
|
}>;
|
|
@@ -13819,9 +13823,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13819
13823
|
createdAt: Date;
|
|
13820
13824
|
title: string;
|
|
13821
13825
|
content: string;
|
|
13826
|
+
senderId: string | null;
|
|
13822
13827
|
read: boolean;
|
|
13823
13828
|
receiverId: string;
|
|
13824
|
-
senderId: string | null;
|
|
13825
13829
|
};
|
|
13826
13830
|
meta: object;
|
|
13827
13831
|
}>;
|
|
@@ -13850,9 +13854,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13850
13854
|
createdAt: Date;
|
|
13851
13855
|
title: string;
|
|
13852
13856
|
content: string;
|
|
13857
|
+
senderId: string | null;
|
|
13853
13858
|
read: boolean;
|
|
13854
13859
|
receiverId: string;
|
|
13855
|
-
senderId: string | null;
|
|
13856
13860
|
};
|
|
13857
13861
|
meta: object;
|
|
13858
13862
|
}>;
|
|
@@ -13898,8 +13902,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13898
13902
|
} & {
|
|
13899
13903
|
id: string;
|
|
13900
13904
|
userId: string;
|
|
13901
|
-
conversationId: string;
|
|
13902
13905
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
13906
|
+
conversationId: string;
|
|
13903
13907
|
joinedAt: Date;
|
|
13904
13908
|
hiddenAt: Date | null;
|
|
13905
13909
|
lastViewedAt: Date | null;
|
|
@@ -13919,9 +13923,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13919
13923
|
id: string;
|
|
13920
13924
|
createdAt: Date;
|
|
13921
13925
|
content: string;
|
|
13926
|
+
senderId: string;
|
|
13922
13927
|
conversationId: string;
|
|
13923
13928
|
runJobId: string | null;
|
|
13924
|
-
senderId: string;
|
|
13925
13929
|
};
|
|
13926
13930
|
unreadCount: number;
|
|
13927
13931
|
unreadMentionCount: number;
|
|
@@ -13962,8 +13966,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13962
13966
|
} & {
|
|
13963
13967
|
id: string;
|
|
13964
13968
|
userId: string;
|
|
13965
|
-
conversationId: string;
|
|
13966
13969
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
13970
|
+
conversationId: string;
|
|
13967
13971
|
joinedAt: Date;
|
|
13968
13972
|
hiddenAt: Date | null;
|
|
13969
13973
|
lastViewedAt: Date | null;
|
|
@@ -13996,8 +14000,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
13996
14000
|
} & {
|
|
13997
14001
|
id: string;
|
|
13998
14002
|
userId: string;
|
|
13999
|
-
conversationId: string;
|
|
14000
14003
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
14004
|
+
conversationId: string;
|
|
14001
14005
|
joinedAt: Date;
|
|
14002
14006
|
hiddenAt: Date | null;
|
|
14003
14007
|
lastViewedAt: Date | null;
|
|
@@ -14040,8 +14044,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14040
14044
|
} & {
|
|
14041
14045
|
id: string;
|
|
14042
14046
|
userId: string;
|
|
14043
|
-
conversationId: string;
|
|
14044
14047
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
14048
|
+
conversationId: string;
|
|
14045
14049
|
joinedAt: Date;
|
|
14046
14050
|
hiddenAt: Date | null;
|
|
14047
14051
|
lastViewedAt: Date | null;
|
|
@@ -14075,8 +14079,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14075
14079
|
} & {
|
|
14076
14080
|
id: string;
|
|
14077
14081
|
userId: string;
|
|
14078
|
-
conversationId: string;
|
|
14079
14082
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
14083
|
+
conversationId: string;
|
|
14080
14084
|
joinedAt: Date;
|
|
14081
14085
|
hiddenAt: Date | null;
|
|
14082
14086
|
lastViewedAt: Date | null;
|
|
@@ -14345,8 +14349,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14345
14349
|
} & {
|
|
14346
14350
|
id: string;
|
|
14347
14351
|
userId: string;
|
|
14348
|
-
conversationId: string;
|
|
14349
14352
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
14353
|
+
conversationId: string;
|
|
14350
14354
|
joinedAt: Date;
|
|
14351
14355
|
hiddenAt: Date | null;
|
|
14352
14356
|
lastViewedAt: Date | null;
|
|
@@ -14404,8 +14408,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14404
14408
|
} & {
|
|
14405
14409
|
id: string;
|
|
14406
14410
|
userId: string;
|
|
14407
|
-
conversationId: string;
|
|
14408
14411
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
14412
|
+
conversationId: string;
|
|
14409
14413
|
joinedAt: Date;
|
|
14410
14414
|
hiddenAt: Date | null;
|
|
14411
14415
|
lastViewedAt: Date | null;
|
|
@@ -14470,9 +14474,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14470
14474
|
id: string;
|
|
14471
14475
|
createdAt: Date;
|
|
14472
14476
|
content: string;
|
|
14477
|
+
senderId: string;
|
|
14473
14478
|
conversationId: string;
|
|
14474
14479
|
runJobId: string | null;
|
|
14475
|
-
senderId: string;
|
|
14476
14480
|
};
|
|
14477
14481
|
messageCount: number;
|
|
14478
14482
|
}[];
|
|
@@ -14732,11 +14736,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14732
14736
|
id: string;
|
|
14733
14737
|
createdAt: Date;
|
|
14734
14738
|
updatedAt: Date;
|
|
14735
|
-
|
|
14736
|
-
worksheetId: string;
|
|
14739
|
+
points: number;
|
|
14737
14740
|
question: string;
|
|
14741
|
+
worksheetId: string;
|
|
14742
|
+
order: number | null;
|
|
14738
14743
|
answer: string;
|
|
14739
|
-
points: number;
|
|
14740
14744
|
}[];
|
|
14741
14745
|
} & {
|
|
14742
14746
|
status: import(".prisma/client").$Enums.JobStatus | null;
|
|
@@ -14745,8 +14749,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14745
14749
|
updatedAt: Date;
|
|
14746
14750
|
name: string;
|
|
14747
14751
|
classId: string;
|
|
14748
|
-
sourceUrl: string | null;
|
|
14749
14752
|
runJobId: string | null;
|
|
14753
|
+
sourceUrl: string | null;
|
|
14750
14754
|
};
|
|
14751
14755
|
meta: object;
|
|
14752
14756
|
}>;
|
|
@@ -14781,8 +14785,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14781
14785
|
updatedAt: Date;
|
|
14782
14786
|
name: string;
|
|
14783
14787
|
classId: string;
|
|
14784
|
-
sourceUrl: string | null;
|
|
14785
14788
|
runJobId: string | null;
|
|
14789
|
+
sourceUrl: string | null;
|
|
14786
14790
|
}[];
|
|
14787
14791
|
meta: object;
|
|
14788
14792
|
}>;
|
|
@@ -14798,8 +14802,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14798
14802
|
updatedAt: Date;
|
|
14799
14803
|
name: string;
|
|
14800
14804
|
classId: string;
|
|
14801
|
-
sourceUrl: string | null;
|
|
14802
14805
|
runJobId: string | null;
|
|
14806
|
+
sourceUrl: string | null;
|
|
14803
14807
|
};
|
|
14804
14808
|
meta: object;
|
|
14805
14809
|
}>;
|
|
@@ -14814,8 +14818,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14814
14818
|
updatedAt: Date;
|
|
14815
14819
|
name: string;
|
|
14816
14820
|
classId: string;
|
|
14817
|
-
sourceUrl: string | null;
|
|
14818
14821
|
runJobId: string | null;
|
|
14822
|
+
sourceUrl: string | null;
|
|
14819
14823
|
};
|
|
14820
14824
|
meta: object;
|
|
14821
14825
|
}>;
|
|
@@ -14832,8 +14836,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14832
14836
|
updatedAt: Date;
|
|
14833
14837
|
name: string;
|
|
14834
14838
|
classId: string;
|
|
14835
|
-
sourceUrl: string | null;
|
|
14836
14839
|
runJobId: string | null;
|
|
14840
|
+
sourceUrl: string | null;
|
|
14837
14841
|
};
|
|
14838
14842
|
meta: object;
|
|
14839
14843
|
}>;
|
|
@@ -14851,8 +14855,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14851
14855
|
updatedAt: Date;
|
|
14852
14856
|
name: string;
|
|
14853
14857
|
classId: string;
|
|
14854
|
-
sourceUrl: string | null;
|
|
14855
14858
|
runJobId: string | null;
|
|
14859
|
+
sourceUrl: string | null;
|
|
14856
14860
|
};
|
|
14857
14861
|
meta: object;
|
|
14858
14862
|
}>;
|
|
@@ -14927,13 +14931,13 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14927
14931
|
addQuestion: import("@trpc/server").TRPCMutationProcedure<{
|
|
14928
14932
|
input: {
|
|
14929
14933
|
type: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION";
|
|
14930
|
-
worksheetId: string;
|
|
14931
14934
|
question: string;
|
|
14935
|
+
worksheetId: string;
|
|
14932
14936
|
answer: string;
|
|
14933
14937
|
options?: any;
|
|
14934
14938
|
markScheme?: any;
|
|
14935
|
-
order?: number | undefined;
|
|
14936
14939
|
points?: number | undefined;
|
|
14940
|
+
order?: number | undefined;
|
|
14937
14941
|
};
|
|
14938
14942
|
output: {
|
|
14939
14943
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
@@ -14942,11 +14946,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14942
14946
|
id: string;
|
|
14943
14947
|
createdAt: Date;
|
|
14944
14948
|
updatedAt: Date;
|
|
14945
|
-
|
|
14946
|
-
worksheetId: string;
|
|
14949
|
+
points: number;
|
|
14947
14950
|
question: string;
|
|
14951
|
+
worksheetId: string;
|
|
14952
|
+
order: number | null;
|
|
14948
14953
|
answer: string;
|
|
14949
|
-
points: number;
|
|
14950
14954
|
};
|
|
14951
14955
|
meta: object;
|
|
14952
14956
|
}>;
|
|
@@ -14964,14 +14968,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14964
14968
|
}>;
|
|
14965
14969
|
updateQuestion: import("@trpc/server").TRPCMutationProcedure<{
|
|
14966
14970
|
input: {
|
|
14967
|
-
worksheetId: string;
|
|
14968
14971
|
questionId: string;
|
|
14972
|
+
worksheetId: string;
|
|
14969
14973
|
type?: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION" | undefined;
|
|
14970
14974
|
options?: any;
|
|
14971
14975
|
markScheme?: any;
|
|
14976
|
+
points?: number | undefined;
|
|
14972
14977
|
question?: string | undefined;
|
|
14973
14978
|
answer?: string | undefined;
|
|
14974
|
-
points?: number | undefined;
|
|
14975
14979
|
};
|
|
14976
14980
|
output: {
|
|
14977
14981
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
@@ -14980,18 +14984,18 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
14980
14984
|
id: string;
|
|
14981
14985
|
createdAt: Date;
|
|
14982
14986
|
updatedAt: Date;
|
|
14983
|
-
|
|
14984
|
-
worksheetId: string;
|
|
14987
|
+
points: number;
|
|
14985
14988
|
question: string;
|
|
14989
|
+
worksheetId: string;
|
|
14990
|
+
order: number | null;
|
|
14986
14991
|
answer: string;
|
|
14987
|
-
points: number;
|
|
14988
14992
|
};
|
|
14989
14993
|
meta: object;
|
|
14990
14994
|
}>;
|
|
14991
14995
|
deleteQuestion: import("@trpc/server").TRPCMutationProcedure<{
|
|
14992
14996
|
input: {
|
|
14993
|
-
worksheetId: string;
|
|
14994
14997
|
questionId: string;
|
|
14998
|
+
worksheetId: string;
|
|
14995
14999
|
};
|
|
14996
15000
|
output: {
|
|
14997
15001
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
@@ -15000,11 +15004,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15000
15004
|
id: string;
|
|
15001
15005
|
createdAt: Date;
|
|
15002
15006
|
updatedAt: Date;
|
|
15003
|
-
|
|
15004
|
-
worksheetId: string;
|
|
15007
|
+
points: number;
|
|
15005
15008
|
question: string;
|
|
15009
|
+
worksheetId: string;
|
|
15010
|
+
order: number | null;
|
|
15006
15011
|
answer: string;
|
|
15007
|
-
points: number;
|
|
15008
15012
|
};
|
|
15009
15013
|
meta: object;
|
|
15010
15014
|
}>;
|
|
@@ -15025,14 +15029,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15025
15029
|
createdAt: Date;
|
|
15026
15030
|
updatedAt: Date | null;
|
|
15027
15031
|
feedback: string | null;
|
|
15028
|
-
studentId: string;
|
|
15029
15032
|
runJobId: string | null;
|
|
15030
|
-
points: number;
|
|
15031
15033
|
response: string;
|
|
15032
15034
|
isCorrect: boolean;
|
|
15033
15035
|
markschemeState: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
15034
|
-
|
|
15036
|
+
points: number;
|
|
15037
|
+
studentId: string;
|
|
15035
15038
|
questionId: string;
|
|
15039
|
+
studentWorksheetResponseId: string | null;
|
|
15036
15040
|
})[];
|
|
15037
15041
|
} & {
|
|
15038
15042
|
id: string;
|
|
@@ -15040,9 +15044,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15040
15044
|
updatedAt: Date;
|
|
15041
15045
|
submissionId: string | null;
|
|
15042
15046
|
studentId: string;
|
|
15047
|
+
worksheetId: string;
|
|
15043
15048
|
submittedAt: Date | null;
|
|
15044
15049
|
submitted: boolean;
|
|
15045
|
-
worksheetId: string;
|
|
15046
15050
|
};
|
|
15047
15051
|
meta: object;
|
|
15048
15052
|
}>;
|
|
@@ -15059,14 +15063,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15059
15063
|
createdAt: Date;
|
|
15060
15064
|
updatedAt: Date | null;
|
|
15061
15065
|
feedback: string | null;
|
|
15062
|
-
studentId: string;
|
|
15063
15066
|
runJobId: string | null;
|
|
15064
|
-
points: number;
|
|
15065
15067
|
response: string;
|
|
15066
15068
|
isCorrect: boolean;
|
|
15067
15069
|
markschemeState: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
15068
|
-
|
|
15070
|
+
points: number;
|
|
15071
|
+
studentId: string;
|
|
15069
15072
|
questionId: string;
|
|
15073
|
+
studentWorksheetResponseId: string | null;
|
|
15070
15074
|
}[];
|
|
15071
15075
|
} & {
|
|
15072
15076
|
id: string;
|
|
@@ -15074,9 +15078,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15074
15078
|
updatedAt: Date;
|
|
15075
15079
|
submissionId: string | null;
|
|
15076
15080
|
studentId: string;
|
|
15081
|
+
worksheetId: string;
|
|
15077
15082
|
submittedAt: Date | null;
|
|
15078
15083
|
submitted: boolean;
|
|
15079
|
-
worksheetId: string;
|
|
15080
15084
|
};
|
|
15081
15085
|
meta: object;
|
|
15082
15086
|
}>;
|
|
@@ -15091,14 +15095,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15091
15095
|
createdAt: Date;
|
|
15092
15096
|
updatedAt: Date | null;
|
|
15093
15097
|
feedback: string | null;
|
|
15094
|
-
studentId: string;
|
|
15095
15098
|
runJobId: string | null;
|
|
15096
|
-
points: number;
|
|
15097
15099
|
response: string;
|
|
15098
15100
|
isCorrect: boolean;
|
|
15099
15101
|
markschemeState: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
15100
|
-
|
|
15102
|
+
points: number;
|
|
15103
|
+
studentId: string;
|
|
15101
15104
|
questionId: string;
|
|
15105
|
+
studentWorksheetResponseId: string | null;
|
|
15102
15106
|
};
|
|
15103
15107
|
meta: object;
|
|
15104
15108
|
}>;
|
|
@@ -15113,26 +15117,26 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15113
15117
|
createdAt: Date;
|
|
15114
15118
|
updatedAt: Date | null;
|
|
15115
15119
|
feedback: string | null;
|
|
15116
|
-
studentId: string;
|
|
15117
15120
|
runJobId: string | null;
|
|
15118
|
-
points: number;
|
|
15119
15121
|
response: string;
|
|
15120
15122
|
isCorrect: boolean;
|
|
15121
15123
|
markschemeState: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
15122
|
-
|
|
15124
|
+
points: number;
|
|
15125
|
+
studentId: string;
|
|
15123
15126
|
questionId: string;
|
|
15127
|
+
studentWorksheetResponseId: string | null;
|
|
15124
15128
|
} | null;
|
|
15125
15129
|
meta: object;
|
|
15126
15130
|
}>;
|
|
15127
15131
|
gradeAnswer: import("@trpc/server").TRPCMutationProcedure<{
|
|
15128
15132
|
input: {
|
|
15129
15133
|
isCorrect: boolean;
|
|
15130
|
-
studentWorksheetResponseId: string;
|
|
15131
15134
|
questionId: string;
|
|
15135
|
+
studentWorksheetResponseId: string;
|
|
15132
15136
|
feedback?: string | undefined;
|
|
15133
|
-
points?: number | undefined;
|
|
15134
15137
|
response?: string | undefined;
|
|
15135
15138
|
markschemeState?: any;
|
|
15139
|
+
points?: number | undefined;
|
|
15136
15140
|
responseId?: string | undefined;
|
|
15137
15141
|
};
|
|
15138
15142
|
output: {
|
|
@@ -15141,14 +15145,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15141
15145
|
createdAt: Date;
|
|
15142
15146
|
updatedAt: Date | null;
|
|
15143
15147
|
feedback: string | null;
|
|
15144
|
-
studentId: string;
|
|
15145
15148
|
runJobId: string | null;
|
|
15146
|
-
points: number;
|
|
15147
15149
|
response: string;
|
|
15148
15150
|
isCorrect: boolean;
|
|
15149
15151
|
markschemeState: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
15150
|
-
|
|
15152
|
+
points: number;
|
|
15153
|
+
studentId: string;
|
|
15151
15154
|
questionId: string;
|
|
15155
|
+
studentWorksheetResponseId: string | null;
|
|
15152
15156
|
};
|
|
15153
15157
|
meta: object;
|
|
15154
15158
|
}>;
|
|
@@ -15163,8 +15167,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15163
15167
|
content: string;
|
|
15164
15168
|
assignmentId: string | null;
|
|
15165
15169
|
submissionId: string | null;
|
|
15166
|
-
modifiedAt: Date | null;
|
|
15167
15170
|
announcementId: string | null;
|
|
15171
|
+
modifiedAt: Date | null;
|
|
15168
15172
|
authorId: string;
|
|
15169
15173
|
isPinned: boolean;
|
|
15170
15174
|
parentCommentId: string | null;
|
|
@@ -15204,8 +15208,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15204
15208
|
updatedAt: Date;
|
|
15205
15209
|
name: string;
|
|
15206
15210
|
classId: string;
|
|
15207
|
-
sourceUrl: string | null;
|
|
15208
15211
|
runJobId: string | null;
|
|
15212
|
+
sourceUrl: string | null;
|
|
15209
15213
|
};
|
|
15210
15214
|
meta: object;
|
|
15211
15215
|
}>;
|
|
@@ -15249,8 +15253,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15249
15253
|
content: string;
|
|
15250
15254
|
assignmentId: string | null;
|
|
15251
15255
|
submissionId: string | null;
|
|
15252
|
-
modifiedAt: Date | null;
|
|
15253
15256
|
announcementId: string | null;
|
|
15257
|
+
modifiedAt: Date | null;
|
|
15254
15258
|
isPinned: boolean;
|
|
15255
15259
|
author: {
|
|
15256
15260
|
id: string;
|
|
@@ -15285,8 +15289,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15285
15289
|
content: string;
|
|
15286
15290
|
assignmentId: string | null;
|
|
15287
15291
|
submissionId: string | null;
|
|
15288
|
-
modifiedAt: Date | null;
|
|
15289
15292
|
announcementId: string | null;
|
|
15293
|
+
modifiedAt: Date | null;
|
|
15290
15294
|
authorId: string;
|
|
15291
15295
|
isPinned: boolean;
|
|
15292
15296
|
parentCommentId: string | null;
|
|
@@ -15305,8 +15309,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15305
15309
|
content: string;
|
|
15306
15310
|
assignmentId: string | null;
|
|
15307
15311
|
submissionId: string | null;
|
|
15308
|
-
modifiedAt: Date | null;
|
|
15309
15312
|
announcementId: string | null;
|
|
15313
|
+
modifiedAt: Date | null;
|
|
15310
15314
|
authorId: string;
|
|
15311
15315
|
isPinned: boolean;
|
|
15312
15316
|
parentCommentId: string | null;
|
|
@@ -15325,8 +15329,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15325
15329
|
content: string;
|
|
15326
15330
|
assignmentId: string | null;
|
|
15327
15331
|
submissionId: string | null;
|
|
15328
|
-
modifiedAt: Date | null;
|
|
15329
15332
|
announcementId: string | null;
|
|
15333
|
+
modifiedAt: Date | null;
|
|
15330
15334
|
authorId: string;
|
|
15331
15335
|
isPinned: boolean;
|
|
15332
15336
|
parentCommentId: string | null;
|
|
@@ -15354,8 +15358,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15354
15358
|
content: string;
|
|
15355
15359
|
assignmentId: string | null;
|
|
15356
15360
|
submissionId: string | null;
|
|
15357
|
-
modifiedAt: Date | null;
|
|
15358
15361
|
announcementId: string | null;
|
|
15362
|
+
modifiedAt: Date | null;
|
|
15359
15363
|
authorId: string;
|
|
15360
15364
|
isPinned: boolean;
|
|
15361
15365
|
parentCommentId: string | null;
|
|
@@ -15650,7 +15654,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15650
15654
|
query: string;
|
|
15651
15655
|
results: {
|
|
15652
15656
|
id: string;
|
|
15653
|
-
type: "class" | "file" | "assignment" | "announcement" | "section" | "event" | "worksheet" | "syllabus";
|
|
15657
|
+
type: "class" | "file" | "assignment" | "announcement" | "discussion" | "submission" | "section" | "event" | "worksheet" | "syllabus";
|
|
15654
15658
|
title: string;
|
|
15655
15659
|
subtitle: string;
|
|
15656
15660
|
classId: string;
|
|
@@ -15671,7 +15675,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
15671
15675
|
query: string;
|
|
15672
15676
|
results: {
|
|
15673
15677
|
id: string;
|
|
15674
|
-
type: "class" | "file" | "assignment" | "announcement" | "section" | "event" | "worksheet" | "syllabus";
|
|
15678
|
+
type: "class" | "file" | "assignment" | "announcement" | "discussion" | "submission" | "section" | "event" | "worksheet" | "syllabus";
|
|
15675
15679
|
title: string;
|
|
15676
15680
|
subtitle: string;
|
|
15677
15681
|
classId: string;
|
|
@@ -16752,7 +16756,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
16752
16756
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
16753
16757
|
input: {
|
|
16754
16758
|
classId: string;
|
|
16755
|
-
type?: "
|
|
16759
|
+
type?: "ANNOUNCEMENT" | "DISCUSSION" | "QUESTION" | undefined;
|
|
16756
16760
|
sort?: "recent" | "activity" | "top" | undefined;
|
|
16757
16761
|
cursor?: string | undefined;
|
|
16758
16762
|
search?: string | undefined;
|
|
@@ -16898,7 +16902,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
16898
16902
|
classId: string;
|
|
16899
16903
|
title: string;
|
|
16900
16904
|
body: string;
|
|
16901
|
-
type?: "
|
|
16905
|
+
type?: "ANNOUNCEMENT" | "DISCUSSION" | "QUESTION" | undefined;
|
|
16902
16906
|
tagIds?: string[] | undefined;
|
|
16903
16907
|
attachmentIds?: string[] | undefined;
|
|
16904
16908
|
};
|
|
@@ -16991,7 +16995,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
16991
16995
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
16992
16996
|
input: {
|
|
16993
16997
|
discussionId: string;
|
|
16994
|
-
type?: "
|
|
16998
|
+
type?: "ANNOUNCEMENT" | "DISCUSSION" | "QUESTION" | undefined;
|
|
16995
16999
|
title?: string | undefined;
|
|
16996
17000
|
body?: string | undefined;
|
|
16997
17001
|
allowReplies?: boolean | undefined;
|
|
@@ -17775,7 +17779,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
17775
17779
|
query: string;
|
|
17776
17780
|
classId: string;
|
|
17777
17781
|
limit?: number | undefined;
|
|
17778
|
-
sourceTypes?: ("
|
|
17782
|
+
sourceTypes?: ("FILE" | "ASSIGNMENT" | "WORKSHEET" | "ANNOUNCEMENT" | "SECTION" | "DISCUSSION" | "SUBMISSION" | "SYLLABUS")[] | undefined;
|
|
17779
17783
|
};
|
|
17780
17784
|
output: import("../services/embedding.js").EmbeddingSearchResult[];
|
|
17781
17785
|
meta: object;
|
|
@@ -17783,7 +17787,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
17783
17787
|
reindex: import("@trpc/server").TRPCMutationProcedure<{
|
|
17784
17788
|
input: {
|
|
17785
17789
|
classId: string;
|
|
17786
|
-
sourceType: "
|
|
17790
|
+
sourceType: "FILE" | "ASSIGNMENT" | "WORKSHEET" | "ANNOUNCEMENT" | "SECTION" | "DISCUSSION" | "SUBMISSION" | "SYLLABUS";
|
|
17787
17791
|
sourceId: string;
|
|
17788
17792
|
};
|
|
17789
17793
|
output: {
|
|
@@ -17800,6 +17804,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
17800
17804
|
assignments: number;
|
|
17801
17805
|
worksheets: number;
|
|
17802
17806
|
announcements: number;
|
|
17807
|
+
discussions: number;
|
|
17808
|
+
submissions: number;
|
|
17809
|
+
syllabus: number;
|
|
17810
|
+
files: number;
|
|
17803
17811
|
};
|
|
17804
17812
|
};
|
|
17805
17813
|
meta: object;
|