@studious-lms/server 1.4.7 → 1.5.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 (201) hide show
  1. package/.github/workflows/npm.yml +28 -0
  2. package/dist/lib/config/cors.d.ts.map +1 -1
  3. package/dist/lib/config/cors.js +2 -4
  4. package/dist/lib/config/cors.js.map +1 -1
  5. package/dist/lib/fileUpload.d.ts.map +1 -1
  6. package/dist/lib/fileUpload.js +4 -5
  7. package/dist/lib/fileUpload.js.map +1 -1
  8. package/dist/models/assignment.d.ts +32 -0
  9. package/dist/models/assignment.d.ts.map +1 -1
  10. package/dist/models/assignment.js +111 -2
  11. package/dist/models/assignment.js.map +1 -1
  12. package/dist/models/auth.d.ts +1 -0
  13. package/dist/models/auth.d.ts.map +1 -1
  14. package/dist/models/auth.js +3 -2
  15. package/dist/models/auth.js.map +1 -1
  16. package/dist/models/comment.d.ts +0 -5
  17. package/dist/models/comment.d.ts.map +1 -1
  18. package/dist/models/conversation.d.ts +2 -1
  19. package/dist/models/conversation.d.ts.map +1 -1
  20. package/dist/models/labChat.d.ts +2 -1
  21. package/dist/models/labChat.d.ts.map +1 -1
  22. package/dist/models/message.d.ts +6 -3
  23. package/dist/models/message.d.ts.map +1 -1
  24. package/dist/models/school.d.ts +0 -22
  25. package/dist/models/school.d.ts.map +1 -1
  26. package/dist/models/school.js +2 -14
  27. package/dist/models/school.js.map +1 -1
  28. package/dist/models/worksheet.d.ts +174 -95
  29. package/dist/models/worksheet.d.ts.map +1 -1
  30. package/dist/models/worksheet.js +38 -5
  31. package/dist/models/worksheet.js.map +1 -1
  32. package/dist/pipelines/aiLabChat.js +6 -6
  33. package/dist/pipelines/aiLabChat.js.map +1 -1
  34. package/dist/pipelines/gradeWorksheet.d.ts +5 -3
  35. package/dist/pipelines/gradeWorksheet.d.ts.map +1 -1
  36. package/dist/pipelines/gradeWorksheet.js +60 -24
  37. package/dist/pipelines/gradeWorksheet.js.map +1 -1
  38. package/dist/pipelines/pdfToWorksheet.d.ts +3 -0
  39. package/dist/pipelines/pdfToWorksheet.d.ts.map +1 -1
  40. package/dist/pipelines/pdfToWorksheet.js +65 -24
  41. package/dist/pipelines/pdfToWorksheet.js.map +1 -1
  42. package/dist/routers/_app.d.ts +232 -48
  43. package/dist/routers/_app.d.ts.map +1 -1
  44. package/dist/routers/announcement.d.ts +0 -4
  45. package/dist/routers/announcement.d.ts.map +1 -1
  46. package/dist/routers/assignment.d.ts +35 -8
  47. package/dist/routers/assignment.d.ts.map +1 -1
  48. package/dist/routers/assignment.js +10 -3
  49. package/dist/routers/assignment.js.map +1 -1
  50. package/dist/routers/auth.d.ts +1 -0
  51. package/dist/routers/auth.d.ts.map +1 -1
  52. package/dist/routers/class.d.ts +19 -0
  53. package/dist/routers/class.d.ts.map +1 -1
  54. package/dist/routers/comment.d.ts +0 -3
  55. package/dist/routers/comment.d.ts.map +1 -1
  56. package/dist/routers/conversation.d.ts +2 -1
  57. package/dist/routers/conversation.d.ts.map +1 -1
  58. package/dist/routers/labChat.d.ts +2 -1
  59. package/dist/routers/labChat.d.ts.map +1 -1
  60. package/dist/routers/school.d.ts +6 -0
  61. package/dist/routers/school.d.ts.map +1 -1
  62. package/dist/routers/school.js +7 -2
  63. package/dist/routers/school.js.map +1 -1
  64. package/dist/routers/worksheet.d.ts +51 -7
  65. package/dist/routers/worksheet.d.ts.map +1 -1
  66. package/dist/routers/worksheet.js +10 -3
  67. package/dist/routers/worksheet.js.map +1 -1
  68. package/dist/services/assignment.d.ts +30 -0
  69. package/dist/services/assignment.d.ts.map +1 -1
  70. package/dist/services/assignment.js +37 -3
  71. package/dist/services/assignment.js.map +1 -1
  72. package/dist/services/auth.d.ts +1 -0
  73. package/dist/services/auth.d.ts.map +1 -1
  74. package/dist/services/class.d.ts +19 -0
  75. package/dist/services/class.d.ts.map +1 -1
  76. package/dist/services/class.js +37 -19
  77. package/dist/services/class.js.map +1 -1
  78. package/dist/services/comment.d.ts +0 -3
  79. package/dist/services/comment.d.ts.map +1 -1
  80. package/dist/services/conversation.d.ts +2 -1
  81. package/dist/services/conversation.d.ts.map +1 -1
  82. package/dist/services/labChat.d.ts +2 -1
  83. package/dist/services/labChat.d.ts.map +1 -1
  84. package/dist/services/labChat.js +6 -6
  85. package/dist/services/labChat.js.map +1 -1
  86. package/dist/services/message.d.ts.map +1 -1
  87. package/dist/services/message.js +14 -2
  88. package/dist/services/message.js.map +1 -1
  89. package/dist/services/school.d.ts +6 -0
  90. package/dist/services/school.d.ts.map +1 -1
  91. package/dist/services/school.js +71 -6
  92. package/dist/services/school.js.map +1 -1
  93. package/dist/services/worksheet.d.ts +46 -7
  94. package/dist/services/worksheet.d.ts.map +1 -1
  95. package/dist/services/worksheet.js +52 -20
  96. package/dist/services/worksheet.js.map +1 -1
  97. package/dist/utils/generateUsername.d.ts +8 -0
  98. package/dist/utils/generateUsername.d.ts.map +1 -0
  99. package/dist/utils/generateUsername.js +103 -0
  100. package/dist/utils/generateUsername.js.map +1 -0
  101. package/dist/workers/connection.d.ts +3 -0
  102. package/dist/workers/connection.d.ts.map +1 -0
  103. package/dist/workers/connection.js +33 -0
  104. package/dist/workers/connection.js.map +1 -0
  105. package/dist/workers/index.d.ts +10 -0
  106. package/dist/workers/index.d.ts.map +1 -0
  107. package/dist/workers/index.js +53 -0
  108. package/dist/workers/index.js.map +1 -0
  109. package/dist/workers/processors/pdfToWorksheet.d.ts +9 -0
  110. package/dist/workers/processors/pdfToWorksheet.d.ts.map +1 -0
  111. package/dist/workers/processors/pdfToWorksheet.js +100 -0
  112. package/dist/workers/processors/pdfToWorksheet.js.map +1 -0
  113. package/dist/workers/queues.d.ts +69 -0
  114. package/dist/workers/queues.d.ts.map +1 -0
  115. package/dist/workers/queues.js +119 -0
  116. package/dist/workers/queues.js.map +1 -0
  117. package/package.json +4 -1
  118. package/prisma/migrations/20260504071500_school_memberships/migration.sql +1 -1
  119. package/prisma/migrations/20260506162500_consolidate_run_job_and_unify_job_status/migration.sql +166 -0
  120. package/prisma/schema.prisma +465 -387
  121. package/src/lib/config/cors.ts +0 -2
  122. package/src/lib/fileUpload.ts +2 -4
  123. package/src/models/assignment.ts +132 -0
  124. package/src/models/auth.ts +1 -0
  125. package/src/models/school.ts +0 -14
  126. package/src/models/worksheet.ts +56 -2
  127. package/src/pipelines/aiLabChat.ts +4 -4
  128. package/src/pipelines/gradeWorksheet.ts +63 -25
  129. package/src/pipelines/pdfToWorksheet.ts +68 -22
  130. package/src/routers/assignment.ts +19 -0
  131. package/src/routers/school.ts +5 -0
  132. package/src/routers/worksheet.ts +18 -0
  133. package/src/services/assignment.ts +47 -1
  134. package/src/services/class.ts +41 -17
  135. package/src/services/labChat.ts +4 -4
  136. package/src/services/message.ts +13 -0
  137. package/src/services/school.ts +89 -6
  138. package/src/services/worksheet.ts +62 -18
  139. package/src/utils/generateUsername.ts +108 -0
  140. package/src/workers/connection.ts +37 -0
  141. package/src/workers/index.ts +61 -0
  142. package/src/workers/processors/pdfToWorksheet.ts +119 -0
  143. package/src/workers/queues.ts +159 -0
  144. package/tests/{globalSetup.ts → integration/globalSetup.ts} +4 -4
  145. package/tests/{helpers.ts → integration/helpers.ts} +2 -2
  146. package/tests/{pipelines → integration/pipelines}/pdfToWorksheet.test.ts +55 -43
  147. package/tests/{routers → integration/routers}/attendance.test.ts +1 -1
  148. package/tests/{routers → integration/routers}/auth.test.ts +3 -3
  149. package/tests/{routers → integration/routers}/class.test.ts +3 -17
  150. package/tests/{routers → integration/routers}/conversation.test.ts +1 -1
  151. package/tests/{routers → integration/routers}/event.test.ts +1 -1
  152. package/tests/{routers → integration/routers}/message.test.ts +1 -1
  153. package/tests/{routers → integration/routers}/newtonChat.test.ts +1 -1
  154. package/tests/{routers → integration/routers}/studentProgress.test.ts +1 -1
  155. package/tests/{user.test.ts → integration/routers/user.test.ts} +2 -2
  156. package/tests/integration/routers/worksheet.test.ts +448 -0
  157. package/tests/{setup.ts → integration/setup.ts} +4 -4
  158. package/tests/{lib → unit/lib}/cors.test.ts +1 -1
  159. package/tests/{middleware → unit/middleware}/security.test.ts +1 -1
  160. package/tests/{pipelines → unit/pipelines}/aiLabChat.test.ts +1 -1
  161. package/tests/{lib → unit/pipelines}/aiLabChatContract.test.ts +1 -1
  162. package/tests/{utils/aiLabChatPrompt.test.ts → unit/pipelines/labChatPrompt.test.ts} +2 -2
  163. package/tests/{utils → unit/services}/studentProgress.test.ts +5 -5
  164. package/tests/{utils → unit/utils}/aiUser.test.ts +1 -1
  165. package/tests/{utils → unit/utils}/generateInviteCode.test.ts +1 -1
  166. package/tests/{utils → unit/utils}/inference.test.ts +6 -6
  167. package/tests/{utils → unit/utils}/logger.test.ts +1 -1
  168. package/tests/{utils → unit/utils}/prismaErrorHandler.test.ts +1 -1
  169. package/tests/{utils → unit/utils}/prismaWrapper.test.ts +1 -1
  170. package/vitest.config.ts +11 -3
  171. package/vitest.unit.config.ts +10 -10
  172. package/dist/lib/notificationHandler.d.ts +0 -25
  173. package/dist/lib/notificationHandler.d.ts.map +0 -1
  174. package/dist/lib/notificationHandler.js +0 -32
  175. package/dist/lib/notificationHandler.js.map +0 -1
  176. package/dist/server/pipelines/aiLabChat.d.ts +0 -21
  177. package/dist/server/pipelines/aiLabChat.d.ts.map +0 -1
  178. package/dist/server/pipelines/aiLabChat.js +0 -456
  179. package/dist/server/pipelines/aiLabChat.js.map +0 -1
  180. package/dist/server/pipelines/aiNewtonChat.d.ts +0 -30
  181. package/dist/server/pipelines/aiNewtonChat.d.ts.map +0 -1
  182. package/dist/server/pipelines/aiNewtonChat.js +0 -285
  183. package/dist/server/pipelines/aiNewtonChat.js.map +0 -1
  184. package/dist/server/pipelines/gradeWorksheet.d.ts +0 -30
  185. package/dist/server/pipelines/gradeWorksheet.d.ts.map +0 -1
  186. package/dist/server/pipelines/gradeWorksheet.js +0 -248
  187. package/dist/server/pipelines/gradeWorksheet.js.map +0 -1
  188. package/tests/routers/worksheet.test.ts +0 -194
  189. package/tests/startup.test.ts +0 -5
  190. package/tests/worksheet.test.ts +0 -181
  191. /package/tests/{routers → integration/routers}/agenda.test.ts +0 -0
  192. /package/tests/{routers → integration/routers}/announcement.test.ts +0 -0
  193. /package/tests/{routers → integration/routers}/assignment.test.ts +0 -0
  194. /package/tests/{routers → integration/routers}/comment.test.ts +0 -0
  195. /package/tests/{routers → integration/routers}/folder.test.ts +0 -0
  196. /package/tests/{routers → integration/routers}/labChat.test.ts +0 -0
  197. /package/tests/{routers → integration/routers}/marketing.test.ts +0 -0
  198. /package/tests/{routers → integration/routers}/notification.test.ts +0 -0
  199. /package/tests/{routers → integration/routers}/search.test.ts +0 -0
  200. /package/tests/{routers → integration/routers}/section.test.ts +0 -0
  201. /package/tests/{server → unit/middleware}/rateLimit.test.ts +0 -0
