@studious-lms/server 1.7.0 → 1.9.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.
Files changed (212) hide show
  1. package/dist/middleware/security.d.ts.map +1 -1
  2. package/dist/middleware/security.js +3 -3
  3. package/dist/middleware/security.js.map +1 -1
  4. package/dist/models/access.d.ts +21 -66
  5. package/dist/models/access.d.ts.map +1 -1
  6. package/dist/models/access.js +10 -26
  7. package/dist/models/access.js.map +1 -1
  8. package/dist/models/agenda.d.ts +4 -2
  9. package/dist/models/agenda.d.ts.map +1 -1
  10. package/dist/models/announcement.d.ts +4 -3
  11. package/dist/models/announcement.d.ts.map +1 -1
  12. package/dist/models/announcement.js +2 -3
  13. package/dist/models/announcement.js.map +1 -1
  14. package/dist/models/assignment.d.ts +40 -33
  15. package/dist/models/assignment.d.ts.map +1 -1
  16. package/dist/models/auth.d.ts +2 -4
  17. package/dist/models/auth.d.ts.map +1 -1
  18. package/dist/models/auth.js +2 -3
  19. package/dist/models/auth.js.map +1 -1
  20. package/dist/models/class.d.ts +34 -6
  21. package/dist/models/class.d.ts.map +1 -1
  22. package/dist/models/class.js +15 -2
  23. package/dist/models/class.js.map +1 -1
  24. package/dist/models/cloudStorage.d.ts +153 -0
  25. package/dist/models/cloudStorage.d.ts.map +1 -0
  26. package/dist/models/cloudStorage.js +295 -0
  27. package/dist/models/cloudStorage.js.map +1 -0
  28. package/dist/models/comment.d.ts +0 -24
  29. package/dist/models/comment.d.ts.map +1 -1
  30. package/dist/models/comment.js +2 -6
  31. package/dist/models/comment.js.map +1 -1
  32. package/dist/models/conversation.d.ts +22 -22
  33. package/dist/models/department.d.ts +154 -0
  34. package/dist/models/department.d.ts.map +1 -0
  35. package/dist/models/department.js +135 -0
  36. package/dist/models/department.js.map +1 -0
  37. package/dist/models/event.d.ts +10 -4
  38. package/dist/models/event.d.ts.map +1 -1
  39. package/dist/models/event.js +2 -5
  40. package/dist/models/event.js.map +1 -1
  41. package/dist/models/file.d.ts +52 -36
  42. package/dist/models/file.d.ts.map +1 -1
  43. package/dist/models/file.js +4 -42
  44. package/dist/models/file.js.map +1 -1
  45. package/dist/models/folder.d.ts +47 -0
  46. package/dist/models/folder.d.ts.map +1 -1
  47. package/dist/models/labChat.d.ts +11 -9
  48. package/dist/models/labChat.d.ts.map +1 -1
  49. package/dist/models/message.d.ts +46 -12
  50. package/dist/models/message.d.ts.map +1 -1
  51. package/dist/models/message.js +19 -10
  52. package/dist/models/message.js.map +1 -1
  53. package/dist/models/newtonChat.d.ts +2 -1
  54. package/dist/models/newtonChat.d.ts.map +1 -1
  55. package/dist/models/school.d.ts +45 -12
  56. package/dist/models/school.d.ts.map +1 -1
  57. package/dist/models/school.js +19 -2
  58. package/dist/models/school.js.map +1 -1
  59. package/dist/models/section.d.ts +2 -1
  60. package/dist/models/section.d.ts.map +1 -1
  61. package/dist/models/tag.d.ts +117 -0
  62. package/dist/models/tag.d.ts.map +1 -0
  63. package/dist/models/tag.js +113 -0
  64. package/dist/models/tag.js.map +1 -0
  65. package/dist/models/worksheet.d.ts +3 -0
  66. package/dist/models/worksheet.d.ts.map +1 -1
  67. package/dist/pipelines/aiLabChatContract.d.ts +8 -8
  68. package/dist/routers/_app.d.ts +6704 -5222
  69. package/dist/routers/_app.d.ts.map +1 -1
  70. package/dist/routers/_app.js +8 -2
  71. package/dist/routers/_app.js.map +1 -1
  72. package/dist/routers/agenda.d.ts +4 -2
  73. package/dist/routers/agenda.d.ts.map +1 -1
  74. package/dist/routers/announcement.d.ts.map +1 -1
  75. package/dist/routers/announcement.js +3 -5
  76. package/dist/routers/announcement.js.map +1 -1
  77. package/dist/routers/assignment.d.ts +49 -40
  78. package/dist/routers/assignment.d.ts.map +1 -1
  79. package/dist/routers/assignment.js +2 -3
  80. package/dist/routers/assignment.js.map +1 -1
  81. package/dist/routers/class.d.ts +92 -19
  82. package/dist/routers/class.d.ts.map +1 -1
  83. package/dist/routers/class.js +5 -2
  84. package/dist/routers/class.js.map +1 -1
  85. package/dist/routers/conversation.d.ts +5 -5
  86. package/dist/routers/department.d.ts +293 -0
  87. package/dist/routers/department.d.ts.map +1 -0
  88. package/dist/routers/department.js +93 -0
  89. package/dist/routers/department.js.map +1 -0
  90. package/dist/routers/event.d.ts +4 -3
  91. package/dist/routers/event.d.ts.map +1 -1
  92. package/dist/routers/file.d.ts +10 -8
  93. package/dist/routers/file.d.ts.map +1 -1
  94. package/dist/routers/file.js +26 -17
  95. package/dist/routers/file.js.map +1 -1
  96. package/dist/routers/folder.d.ts +163 -186
  97. package/dist/routers/folder.d.ts.map +1 -1
  98. package/dist/routers/folder.js +102 -88
  99. package/dist/routers/folder.js.map +1 -1
  100. package/dist/routers/labChat.d.ts +13 -4
  101. package/dist/routers/labChat.d.ts.map +1 -1
  102. package/dist/routers/message.d.ts +20 -2
  103. package/dist/routers/message.d.ts.map +1 -1
  104. package/dist/routers/newtonChat.d.ts +10 -1
  105. package/dist/routers/newtonChat.d.ts.map +1 -1
  106. package/dist/routers/permissions.d.ts +120 -0
  107. package/dist/routers/permissions.d.ts.map +1 -0
  108. package/dist/routers/permissions.js +50 -0
  109. package/dist/routers/permissions.js.map +1 -0
  110. package/dist/routers/school.d.ts +160 -17
  111. package/dist/routers/school.d.ts.map +1 -1
  112. package/dist/routers/school.js +46 -3
  113. package/dist/routers/school.js.map +1 -1
  114. package/dist/routers/tag.d.ts +119 -0
  115. package/dist/routers/tag.d.ts.map +1 -0
  116. package/dist/routers/tag.js +52 -0
  117. package/dist/routers/tag.js.map +1 -0
  118. package/dist/routers/worksheet.d.ts +1 -0
  119. package/dist/routers/worksheet.d.ts.map +1 -1
  120. package/dist/seedDatabase.d.ts +0 -1
  121. package/dist/seedDatabase.d.ts.map +1 -1
  122. package/dist/services/agenda.d.ts +4 -2
  123. package/dist/services/agenda.d.ts.map +1 -1
  124. package/dist/services/assignment.d.ts +49 -40
  125. package/dist/services/assignment.d.ts.map +1 -1
  126. package/dist/services/class.d.ts +92 -19
  127. package/dist/services/class.d.ts.map +1 -1
  128. package/dist/services/class.js +92 -5
  129. package/dist/services/class.js.map +1 -1
  130. package/dist/services/conversation.d.ts +5 -5
  131. package/dist/services/department.d.ts +200 -0
  132. package/dist/services/department.d.ts.map +1 -0
  133. package/dist/services/department.js +368 -0
  134. package/dist/services/department.js.map +1 -0
  135. package/dist/services/event.d.ts +4 -3
  136. package/dist/services/event.d.ts.map +1 -1
  137. package/dist/services/file.d.ts +105 -3
  138. package/dist/services/file.d.ts.map +1 -1
  139. package/dist/services/file.js +167 -41
  140. package/dist/services/file.js.map +1 -1
  141. package/dist/services/folder.d.ts +220 -149
  142. package/dist/services/folder.d.ts.map +1 -1
  143. package/dist/services/folder.js +326 -196
  144. package/dist/services/folder.js.map +1 -1
  145. package/dist/services/labChat.d.ts +13 -4
  146. package/dist/services/labChat.d.ts.map +1 -1
  147. package/dist/services/labChat.js +4 -3
  148. package/dist/services/labChat.js.map +1 -1
  149. package/dist/services/message.d.ts +20 -2
  150. package/dist/services/message.d.ts.map +1 -1
  151. package/dist/services/message.js +7 -23
  152. package/dist/services/message.js.map +1 -1
  153. package/dist/services/newtonChat.d.ts +9 -0
  154. package/dist/services/newtonChat.d.ts.map +1 -1
  155. package/dist/services/newtonChat.js +4 -3
  156. package/dist/services/newtonChat.js.map +1 -1
  157. package/dist/services/permissions.d.ts +188 -0
  158. package/dist/services/permissions.d.ts.map +1 -0
  159. package/dist/services/permissions.js +661 -0
  160. package/dist/services/permissions.js.map +1 -0
  161. package/dist/services/school.d.ts +142 -15
  162. package/dist/services/school.d.ts.map +1 -1
  163. package/dist/services/school.js +308 -54
  164. package/dist/services/school.js.map +1 -1
  165. package/dist/services/tag.d.ts +71 -0
  166. package/dist/services/tag.d.ts.map +1 -0
  167. package/dist/services/tag.js +178 -0
  168. package/dist/services/tag.js.map +1 -0
  169. package/dist/services/worksheet.d.ts +1 -0
  170. package/dist/services/worksheet.d.ts.map +1 -1
  171. package/dist/utils/aiUser.d.ts.map +1 -1
  172. package/dist/utils/aiUser.js +2 -3
  173. package/dist/utils/aiUser.js.map +1 -1
  174. package/package.json +1 -1
  175. package/prisma/migrations/20260509220000_institution_overhaul/migration.sql +184 -0
  176. package/prisma/migrations/20260510170000_add_folder_permissions/migration.sql +93 -0
  177. package/prisma/schema.prisma +193 -35
  178. package/src/middleware/security.ts +1 -1
  179. package/src/models/access.ts +8 -24
  180. package/src/models/announcement.ts +0 -1
  181. package/src/models/auth.ts +0 -1
  182. package/src/models/class.ts +13 -0
  183. package/src/models/cloudStorage.ts +327 -0
  184. package/src/models/comment.ts +0 -4
  185. package/src/models/department.ts +159 -0
  186. package/src/models/event.ts +0 -3
  187. package/src/models/file.ts +2 -40
  188. package/src/models/message.ts +19 -5
  189. package/src/models/school.ts +26 -0
  190. package/src/models/tag.ts +140 -0
  191. package/src/routers/_app.ts +6 -0
  192. package/src/routers/announcement.ts +1 -3
  193. package/src/routers/assignment.ts +0 -1
  194. package/src/routers/class.ts +3 -0
  195. package/src/routers/department.ts +174 -0
  196. package/src/routers/file.ts +29 -26
  197. package/src/routers/folder.ts +127 -118
  198. package/src/routers/permissions.ts +71 -0
  199. package/src/routers/school.ts +83 -0
  200. package/src/routers/tag.ts +78 -0
  201. package/src/services/class.ts +109 -4
  202. package/src/services/department.ts +478 -0
  203. package/src/services/file.ts +172 -43
  204. package/src/services/folder.ts +399 -237
  205. package/src/services/labChat.ts +2 -1
  206. package/src/services/message.ts +5 -21
  207. package/src/services/newtonChat.ts +2 -1
  208. package/src/services/permissions.ts +778 -0
  209. package/src/services/school.ts +369 -57
  210. package/src/services/tag.ts +229 -0
  211. package/src/utils/aiUser.ts +0 -1
  212. package/tests/unit/services/permissions.test.ts +463 -0
