@studious-lms/server 1.2.29 → 1.2.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routers/_app.d.ts +252 -14
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/assignment.d.ts +78 -5
- package/dist/routers/assignment.d.ts.map +1 -1
- package/dist/routers/assignment.js +18 -2
- package/dist/routers/class.d.ts +22 -1
- package/dist/routers/class.d.ts.map +1 -1
- package/dist/routers/class.js +32 -6
- package/dist/routers/event.d.ts +8 -1
- package/dist/routers/event.d.ts.map +1 -1
- package/dist/routers/worksheet.d.ts +18 -0
- package/dist/routers/worksheet.d.ts.map +1 -1
- package/dist/routers/worksheet.js +42 -0
- package/dist/seedDatabase.d.ts +0 -1
- package/dist/seedDatabase.d.ts.map +1 -1
- package/package.json +1 -1
- package/prisma/schema.prisma +18 -8
- package/src/routers/assignment.ts +19 -3
- package/src/routers/class.ts +32 -6
- package/src/routers/worksheet.ts +56 -0
package/dist/routers/_app.d.ts
CHANGED
|
@@ -243,7 +243,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
243
243
|
password: string;
|
|
244
244
|
verified: boolean;
|
|
245
245
|
role: import(".prisma/client").$Enums.UserRole;
|
|
246
|
-
profileId: string | null;
|
|
247
246
|
schoolId: string | null;
|
|
248
247
|
};
|
|
249
248
|
};
|
|
@@ -357,6 +356,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
357
356
|
gradeReceived: number | null;
|
|
358
357
|
createdAt: Date;
|
|
359
358
|
modifiedAt: Date;
|
|
359
|
+
extendedResponse: string | null;
|
|
360
360
|
rubricState: string | null;
|
|
361
361
|
teacherComments: string | null;
|
|
362
362
|
submittedAt: Date | null;
|
|
@@ -388,6 +388,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
388
388
|
gradeReceived: number | null;
|
|
389
389
|
createdAt: Date;
|
|
390
390
|
modifiedAt: Date;
|
|
391
|
+
extendedResponse: string | null;
|
|
391
392
|
rubricState: string | null;
|
|
392
393
|
teacherComments: string | null;
|
|
393
394
|
submittedAt: Date | null;
|
|
@@ -572,6 +573,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
572
573
|
createdAt: Date | null;
|
|
573
574
|
modifiedAt: Date | null;
|
|
574
575
|
teacherId: string;
|
|
576
|
+
acceptFiles: boolean;
|
|
577
|
+
acceptExtendedResponse: boolean;
|
|
578
|
+
acceptWorksheet: boolean;
|
|
579
|
+
gradeWithAI: boolean;
|
|
575
580
|
inProgress: boolean;
|
|
576
581
|
order: number | null;
|
|
577
582
|
worksheetId: string | null;
|
|
@@ -611,6 +616,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
611
616
|
createdAt: Date | null;
|
|
612
617
|
modifiedAt: Date | null;
|
|
613
618
|
teacherId: string;
|
|
619
|
+
acceptFiles: boolean;
|
|
620
|
+
acceptExtendedResponse: boolean;
|
|
621
|
+
acceptWorksheet: boolean;
|
|
622
|
+
gradeWithAI: boolean;
|
|
614
623
|
inProgress: boolean;
|
|
615
624
|
order: number | null;
|
|
616
625
|
worksheetId: string | null;
|
|
@@ -650,6 +659,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
650
659
|
createdAt: Date | null;
|
|
651
660
|
modifiedAt: Date | null;
|
|
652
661
|
teacherId: string;
|
|
662
|
+
acceptFiles: boolean;
|
|
663
|
+
acceptExtendedResponse: boolean;
|
|
664
|
+
acceptWorksheet: boolean;
|
|
665
|
+
gradeWithAI: boolean;
|
|
653
666
|
inProgress: boolean;
|
|
654
667
|
order: number | null;
|
|
655
668
|
worksheetId: string | null;
|
|
@@ -680,6 +693,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
680
693
|
createdAt: Date | null;
|
|
681
694
|
modifiedAt: Date | null;
|
|
682
695
|
teacherId: string;
|
|
696
|
+
acceptFiles: boolean;
|
|
697
|
+
acceptExtendedResponse: boolean;
|
|
698
|
+
acceptWorksheet: boolean;
|
|
699
|
+
gradeWithAI: boolean;
|
|
683
700
|
inProgress: boolean;
|
|
684
701
|
order: number | null;
|
|
685
702
|
worksheetId: string | null;
|
|
@@ -714,6 +731,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
714
731
|
createdAt: Date | null;
|
|
715
732
|
modifiedAt: Date | null;
|
|
716
733
|
teacherId: string;
|
|
734
|
+
acceptFiles: boolean;
|
|
735
|
+
acceptExtendedResponse: boolean;
|
|
736
|
+
acceptWorksheet: boolean;
|
|
737
|
+
gradeWithAI: boolean;
|
|
717
738
|
inProgress: boolean;
|
|
718
739
|
order: number | null;
|
|
719
740
|
worksheetId: string | null;
|
|
@@ -1190,6 +1211,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1190
1211
|
createdAt: Date | null;
|
|
1191
1212
|
modifiedAt: Date | null;
|
|
1192
1213
|
teacherId: string;
|
|
1214
|
+
acceptFiles: boolean;
|
|
1215
|
+
acceptExtendedResponse: boolean;
|
|
1216
|
+
acceptWorksheet: boolean;
|
|
1217
|
+
gradeWithAI: boolean;
|
|
1193
1218
|
inProgress: boolean;
|
|
1194
1219
|
order: number | null;
|
|
1195
1220
|
worksheetId: string | null;
|
|
@@ -1221,6 +1246,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1221
1246
|
createdAt: Date | null;
|
|
1222
1247
|
modifiedAt: Date | null;
|
|
1223
1248
|
teacherId: string;
|
|
1249
|
+
acceptFiles: boolean;
|
|
1250
|
+
acceptExtendedResponse: boolean;
|
|
1251
|
+
acceptWorksheet: boolean;
|
|
1252
|
+
gradeWithAI: boolean;
|
|
1224
1253
|
inProgress: boolean;
|
|
1225
1254
|
order: number | null;
|
|
1226
1255
|
worksheetId: string | null;
|
|
@@ -1252,6 +1281,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1252
1281
|
createdAt: Date | null;
|
|
1253
1282
|
modifiedAt: Date | null;
|
|
1254
1283
|
teacherId: string;
|
|
1284
|
+
acceptFiles: boolean;
|
|
1285
|
+
acceptExtendedResponse: boolean;
|
|
1286
|
+
acceptWorksheet: boolean;
|
|
1287
|
+
gradeWithAI: boolean;
|
|
1255
1288
|
inProgress: boolean;
|
|
1256
1289
|
order: number | null;
|
|
1257
1290
|
worksheetId: string | null;
|
|
@@ -1276,6 +1309,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1276
1309
|
weight?: number | undefined;
|
|
1277
1310
|
graded?: boolean | undefined;
|
|
1278
1311
|
sectionId?: string | undefined;
|
|
1312
|
+
acceptFiles?: boolean | undefined;
|
|
1313
|
+
acceptExtendedResponse?: boolean | undefined;
|
|
1314
|
+
acceptWorksheet?: boolean | undefined;
|
|
1315
|
+
gradeWithAI?: boolean | undefined;
|
|
1279
1316
|
inProgress?: boolean | undefined;
|
|
1280
1317
|
existingFileIds?: string[] | undefined;
|
|
1281
1318
|
};
|
|
@@ -1325,6 +1362,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1325
1362
|
weight?: number | undefined;
|
|
1326
1363
|
graded?: boolean | undefined;
|
|
1327
1364
|
sectionId?: string | null | undefined;
|
|
1365
|
+
acceptFiles?: boolean | undefined;
|
|
1366
|
+
acceptExtendedResponse?: boolean | undefined;
|
|
1367
|
+
acceptWorksheet?: boolean | undefined;
|
|
1368
|
+
gradeWithAI?: boolean | undefined;
|
|
1328
1369
|
inProgress?: boolean | undefined;
|
|
1329
1370
|
existingFileIds?: string[] | undefined;
|
|
1330
1371
|
removedAttachments?: string[] | undefined;
|
|
@@ -1364,7 +1405,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1364
1405
|
password: string;
|
|
1365
1406
|
verified: boolean;
|
|
1366
1407
|
role: import(".prisma/client").$Enums.UserRole;
|
|
1367
|
-
profileId: string | null;
|
|
1368
1408
|
schoolId: string | null;
|
|
1369
1409
|
};
|
|
1370
1410
|
instructions: string;
|
|
@@ -1491,6 +1531,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1491
1531
|
createdAt: Date | null;
|
|
1492
1532
|
modifiedAt: Date | null;
|
|
1493
1533
|
teacherId: string;
|
|
1534
|
+
acceptFiles: boolean;
|
|
1535
|
+
acceptExtendedResponse: boolean;
|
|
1536
|
+
acceptWorksheet: boolean;
|
|
1537
|
+
gradeWithAI: boolean;
|
|
1494
1538
|
inProgress: boolean;
|
|
1495
1539
|
order: number | null;
|
|
1496
1540
|
worksheetId: string | null;
|
|
@@ -1540,6 +1584,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1540
1584
|
createdAt: Date | null;
|
|
1541
1585
|
modifiedAt: Date | null;
|
|
1542
1586
|
teacherId: string;
|
|
1587
|
+
acceptFiles: boolean;
|
|
1588
|
+
acceptExtendedResponse: boolean;
|
|
1589
|
+
acceptWorksheet: boolean;
|
|
1590
|
+
gradeWithAI: boolean;
|
|
1543
1591
|
inProgress: boolean;
|
|
1544
1592
|
order: number | null;
|
|
1545
1593
|
worksheetId: string | null;
|
|
@@ -1611,6 +1659,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1611
1659
|
gradeReceived: number | null;
|
|
1612
1660
|
createdAt: Date;
|
|
1613
1661
|
modifiedAt: Date;
|
|
1662
|
+
extendedResponse: string | null;
|
|
1614
1663
|
rubricState: string | null;
|
|
1615
1664
|
teacherComments: string | null;
|
|
1616
1665
|
submittedAt: Date | null;
|
|
@@ -1654,6 +1703,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1654
1703
|
createdAt: Date | null;
|
|
1655
1704
|
modifiedAt: Date | null;
|
|
1656
1705
|
teacherId: string;
|
|
1706
|
+
acceptFiles: boolean;
|
|
1707
|
+
acceptExtendedResponse: boolean;
|
|
1708
|
+
acceptWorksheet: boolean;
|
|
1709
|
+
gradeWithAI: boolean;
|
|
1657
1710
|
inProgress: boolean;
|
|
1658
1711
|
order: number | null;
|
|
1659
1712
|
worksheetId: string | null;
|
|
@@ -1736,6 +1789,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1736
1789
|
gradeReceived: number | null;
|
|
1737
1790
|
createdAt: Date;
|
|
1738
1791
|
modifiedAt: Date;
|
|
1792
|
+
extendedResponse: string | null;
|
|
1739
1793
|
rubricState: string | null;
|
|
1740
1794
|
teacherComments: string | null;
|
|
1741
1795
|
submittedAt: Date | null;
|
|
@@ -1788,6 +1842,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1788
1842
|
createdAt: Date | null;
|
|
1789
1843
|
modifiedAt: Date | null;
|
|
1790
1844
|
teacherId: string;
|
|
1845
|
+
acceptFiles: boolean;
|
|
1846
|
+
acceptExtendedResponse: boolean;
|
|
1847
|
+
acceptWorksheet: boolean;
|
|
1848
|
+
gradeWithAI: boolean;
|
|
1791
1849
|
inProgress: boolean;
|
|
1792
1850
|
order: number | null;
|
|
1793
1851
|
worksheetId: string | null;
|
|
@@ -1870,6 +1928,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1870
1928
|
gradeReceived: number | null;
|
|
1871
1929
|
createdAt: Date;
|
|
1872
1930
|
modifiedAt: Date;
|
|
1931
|
+
extendedResponse: string | null;
|
|
1873
1932
|
rubricState: string | null;
|
|
1874
1933
|
teacherComments: string | null;
|
|
1875
1934
|
submittedAt: Date | null;
|
|
@@ -1930,6 +1989,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1930
1989
|
createdAt: Date | null;
|
|
1931
1990
|
modifiedAt: Date | null;
|
|
1932
1991
|
teacherId: string;
|
|
1992
|
+
acceptFiles: boolean;
|
|
1993
|
+
acceptExtendedResponse: boolean;
|
|
1994
|
+
acceptWorksheet: boolean;
|
|
1995
|
+
gradeWithAI: boolean;
|
|
1933
1996
|
inProgress: boolean;
|
|
1934
1997
|
order: number | null;
|
|
1935
1998
|
worksheetId: string | null;
|
|
@@ -1973,6 +2036,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1973
2036
|
gradeReceived: number | null;
|
|
1974
2037
|
createdAt: Date;
|
|
1975
2038
|
modifiedAt: Date;
|
|
2039
|
+
extendedResponse: string | null;
|
|
1976
2040
|
rubricState: string | null;
|
|
1977
2041
|
teacherComments: string | null;
|
|
1978
2042
|
submittedAt: Date | null;
|
|
@@ -2025,6 +2089,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2025
2089
|
createdAt: Date | null;
|
|
2026
2090
|
modifiedAt: Date | null;
|
|
2027
2091
|
teacherId: string;
|
|
2092
|
+
acceptFiles: boolean;
|
|
2093
|
+
acceptExtendedResponse: boolean;
|
|
2094
|
+
acceptWorksheet: boolean;
|
|
2095
|
+
gradeWithAI: boolean;
|
|
2028
2096
|
inProgress: boolean;
|
|
2029
2097
|
order: number | null;
|
|
2030
2098
|
worksheetId: string | null;
|
|
@@ -2101,6 +2169,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2101
2169
|
gradeReceived: number | null;
|
|
2102
2170
|
createdAt: Date;
|
|
2103
2171
|
modifiedAt: Date;
|
|
2172
|
+
extendedResponse: string | null;
|
|
2104
2173
|
rubricState: string | null;
|
|
2105
2174
|
teacherComments: string | null;
|
|
2106
2175
|
submittedAt: Date | null;
|
|
@@ -2169,6 +2238,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2169
2238
|
createdAt: Date | null;
|
|
2170
2239
|
modifiedAt: Date | null;
|
|
2171
2240
|
teacherId: string;
|
|
2241
|
+
acceptFiles: boolean;
|
|
2242
|
+
acceptExtendedResponse: boolean;
|
|
2243
|
+
acceptWorksheet: boolean;
|
|
2244
|
+
gradeWithAI: boolean;
|
|
2172
2245
|
inProgress: boolean;
|
|
2173
2246
|
order: number | null;
|
|
2174
2247
|
worksheetId: string | null;
|
|
@@ -2217,6 +2290,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2217
2290
|
gradeReceived: number | null;
|
|
2218
2291
|
createdAt: Date;
|
|
2219
2292
|
modifiedAt: Date;
|
|
2293
|
+
extendedResponse: string | null;
|
|
2220
2294
|
rubricState: string | null;
|
|
2221
2295
|
teacherComments: string | null;
|
|
2222
2296
|
submittedAt: Date | null;
|
|
@@ -2271,6 +2345,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2271
2345
|
createdAt: Date | null;
|
|
2272
2346
|
modifiedAt: Date | null;
|
|
2273
2347
|
teacherId: string;
|
|
2348
|
+
acceptFiles: boolean;
|
|
2349
|
+
acceptExtendedResponse: boolean;
|
|
2350
|
+
acceptWorksheet: boolean;
|
|
2351
|
+
gradeWithAI: boolean;
|
|
2274
2352
|
inProgress: boolean;
|
|
2275
2353
|
order: number | null;
|
|
2276
2354
|
worksheetId: string | null;
|
|
@@ -2323,6 +2401,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2323
2401
|
createdAt: Date | null;
|
|
2324
2402
|
modifiedAt: Date | null;
|
|
2325
2403
|
teacherId: string;
|
|
2404
|
+
acceptFiles: boolean;
|
|
2405
|
+
acceptExtendedResponse: boolean;
|
|
2406
|
+
acceptWorksheet: boolean;
|
|
2407
|
+
gradeWithAI: boolean;
|
|
2326
2408
|
inProgress: boolean;
|
|
2327
2409
|
order: number | null;
|
|
2328
2410
|
worksheetId: string | null;
|
|
@@ -2386,7 +2468,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2386
2468
|
password: string;
|
|
2387
2469
|
verified: boolean;
|
|
2388
2470
|
role: import(".prisma/client").$Enums.UserRole;
|
|
2389
|
-
profileId: string | null;
|
|
2390
2471
|
schoolId: string | null;
|
|
2391
2472
|
};
|
|
2392
2473
|
attachments: {
|
|
@@ -2451,6 +2532,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2451
2532
|
createdAt: Date | null;
|
|
2452
2533
|
modifiedAt: Date | null;
|
|
2453
2534
|
teacherId: string;
|
|
2535
|
+
acceptFiles: boolean;
|
|
2536
|
+
acceptExtendedResponse: boolean;
|
|
2537
|
+
acceptWorksheet: boolean;
|
|
2538
|
+
gradeWithAI: boolean;
|
|
2454
2539
|
inProgress: boolean;
|
|
2455
2540
|
order: number | null;
|
|
2456
2541
|
worksheetId: string | null;
|
|
@@ -2478,7 +2563,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2478
2563
|
password: string;
|
|
2479
2564
|
verified: boolean;
|
|
2480
2565
|
role: import(".prisma/client").$Enums.UserRole;
|
|
2481
|
-
profileId: string | null;
|
|
2482
2566
|
schoolId: string | null;
|
|
2483
2567
|
};
|
|
2484
2568
|
attachments: {
|
|
@@ -2543,6 +2627,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2543
2627
|
createdAt: Date | null;
|
|
2544
2628
|
modifiedAt: Date | null;
|
|
2545
2629
|
teacherId: string;
|
|
2630
|
+
acceptFiles: boolean;
|
|
2631
|
+
acceptExtendedResponse: boolean;
|
|
2632
|
+
acceptWorksheet: boolean;
|
|
2633
|
+
gradeWithAI: boolean;
|
|
2546
2634
|
inProgress: boolean;
|
|
2547
2635
|
order: number | null;
|
|
2548
2636
|
worksheetId: string | null;
|
|
@@ -2571,7 +2659,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2571
2659
|
password: string;
|
|
2572
2660
|
verified: boolean;
|
|
2573
2661
|
role: import(".prisma/client").$Enums.UserRole;
|
|
2574
|
-
profileId: string | null;
|
|
2575
2662
|
schoolId: string | null;
|
|
2576
2663
|
};
|
|
2577
2664
|
attachments: {
|
|
@@ -2636,6 +2723,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2636
2723
|
createdAt: Date | null;
|
|
2637
2724
|
modifiedAt: Date | null;
|
|
2638
2725
|
teacherId: string;
|
|
2726
|
+
acceptFiles: boolean;
|
|
2727
|
+
acceptExtendedResponse: boolean;
|
|
2728
|
+
acceptWorksheet: boolean;
|
|
2729
|
+
gradeWithAI: boolean;
|
|
2639
2730
|
inProgress: boolean;
|
|
2640
2731
|
order: number | null;
|
|
2641
2732
|
worksheetId: string | null;
|
|
@@ -2663,7 +2754,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2663
2754
|
password: string;
|
|
2664
2755
|
verified: boolean;
|
|
2665
2756
|
role: import(".prisma/client").$Enums.UserRole;
|
|
2666
|
-
profileId: string | null;
|
|
2667
2757
|
schoolId: string | null;
|
|
2668
2758
|
};
|
|
2669
2759
|
attachments: {
|
|
@@ -2728,6 +2818,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2728
2818
|
createdAt: Date | null;
|
|
2729
2819
|
modifiedAt: Date | null;
|
|
2730
2820
|
teacherId: string;
|
|
2821
|
+
acceptFiles: boolean;
|
|
2822
|
+
acceptExtendedResponse: boolean;
|
|
2823
|
+
acceptWorksheet: boolean;
|
|
2824
|
+
gradeWithAI: boolean;
|
|
2731
2825
|
inProgress: boolean;
|
|
2732
2826
|
order: number | null;
|
|
2733
2827
|
worksheetId: string | null;
|
|
@@ -3148,7 +3242,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3148
3242
|
password: string;
|
|
3149
3243
|
verified: boolean;
|
|
3150
3244
|
role: import(".prisma/client").$Enums.UserRole;
|
|
3151
|
-
profileId: string | null;
|
|
3152
3245
|
schoolId: string | null;
|
|
3153
3246
|
} | null;
|
|
3154
3247
|
class: {
|
|
@@ -3301,6 +3394,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3301
3394
|
createdAt: Date | null;
|
|
3302
3395
|
modifiedAt: Date | null;
|
|
3303
3396
|
teacherId: string;
|
|
3397
|
+
acceptFiles: boolean;
|
|
3398
|
+
acceptExtendedResponse: boolean;
|
|
3399
|
+
acceptWorksheet: boolean;
|
|
3400
|
+
gradeWithAI: boolean;
|
|
3304
3401
|
inProgress: boolean;
|
|
3305
3402
|
order: number | null;
|
|
3306
3403
|
worksheetId: string | null;
|
|
@@ -3346,6 +3443,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3346
3443
|
createdAt: Date | null;
|
|
3347
3444
|
modifiedAt: Date | null;
|
|
3348
3445
|
teacherId: string;
|
|
3446
|
+
acceptFiles: boolean;
|
|
3447
|
+
acceptExtendedResponse: boolean;
|
|
3448
|
+
acceptWorksheet: boolean;
|
|
3449
|
+
gradeWithAI: boolean;
|
|
3349
3450
|
inProgress: boolean;
|
|
3350
3451
|
order: number | null;
|
|
3351
3452
|
worksheetId: string | null;
|
|
@@ -4721,6 +4822,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4721
4822
|
id: string;
|
|
4722
4823
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4723
4824
|
createdAt: Date;
|
|
4825
|
+
order: number | null;
|
|
4724
4826
|
worksheetId: string;
|
|
4725
4827
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4726
4828
|
updatedAt: Date;
|
|
@@ -4808,6 +4910,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4808
4910
|
id: string;
|
|
4809
4911
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4810
4912
|
createdAt: Date;
|
|
4913
|
+
order: number | null;
|
|
4811
4914
|
worksheetId: string;
|
|
4812
4915
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4813
4916
|
updatedAt: Date;
|
|
@@ -4816,6 +4919,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4816
4919
|
};
|
|
4817
4920
|
meta: object;
|
|
4818
4921
|
}>;
|
|
4922
|
+
reorderQuestions: import("@trpc/server").TRPCMutationProcedure<{
|
|
4923
|
+
input: {
|
|
4924
|
+
worksheetId: string;
|
|
4925
|
+
movedId: string;
|
|
4926
|
+
position: "before" | "after";
|
|
4927
|
+
targetId: string;
|
|
4928
|
+
};
|
|
4929
|
+
output: {
|
|
4930
|
+
id: string;
|
|
4931
|
+
}[];
|
|
4932
|
+
meta: object;
|
|
4933
|
+
}>;
|
|
4819
4934
|
updateQuestion: import("@trpc/server").TRPCMutationProcedure<{
|
|
4820
4935
|
input: {
|
|
4821
4936
|
worksheetId: string;
|
|
@@ -4831,6 +4946,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4831
4946
|
id: string;
|
|
4832
4947
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4833
4948
|
createdAt: Date;
|
|
4949
|
+
order: number | null;
|
|
4834
4950
|
worksheetId: string;
|
|
4835
4951
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4836
4952
|
updatedAt: Date;
|
|
@@ -4849,6 +4965,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4849
4965
|
id: string;
|
|
4850
4966
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4851
4967
|
createdAt: Date;
|
|
4968
|
+
order: number | null;
|
|
4852
4969
|
worksheetId: string;
|
|
4853
4970
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4854
4971
|
updatedAt: Date;
|
|
@@ -4956,6 +5073,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4956
5073
|
id: string;
|
|
4957
5074
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4958
5075
|
createdAt: Date;
|
|
5076
|
+
order: number | null;
|
|
4959
5077
|
worksheetId: string;
|
|
4960
5078
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4961
5079
|
updatedAt: Date;
|
|
@@ -5004,6 +5122,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5004
5122
|
id: string;
|
|
5005
5123
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
5006
5124
|
createdAt: Date;
|
|
5125
|
+
order: number | null;
|
|
5007
5126
|
worksheetId: string;
|
|
5008
5127
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
5009
5128
|
updatedAt: Date;
|
|
@@ -5301,7 +5420,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5301
5420
|
password: string;
|
|
5302
5421
|
verified: boolean;
|
|
5303
5422
|
role: import(".prisma/client").$Enums.UserRole;
|
|
5304
|
-
profileId: string | null;
|
|
5305
5423
|
schoolId: string | null;
|
|
5306
5424
|
};
|
|
5307
5425
|
};
|
|
@@ -5415,6 +5533,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5415
5533
|
gradeReceived: number | null;
|
|
5416
5534
|
createdAt: Date;
|
|
5417
5535
|
modifiedAt: Date;
|
|
5536
|
+
extendedResponse: string | null;
|
|
5418
5537
|
rubricState: string | null;
|
|
5419
5538
|
teacherComments: string | null;
|
|
5420
5539
|
submittedAt: Date | null;
|
|
@@ -5446,6 +5565,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5446
5565
|
gradeReceived: number | null;
|
|
5447
5566
|
createdAt: Date;
|
|
5448
5567
|
modifiedAt: Date;
|
|
5568
|
+
extendedResponse: string | null;
|
|
5449
5569
|
rubricState: string | null;
|
|
5450
5570
|
teacherComments: string | null;
|
|
5451
5571
|
submittedAt: Date | null;
|
|
@@ -5630,6 +5750,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5630
5750
|
createdAt: Date | null;
|
|
5631
5751
|
modifiedAt: Date | null;
|
|
5632
5752
|
teacherId: string;
|
|
5753
|
+
acceptFiles: boolean;
|
|
5754
|
+
acceptExtendedResponse: boolean;
|
|
5755
|
+
acceptWorksheet: boolean;
|
|
5756
|
+
gradeWithAI: boolean;
|
|
5633
5757
|
inProgress: boolean;
|
|
5634
5758
|
order: number | null;
|
|
5635
5759
|
worksheetId: string | null;
|
|
@@ -5669,6 +5793,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5669
5793
|
createdAt: Date | null;
|
|
5670
5794
|
modifiedAt: Date | null;
|
|
5671
5795
|
teacherId: string;
|
|
5796
|
+
acceptFiles: boolean;
|
|
5797
|
+
acceptExtendedResponse: boolean;
|
|
5798
|
+
acceptWorksheet: boolean;
|
|
5799
|
+
gradeWithAI: boolean;
|
|
5672
5800
|
inProgress: boolean;
|
|
5673
5801
|
order: number | null;
|
|
5674
5802
|
worksheetId: string | null;
|
|
@@ -5708,6 +5836,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5708
5836
|
createdAt: Date | null;
|
|
5709
5837
|
modifiedAt: Date | null;
|
|
5710
5838
|
teacherId: string;
|
|
5839
|
+
acceptFiles: boolean;
|
|
5840
|
+
acceptExtendedResponse: boolean;
|
|
5841
|
+
acceptWorksheet: boolean;
|
|
5842
|
+
gradeWithAI: boolean;
|
|
5711
5843
|
inProgress: boolean;
|
|
5712
5844
|
order: number | null;
|
|
5713
5845
|
worksheetId: string | null;
|
|
@@ -5738,6 +5870,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5738
5870
|
createdAt: Date | null;
|
|
5739
5871
|
modifiedAt: Date | null;
|
|
5740
5872
|
teacherId: string;
|
|
5873
|
+
acceptFiles: boolean;
|
|
5874
|
+
acceptExtendedResponse: boolean;
|
|
5875
|
+
acceptWorksheet: boolean;
|
|
5876
|
+
gradeWithAI: boolean;
|
|
5741
5877
|
inProgress: boolean;
|
|
5742
5878
|
order: number | null;
|
|
5743
5879
|
worksheetId: string | null;
|
|
@@ -5772,6 +5908,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5772
5908
|
createdAt: Date | null;
|
|
5773
5909
|
modifiedAt: Date | null;
|
|
5774
5910
|
teacherId: string;
|
|
5911
|
+
acceptFiles: boolean;
|
|
5912
|
+
acceptExtendedResponse: boolean;
|
|
5913
|
+
acceptWorksheet: boolean;
|
|
5914
|
+
gradeWithAI: boolean;
|
|
5775
5915
|
inProgress: boolean;
|
|
5776
5916
|
order: number | null;
|
|
5777
5917
|
worksheetId: string | null;
|
|
@@ -6248,6 +6388,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6248
6388
|
createdAt: Date | null;
|
|
6249
6389
|
modifiedAt: Date | null;
|
|
6250
6390
|
teacherId: string;
|
|
6391
|
+
acceptFiles: boolean;
|
|
6392
|
+
acceptExtendedResponse: boolean;
|
|
6393
|
+
acceptWorksheet: boolean;
|
|
6394
|
+
gradeWithAI: boolean;
|
|
6251
6395
|
inProgress: boolean;
|
|
6252
6396
|
order: number | null;
|
|
6253
6397
|
worksheetId: string | null;
|
|
@@ -6279,6 +6423,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6279
6423
|
createdAt: Date | null;
|
|
6280
6424
|
modifiedAt: Date | null;
|
|
6281
6425
|
teacherId: string;
|
|
6426
|
+
acceptFiles: boolean;
|
|
6427
|
+
acceptExtendedResponse: boolean;
|
|
6428
|
+
acceptWorksheet: boolean;
|
|
6429
|
+
gradeWithAI: boolean;
|
|
6282
6430
|
inProgress: boolean;
|
|
6283
6431
|
order: number | null;
|
|
6284
6432
|
worksheetId: string | null;
|
|
@@ -6310,6 +6458,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6310
6458
|
createdAt: Date | null;
|
|
6311
6459
|
modifiedAt: Date | null;
|
|
6312
6460
|
teacherId: string;
|
|
6461
|
+
acceptFiles: boolean;
|
|
6462
|
+
acceptExtendedResponse: boolean;
|
|
6463
|
+
acceptWorksheet: boolean;
|
|
6464
|
+
gradeWithAI: boolean;
|
|
6313
6465
|
inProgress: boolean;
|
|
6314
6466
|
order: number | null;
|
|
6315
6467
|
worksheetId: string | null;
|
|
@@ -6334,6 +6486,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6334
6486
|
weight?: number | undefined;
|
|
6335
6487
|
graded?: boolean | undefined;
|
|
6336
6488
|
sectionId?: string | undefined;
|
|
6489
|
+
acceptFiles?: boolean | undefined;
|
|
6490
|
+
acceptExtendedResponse?: boolean | undefined;
|
|
6491
|
+
acceptWorksheet?: boolean | undefined;
|
|
6492
|
+
gradeWithAI?: boolean | undefined;
|
|
6337
6493
|
inProgress?: boolean | undefined;
|
|
6338
6494
|
existingFileIds?: string[] | undefined;
|
|
6339
6495
|
};
|
|
@@ -6383,6 +6539,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6383
6539
|
weight?: number | undefined;
|
|
6384
6540
|
graded?: boolean | undefined;
|
|
6385
6541
|
sectionId?: string | null | undefined;
|
|
6542
|
+
acceptFiles?: boolean | undefined;
|
|
6543
|
+
acceptExtendedResponse?: boolean | undefined;
|
|
6544
|
+
acceptWorksheet?: boolean | undefined;
|
|
6545
|
+
gradeWithAI?: boolean | undefined;
|
|
6386
6546
|
inProgress?: boolean | undefined;
|
|
6387
6547
|
existingFileIds?: string[] | undefined;
|
|
6388
6548
|
removedAttachments?: string[] | undefined;
|
|
@@ -6422,7 +6582,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6422
6582
|
password: string;
|
|
6423
6583
|
verified: boolean;
|
|
6424
6584
|
role: import(".prisma/client").$Enums.UserRole;
|
|
6425
|
-
profileId: string | null;
|
|
6426
6585
|
schoolId: string | null;
|
|
6427
6586
|
};
|
|
6428
6587
|
instructions: string;
|
|
@@ -6549,6 +6708,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6549
6708
|
createdAt: Date | null;
|
|
6550
6709
|
modifiedAt: Date | null;
|
|
6551
6710
|
teacherId: string;
|
|
6711
|
+
acceptFiles: boolean;
|
|
6712
|
+
acceptExtendedResponse: boolean;
|
|
6713
|
+
acceptWorksheet: boolean;
|
|
6714
|
+
gradeWithAI: boolean;
|
|
6552
6715
|
inProgress: boolean;
|
|
6553
6716
|
order: number | null;
|
|
6554
6717
|
worksheetId: string | null;
|
|
@@ -6598,6 +6761,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6598
6761
|
createdAt: Date | null;
|
|
6599
6762
|
modifiedAt: Date | null;
|
|
6600
6763
|
teacherId: string;
|
|
6764
|
+
acceptFiles: boolean;
|
|
6765
|
+
acceptExtendedResponse: boolean;
|
|
6766
|
+
acceptWorksheet: boolean;
|
|
6767
|
+
gradeWithAI: boolean;
|
|
6601
6768
|
inProgress: boolean;
|
|
6602
6769
|
order: number | null;
|
|
6603
6770
|
worksheetId: string | null;
|
|
@@ -6669,6 +6836,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6669
6836
|
gradeReceived: number | null;
|
|
6670
6837
|
createdAt: Date;
|
|
6671
6838
|
modifiedAt: Date;
|
|
6839
|
+
extendedResponse: string | null;
|
|
6672
6840
|
rubricState: string | null;
|
|
6673
6841
|
teacherComments: string | null;
|
|
6674
6842
|
submittedAt: Date | null;
|
|
@@ -6712,6 +6880,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6712
6880
|
createdAt: Date | null;
|
|
6713
6881
|
modifiedAt: Date | null;
|
|
6714
6882
|
teacherId: string;
|
|
6883
|
+
acceptFiles: boolean;
|
|
6884
|
+
acceptExtendedResponse: boolean;
|
|
6885
|
+
acceptWorksheet: boolean;
|
|
6886
|
+
gradeWithAI: boolean;
|
|
6715
6887
|
inProgress: boolean;
|
|
6716
6888
|
order: number | null;
|
|
6717
6889
|
worksheetId: string | null;
|
|
@@ -6794,6 +6966,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6794
6966
|
gradeReceived: number | null;
|
|
6795
6967
|
createdAt: Date;
|
|
6796
6968
|
modifiedAt: Date;
|
|
6969
|
+
extendedResponse: string | null;
|
|
6797
6970
|
rubricState: string | null;
|
|
6798
6971
|
teacherComments: string | null;
|
|
6799
6972
|
submittedAt: Date | null;
|
|
@@ -6846,6 +7019,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6846
7019
|
createdAt: Date | null;
|
|
6847
7020
|
modifiedAt: Date | null;
|
|
6848
7021
|
teacherId: string;
|
|
7022
|
+
acceptFiles: boolean;
|
|
7023
|
+
acceptExtendedResponse: boolean;
|
|
7024
|
+
acceptWorksheet: boolean;
|
|
7025
|
+
gradeWithAI: boolean;
|
|
6849
7026
|
inProgress: boolean;
|
|
6850
7027
|
order: number | null;
|
|
6851
7028
|
worksheetId: string | null;
|
|
@@ -6928,6 +7105,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6928
7105
|
gradeReceived: number | null;
|
|
6929
7106
|
createdAt: Date;
|
|
6930
7107
|
modifiedAt: Date;
|
|
7108
|
+
extendedResponse: string | null;
|
|
6931
7109
|
rubricState: string | null;
|
|
6932
7110
|
teacherComments: string | null;
|
|
6933
7111
|
submittedAt: Date | null;
|
|
@@ -6988,6 +7166,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6988
7166
|
createdAt: Date | null;
|
|
6989
7167
|
modifiedAt: Date | null;
|
|
6990
7168
|
teacherId: string;
|
|
7169
|
+
acceptFiles: boolean;
|
|
7170
|
+
acceptExtendedResponse: boolean;
|
|
7171
|
+
acceptWorksheet: boolean;
|
|
7172
|
+
gradeWithAI: boolean;
|
|
6991
7173
|
inProgress: boolean;
|
|
6992
7174
|
order: number | null;
|
|
6993
7175
|
worksheetId: string | null;
|
|
@@ -7031,6 +7213,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7031
7213
|
gradeReceived: number | null;
|
|
7032
7214
|
createdAt: Date;
|
|
7033
7215
|
modifiedAt: Date;
|
|
7216
|
+
extendedResponse: string | null;
|
|
7034
7217
|
rubricState: string | null;
|
|
7035
7218
|
teacherComments: string | null;
|
|
7036
7219
|
submittedAt: Date | null;
|
|
@@ -7083,6 +7266,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7083
7266
|
createdAt: Date | null;
|
|
7084
7267
|
modifiedAt: Date | null;
|
|
7085
7268
|
teacherId: string;
|
|
7269
|
+
acceptFiles: boolean;
|
|
7270
|
+
acceptExtendedResponse: boolean;
|
|
7271
|
+
acceptWorksheet: boolean;
|
|
7272
|
+
gradeWithAI: boolean;
|
|
7086
7273
|
inProgress: boolean;
|
|
7087
7274
|
order: number | null;
|
|
7088
7275
|
worksheetId: string | null;
|
|
@@ -7159,6 +7346,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7159
7346
|
gradeReceived: number | null;
|
|
7160
7347
|
createdAt: Date;
|
|
7161
7348
|
modifiedAt: Date;
|
|
7349
|
+
extendedResponse: string | null;
|
|
7162
7350
|
rubricState: string | null;
|
|
7163
7351
|
teacherComments: string | null;
|
|
7164
7352
|
submittedAt: Date | null;
|
|
@@ -7227,6 +7415,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7227
7415
|
createdAt: Date | null;
|
|
7228
7416
|
modifiedAt: Date | null;
|
|
7229
7417
|
teacherId: string;
|
|
7418
|
+
acceptFiles: boolean;
|
|
7419
|
+
acceptExtendedResponse: boolean;
|
|
7420
|
+
acceptWorksheet: boolean;
|
|
7421
|
+
gradeWithAI: boolean;
|
|
7230
7422
|
inProgress: boolean;
|
|
7231
7423
|
order: number | null;
|
|
7232
7424
|
worksheetId: string | null;
|
|
@@ -7275,6 +7467,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7275
7467
|
gradeReceived: number | null;
|
|
7276
7468
|
createdAt: Date;
|
|
7277
7469
|
modifiedAt: Date;
|
|
7470
|
+
extendedResponse: string | null;
|
|
7278
7471
|
rubricState: string | null;
|
|
7279
7472
|
teacherComments: string | null;
|
|
7280
7473
|
submittedAt: Date | null;
|
|
@@ -7329,6 +7522,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7329
7522
|
createdAt: Date | null;
|
|
7330
7523
|
modifiedAt: Date | null;
|
|
7331
7524
|
teacherId: string;
|
|
7525
|
+
acceptFiles: boolean;
|
|
7526
|
+
acceptExtendedResponse: boolean;
|
|
7527
|
+
acceptWorksheet: boolean;
|
|
7528
|
+
gradeWithAI: boolean;
|
|
7332
7529
|
inProgress: boolean;
|
|
7333
7530
|
order: number | null;
|
|
7334
7531
|
worksheetId: string | null;
|
|
@@ -7381,6 +7578,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7381
7578
|
createdAt: Date | null;
|
|
7382
7579
|
modifiedAt: Date | null;
|
|
7383
7580
|
teacherId: string;
|
|
7581
|
+
acceptFiles: boolean;
|
|
7582
|
+
acceptExtendedResponse: boolean;
|
|
7583
|
+
acceptWorksheet: boolean;
|
|
7584
|
+
gradeWithAI: boolean;
|
|
7384
7585
|
inProgress: boolean;
|
|
7385
7586
|
order: number | null;
|
|
7386
7587
|
worksheetId: string | null;
|
|
@@ -7444,7 +7645,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7444
7645
|
password: string;
|
|
7445
7646
|
verified: boolean;
|
|
7446
7647
|
role: import(".prisma/client").$Enums.UserRole;
|
|
7447
|
-
profileId: string | null;
|
|
7448
7648
|
schoolId: string | null;
|
|
7449
7649
|
};
|
|
7450
7650
|
attachments: {
|
|
@@ -7509,6 +7709,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7509
7709
|
createdAt: Date | null;
|
|
7510
7710
|
modifiedAt: Date | null;
|
|
7511
7711
|
teacherId: string;
|
|
7712
|
+
acceptFiles: boolean;
|
|
7713
|
+
acceptExtendedResponse: boolean;
|
|
7714
|
+
acceptWorksheet: boolean;
|
|
7715
|
+
gradeWithAI: boolean;
|
|
7512
7716
|
inProgress: boolean;
|
|
7513
7717
|
order: number | null;
|
|
7514
7718
|
worksheetId: string | null;
|
|
@@ -7536,7 +7740,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7536
7740
|
password: string;
|
|
7537
7741
|
verified: boolean;
|
|
7538
7742
|
role: import(".prisma/client").$Enums.UserRole;
|
|
7539
|
-
profileId: string | null;
|
|
7540
7743
|
schoolId: string | null;
|
|
7541
7744
|
};
|
|
7542
7745
|
attachments: {
|
|
@@ -7601,6 +7804,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7601
7804
|
createdAt: Date | null;
|
|
7602
7805
|
modifiedAt: Date | null;
|
|
7603
7806
|
teacherId: string;
|
|
7807
|
+
acceptFiles: boolean;
|
|
7808
|
+
acceptExtendedResponse: boolean;
|
|
7809
|
+
acceptWorksheet: boolean;
|
|
7810
|
+
gradeWithAI: boolean;
|
|
7604
7811
|
inProgress: boolean;
|
|
7605
7812
|
order: number | null;
|
|
7606
7813
|
worksheetId: string | null;
|
|
@@ -7629,7 +7836,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7629
7836
|
password: string;
|
|
7630
7837
|
verified: boolean;
|
|
7631
7838
|
role: import(".prisma/client").$Enums.UserRole;
|
|
7632
|
-
profileId: string | null;
|
|
7633
7839
|
schoolId: string | null;
|
|
7634
7840
|
};
|
|
7635
7841
|
attachments: {
|
|
@@ -7694,6 +7900,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7694
7900
|
createdAt: Date | null;
|
|
7695
7901
|
modifiedAt: Date | null;
|
|
7696
7902
|
teacherId: string;
|
|
7903
|
+
acceptFiles: boolean;
|
|
7904
|
+
acceptExtendedResponse: boolean;
|
|
7905
|
+
acceptWorksheet: boolean;
|
|
7906
|
+
gradeWithAI: boolean;
|
|
7697
7907
|
inProgress: boolean;
|
|
7698
7908
|
order: number | null;
|
|
7699
7909
|
worksheetId: string | null;
|
|
@@ -7721,7 +7931,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7721
7931
|
password: string;
|
|
7722
7932
|
verified: boolean;
|
|
7723
7933
|
role: import(".prisma/client").$Enums.UserRole;
|
|
7724
|
-
profileId: string | null;
|
|
7725
7934
|
schoolId: string | null;
|
|
7726
7935
|
};
|
|
7727
7936
|
attachments: {
|
|
@@ -7786,6 +7995,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7786
7995
|
createdAt: Date | null;
|
|
7787
7996
|
modifiedAt: Date | null;
|
|
7788
7997
|
teacherId: string;
|
|
7998
|
+
acceptFiles: boolean;
|
|
7999
|
+
acceptExtendedResponse: boolean;
|
|
8000
|
+
acceptWorksheet: boolean;
|
|
8001
|
+
gradeWithAI: boolean;
|
|
7789
8002
|
inProgress: boolean;
|
|
7790
8003
|
order: number | null;
|
|
7791
8004
|
worksheetId: string | null;
|
|
@@ -8206,7 +8419,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
8206
8419
|
password: string;
|
|
8207
8420
|
verified: boolean;
|
|
8208
8421
|
role: import(".prisma/client").$Enums.UserRole;
|
|
8209
|
-
profileId: string | null;
|
|
8210
8422
|
schoolId: string | null;
|
|
8211
8423
|
} | null;
|
|
8212
8424
|
class: {
|
|
@@ -8359,6 +8571,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
8359
8571
|
createdAt: Date | null;
|
|
8360
8572
|
modifiedAt: Date | null;
|
|
8361
8573
|
teacherId: string;
|
|
8574
|
+
acceptFiles: boolean;
|
|
8575
|
+
acceptExtendedResponse: boolean;
|
|
8576
|
+
acceptWorksheet: boolean;
|
|
8577
|
+
gradeWithAI: boolean;
|
|
8362
8578
|
inProgress: boolean;
|
|
8363
8579
|
order: number | null;
|
|
8364
8580
|
worksheetId: string | null;
|
|
@@ -8404,6 +8620,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
8404
8620
|
createdAt: Date | null;
|
|
8405
8621
|
modifiedAt: Date | null;
|
|
8406
8622
|
teacherId: string;
|
|
8623
|
+
acceptFiles: boolean;
|
|
8624
|
+
acceptExtendedResponse: boolean;
|
|
8625
|
+
acceptWorksheet: boolean;
|
|
8626
|
+
gradeWithAI: boolean;
|
|
8407
8627
|
inProgress: boolean;
|
|
8408
8628
|
order: number | null;
|
|
8409
8629
|
worksheetId: string | null;
|
|
@@ -9779,6 +9999,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9779
9999
|
id: string;
|
|
9780
10000
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9781
10001
|
createdAt: Date;
|
|
10002
|
+
order: number | null;
|
|
9782
10003
|
worksheetId: string;
|
|
9783
10004
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9784
10005
|
updatedAt: Date;
|
|
@@ -9866,6 +10087,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9866
10087
|
id: string;
|
|
9867
10088
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9868
10089
|
createdAt: Date;
|
|
10090
|
+
order: number | null;
|
|
9869
10091
|
worksheetId: string;
|
|
9870
10092
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9871
10093
|
updatedAt: Date;
|
|
@@ -9874,6 +10096,18 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9874
10096
|
};
|
|
9875
10097
|
meta: object;
|
|
9876
10098
|
}>;
|
|
10099
|
+
reorderQuestions: import("@trpc/server").TRPCMutationProcedure<{
|
|
10100
|
+
input: {
|
|
10101
|
+
worksheetId: string;
|
|
10102
|
+
movedId: string;
|
|
10103
|
+
position: "before" | "after";
|
|
10104
|
+
targetId: string;
|
|
10105
|
+
};
|
|
10106
|
+
output: {
|
|
10107
|
+
id: string;
|
|
10108
|
+
}[];
|
|
10109
|
+
meta: object;
|
|
10110
|
+
}>;
|
|
9877
10111
|
updateQuestion: import("@trpc/server").TRPCMutationProcedure<{
|
|
9878
10112
|
input: {
|
|
9879
10113
|
worksheetId: string;
|
|
@@ -9889,6 +10123,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9889
10123
|
id: string;
|
|
9890
10124
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9891
10125
|
createdAt: Date;
|
|
10126
|
+
order: number | null;
|
|
9892
10127
|
worksheetId: string;
|
|
9893
10128
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9894
10129
|
updatedAt: Date;
|
|
@@ -9907,6 +10142,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9907
10142
|
id: string;
|
|
9908
10143
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9909
10144
|
createdAt: Date;
|
|
10145
|
+
order: number | null;
|
|
9910
10146
|
worksheetId: string;
|
|
9911
10147
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9912
10148
|
updatedAt: Date;
|
|
@@ -10014,6 +10250,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10014
10250
|
id: string;
|
|
10015
10251
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
10016
10252
|
createdAt: Date;
|
|
10253
|
+
order: number | null;
|
|
10017
10254
|
worksheetId: string;
|
|
10018
10255
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
10019
10256
|
updatedAt: Date;
|
|
@@ -10062,6 +10299,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10062
10299
|
id: string;
|
|
10063
10300
|
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
10064
10301
|
createdAt: Date;
|
|
10302
|
+
order: number | null;
|
|
10065
10303
|
worksheetId: string;
|
|
10066
10304
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
10067
10305
|
updatedAt: Date;
|