@@ -220,6 +220,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
220
220
  students?: string[] | undefined;
221
221
  };
222
222
  output: {
223
+ teachers: {
224
+ id: string;
225
+ username: string;
226
+ email: string;
227
+ password: string;
228
+ verified: boolean;
229
+ role: import(".prisma/client").$Enums.UserRole;
230
+ schoolId: string | null;
231
+ }[];
232
+ students: {
233
+ id: string;
234
+ username: string;
235
+ email: string;
236
+ password: string;
237
+ verified: boolean;
238
+ role: import(".prisma/client").$Enums.UserRole;
239
+ schoolId: string | null;
240
+ }[];
241
+ } & {
223
242
  name: string;
224
243
  id: string;
225
244
  schoolId: string | null;
@@ -1163,7 +1182,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1163
1182
  } | null;
1164
1183
  };
1165
1184
  } & {
1166
- status: import(".prisma/client").$Enums.GenerationStatus | null;
1167
1185
  id: string;
1168
1186
  createdAt: Date;
1169
1187
  assignmentId: string | null;
@@ -1195,7 +1213,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1195
1213
  } | null;
1196
1214
  };
1197
1215
  } & {
1198
- status: import(".prisma/client").$Enums.GenerationStatus | null;
1199
1216
  id: string;
1200
1217
  createdAt: Date;
1201
1218
  assignmentId: string | null;
@@ -1247,7 +1264,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1247
1264
  } | null;