@@ -29,8 +29,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
29
29
  type: import(".prisma/client").$Enums.AssignmentType;
30
30
  id: string;
31
31
  createdAt: Date | null;
32
- modifiedAt: Date | null;
33
32
  classId: string;
33
+ modifiedAt: Date | null;
34
34
  title: string;
35
35
  instructions: string;
36
36
  dueDate: Date;
@@ -73,8 +73,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
73
73
  type: import(".prisma/client").$Enums.AssignmentType;
74
74
  id: string;
75
75
  createdAt: Date | null;
76
- modifiedAt: Date | null;
77
76
  classId: string;
77
+ modifiedAt: Date | null;
78
78
  title: string;
79
79
  instructions: string;
80
80
  dueDate: Date;
@@ -168,8 +168,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
168
168
  type: import(".prisma/client").$Enums.AssignmentType;
169
169
  id: string;
170
170
  createdAt: Date | null;
171
- modifiedAt: Date | null;
172
171
  classId: string;
172
+ modifiedAt: Date | null;
173
173
  title: string;
174
174
  instructions: string;
175
175
  dueDate: Date;
@@ -233,6 +233,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
233
233
  color: string | null;
234
234
  section: string;
235
235
  syllabus: string | null;
236
+ departmentId: string | null;
236
237
  };
