@studious-lms/server 1.14.0 → 1.15.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/.github/workflows/deploy.yml +1 -1
- package/dist/instrument.js +3 -3
- package/dist/instrument.js.map +1 -1
- 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/lib/legal.d.ts +3 -0
- package/dist/lib/legal.d.ts.map +1 -0
- package/dist/lib/legal.js +6 -0
- package/dist/lib/legal.js.map +1 -0
- package/dist/models/announcement.d.ts +47 -45
- package/dist/models/announcement.d.ts.map +1 -1
- package/dist/models/assignment.d.ts +75 -75
- package/dist/models/auth.d.ts +8 -0
- package/dist/models/auth.d.ts.map +1 -1
- package/dist/models/auth.js +4 -2
- package/dist/models/auth.js.map +1 -1
- 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 +20 -18
- package/dist/models/event.d.ts.map +1 -1
- package/dist/models/file.d.ts +33 -9
- package/dist/models/file.d.ts.map +1 -1
- package/dist/models/labChat.d.ts +4 -4
- package/dist/models/marketing.d.ts +2 -15
- package/dist/models/marketing.d.ts.map +1 -1
- package/dist/models/marketing.js +12 -4
- package/dist/models/marketing.js.map +1 -1
- 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 +153 -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/labChatPrompt.d.ts +8 -3
- package/dist/pipelines/labChatPrompt.d.ts.map +1 -1
- package/dist/pipelines/labChatPrompt.js +52 -14
- package/dist/pipelines/labChatPrompt.js.map +1 -1
- package/dist/pipelines/pdfToWorksheet.d.ts +1 -1
- package/dist/routers/_app.d.ts +750 -546
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/announcement.d.ts +40 -40
- package/dist/routers/assignment.d.ts +131 -121
- package/dist/routers/assignment.d.ts.map +1 -1
- package/dist/routers/auth.d.ts +2 -0
- package/dist/routers/auth.d.ts.map +1 -1
- package/dist/routers/auth.js +15 -2
- package/dist/routers/auth.js.map +1 -1
- package/dist/routers/class.d.ts +12 -8
- package/dist/routers/class.d.ts.map +1 -1
- 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 +20 -18
- package/dist/routers/event.d.ts.map +1 -1
- package/dist/routers/file.d.ts +2 -2
- package/dist/routers/labChat.d.ts +3 -3
- package/dist/routers/marketing.d.ts +0 -13
- package/dist/routers/marketing.d.ts.map +1 -1
- package/dist/routers/notifications.d.ts +4 -4
- package/dist/routers/school.d.ts +4 -0
- package/dist/routers/school.d.ts.map +1 -1
- package/dist/routers/search.d.ts +2 -2
- package/dist/routers/user.d.ts +89 -0
- package/dist/routers/user.d.ts.map +1 -1
- package/dist/routers/user.js +19 -2
- package/dist/routers/user.js.map +1 -1
- 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 +3 -1
- package/dist/seedDatabase.d.ts.map +1 -1
- package/dist/services/aiChatStream.d.ts +20 -0
- package/dist/services/aiChatStream.d.ts.map +1 -1
- package/dist/services/aiChatStream.js +110 -13
- 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/aiTools.js +3 -3
- package/dist/services/aiTools.js.map +1 -1
- package/dist/services/announcement.d.ts +34 -34
- package/dist/services/assignment.d.ts +121 -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/auth.d.ts +2 -0
- package/dist/services/auth.d.ts.map +1 -1
- package/dist/services/auth.js +13 -4
- package/dist/services/auth.js.map +1 -1
- package/dist/services/class.d.ts +10 -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 +20 -18
- package/dist/services/event.d.ts.map +1 -1
- 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/marketing.d.ts +1 -14
- package/dist/services/marketing.d.ts.map +1 -1
- package/dist/services/marketing.js +5 -5
- package/dist/services/marketing.js.map +1 -1
- package/dist/services/notification.d.ts +4 -4
- package/dist/services/openaiDocumentGen.d.ts +37 -0
- package/dist/services/openaiDocumentGen.d.ts.map +1 -0
- package/dist/services/openaiDocumentGen.js +262 -0
- package/dist/services/openaiDocumentGen.js.map +1 -0
- package/dist/services/school.d.ts +4 -0
- package/dist/services/school.d.ts.map +1 -1
- 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/userPrivacy.d.ts +86 -0
- package/dist/services/userPrivacy.d.ts.map +1 -0
- package/dist/services/userPrivacy.js +184 -0
- package/dist/services/userPrivacy.js.map +1 -0
- 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/utils/email.d.ts.map +1 -1
- package/dist/utils/email.js +7 -3
- package/dist/utils/email.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/migrations/20260611120000_add_user_terms_acceptance/migration.sql +3 -0
- package/prisma/schema.prisma +6 -0
- package/src/instrument.ts +1 -1
- package/src/lib/inferDocumentFormat.ts +58 -0
- package/src/lib/legal.ts +2 -0
- package/src/models/auth.ts +4 -0
- package/src/models/marketing.ts +10 -2
- package/src/pipelines/aiLabChat.ts +198 -74
- package/src/pipelines/aiLabChatContract.ts +7 -17
- package/src/pipelines/labChatPrompt.ts +64 -14
- package/src/routers/auth.ts +13 -0
- package/src/routers/embedding.ts +44 -39
- package/src/routers/user.ts +26 -0
- package/src/routes/aiStream.ts +47 -9
- package/src/services/aiChatStream.ts +133 -11
- package/src/services/aiModifierTools.ts +154 -1
- package/src/services/aiProposalTools.ts +27 -25
- package/src/services/aiTools.ts +1 -1
- package/src/services/assignment.ts +3 -0
- package/src/services/auth.ts +14 -2
- 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/marketing.ts +3 -3
- package/src/services/openaiDocumentGen.ts +319 -0
- package/src/services/search.ts +25 -1
- package/src/services/userPrivacy.ts +196 -0
- package/src/services/worksheet.ts +68 -1
- package/src/utils/email.ts +5 -1
- package/src/workers/processors/embedContent.ts +18 -22
- package/tests/helpers/registerInput.ts +20 -0
- package/tests/integration/globalSetup.ts +10 -18
- package/tests/integration/routers/auth.test.ts +13 -18
- package/tests/unit/lib/inferDocumentFormat.test.ts +33 -0
- package/tests/unit/services/aiChatStream.test.ts +92 -0
- package/tests/unit/services/openaiDocumentGen.test.ts +65 -0
|
@@ -104,7 +104,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
104
104
|
title: string;
|
|
105
105
|
dueDate: string;
|
|
106
106
|
instructions: string;
|
|
107
|
-
type?: "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "
|
|
107
|
+
type?: "DISCUSSION" | "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "PRESENTATION" | "LAB" | "OTHER" | undefined;
|
|
108
108
|
id?: string | undefined;
|
|
109
109
|
files?: {
|
|
110
110
|
type: string;
|
|
@@ -142,6 +142,11 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
142
142
|
title: string;
|
|
143
143
|
dueDate: Date;
|
|
144
144
|
maxGrade: number | null;
|
|
145
|
+
attachments: {
|
|
146
|
+
type: string;
|
|
147
|
+
id: string;
|
|
148
|
+
name: string;
|
|
149
|
+
}[];
|
|
145
150
|
instructions: string;
|
|
146
151
|
graded: boolean;
|
|
147
152
|
weight: number;
|
|
@@ -149,11 +154,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
149
154
|
id: string;
|
|
150
155
|
username: string;
|
|
151
156
|
};
|
|
152
|
-
attachments: {
|
|
153
|
-
type: string;
|
|
154
|
-
id: string;
|
|
155
|
-
name: string;
|
|
156
|
-
}[];
|
|
157
157
|
};
|
|
158
158
|
meta: object;
|
|
159
159
|
}>;
|
|
@@ -197,7 +197,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
197
197
|
[x: string]: unknown;
|
|
198
198
|
classId: string;
|
|
199
199
|
id: string;
|
|
200
|
-
type?: "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "
|
|
200
|
+
type?: "DISCUSSION" | "HOMEWORK" | "QUIZ" | "TEST" | "PROJECT" | "ESSAY" | "PRESENTATION" | "LAB" | "OTHER" | undefined;
|
|
201
201
|
files?: {
|
|
202
202
|
type: string;
|
|
203
203
|
name: string;
|
|
@@ -254,18 +254,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
254
254
|
title: string;
|
|
255
255
|
dueDate: Date;
|
|
256
256
|
maxGrade: number | null;
|
|
257
|
-
instructions: string;
|
|
258
|
-
graded: boolean;
|
|
259
|
-
weight: number;
|
|
260
|
-
markSchemeId: string | null;
|
|
261
|
-
teacher: {
|
|
262
|
-
id: string;
|
|
263
|
-
username: string;
|
|
264
|
-
email: string;
|
|
265
|
-
password: string;
|
|
266
|
-
verified: boolean;
|
|
267
|
-
schoolId: string | null;
|
|
268
|
-
};
|
|
269
257
|
attachments: {
|
|
270
258
|
path: string;
|
|
271
259
|
type: string;
|
|
@@ -285,6 +273,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
285
273
|
submissionId: string | null;
|
|
286
274
|
thumbnailId: string | null;
|
|
287
275
|
annotationId: string | null;
|
|
276
|
+
conversationId: string | null;
|
|
288
277
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
289
278
|
uploadUrl: string | null;
|
|
290
279
|
uploadExpiresAt: Date | null;
|
|
@@ -296,7 +285,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
296
285
|
cleanupAt: Date | null;
|
|
297
286
|
classDraftId: string | null;
|
|
298
287
|
folderId: string | null;
|
|
299
|
-
conversationId: string | null;
|
|
300
288
|
messageId: string | null;
|
|
301
289
|
announcementId: string | null;
|
|
302
290
|
discussionId: string | null;
|
|
@@ -305,6 +293,20 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
305
293
|
} | null;
|
|
306
294
|
thumbnailId: string | null;
|
|
307
295
|
}[];
|
|
296
|
+
instructions: string;
|
|
297
|
+
graded: boolean;
|
|
298
|
+
weight: number;
|
|
299
|
+
markSchemeId: string | null;
|
|
300
|
+
teacher: {
|
|
301
|
+
id: string;
|
|
302
|
+
username: string;
|
|
303
|
+
email: string;
|
|
304
|
+
password: string;
|
|
305
|
+
verified: boolean;
|
|
306
|
+
termsAcceptedAt: Date | null;
|
|
307
|
+
termsVersion: string | null;
|
|
308
|
+
schoolId: string | null;
|
|
309
|
+
};
|
|
308
310
|
};
|
|
309
311
|
meta: object;
|
|
310
312
|
}>;
|
|
@@ -355,10 +357,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
355
357
|
id: string;
|
|
356
358
|
name: string;
|
|
357
359
|
}[];
|
|
358
|
-
teacher: {
|
|
359
|
-
id: string;
|
|
360
|
-
username: string;
|
|
361
|
-
};
|
|
362
360
|
attachments: {
|
|
363
361
|
path: string;
|
|
364
362
|
type: string;
|
|
@@ -368,6 +366,10 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
368
366
|
uploadedAt: Date | null;
|
|
369
367
|
thumbnailId: string | null;
|
|
370
368
|
}[];
|
|
369
|
+
teacher: {
|
|
370
|
+
id: string;
|
|
371
|
+
username: string;
|
|
372
|
+
};
|
|
371
373
|
eventAttached: {
|
|
372
374
|
id: string;
|
|
373
375
|
location: string | null;
|
|
@@ -476,6 +478,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
476
478
|
submissionId: string | null;
|
|
477
479
|
thumbnailId: string | null;
|
|
478
480
|
annotationId: string | null;
|
|
481
|
+
conversationId: string | null;
|
|
479
482
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
480
483
|
uploadUrl: string | null;
|
|
481
484
|
uploadExpiresAt: Date | null;
|
|
@@ -487,17 +490,12 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
487
490
|
cleanupAt: Date | null;
|
|
488
491
|
classDraftId: string | null;
|
|
489
492
|
folderId: string | null;
|
|
490
|
-
conversationId: string | null;
|
|
491
493
|
messageId: string | null;
|
|
492
494
|
announcementId: string | null;
|
|
493
495
|
discussionId: string | null;
|
|
494
496
|
discussionReplyId: string | null;
|
|
495
497
|
schoolDevelopementProgramId: string | null;
|
|
496
498
|
}[];
|
|
497
|
-
student: {
|
|
498
|
-
id: string;
|
|
499
|
-
username: string;
|
|
500
|
-
};
|
|
501
499
|
annotations: {
|
|
502
500
|
path: string;
|
|
503
501
|
type: string;
|
|
@@ -510,6 +508,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
510
508
|
submissionId: string | null;
|
|
511
509
|
thumbnailId: string | null;
|
|
512
510
|
annotationId: string | null;
|
|
511
|
+
conversationId: string | null;
|
|
513
512
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
514
513
|
uploadUrl: string | null;
|
|
515
514
|
uploadExpiresAt: Date | null;
|
|
@@ -521,18 +520,21 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
521
520
|
cleanupAt: Date | null;
|
|
522
521
|
classDraftId: string | null;
|
|
523
522
|
folderId: string | null;
|
|
524
|
-
conversationId: string | null;
|
|
525
523
|
messageId: string | null;
|
|
526
524
|
announcementId: string | null;
|
|
527
525
|
discussionId: string | null;
|
|
528
526
|
discussionReplyId: string | null;
|
|
529
527
|
schoolDevelopementProgramId: string | null;
|
|
530
528
|
}[];
|
|
529
|
+
student: {
|
|
530
|
+
id: string;
|
|
531
|
+
username: string;
|
|
532
|
+
};
|
|
531
533
|
id: string;
|
|
532
534
|
createdAt: Date;
|
|
533
535
|
assignmentId: string;
|
|
534
|
-
modifiedAt: Date;
|
|
535
536
|
studentId: string;
|
|
537
|
+
modifiedAt: Date;
|
|
536
538
|
extendedResponse: string | null;
|
|
537
539
|
gradeReceived: number | null;
|
|
538
540
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -618,6 +620,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
618
620
|
submissionId: string | null;
|
|
619
621
|
thumbnailId: string | null;
|
|
620
622
|
annotationId: string | null;
|
|
623
|
+
conversationId: string | null;
|
|
621
624
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
622
625
|
uploadUrl: string | null;
|
|
623
626
|
uploadExpiresAt: Date | null;
|
|
@@ -629,29 +632,12 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
629
632
|
cleanupAt: Date | null;
|
|
630
633
|
classDraftId: string | null;
|
|
631
634
|
folderId: string | null;
|
|
632
|
-
conversationId: string | null;
|
|
633
635
|
messageId: string | null;
|
|
634
636
|
announcementId: string | null;
|
|
635
637
|
discussionId: string | null;
|
|
636
638
|
discussionReplyId: string | null;
|
|
637
639
|
schoolDevelopementProgramId: string | null;
|
|
638
640
|
}[];
|
|
639
|
-
student: {
|
|
640
|
-
id: string;
|
|
641
|
-
username: string;
|
|
642
|
-
profile: {
|
|
643
|
-
id: string;
|
|
644
|
-
userId: string;
|
|
645
|
-
displayName: string | null;
|
|
646
|
-
bio: string | null;
|
|
647
|
-
location: string | null;
|
|
648
|
-
website: string | null;
|
|
649
|
-
createdAt: Date;
|
|
650
|
-
updatedAt: Date;
|
|
651
|
-
profilePicture: string | null;
|
|
652
|
-
profilePictureThumbnail: string | null;
|
|
653
|
-
} | null;
|
|
654
|
-
};
|
|
655
641
|
annotations: {
|
|
656
642
|
path: string;
|
|
657
643
|
type: string;
|
|
@@ -664,6 +650,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
664
650
|
submissionId: string | null;
|
|
665
651
|
thumbnailId: string | null;
|
|
666
652
|
annotationId: string | null;
|
|
653
|
+
conversationId: string | null;
|
|
667
654
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
668
655
|
uploadUrl: string | null;
|
|
669
656
|
uploadExpiresAt: Date | null;
|
|
@@ -675,18 +662,33 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
675
662
|
cleanupAt: Date | null;
|
|
676
663
|
classDraftId: string | null;
|
|
677
664
|
folderId: string | null;
|
|
678
|
-
conversationId: string | null;
|
|
679
665
|
messageId: string | null;
|
|
680
666
|
announcementId: string | null;
|
|
681
667
|
discussionId: string | null;
|
|
682
668
|
discussionReplyId: string | null;
|
|
683
669
|
schoolDevelopementProgramId: string | null;
|
|
684
670
|
}[];
|
|
671
|
+
student: {
|
|
672
|
+
id: string;
|
|
673
|
+
username: string;
|
|
674
|
+
profile: {
|
|
675
|
+
id: string;
|
|
676
|
+
userId: string;
|
|
677
|
+
displayName: string | null;
|
|
678
|
+
bio: string | null;
|
|
679
|
+
location: string | null;
|
|
680
|
+
website: string | null;
|
|
681
|
+
createdAt: Date;
|
|
682
|
+
updatedAt: Date;
|
|
683
|
+
profilePicture: string | null;
|
|
684
|
+
profilePictureThumbnail: string | null;
|
|
685
|
+
} | null;
|
|
686
|
+
};
|
|
685
687
|
id: string;
|
|
686
688
|
createdAt: Date;
|
|
687
689
|
assignmentId: string;
|
|
688
|
-
modifiedAt: Date;
|
|
689
690
|
studentId: string;
|
|
691
|
+
modifiedAt: Date;
|
|
690
692
|
extendedResponse: string | null;
|
|
691
693
|
gradeReceived: number | null;
|
|
692
694
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -777,6 +779,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
777
779
|
submissionId: string | null;
|
|
778
780
|
thumbnailId: string | null;
|
|
779
781
|
annotationId: string | null;
|
|
782
|
+
conversationId: string | null;
|
|
780
783
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
781
784
|
uploadUrl: string | null;
|
|
782
785
|
uploadExpiresAt: Date | null;
|
|
@@ -788,7 +791,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
788
791
|
cleanupAt: Date | null;
|
|
789
792
|
classDraftId: string | null;
|
|
790
793
|
folderId: string | null;
|
|
791
|
-
conversationId: string | null;
|
|
792
794
|
messageId: string | null;
|
|
793
795
|
announcementId: string | null;
|
|
794
796
|
discussionId: string | null;
|
|
@@ -803,8 +805,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
803
805
|
id: string;
|
|
804
806
|
createdAt: Date;
|
|
805
807
|
assignmentId: string;
|
|
806
|
-
modifiedAt: Date;
|
|
807
808
|
studentId: string;
|
|
809
|
+
modifiedAt: Date;
|
|
808
810
|
extendedResponse: string | null;
|
|
809
811
|
gradeReceived: number | null;
|
|
810
812
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -887,6 +889,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
887
889
|
submissionId: string | null;
|
|
888
890
|
thumbnailId: string | null;
|
|
889
891
|
annotationId: string | null;
|
|
892
|
+
conversationId: string | null;
|
|
890
893
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
891
894
|
uploadUrl: string | null;
|
|
892
895
|
uploadExpiresAt: Date | null;
|
|
@@ -898,7 +901,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
898
901
|
cleanupAt: Date | null;
|
|
899
902
|
classDraftId: string | null;
|
|
900
903
|
folderId: string | null;
|
|
901
|
-
conversationId: string | null;
|
|
902
904
|
messageId: string | null;
|
|
903
905
|
announcementId: string | null;
|
|
904
906
|
discussionId: string | null;
|
|
@@ -917,6 +919,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
917
919
|
submissionId: string | null;
|
|
918
920
|
thumbnailId: string | null;
|
|
919
921
|
annotationId: string | null;
|
|
922
|
+
conversationId: string | null;
|
|
920
923
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
921
924
|
uploadUrl: string | null;
|
|
922
925
|
uploadExpiresAt: Date | null;
|
|
@@ -928,7 +931,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
928
931
|
cleanupAt: Date | null;
|
|
929
932
|
classDraftId: string | null;
|
|
930
933
|
folderId: string | null;
|
|
931
|
-
conversationId: string | null;
|
|
932
934
|
messageId: string | null;
|
|
933
935
|
announcementId: string | null;
|
|
934
936
|
discussionId: string | null;
|
|
@@ -947,8 +949,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
947
949
|
id: string;
|
|
948
950
|
createdAt: Date;
|
|
949
951
|
assignmentId: string;
|
|
950
|
-
modifiedAt: Date;
|
|
951
952
|
studentId: string;
|
|
953
|
+
modifiedAt: Date;
|
|
952
954
|
extendedResponse: string | null;
|
|
953
955
|
gradeReceived: number | null;
|
|
954
956
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -995,8 +997,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
995
997
|
content: string;
|
|
996
998
|
assignmentId: string | null;
|
|
997
999
|
submissionId: string | null;
|
|
998
|
-
modifiedAt: Date | null;
|
|
999
1000
|
announcementId: string | null;
|
|
1001
|
+
modifiedAt: Date | null;
|
|
1000
1002
|
authorId: string;
|
|
1001
1003
|
isPinned: boolean;
|
|
1002
1004
|
parentCommentId: string | null;
|
|
@@ -1008,8 +1010,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1008
1010
|
content: string;
|
|
1009
1011
|
assignmentId: string | null;
|
|
1010
1012
|
submissionId: string | null;
|
|
1011
|
-
modifiedAt: Date | null;
|
|
1012
1013
|
announcementId: string | null;
|
|
1014
|
+
modifiedAt: Date | null;
|
|
1013
1015
|
authorId: string;
|
|
1014
1016
|
isPinned: boolean;
|
|
1015
1017
|
parentCommentId: string | null;
|
|
@@ -1053,8 +1055,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1053
1055
|
content: string;
|
|
1054
1056
|
assignmentId: string | null;
|
|
1055
1057
|
submissionId: string | null;
|
|
1056
|
-
modifiedAt: Date | null;
|
|
1057
1058
|
announcementId: string | null;
|
|
1059
|
+
modifiedAt: Date | null;
|
|
1058
1060
|
authorId: string;
|
|
1059
1061
|
isPinned: boolean;
|
|
1060
1062
|
parentCommentId: string | null;
|
|
@@ -1066,8 +1068,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1066
1068
|
content: string;
|
|
1067
1069
|
assignmentId: string | null;
|
|
1068
1070
|
submissionId: string | null;
|
|
1069
|
-
modifiedAt: Date | null;
|
|
1070
1071
|
announcementId: string | null;
|
|
1072
|
+
modifiedAt: Date | null;
|
|
1071
1073
|
authorId: string;
|
|
1072
1074
|
isPinned: boolean;
|
|
1073
1075
|
parentCommentId: string | null;
|
|
@@ -1110,8 +1112,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1110
1112
|
content: string;
|
|
1111
1113
|
assignmentId: string | null;
|
|
1112
1114
|
submissionId: string | null;
|
|
1113
|
-
modifiedAt: Date | null;
|
|
1114
1115
|
announcementId: string | null;
|
|
1116
|
+
modifiedAt: Date | null;
|
|
1115
1117
|
authorId: string;
|
|
1116
1118
|
isPinned: boolean;
|
|
1117
1119
|
parentCommentId: string | null;
|
|
@@ -1123,8 +1125,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1123
1125
|
content: string;
|
|
1124
1126
|
assignmentId: string | null;
|
|
1125
1127
|
submissionId: string | null;
|
|
1126
|
-
modifiedAt: Date | null;
|
|
1127
1128
|
announcementId: string | null;
|
|
1129
|
+
modifiedAt: Date | null;
|
|
1128
1130
|
authorId: string;
|
|
1129
1131
|
isPinned: boolean;
|
|
1130
1132
|
parentCommentId: string | null;
|
|
@@ -1169,8 +1171,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1169
1171
|
content: string;
|
|
1170
1172
|
assignmentId: string | null;
|
|
1171
1173
|
submissionId: string | null;
|
|
1172
|
-
modifiedAt: Date | null;
|
|
1173
1174
|
announcementId: string | null;
|
|
1175
|
+
modifiedAt: Date | null;
|
|
1174
1176
|
authorId: string;
|
|
1175
1177
|
isPinned: boolean;
|
|
1176
1178
|
parentCommentId: string | null;
|
|
@@ -1182,8 +1184,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1182
1184
|
content: string;
|
|
1183
1185
|
assignmentId: string | null;
|
|
1184
1186
|
submissionId: string | null;
|
|
1185
|
-
modifiedAt: Date | null;
|
|
1186
1187
|
announcementId: string | null;
|
|
1188
|
+
modifiedAt: Date | null;
|
|
1187
1189
|
authorId: string;
|
|
1188
1190
|
isPinned: boolean;
|
|
1189
1191
|
parentCommentId: string | null;
|
|
@@ -1277,6 +1279,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1277
1279
|
submissionId: string | null;
|
|
1278
1280
|
thumbnailId: string | null;
|
|
1279
1281
|
annotationId: string | null;
|
|
1282
|
+
conversationId: string | null;
|
|
1280
1283
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1281
1284
|
uploadUrl: string | null;
|
|
1282
1285
|
uploadExpiresAt: Date | null;
|
|
@@ -1288,7 +1291,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1288
1291
|
cleanupAt: Date | null;
|
|
1289
1292
|
classDraftId: string | null;
|
|
1290
1293
|
folderId: string | null;
|
|
1291
|
-
conversationId: string | null;
|
|
1292
1294
|
messageId: string | null;
|
|
1293
1295
|
announcementId: string | null;
|
|
1294
1296
|
discussionId: string | null;
|
|
@@ -1307,6 +1309,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1307
1309
|
submissionId: string | null;
|
|
1308
1310
|
thumbnailId: string | null;
|
|
1309
1311
|
annotationId: string | null;
|
|
1312
|
+
conversationId: string | null;
|
|
1310
1313
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1311
1314
|
uploadUrl: string | null;
|
|
1312
1315
|
uploadExpiresAt: Date | null;
|
|
@@ -1318,22 +1321,12 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1318
1321
|
cleanupAt: Date | null;
|
|
1319
1322
|
classDraftId: string | null;
|
|
1320
1323
|
folderId: string | null;
|
|
1321
|
-
conversationId: string | null;
|
|
1322
1324
|
messageId: string | null;
|
|
1323
1325
|
announcementId: string | null;
|
|
1324
1326
|
discussionId: string | null;
|
|
1325
1327
|
discussionReplyId: string | null;
|
|
1326
1328
|
schoolDevelopementProgramId: string | null;
|
|
1327
1329
|
})[];
|
|
1328
|
-
student: {
|
|
1329
|
-
id: string;
|
|
1330
|
-
username: string;
|
|
1331
|
-
profile: {
|
|
1332
|
-
profilePicture: string | null;
|
|
1333
|
-
displayName: string | null;
|
|
1334
|
-
profilePictureThumbnail: string | null;
|
|
1335
|
-
} | null;
|
|
1336
|
-
};
|
|
1337
1330
|
annotations: ({
|
|
1338
1331
|
thumbnail: {
|
|
1339
1332
|
path: string;
|
|
@@ -1347,6 +1340,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1347
1340
|
submissionId: string | null;
|
|
1348
1341
|
thumbnailId: string | null;
|
|
1349
1342
|
annotationId: string | null;
|
|
1343
|
+
conversationId: string | null;
|
|
1350
1344
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1351
1345
|
uploadUrl: string | null;
|
|
1352
1346
|
uploadExpiresAt: Date | null;
|
|
@@ -1358,7 +1352,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1358
1352
|
cleanupAt: Date | null;
|
|
1359
1353
|
classDraftId: string | null;
|
|
1360
1354
|
folderId: string | null;
|
|
1361
|
-
conversationId: string | null;
|
|
1362
1355
|
messageId: string | null;
|
|
1363
1356
|
announcementId: string | null;
|
|
1364
1357
|
discussionId: string | null;
|
|
@@ -1377,6 +1370,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1377
1370
|
submissionId: string | null;
|
|
1378
1371
|
thumbnailId: string | null;
|
|
1379
1372
|
annotationId: string | null;
|
|
1373
|
+
conversationId: string | null;
|
|
1380
1374
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1381
1375
|
uploadUrl: string | null;
|
|
1382
1376
|
uploadExpiresAt: Date | null;
|
|
@@ -1388,19 +1382,27 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1388
1382
|
cleanupAt: Date | null;
|
|
1389
1383
|
classDraftId: string | null;
|
|
1390
1384
|
folderId: string | null;
|
|
1391
|
-
conversationId: string | null;
|
|
1392
1385
|
messageId: string | null;
|
|
1393
1386
|
announcementId: string | null;
|
|
1394
1387
|
discussionId: string | null;
|
|
1395
1388
|
discussionReplyId: string | null;
|
|
1396
1389
|
schoolDevelopementProgramId: string | null;
|
|
1397
1390
|
})[];
|
|
1391
|
+
student: {
|
|
1392
|
+
id: string;
|
|
1393
|
+
username: string;
|
|
1394
|
+
profile: {
|
|
1395
|
+
profilePicture: string | null;
|
|
1396
|
+
displayName: string | null;
|
|
1397
|
+
profilePictureThumbnail: string | null;
|
|
1398
|
+
} | null;
|
|
1399
|
+
};
|
|
1398
1400
|
} & {
|
|
1399
1401
|
id: string;
|
|
1400
1402
|
createdAt: Date;
|
|
1401
1403
|
assignmentId: string;
|
|
1402
|
-
modifiedAt: Date;
|
|
1403
1404
|
studentId: string;
|
|
1405
|
+
modifiedAt: Date;
|
|
1404
1406
|
extendedResponse: string | null;
|
|
1405
1407
|
gradeReceived: number | null;
|
|
1406
1408
|
recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
|
|
@@ -1427,15 +1429,15 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1427
1429
|
id: string;
|
|
1428
1430
|
name: string;
|
|
1429
1431
|
} | null;
|
|
1430
|
-
teacher: {
|
|
1431
|
-
id: string;
|
|
1432
|
-
username: string;
|
|
1433
|
-
};
|
|
1434
1432
|
attachments: {
|
|
1435
1433
|
type: string;
|
|
1436
1434
|
id: string;
|
|
1437
1435
|
name: string;
|
|
1438
1436
|
}[];
|
|
1437
|
+
teacher: {
|
|
1438
|
+
id: string;
|
|
1439
|
+
username: string;
|
|
1440
|
+
};
|
|
1439
1441
|
eventAttached: {
|
|
1440
1442
|
id: string;
|
|
1441
1443
|
name: string | null;
|
|
@@ -1484,15 +1486,15 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1484
1486
|
id: string;
|
|
1485
1487
|
name: string;
|
|
1486
1488
|
} | null;
|
|
1487
|
-
teacher: {
|
|
1488
|
-
id: string;
|
|
1489
|
-
username: string;
|
|
1490
|
-
};
|
|
1491
1489
|
attachments: {
|
|
1492
1490
|
type: string;
|
|
1493
1491
|
id: string;
|
|
1494
1492
|
name: string;
|
|
1495
1493
|
}[];
|
|
1494
|
+
teacher: {
|
|
1495
|
+
id: string;
|
|
1496
|
+
username: string;
|
|
1497
|
+
};
|
|
1496
1498
|
eventAttached: {
|
|
1497
1499
|
id: string;
|
|
1498
1500
|
name: string | null;
|
|
@@ -1586,14 +1588,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1586
1588
|
classId: string;
|
|
1587
1589
|
order: number | null;
|
|
1588
1590
|
} | null;
|
|
1589
|
-
teacher: {
|
|
1590
|
-
id: string;
|
|
1591
|
-
username: string;
|
|
1592
|
-
email: string;
|
|
1593
|
-
password: string;
|
|
1594
|
-
verified: boolean;
|
|
1595
|
-
schoolId: string | null;
|
|
1596
|
-
};
|
|
1597
1591
|
attachments: {
|
|
1598
1592
|
path: string;
|
|
1599
1593
|
type: string;
|
|
@@ -1606,6 +1600,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1606
1600
|
submissionId: string | null;
|
|
1607
1601
|
thumbnailId: string | null;
|
|
1608
1602
|
annotationId: string | null;
|
|
1603
|
+
conversationId: string | null;
|
|
1609
1604
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1610
1605
|
uploadUrl: string | null;
|
|
1611
1606
|
uploadExpiresAt: Date | null;
|
|
@@ -1617,13 +1612,22 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1617
1612
|
cleanupAt: Date | null;
|
|
1618
1613
|
classDraftId: string | null;
|
|
1619
1614
|
folderId: string | null;
|
|
1620
|
-
conversationId: string | null;
|
|
1621
1615
|
messageId: string | null;
|
|
1622
1616
|
announcementId: string | null;
|
|
1623
1617
|
discussionId: string | null;
|
|
1624
1618
|
discussionReplyId: string | null;
|
|
1625
1619
|
schoolDevelopementProgramId: string | null;
|
|
1626
1620
|
}[];
|
|
1621
|
+
teacher: {
|
|
1622
|
+
id: string;
|
|
1623
|
+
username: string;
|
|
1624
|
+
email: string;
|
|
1625
|
+
password: string;
|
|
1626
|
+
verified: boolean;
|
|
1627
|
+
termsAcceptedAt: Date | null;
|
|
1628
|
+
termsVersion: string | null;
|
|
1629
|
+
schoolId: string | null;
|
|
1630
|
+
};
|
|
1627
1631
|
eventAttached: {
|
|
1628
1632
|
id: string;
|
|
1629
1633
|
userId: string | null;
|
|
@@ -1684,14 +1688,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1684
1688
|
classId: string;
|
|
1685
1689
|
order: number | null;
|
|
1686
1690
|
} | null;
|
|
1687
|
-
teacher: {
|
|
1688
|
-
id: string;
|
|
1689
|
-
username: string;
|
|
1690
|
-
email: string;
|
|
1691
|
-
password: string;
|
|
1692
|
-
verified: boolean;
|
|
1693
|
-
schoolId: string | null;
|
|
1694
|
-
};
|
|
1695
1691
|
attachments: {
|
|
1696
1692
|
path: string;
|
|
1697
1693
|
type: string;
|
|
@@ -1704,6 +1700,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1704
1700
|
submissionId: string | null;
|
|
1705
1701
|
thumbnailId: string | null;
|
|
1706
1702
|
annotationId: string | null;
|
|
1703
|
+
conversationId: string | null;
|
|
1707
1704
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1708
1705
|
uploadUrl: string | null;
|
|
1709
1706
|
uploadExpiresAt: Date | null;
|
|
@@ -1715,13 +1712,22 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1715
1712
|
cleanupAt: Date | null;
|
|
1716
1713
|
classDraftId: string | null;
|
|
1717
1714
|
folderId: string | null;
|
|
1718
|
-
conversationId: string | null;
|
|
1719
1715
|
messageId: string | null;
|
|
1720
1716
|
announcementId: string | null;
|
|
1721
1717
|
discussionId: string | null;
|
|
1722
1718
|
discussionReplyId: string | null;
|
|
1723
1719
|
schoolDevelopementProgramId: string | null;
|
|
1724
1720
|
}[];
|
|
1721
|
+
teacher: {
|
|
1722
|
+
id: string;
|
|
1723
|
+
username: string;
|
|
1724
|
+
email: string;
|
|
1725
|
+
password: string;
|
|
1726
|
+
verified: boolean;
|
|
1727
|
+
termsAcceptedAt: Date | null;
|
|
1728
|
+
termsVersion: string | null;
|
|
1729
|
+
schoolId: string | null;
|
|
1730
|
+
};
|
|
1725
1731
|
eventAttached: {
|
|
1726
1732
|
id: string;
|
|
1727
1733
|
userId: string | null;
|
|
@@ -1783,14 +1789,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1783
1789
|
classId: string;
|
|
1784
1790
|
order: number | null;
|
|
1785
1791
|
} | null;
|
|
1786
|
-
teacher: {
|
|
1787
|
-
id: string;
|
|
1788
|
-
username: string;
|
|
1789
|
-
email: string;
|
|
1790
|
-
password: string;
|
|
1791
|
-
verified: boolean;
|
|
1792
|
-
schoolId: string | null;
|
|
1793
|
-
};
|
|
1794
1792
|
attachments: {
|
|
1795
1793
|
path: string;
|
|
1796
1794
|
type: string;
|
|
@@ -1803,6 +1801,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1803
1801
|
submissionId: string | null;
|
|
1804
1802
|
thumbnailId: string | null;
|
|
1805
1803
|
annotationId: string | null;
|
|
1804
|
+
conversationId: string | null;
|
|
1806
1805
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1807
1806
|
uploadUrl: string | null;
|
|
1808
1807
|
uploadExpiresAt: Date | null;
|
|
@@ -1814,13 +1813,22 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1814
1813
|
cleanupAt: Date | null;
|
|
1815
1814
|
classDraftId: string | null;
|
|
1816
1815
|
folderId: string | null;
|
|
1817
|
-
conversationId: string | null;
|
|
1818
1816
|
messageId: string | null;
|
|
1819
1817
|
announcementId: string | null;
|
|
1820
1818
|
discussionId: string | null;
|
|
1821
1819
|
discussionReplyId: string | null;
|
|
1822
1820
|
schoolDevelopementProgramId: string | null;
|
|
1823
1821
|
}[];
|
|
1822
|
+
teacher: {
|
|
1823
|
+
id: string;
|
|
1824
|
+
username: string;
|
|
1825
|
+
email: string;
|
|
1826
|
+
password: string;
|
|
1827
|
+
verified: boolean;
|
|
1828
|
+
termsAcceptedAt: Date | null;
|
|
1829
|
+
termsVersion: string | null;
|
|
1830
|
+
schoolId: string | null;
|
|
1831
|
+
};
|
|
1824
1832
|
eventAttached: {
|
|
1825
1833
|
id: string;
|
|
1826
1834
|
userId: string | null;
|
|
@@ -1881,14 +1889,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1881
1889
|
classId: string;
|
|
1882
1890
|
order: number | null;
|
|
1883
1891
|
} | null;
|
|
1884
|
-
teacher: {
|
|
1885
|
-
id: string;
|
|
1886
|
-
username: string;
|
|
1887
|
-
email: string;
|
|
1888
|
-
password: string;
|
|
1889
|
-
verified: boolean;
|
|
1890
|
-
schoolId: string | null;
|
|
1891
|
-
};
|
|
1892
1892
|
attachments: {
|
|
1893
1893
|
path: string;
|
|
1894
1894
|
type: string;
|
|
@@ -1901,6 +1901,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1901
1901
|
submissionId: string | null;
|
|
1902
1902
|
thumbnailId: string | null;
|
|
1903
1903
|
annotationId: string | null;
|
|
1904
|
+
conversationId: string | null;
|
|
1904
1905
|
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1905
1906
|
uploadUrl: string | null;
|
|
1906
1907
|
uploadExpiresAt: Date | null;
|
|
@@ -1912,13 +1913,22 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1912
1913
|
cleanupAt: Date | null;
|
|
1913
1914
|
classDraftId: string | null;
|
|
1914
1915
|
folderId: string | null;
|
|
1915
|
-
conversationId: string | null;
|
|
1916
1916
|
messageId: string | null;
|
|
1917
1917
|
announcementId: string | null;
|
|
1918
1918
|
discussionId: string | null;
|
|
1919
1919
|
discussionReplyId: string | null;
|
|
1920
1920
|
schoolDevelopementProgramId: string | null;
|
|
1921
1921
|
}[];
|
|
1922
|
+
teacher: {
|
|
1923
|
+
id: string;
|
|
1924
|
+
username: string;
|
|
1925
|
+
email: string;
|
|
1926
|
+
password: string;
|
|
1927
|
+
verified: boolean;
|
|
1928
|
+
termsAcceptedAt: Date | null;
|
|
1929
|
+
termsVersion: string | null;
|
|
1930
|
+
schoolId: string | null;
|
|
1931
|
+
};
|
|
1922
1932
|
eventAttached: {
|
|
1923
1933
|
id: string;
|
|
1924
1934
|
userId: string | null;
|