1248
1265
  };
1249
1266
  } & {
1250
- status: import(".prisma/client").$Enums.GenerationStatus | null;
1251
1267
  id: string;
1252
1268
  createdAt: Date;
1253
1269
  assignmentId: string | null;
@@ -1260,7 +1276,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1260
1276
  studentQuestionProgressId: string | null;
1261
1277
  })[];
1262
1278
  } & {
1263
- status: import(".prisma/client").$Enums.GenerationStatus | null;
1264
1279
  id: string;
1265
1280
  createdAt: Date;
1266
1281
  assignmentId: string | null;
@@ -1494,6 +1509,41 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1494
1509
  };
1495
1510
  meta: object;
1496
1511
  }>;
1512
+ duplicateAssignment: import("@trpc/server").TRPCMutationProcedure<{
1513
+ input: {
1514
+ [x: string]: unknown;
1515
+ classId: string;
1516
+ assignmentId: string;
1517
+ title: string;
1518
+ };
1519
+ output: {
1520
+ type: import(".prisma/client").$Enums.AssignmentType;
1521
+ id: string;
1522
+ createdAt: Date | null;
1523
+ modifiedAt: Date | null;
1524
+ classId: string;
1525
+ title: string;
1526
+ instructions: string;
1527
+ dueDate: Date;
1528
+ teacherId: string;
1529
+ acceptFiles: boolean;
1530
+ acceptExtendedResponse: boolean;
1531
+ acceptWorksheet: boolean;
1532
+ gradeWithAI: boolean;
1533
+ aiPolicyLevel: number;
1534
+ sectionId: string | null;
1535
+ graded: boolean;
1536
+ maxGrade: number | null;
1537
+ weight: number;
1538
+ inProgress: boolean;
1539
+ template: boolean;
1540
+ eventId: string | null;
1541
+ markSchemeId: string | null;
1542
+ order: number | null;
1543
+ gradingBoundaryId: string | null;
1544
+ };
1545
+ meta: object;
1546
+ }>;
1497
1547
  update: import("@trpc/server").TRPCMutationProcedure<{
1498
1548
  input: {
1499
1549
  [x: string]: unknown;
@@ -2257,7 +2307,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2257
2307
  } | null;
2258
2308
  };
2259
2309
  } & {
2260
- status: import(".prisma/client").$Enums.GenerationStatus | null;
2261
2310
  id: string;
2262
2311
  createdAt: Date;
2263
2312
  assignmentId: string | null;
@@ -2270,7 +2319,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2270
2319
  studentQuestionProgressId: string | null;
2271
2320
  })[];
2272
2321
  } & {
2273
- status: import(".prisma/client").$Enums.GenerationStatus | null;
2274
2322
  id: string;
2275
2323
  createdAt: Date;
2276
2324
  assignmentId: string | null;
@@ -2315,7 +2363,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2315
2363
  } | null;
2316
2364
  };
2317
2365
  } & {
2318
- status: import(".prisma/client").$Enums.GenerationStatus | null;
2319
2366
  id: string;
2320
2367
  createdAt: Date;
2321
2368
  assignmentId: string | null;
@@ -2328,7 +2375,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2328
2375
  studentQuestionProgressId: string | null;
2329
2376
  })[];