237
238
  section: {
238
239
  name: string;
@@ -260,7 +261,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
260
261
  email: string;
261
262
  password: string;
262
263
  verified: boolean;
263
- role: import(".prisma/client").$Enums.UserRole;
264
264
  schoolId: string | null;
265
265
  };
266
266
  attachments: {
@@ -277,6 +277,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
277
277
  name: string;
278
278
  id: string;
279
279
  userId: string | null;
280
+ folderId: string | null;
280
281
  size: number | null;
281
282
  uploadedAt: Date | null;
282
283
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -293,7 +294,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
293
294
  submissionId: string | null;
294
295
  annotationId: string | null;
295
296
  classDraftId: string | null;
296
- folderId: string | null;
297
297
  conversationId: string | null;
298
298
  messageId: string | null;
299
299
  announcementId: string | null;
@@ -375,8 +375,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
375
375
  type: import(".prisma/client").$Enums.AssignmentType;
376
376
  id: string;
377
377
  createdAt: Date | null;
378
- modifiedAt: Date | null;
379
378
  classId: string;
379
+ modifiedAt: Date | null;
380
380
  title: string;
381
381
  instructions: string;
382
382
  dueDate: Date;
@@ -416,6 +416,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
416
416
  color: string | null;
417
417
  section: string;
418
418
  syllabus: string | null;
419
+ departmentId: string | null;
419
420
  };