2330
2377
  } & {
2331
- status: import(".prisma/client").$Enums.GenerationStatus | null;
2332
2378
  id: string;
2333
2379
  createdAt: Date;
2334
2380
  assignmentId: string | null;
@@ -2372,7 +2418,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2372
2418
  } | null;
2373
2419
  };
2374
2420
  } & {
2375
- status: import(".prisma/client").$Enums.GenerationStatus | null;
2376
2421
  id: string;
2377
2422
  createdAt: Date;
2378
2423
  assignmentId: string | null;
@@ -2385,7 +2430,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2385
2430
  studentQuestionProgressId: string | null;
2386
2431
  })[];
2387
2432
  } & {
2388
- status: import(".prisma/client").$Enums.GenerationStatus | null;
2389
2433
  id: string;
2390
2434
  createdAt: Date;
2391
2435
  assignmentId: string | null;
@@ -2431,7 +2475,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2431
2475
  } | null;
2432
2476
  };
2433
2477
  } & {
2434
- status: import(".prisma/client").$Enums.GenerationStatus | null;
2435
2478
  id: string;
2436
2479
  createdAt: Date;
2437
2480
  assignmentId: string | null;
@@ -2444,7 +2487,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2444
2487
  studentQuestionProgressId: string | null;
2445
2488
  })[];
2446
2489
  } & {
2447
- status: import(".prisma/client").$Enums.GenerationStatus | null;
2448
2490
  id: string;
2449
2491
  createdAt: Date;
2450
2492
  assignmentId: string | null;
@@ -3973,6 +4015,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3973
4015
  user: {
3974
4016
  id: string;
3975
4017
  username: string;
4018
+ email: string;
3976
4019
  profile: {
3977
4020
  location: string | null;
3978
4021
  displayName: string | null;
@@ -4785,13 +4828,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4785
4828
  } | null;
4786
4829
  };
4787
4830
  } & {
4788
- status: import(".prisma/client").$Enums.GenerationStatus | null;
4831
+ status: import(".prisma/client").$Enums.JobStatus | null;
4789
4832
  meta: import("@prisma/client/runtime/library.js").JsonValue | null;
4790
4833
  id: string;
4791
4834
  createdAt: Date;
4792
4835
  conversationId: string;
4793
4836
  content: string;
4794
4837
  senderId: string;
4838
+ runJobId: string | null;
4795
4839
  };
4796
4840
  unreadCount: number;
4797
4841
  unreadMentionCount: number;
@@ -5299,13 +5343,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5299
5343
  } | null;
5300
5344
  };
5301
5345
  } & {
5302
- status: import(".prisma/client").$Enums.GenerationStatus | null;
5346
+ status: import(".prisma/client").$Enums.JobStatus | null;
5303
5347
  meta: import("@prisma/client/runtime/library.js").JsonValue | null;
5304
5348
  id: string;
5305
5349
  createdAt: Date;
5306
5350
  conversationId: string;
5307
5351
  content: string;
5308
5352
  senderId: string;
5353
+ runJobId: string | null;
5309
5354
  };
5310
5355
  messageCount: number;
5311
5356
  }[];
@@ -5542,11 +5587,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5542
5587
  answer: string;
5543
5588
  }[];
5544
5589
  } & {
5590
+ status: import(".prisma/client").$Enums.JobStatus | null;
5545
5591
  name: string;
5546
5592
  id: string;
5547
5593
  createdAt: Date;
5548
5594
  updatedAt: Date;
5549
5595
  classId: string;
5596
+ runJobId: string | null;
5597
+ sourceUrl: string | null;
5550
5598
  };
5551
5599
  meta: object;
5552
5600
  }>;
@@ -5569,11 +5617,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5569
5617
  questions: {
5570
5618
  id: string;
5571
5619
  }[];
5620
+ status: import(".prisma/client").$Enums.JobStatus | null;
5572
5621
  name: string;
5573
5622
  id: string;
5574
5623
  createdAt: Date;
5575
5624
  updatedAt: Date;
5576
5625
  classId: string;
5626
+ runJobId: string | null;
5627
+ sourceUrl: string | null;
5577
5628
  }[];
5578
5629
  meta: object;
5579
5630
  }>;
@@ -5583,11 +5634,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5583
5634
  name?: string | undefined;
5584
5635
  };
5585
5636
  output: {
5637
+ status: import(".prisma/client").$Enums.JobStatus | null;
5586
5638
  name: string;
5587
5639
  id: string;
5588
5640
  createdAt: Date;
5589
5641
  updatedAt: Date;
5590
5642
  classId: string;
5643
+ runJobId: string | null;
5644
+ sourceUrl: string | null;
5591
5645
  };
5592
5646
  meta: object;
5593
5647
  }>;
@@ -5596,11 +5650,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5596
5650
  worksheetId: string;
5597
5651
  };
5598
5652
  output: {
5653
+ status: import(".prisma/client").$Enums.JobStatus | null;
5599
5654
  name: string;
5600
5655
  id: string;
5601
5656
  createdAt: Date;
5602
5657
  updatedAt: Date;
5603
5658
  classId: string;
5659
+ runJobId: string | null;
5660
+ sourceUrl: string | null;
5604
5661
  };
5605
5662
  meta: object;
5606
5663
  }>;
@@ -5611,11 +5668,33 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5611
5668
  name: string;
5612
5669
  };
5613
5670
  output: {
5671
+ status: import(".prisma/client").$Enums.JobStatus | null;
5672
+ name: string;
5673
+ id: string;
5674
+ createdAt: Date;
5675
+ updatedAt: Date;
5676
+ classId: string;
5677
+ runJobId: string | null;
5678
+ sourceUrl: string | null;
5679
+ };
5680
+ meta: object;
5681
+ }>;
5682
+ duplicateWorksheet: import("@trpc/server").TRPCMutationProcedure<{
5683
+ input: {
5684
+ [x: string]: unknown;
5685
+ classId: string;
5686
+ name: string;
5687
+ worksheetId: string;
5688
+ };
5689
+ output: {
5690
+ status: import(".prisma/client").$Enums.JobStatus | null;
5614
5691
  name: string;
5615
5692
  id: string;
5616
5693
  createdAt: Date;
5617
5694
  updatedAt: Date;
5618
5695
  classId: string;
5696
+ runJobId: string | null;
5697
+ sourceUrl: string | null;
5619
5698
  };
5620
5699
  meta: object;
5621
5700
  }>;
@@ -5626,11 +5705,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5626
5705
  url: string;
5627
5706
  };
5628
5707
  output: {
5708
+ status: import(".prisma/client").$Enums.JobStatus | null;
5629
5709
  name: string;
5630
5710
  id: string;
5631
5711
  createdAt: Date;
5632
5712
  updatedAt: Date;
5633
5713
  classId: string;
5714
+ runJobId: string | null;
5715
+ sourceUrl: string | null;
5634
5716
  };
5635
5717
  meta: object;
5636
5718
  }>;
@@ -5671,11 +5753,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5671
5753
  fileId: string;
5672
5754
  };
5673
5755
  output: {
5756
+ status: import(".prisma/client").$Enums.JobStatus | null;
5674
5757
  name: string;
5675
5758
  id: string;
5676
5759
  createdAt: Date;
5677
5760
  updatedAt: Date;
5678
5761
  classId: string;
5762
+ runJobId: string | null;
5763
+ sourceUrl: string | null;
5679
5764
  };
5680
5765
  meta: object;
5681
5766
  }>;
@@ -5773,7 +5858,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5773
5858
  id: string;
5774
5859
  }[];
5775
5860
  } & {
5776
- status: import(".prisma/client").$Enums.GenerationStatus | null;
5861
+ status: import(".prisma/client").$Enums.JobStatus | null;
5777
5862
  id: string;
5778
5863
  createdAt: Date;
5779
5864
  updatedAt: Date | null;
@@ -5785,6 +5870,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5785
5870
  points: number;
5786
5871
  feedback: string | null;
5787
5872
  studentWorksheetResponseId: string | null;
5873
+ runJobId: string | null;
5788
5874
  })[];
5789
5875
  } & {
5790
5876
  id: string;
@@ -5806,7 +5892,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5806
5892
  };
5807
5893
  output: {
5808
5894
  responses: {
5809
- status: import(".prisma/client").$Enums.GenerationStatus | null;
5895
+ status: import(".prisma/client").$Enums.JobStatus | null;
5810
5896
  id: string;
5811
5897
  createdAt: Date;
5812
5898
  updatedAt: Date | null;
@@ -5818,6 +5904,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5818
5904
  points: number;
5819
5905
  feedback: string | null;
5820
5906
  studentWorksheetResponseId: string | null;
5907
+ runJobId: string | null;
5821
5908
  }[];
5822
5909
  } & {
5823
5910
  id: string;
@@ -5837,7 +5924,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5837
5924
  progressId: string;
5838
5925
  };
5839
5926
  output: {
5840
- status: import(".prisma/client").$Enums.GenerationStatus | null;
5927
+ status: import(".prisma/client").$Enums.JobStatus | null;
5841
5928
  id: string;
5842
5929
  createdAt: Date;
5843
5930
  updatedAt: Date | null;
@@ -5849,6 +5936,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5849
5936
  points: number;
5850
5937
  feedback: string | null;
5851
5938
  studentWorksheetResponseId: string | null;
5939
+ runJobId: string | null;
5852
5940
  };
5853
5941
  meta: object;
5854
5942
  }>;
@@ -5858,7 +5946,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5858
5946
  progressId: string;
5859
5947
  };
5860
5948
  output: {
5861
- status: import(".prisma/client").$Enums.GenerationStatus | null;
5949
+ status: import(".prisma/client").$Enums.JobStatus | null;
5862
5950
  id: string;
5863
5951
  createdAt: Date;
5864
5952
  updatedAt: Date | null;
@@ -5870,7 +5958,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5870
5958
  points: number;
5871
5959
  feedback: string | null;
5872
5960
  studentWorksheetResponseId: string | null;
5873
- };
5961
+ runJobId: string | null;
5962
+ } | null;
5874
5963
  meta: object;
5875
5964
  }>;
5876
5965
  gradeAnswer: import("@trpc/server").TRPCMutationProcedure<{
@@ -5885,7 +5974,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5885
5974
  responseId?: string | undefined;
5886
5975
  };
5887
5976
  output: {
5888
- status: import(".prisma/client").$Enums.GenerationStatus | null;
5977
+ status: import(".prisma/client").$Enums.JobStatus | null;
5889
5978
  id: string;
5890
5979
  createdAt: Date;
5891
5980
  updatedAt: Date | null;
@@ -5897,6 +5986,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5897
5986
  points: number;
5898
5987
  feedback: string | null;
5899
5988
  studentWorksheetResponseId: string | null;
5989
+ runJobId: string | null;
5900
5990
  };
5901
5991
  meta: object;
5902
5992
  }>;
@@ -5906,7 +5996,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5906
5996
  responseId: string;
5907
5997
  };
5908
5998
  output: {
5909
- status: import(".prisma/client").$Enums.GenerationStatus | null;
5910
5999
  id: string;
5911
6000
  createdAt: Date;
5912
6001
  assignmentId: string | null;
@@ -6001,7 +6090,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6001
6090
  } | null;
6002
6091
  };
6003
6092
  } & {
6004
- status: import(".prisma/client").$Enums.GenerationStatus | null;
6005
6093
  id: string;
6006
6094
  createdAt: Date;
6007
6095
  assignmentId: string | null;
@@ -6021,7 +6109,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6021
6109
  parentCommentId: string;
6022
6110
  };
6023
6111
  output: {
6024
- status: import(".prisma/client").$Enums.GenerationStatus | null;
6025
6112
  id: string;
6026
6113
  createdAt: Date;
6027
6114
  assignmentId: string | null;
@@ -6041,7 +6128,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6041
6128
  content: string;
6042
6129
  };
6043
6130
  output: {
6044
- status: import(".prisma/client").$Enums.GenerationStatus | null;
6045
6131
  id: string;
6046
6132
  createdAt: Date;
6047
6133
  assignmentId: string | null;
@@ -6616,6 +6702,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6616
6702
  email: string;
6617
6703
  role: "STUDENT" | "TEACHER" | "ADMIN";
6618
6704
  schoolId: string;
6705
+ username?: string | undefined;
6706
+ displayName?: string | undefined;
6619
6707
  };