420
421
  markScheme: {
421
422
  id: string;
@@ -433,8 +434,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
433
434
  type: import(".prisma/client").$Enums.AssignmentType;
434
435
  id: string;
435
436
  createdAt: Date | null;
436
- modifiedAt: Date | null;
437
437
  classId: string;
438
+ modifiedAt: Date | null;
438
439
  title: string;
439
440
  instructions: string;
440
441
  dueDate: Date;
@@ -461,6 +462,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
461
462
  name: string;
462
463
  id: string;
463
464
  userId: string | null;
465
+ folderId: string | null;
464
466
  size: number | null;
465
467
  uploadedAt: Date | null;
466
468
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -477,7 +479,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
477
479
  submissionId: string | null;
478
480
  annotationId: string | null;
479
481
  classDraftId: string | null;
480
- folderId: string | null;
481
482
  conversationId: string | null;
482
483
  messageId: string | null;
483
484
  announcementId: string | null;
@@ -489,6 +490,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
489
490
  name: string;
490
491
  id: string;
491
492
  userId: string | null;
493
+ folderId: string | null;
492
494
  size: number | null;
493
495
  uploadedAt: Date | null;
494
496
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -505,7 +507,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
505
507
  submissionId: string | null;
506
508
  annotationId: string | null;
507
509
  classDraftId: string | null;
508
- folderId: string | null;
509
510
  conversationId: string | null;
510
511
  messageId: string | null;
511
512
  announcementId: string | null;
@@ -550,6 +551,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
550
551
  color: string | null;
551
552
  section: string;
552
553
  syllabus: string | null;
554
+ departmentId: string | null;
553
555
  };