6620
6708
  output: {
6621
6709
  invite: {
@@ -6637,6 +6725,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6637
6725
  revokedAt: Date | null;
6638
6726
  invitedById: string;
6639
6727
  };
6728
+ createdUser: {
6729
+ id: string;
6730
+ username: string;
6731
+ } | null;
6640
6732
  };
6641
6733
  meta: object;
6642
6734
  }>;
@@ -6924,6 +7016,25 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
6924
7016
  students?: string[] | undefined;
6925
7017
  };
6926
7018
  output: {
7019
+ teachers: {
7020
+ id: string;
7021
+ username: string;
7022
+ email: string;
7023
+ password: string;
7024
+ verified: boolean;
7025
+ role: import(".prisma/client").$Enums.UserRole;
7026
+ schoolId: string | null;
7027
+ }[];
7028
+ students: {
7029
+ id: string;
7030
+ username: string;
7031
+ email: string;
7032
+ password: string;
7033
+ verified: boolean;
7034
+ role: import(".prisma/client").$Enums.UserRole;
7035
+ schoolId: string | null;
7036
+ }[];
7037
+ } & {
6927
7038
  name: string;
6928
7039
  id: string;
6929
7040
  schoolId: string | null;
@@ -7867,7 +7978,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
7867
7978
  } | null;
7868
7979
  };
7869
7980
  } & {
7870
- status: import(".prisma/client").$Enums.GenerationStatus | null;
7871
7981
  id: string;
7872
7982
  createdAt: Date;
7873
7983
  assignmentId: string | null;
@@ -7899,7 +8009,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
7899
8009
  } | null;
7900
8010
  };
7901
8011
  } & {
7902
- status: import(".prisma/client").$Enums.GenerationStatus | null;
7903
8012
  id: string;
7904
8013
  createdAt: Date;
7905
8014
  assignmentId: string | null;
@@ -7951,7 +8060,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
7951
8060
  } | null;
7952
8061
  };
7953
8062
  } & {
7954
- status: import(".prisma/client").$Enums.GenerationStatus | null;
7955
8063
  id: string;
7956
8064
  createdAt: Date;
7957
8065
  assignmentId: string | null;
@@ -7964,7 +8072,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
7964
8072
  studentQuestionProgressId: string | null;
7965
8073
  })[];
7966
8074
  } & {
7967
- status: import(".prisma/client").$Enums.GenerationStatus | null;
7968
8075
  id: string;
7969
8076
  createdAt: Date;
7970
8077
  assignmentId: string | null;
@@ -8198,6 +8305,41 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
8198
8305
  };
8199
8306
  meta: object;
8200
8307
  }>;
8308
+ duplicateAssignment: import("@trpc/server").TRPCMutationProcedure<{
8309
+ input: {
8310
+ [x: string]: unknown;
8311
+ classId: string;
8312
+ assignmentId: string;
8313
+ title: string;
8314
+ };
8315
+ output: {
8316
+ type: import(".prisma/client").$Enums.AssignmentType;
8317
+ id: string;
8318
+ createdAt: Date | null;
8319
+ modifiedAt: Date | null;
8320
+ classId: string;
8321
+ title: string;
8322
+ instructions: string;
8323
+ dueDate: Date;
8324
+ teacherId: string;
8325
+ acceptFiles: boolean;
8326
+ acceptExtendedResponse: boolean;
8327
+ acceptWorksheet: boolean;
8328
+ gradeWithAI: boolean;
8329
+ aiPolicyLevel: number;
8330
+ sectionId: string | null;
8331
+ graded: boolean;
8332
+ maxGrade: number | null;
8333
+ weight: number;
8334
+ inProgress: boolean;
8335
+ template: boolean;
8336
+ eventId: string | null;
8337
+ markSchemeId: string | null;
8338
+ order: number | null;
8339
+ gradingBoundaryId: string | null;
8340
+ };
8341
+ meta: object;
8342
+ }>;
8201
8343
  update: import("@trpc/server").TRPCMutationProcedure<{
8202
8344
  input: {
8203
8345
  [x: string]: unknown;
@@ -8961,7 +9103,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
8961
9103
  } | null;
8962
9104
  };
8963
9105
  } & {
8964
- status: import(".prisma/client").$Enums.GenerationStatus | null;
8965
9106
  id: string;
8966
9107
  createdAt: Date;
8967
9108
  assignmentId: string | null;
@@ -8974,7 +9115,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
8974
9115
  studentQuestionProgressId: string | null;
8975
9116
  })[];
8976
9117
  } & {
8977
- status: import(".prisma/client").$Enums.GenerationStatus | null;
8978
9118
  id: string;
8979
9119
  createdAt: Date;
8980
9120
  assignmentId: string | null;
@@ -9019,7 +9159,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
9019
9159
  } | null;
9020
9160
  };
9021
9161
  } & {
9022
- status: import(".prisma/client").$Enums.GenerationStatus | null;
9023
9162
  id: string;
9024
9163
  createdAt: Date;
9025
9164
  assignmentId: string | null;
@@ -9032,7 +9171,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
9032
9171
  studentQuestionProgressId: string | null;
9033
9172
  })[];
9034
9173
  } & {
9035
- status: import(".prisma/client").$Enums.GenerationStatus | null;
9036
9174
  id: string;
9037
9175
  createdAt: Date;
9038
9176
  assignmentId: string | null;
@@ -9076,7 +9214,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
9076
9214
  } | null;
9077
9215
  };
9078
9216
  } & {
9079
- status: import(".prisma/client").$Enums.GenerationStatus | null;
9080
9217
  id: string;
9081
9218
  createdAt: Date;
9082
9219
  assignmentId: string | null;
@@ -9089,7 +9226,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
9089
9226
  studentQuestionProgressId: string | null;
9090
9227
  })[];