554
556
  markScheme: {
555
557
  id: string;
@@ -567,8 +569,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
567
569
  type: import(".prisma/client").$Enums.AssignmentType;
568
570
  id: string;
569
571
  createdAt: Date | null;
570
- modifiedAt: Date | null;
571
572
  classId: string;
573
+ modifiedAt: Date | null;
572
574
  title: string;
573
575
  instructions: string;
574
576
  dueDate: Date;
@@ -595,6 +597,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
595
597
  name: string;
596
598
  id: string;
597
599
  userId: string | null;
600
+ folderId: string | null;
598
601
  size: number | null;
599
602
  uploadedAt: Date | null;
600
603
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -611,7 +614,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
611
614
  submissionId: string | null;
612
615
  annotationId: string | null;
613
616
  classDraftId: string | null;
614
- folderId: string | null;
615
617
  conversationId: string | null;
616
618
  messageId: string | null;
617
619
  announcementId: string | null;
@@ -623,6 +625,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
623
625
  name: string;
624
626
  id: string;
625
627
  userId: string | null;
628
+ folderId: string | null;
626
629
  size: number | null;
627
630
  uploadedAt: Date | null;
628
631
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -639,7 +642,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
639
642
  submissionId: string | null;
640
643
  annotationId: string | null;
641
644
  classDraftId: string | null;
642
- folderId: string | null;
643
645
  conversationId: string | null;
644
646
  messageId: string | null;
645
647
  announcementId: string | null;
@@ -705,6 +707,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
705
707
  color: string | null;
706
708
  section: string;
707
709
  syllabus: string | null;
710
+ departmentId: string | null;
708
711
  };
709
712
  markScheme: {
710
713
  id: string;
@@ -718,8 +721,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
718
721
  type: import(".prisma/client").$Enums.AssignmentType;
719
722
  id: string;
720
723
  createdAt: Date | null;
721
- modifiedAt: Date | null;
722
724
  classId: string;
725
+ modifiedAt: Date | null;
723
726
  title: string;
724
727
  instructions: string;
725
728
  dueDate: Date;
@@ -746,6 +749,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
746
749
  name: string;
747
750
  id: string;
748
751
  userId: string | null;
752
+ folderId: string | null;
749
753
  size: number | null;
750
754
  uploadedAt: Date | null;
751
755
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -762,7 +766,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
762
766
  submissionId: string | null;
763
767
  annotationId: string | null;
764
768
  classDraftId: string | null;
765
- folderId: string | null;
766
769
  conversationId: string | null;
767
770
  messageId: string | null;
768
771
  announcementId: string | null;
@@ -808,6 +811,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
808
811
  color: string | null;
809
812
  section: string;
810
813
  syllabus: string | null;
814
+ departmentId: string | null;
811
815
  };
812
816
  markScheme: {
813
817
  id: string;
@@ -821,8 +825,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
821
825
  type: import(".prisma/client").$Enums.AssignmentType;
822
826
  id: string;
823
827
  createdAt: Date | null;
824
- modifiedAt: Date | null;
825
828
  classId: string;
829
+ modifiedAt: Date | null;
826
830
  title: string;
827
831
  instructions: string;
828
832
  dueDate: Date;
@@ -850,6 +854,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
850
854
  name: string;
851
855
  id: string;
852
856
  userId: string | null;
857
+ folderId: string | null;
853
858
  size: number | null;
854
859
  uploadedAt: Date | null;
855
860
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -866,7 +871,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
866
871
  submissionId: string | null;
867
872
  annotationId: string | null;
868
873
  classDraftId: string | null;
869
- folderId: string | null;
870
874
  conversationId: string | null;
871
875
  messageId: string | null;
872
876
  announcementId: string | null;
@@ -878,6 +882,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
878
882
  name: string;
879
883
  id: string;
880
884
  userId: string | null;
885
+ folderId: string | null;
881
886
  size: number | null;
882
887
  uploadedAt: Date | null;
883
888
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -894,7 +899,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
894
899
  submissionId: string | null;
895
900
  annotationId: string | null;
896
901
  classDraftId: string | null;
897
- folderId: string | null;
898
902
  conversationId: string | null;
899
903
  messageId: string | null;
900
904
  announcementId: string | null;
@@ -1182,6 +1186,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1182
1186
  color: string | null;
1183
1187
  section: string;
1184
1188
  syllabus: string | null;
1189
+ departmentId: string | null;
1185
1190
  };