9091
9228
  } & {
9092
- status: import(".prisma/client").$Enums.GenerationStatus | null;
9093
9229
  id: string;
9094
9230
  createdAt: Date;
9095
9231
  assignmentId: string | null;
@@ -9135,7 +9271,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
9135
9271
  } | null;
9136
9272
  };
9137
9273
  } & {
9138
- status: import(".prisma/client").$Enums.GenerationStatus | null;
9139
9274
  id: string;
9140
9275
  createdAt: Date;
9141
9276
  assignmentId: string | null;
@@ -9148,7 +9283,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
9148
9283
  studentQuestionProgressId: string | null;
9149
9284
  })[];
9150
9285
  } & {
9151
- status: import(".prisma/client").$Enums.GenerationStatus | null;
9152
9286
  id: string;
9153
9287
  createdAt: Date;
9154
9288
  assignmentId: string | null;
@@ -10677,6 +10811,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
10677
10811
  user: {
10678
10812
  id: string;
10679
10813
  username: string;
10814
+ email: string;
10680
10815
  profile: {
10681
10816
  location: string | null;
10682
10817
  displayName: string | null;
@@ -11489,13 +11624,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
11489
11624
  } | null;
11490
11625
  };
11491
11626
  } & {
11492
- status: import(".prisma/client").$Enums.GenerationStatus | null;
11627
+ status: import(".prisma/client").$Enums.JobStatus | null;
11493
11628
  meta: import("@prisma/client/runtime/library.js").JsonValue | null;
11494
11629
  id: string;
11495
11630
  createdAt: Date;
11496
11631
  conversationId: string;
11497
11632
  content: string;
11498
11633
  senderId: string;
11634
+ runJobId: string | null;
11499
11635
  };
11500
11636
  unreadCount: number;
11501
11637
  unreadMentionCount: number;
@@ -12003,13 +12139,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12003
12139
  } | null;
12004
12140
  };
12005
12141
  } & {
12006
- status: import(".prisma/client").$Enums.GenerationStatus | null;
12142
+ status: import(".prisma/client").$Enums.JobStatus | null;
12007
12143
  meta: import("@prisma/client/runtime/library.js").JsonValue | null;
12008
12144
  id: string;
12009
12145
  createdAt: Date;
12010
12146
  conversationId: string;
12011
12147
  content: string;
12012
12148
  senderId: string;
12149
+ runJobId: string | null;
12013
12150
  };
12014
12151
  messageCount: number;
12015
12152
  }[];
@@ -12246,11 +12383,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12246
12383
  answer: string;
12247
12384
  }[];
12248
12385
  } & {
12386
+ status: import(".prisma/client").$Enums.JobStatus | null;
12249
12387
  name: string;
12250
12388
  id: string;
12251
12389
  createdAt: Date;
12252
12390
  updatedAt: Date;
12253
12391
  classId: string;
12392
+ runJobId: string | null;
12393
+ sourceUrl: string | null;
12254
12394
  };
12255
12395
  meta: object;
12256
12396
  }>;
@@ -12273,11 +12413,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12273
12413
  questions: {
12274
12414
  id: string;
12275
12415
  }[];
12416
+ status: import(".prisma/client").$Enums.JobStatus | null;
12276
12417
  name: string;
12277
12418
  id: string;
12278
12419
  createdAt: Date;
12279
12420
  updatedAt: Date;
12280
12421
  classId: string;
12422
+ runJobId: string | null;
12423
+ sourceUrl: string | null;
12281
12424
  }[];
12282
12425
  meta: object;
12283
12426
  }>;
@@ -12287,11 +12430,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12287
12430
  name?: string | undefined;
12288
12431
  };
12289
12432
  output: {
12433
+ status: import(".prisma/client").$Enums.JobStatus | null;
12290
12434
  name: string;
12291
12435
  id: string;
12292
12436
  createdAt: Date;
12293
12437
  updatedAt: Date;
12294
12438
  classId: string;
12439
+ runJobId: string | null;
12440
+ sourceUrl: string | null;
12295
12441
  };
12296
12442
  meta: object;
12297
12443
  }>;
@@ -12300,11 +12446,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12300
12446
  worksheetId: string;
12301
12447
  };
12302
12448
  output: {
12449
+ status: import(".prisma/client").$Enums.JobStatus | null;
12303
12450
  name: string;
12304
12451
  id: string;
12305
12452
  createdAt: Date;
12306
12453
  updatedAt: Date;
12307
12454
  classId: string;
12455
+ runJobId: string | null;
12456
+ sourceUrl: string | null;
12308
12457
  };
12309
12458
  meta: object;
12310
12459
  }>;
@@ -12315,11 +12464,33 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12315
12464
  name: string;
12316
12465
  };
12317
12466
  output: {
12467
+ status: import(".prisma/client").$Enums.JobStatus | null;
12468
+ name: string;
12469
+ id: string;
12470
+ createdAt: Date;
12471
+ updatedAt: Date;
12472
+ classId: string;
12473
+ runJobId: string | null;
12474
+ sourceUrl: string | null;
12475
+ };
12476
+ meta: object;
12477
+ }>;
12478
+ duplicateWorksheet: import("@trpc/server").TRPCMutationProcedure<{
12479
+ input: {
12480
+ [x: string]: unknown;
12481
+ classId: string;
12482
+ name: string;
12483
+ worksheetId: string;
12484
+ };
12485
+ output: {
12486
+ status: import(".prisma/client").$Enums.JobStatus | null;
12318
12487
  name: string;
12319
12488
  id: string;
12320
12489
  createdAt: Date;
12321
12490
  updatedAt: Date;
12322
12491
  classId: string;
12492
+ runJobId: string | null;
12493
+ sourceUrl: string | null;
12323
12494
  };
12324
12495
  meta: object;
12325
12496
  }>;
@@ -12330,11 +12501,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12330
12501
  url: string;
12331
12502
  };
12332
12503
  output: {
12504
+ status: import(".prisma/client").$Enums.JobStatus | null;
12333
12505
  name: string;
12334
12506
  id: string;
12335
12507
  createdAt: Date;
12336
12508
  updatedAt: Date;
12337
12509
  classId: string;
12510
+ runJobId: string | null;
12511
+ sourceUrl: string | null;
12338
12512
  };