1186
1191
  markScheme: {
1187
1192
  id: string;
@@ -1195,8 +1200,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1195
1200
  type: import(".prisma/client").$Enums.AssignmentType;
1196
1201
  id: string;
1197
1202
  createdAt: Date | null;
1198
- modifiedAt: Date | null;
1199
1203
  classId: string;
1204
+ modifiedAt: Date | null;
1200
1205
  title: string;
1201
1206
  instructions: string;
1202
1207
  dueDate: Date;
@@ -1224,6 +1229,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1224
1229
  name: string;
1225
1230
  id: string;
1226
1231
  userId: string | null;
1232
+ folderId: string | null;
1227
1233
  size: number | null;
1228
1234
  uploadedAt: Date | null;
1229
1235
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -1240,7 +1246,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1240
1246
  submissionId: string | null;
1241
1247
  annotationId: string | null;
1242
1248
  classDraftId: string | null;
1243
- folderId: string | null;
1244
1249
  conversationId: string | null;
1245
1250
  messageId: string | null;
1246
1251
  announcementId: string | null;
@@ -1252,6 +1257,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1252
1257
  name: string;
1253
1258
  id: string;
1254
1259
  userId: string | null;
1260
+ folderId: string | null;
1255
1261
  size: number | null;
1256
1262
  uploadedAt: Date | null;
1257
1263
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -1268,7 +1274,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1268
1274
  submissionId: string | null;
1269
1275
  annotationId: string | null;
1270
1276
  classDraftId: string | null;
1271
- folderId: string | null;
1272
1277
  conversationId: string | null;
1273
1278
  messageId: string | null;
1274
1279
  announcementId: string | null;
@@ -1281,6 +1286,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1281
1286
  name: string;
1282
1287
  id: string;
1283
1288
  userId: string | null;
1289
+ folderId: string | null;
1284
1290
  size: number | null;
1285
1291
  uploadedAt: Date | null;
1286
1292
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -1297,7 +1303,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1297
1303
  submissionId: string | null;
1298
1304
  annotationId: string | null;
1299
1305
  classDraftId: string | null;
1300
- folderId: string | null;
1301
1306
  conversationId: string | null;
1302
1307
  messageId: string | null;
1303
1308
  announcementId: string | null;
@@ -1309,6 +1314,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1309
1314
  name: string;
1310
1315
  id: string;
1311
1316
  userId: string | null;
1317
+ folderId: string | null;
1312
1318
  size: number | null;
1313
1319
  uploadedAt: Date | null;
1314
1320
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -1325,7 +1331,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1325
1331
  submissionId: string | null;
1326
1332
  annotationId: string | null;
1327
1333
  classDraftId: string | null;
1328
- folderId: string | null;
1329
1334
  conversationId: string | null;
1330
1335
  messageId: string | null;
1331
1336
  announcementId: string | null;
@@ -1392,8 +1397,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1392
1397
  type: import(".prisma/client").$Enums.AssignmentType;
1393
1398
  id: string;
1394
1399
  createdAt: Date | null;
1395
- modifiedAt: Date | null;
1396
1400
  classId: string;
1401
+ modifiedAt: Date | null;
1397
1402
  title: string;
1398
1403
  instructions: string;
1399
1404
  dueDate: Date;
@@ -1449,8 +1454,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1449
1454
  type: import(".prisma/client").$Enums.AssignmentType;
1450
1455
  id: string;
1451
1456
  createdAt: Date | null;
1452
- modifiedAt: Date | null;
1453
1457
  classId: string;
1458
+ modifiedAt: Date | null;
1454
1459
  title: string;
1455
1460
  instructions: string;
1456
1461
  dueDate: Date;
@@ -1525,8 +1530,10 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1525
1530
  order: number | null;
1526
1531
  } | null;