12339
12513
  meta: object;
12340
12514
  }>;
@@ -12375,11 +12549,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12375
12549
  fileId: string;
12376
12550
  };
12377
12551
  output: {
12552
+ status: import(".prisma/client").$Enums.JobStatus | null;
12378
12553
  name: string;
12379
12554
  id: string;
12380
12555
  createdAt: Date;
12381
12556
  updatedAt: Date;
12382
12557
  classId: string;
12558
+ runJobId: string | null;
12559
+ sourceUrl: string | null;
12383
12560
  };
12384
12561
  meta: object;
12385
12562
  }>;
@@ -12477,7 +12654,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12477
12654
  id: string;
12478
12655
  }[];
12479
12656
  } & {
12480
- status: import(".prisma/client").$Enums.GenerationStatus | null;
12657
+ status: import(".prisma/client").$Enums.JobStatus | null;
12481
12658
  id: string;
12482
12659
  createdAt: Date;
12483
12660
  updatedAt: Date | null;
@@ -12489,6 +12666,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12489
12666
  points: number;
12490
12667
  feedback: string | null;
12491
12668
  studentWorksheetResponseId: string | null;
12669
+ runJobId: string | null;
12492
12670
  })[];
12493
12671
  } & {
12494
12672
  id: string;
@@ -12510,7 +12688,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12510
12688
  };
12511
12689
  output: {
12512
12690
  responses: {
12513
- status: import(".prisma/client").$Enums.GenerationStatus | null;
12691
+ status: import(".prisma/client").$Enums.JobStatus | null;
12514
12692
  id: string;
12515
12693
  createdAt: Date;
12516
12694
  updatedAt: Date | null;
@@ -12522,6 +12700,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12522
12700
  points: number;
12523
12701
  feedback: string | null;
12524
12702
  studentWorksheetResponseId: string | null;
12703
+ runJobId: string | null;
12525
12704
  }[];
12526
12705
  } & {
12527
12706
  id: string;
@@ -12541,7 +12720,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12541
12720
  progressId: string;
12542
12721
  };
12543
12722
  output: {
12544
- status: import(".prisma/client").$Enums.GenerationStatus | null;
12723
+ status: import(".prisma/client").$Enums.JobStatus | null;
12545
12724
  id: string;
12546
12725
  createdAt: Date;
12547
12726
  updatedAt: Date | null;
@@ -12553,6 +12732,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12553
12732
  points: number;
12554
12733
  feedback: string | null;
12555
12734
  studentWorksheetResponseId: string | null;
12735
+ runJobId: string | null;
12556
12736
  };
12557
12737
  meta: object;
12558
12738
  }>;
@@ -12562,7 +12742,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12562
12742
  progressId: string;
12563
12743
  };
12564
12744
  output: {
12565
- status: import(".prisma/client").$Enums.GenerationStatus | null;
12745
+ status: import(".prisma/client").$Enums.JobStatus | null;
12566
12746
  id: string;
12567
12747
  createdAt: Date;
12568
12748
  updatedAt: Date | null;
@@ -12574,7 +12754,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12574
12754
  points: number;
12575
12755
  feedback: string | null;
12576
12756
  studentWorksheetResponseId: string | null;
12577
- };
12757
+ runJobId: string | null;
12758
+ } | null;
12578
12759
  meta: object;
12579
12760
  }>;
12580
12761
  gradeAnswer: import("@trpc/server").TRPCMutationProcedure<{
@@ -12589,7 +12770,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12589
12770
  responseId?: string | undefined;
12590
12771
  };
12591
12772
  output: {
12592
- status: import(".prisma/client").$Enums.GenerationStatus | null;
12773
+ status: import(".prisma/client").$Enums.JobStatus | null;
12593
12774
  id: string;
12594
12775
  createdAt: Date;
12595
12776
  updatedAt: Date | null;
@@ -12601,6 +12782,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12601
12782
  points: number;
12602
12783
  feedback: string | null;
12603
12784
  studentWorksheetResponseId: string | null;
12785
+ runJobId: string | null;
12604
12786
  };
12605
12787
  meta: object;
12606
12788
  }>;
@@ -12610,7 +12792,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12610
12792
  responseId: string;
12611
12793
  };
12612
12794
  output: {
12613
- status: import(".prisma/client").$Enums.GenerationStatus | null;
12614
12795
  id: string;
12615
12796
  createdAt: Date;
12616
12797
  assignmentId: string | null;
@@ -12705,7 +12886,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12705
12886
  } | null;
12706
12887
  };
12707
12888
  } & {
12708
- status: import(".prisma/client").$Enums.GenerationStatus | null;
12709
12889
  id: string;
12710
12890
  createdAt: Date;
12711
12891
  assignmentId: string | null;
@@ -12725,7 +12905,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12725
12905
  parentCommentId: string;
12726
12906
  };
12727
12907
  output: {
12728
- status: import(".prisma/client").$Enums.GenerationStatus | null;
12729
12908
  id: string;
12730
12909
  createdAt: Date;
12731
12910
  assignmentId: string | null;
@@ -12745,7 +12924,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
12745
12924
  content: string;
12746
12925
  };
12747
12926
  output: {
12748
- status: import(".prisma/client").$Enums.GenerationStatus | null;
12749
12927
  id: string;
12750
12928
  createdAt: Date;
12751
12929
  assignmentId: string | null;
@@ -13320,6 +13498,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
13320
13498
  email: string;
13321
13499
  role: "STUDENT" | "TEACHER" | "ADMIN";
13322
13500
  schoolId: string;
13501
+ username?: string | undefined;
13502
+ displayName?: string | undefined;
13323
13503
  };
13324
13504
  output: {
13325
13505
  invite: {
@@ -13341,6 +13521,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
13341
13521
  revokedAt: Date | null;
13342
13522
  invitedById: string;
13343
13523
  };
13524
+ createdUser: {
13525
+ id: string;
13526
+ username: string;
13527
+ } | null;
13344
13528
  };
13345
13529
  meta: object;
13346
13530
  }>;