1527
1532
  markScheme: {
1533
+ name: string | null;
1528
1534
  id: string;
1529
- classId: string;
1535
+ departmentId: string | null;
1536
+ classId: string | null;
1530
1537
  structured: string;
1531
1538
  } | null;
1532
1539
  teacher: {
@@ -1535,7 +1542,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1535
1542
  email: string;
1536
1543
  password: string;
1537
1544
  verified: boolean;
1538
- role: import(".prisma/client").$Enums.UserRole;
1539
1545
  schoolId: string | null;
1540
1546
  };
1541
1547
  attachments: {
@@ -1544,6 +1550,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1544
1550
  name: string;
1545
1551
  id: string;
1546
1552
  userId: string | null;
1553
+ folderId: string | null;
1547
1554
  size: number | null;
1548
1555
  uploadedAt: Date | null;
1549
1556
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -1560,7 +1567,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1560
1567
  submissionId: string | null;
1561
1568
  annotationId: string | null;
1562
1569
  classDraftId: string | null;
1563
- folderId: string | null;
1564
1570
  conversationId: string | null;
1565
1571
  messageId: string | null;
1566
1572
  announcementId: string | null;
@@ -1581,8 +1587,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1581
1587
  type: import(".prisma/client").$Enums.AssignmentType;
1582
1588
  id: string;
1583
1589
  createdAt: Date | null;
1584
- modifiedAt: Date | null;
1585
1590
  classId: string;
1591
+ modifiedAt: Date | null;
1586
1592
  title: string;
1587
1593
  instructions: string;
1588
1594
  dueDate: Date;
@@ -1620,8 +1626,10 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1620
1626
  order: number | null;
1621
1627
  } | null;
1622
1628
  markScheme: {
1629
+ name: string | null;
1623
1630
  id: string;
1624
- classId: string;
1631
+ departmentId: string | null;
1632
+ classId: string | null;
1625
1633
  structured: string;
1626
1634
  } | null;
1627
1635
  teacher: {
@@ -1630,7 +1638,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1630
1638
  email: string;
1631
1639
  password: string;
1632
1640
  verified: boolean;
1633
- role: import(".prisma/client").$Enums.UserRole;
1634
1641
  schoolId: string | null;
1635
1642
  };
1636
1643
  attachments: {
@@ -1639,6 +1646,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1639
1646
  name: string;
1640
1647
  id: string;
1641
1648
  userId: string | null;
1649
+ folderId: string | null;
1642
1650
  size: number | null;
1643
1651
  uploadedAt: Date | null;
1644
1652
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -1655,7 +1663,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1655
1663
  submissionId: string | null;
1656
1664
  annotationId: string | null;
1657
1665
  classDraftId: string | null;
1658
- folderId: string | null;
1659
1666
  conversationId: string | null;
1660
1667
  messageId: string | null;
1661
1668
  announcementId: string | null;
@@ -1676,8 +1683,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1676
1683
  type: import(".prisma/client").$Enums.AssignmentType;
1677
1684
  id: string;
1678
1685
  createdAt: Date | null;
1679
- modifiedAt: Date | null;
1680
1686
  classId: string;
1687
+ modifiedAt: Date | null;
1681
1688
  title: string;
1682
1689
  instructions: string;
1683
1690
  dueDate: Date;
@@ -1716,8 +1723,10 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1716
1723
  order: number | null;
1717
1724
  } | null;
1718
1725
  gradingBoundary: {
1726
+ name: string | null;
1719
1727
  id: string;
1720
- classId: string;
1728
+ departmentId: string | null;
1729
+ classId: string | null;
1721
1730
  structured: string;
1722
1731
  } | null;
1723
1732
  teacher: {
@@ -1726,7 +1735,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1726
1735
  email: string;
1727
1736
  password: string;
1728
1737
  verified: boolean;
1729
- role: import(".prisma/client").$Enums.UserRole;
1730
1738
  schoolId: string | null;
1731
1739
  };
1732
1740
  attachments: {
@@ -1735,6 +1743,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1735
1743
  name: string;
1736
1744
  id: string;
1737
1745
  userId: string | null;
1746
+ folderId: string | null;
1738
1747
  size: number | null;
1739
1748
  uploadedAt: Date | null;
1740
1749
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -1751,7 +1760,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1751
1760
  submissionId: string | null;
1752
1761
  annotationId: string | null;
1753
1762
  classDraftId: string | null;
1754
- folderId: string | null;
1755
1763
  conversationId: string | null;
1756
1764
  messageId: string | null;
1757
1765
  announcementId: string | null;
@@ -1772,8 +1780,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1772
1780
  type: import(".prisma/client").$Enums.AssignmentType;
1773
1781
  id: string;
1774
1782
  createdAt: Date | null;
1775
- modifiedAt: Date | null;
1776
1783
  classId: string;
1784
+ modifiedAt: Date | null;
1777
1785
  title: string;
1778
1786
  instructions: string;
1779
1787
  dueDate: Date;
@@ -1811,8 +1819,10 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1811
1819
  order: number | null;
1812
1820
  } | null;
1813
1821
  gradingBoundary: {
1822
+ name: string | null;
1814
1823
  id: string;
1815
- classId: string;
1824
+ departmentId: string | null;
1825
+ classId: string | null;
1816
1826
  structured: string;
1817
1827
  } | null;
1818
1828
  teacher: {
@@ -1821,7 +1831,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1821
1831
  email: string;
1822
1832
  password: string;
1823
1833
  verified: boolean;
1824
- role: import(".prisma/client").$Enums.UserRole;
1825
1834
  schoolId: string | null;
1826
1835
  };
1827
1836
  attachments: {
@@ -1830,6 +1839,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1830
1839
  name: string;
1831
1840
  id: string;
1832
1841
  userId: string | null;
1842
+ folderId: string | null;
1833
1843
  size: number | null;
1834
1844
  uploadedAt: Date | null;
1835
1845
  uploadStatus: import(".prisma/client").$Enums.UploadStatus;
@@ -1846,7 +1856,6 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1846
1856
  submissionId: string | null;
1847
1857
  annotationId: string | null;
1848
1858
  classDraftId: string | null;
1849
- folderId: string | null;
1850
1859
  conversationId: string | null;
1851
1860
  messageId: string | null;
1852
1861
  announcementId: string | null;
@@ -1867,8 +1876,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1867
1876
  type: import(".prisma/client").$Enums.AssignmentType;
1868
1877
  id: string;
1869
1878
  createdAt: Date | null;
1870
- modifiedAt: Date | null;
1871
1879
  classId: string;
1880
+ modifiedAt: Date | null;
1872
1881
  title: string;
1873
1882
  instructions: string;
1874
1883
  dueDate: Date;
@@ -1 +1 @@
1
- {"version":3,"file":"assignment.d.ts","sourceRoot":"/","sources":["routers/assignment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAA2B,KAAK,gBAAgB,EAAgE,MAAM,sBAAsB,CAAC;AAmPpJ,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyuB3B,CAAC"}
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="994fd4a0-6432-5dd6-a9fe-d32f58383f04")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="606c66ff-93fe-5eb7-8f2a-86e925dc0ce9")}catch(e){}}();
3
3
  import { z } from "zod";
4
4
  import { createTRPCRouter, protectedProcedure, protectedClassMemberProcedure, protectedTeacherProcedure } from "../trpc.js";
5
5
  import { TRPCError } from "@trpc/server";
@@ -582,7 +582,6 @@ export const assignmentRouter = createTRPCRouter({
582
582
  school: {
583
583
  include: {
584
584
  users: {
585
- where: { role: "ADMIN" },
586
585
  select: { id: true },
587
586
  },
588
587
  memberships: {
@@ -804,4 +803,4 @@ export const assignmentRouter = createTRPCRouter({
804
803
  }),
805
804
  });
806
805
  //# sourceMappingURL=assignment.js.map
807
- //# debugId=994fd4a0-6432-5dd6-a9fe-d32f58383f04
806
+ //# debugId=606c66ff-93fe-5eb7-8f2a-86e925dc0ce9