@studious-lms/server 1.1.19 → 1.1.21
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/BASE64_REMOVAL_SUMMARY.md +153 -0
- package/dist/lib/fileUpload.d.ts +45 -12
- package/dist/lib/fileUpload.d.ts.map +1 -1
- package/dist/lib/fileUpload.js +181 -72
- package/dist/lib/googleCloudStorage.d.ts +7 -8
- package/dist/lib/googleCloudStorage.d.ts.map +1 -1
- package/dist/lib/googleCloudStorage.js +21 -33
- package/dist/lib/thumbnailGenerator.d.ts +0 -1
- package/dist/lib/thumbnailGenerator.d.ts.map +1 -1
- package/dist/lib/thumbnailGenerator.js +3 -17
- package/dist/routers/_app.d.ts +476 -10
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/assignment.d.ts +221 -4
- package/dist/routers/assignment.d.ts.map +1 -1
- package/dist/routers/assignment.js +244 -16
- package/dist/routers/auth.js +1 -1
- package/dist/routers/file.d.ts +18 -0
- package/dist/routers/file.d.ts.map +1 -1
- package/dist/routers/folder.d.ts +0 -1
- package/dist/routers/folder.d.ts.map +1 -1
- package/dist/routers/folder.js +12 -9
- package/dist/routers/labChat.d.ts.map +1 -1
- package/dist/routers/labChat.js +4 -2
- package/package.json +1 -1
- package/prisma/migrations/20251020151505_add_upload_tracking_fields/migration.sql +57 -0
- package/prisma/schema.prisma +19 -0
- package/src/lib/fileUpload.ts +229 -83
- package/src/lib/googleCloudStorage.ts +21 -40
- package/src/lib/thumbnailGenerator.ts +3 -18
- package/src/routers/assignment.ts +292 -16
- package/src/routers/auth.ts +1 -1
- package/src/routers/folder.ts +13 -9
- package/src/routers/labChat.ts +4 -2
- package/src/routers/user.ts +1 -1
package/dist/routers/_app.d.ts
CHANGED
|
@@ -940,7 +940,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
940
940
|
type: string;
|
|
941
941
|
name: string;
|
|
942
942
|
size: number;
|
|
943
|
-
data: string;
|
|
944
943
|
}[] | undefined;
|
|
945
944
|
maxGrade?: number | undefined;
|
|
946
945
|
markSchemeId?: string | undefined;
|
|
@@ -989,7 +988,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
989
988
|
type: string;
|
|
990
989
|
name: string;
|
|
991
990
|
size: number;
|
|
992
|
-
data: string;
|
|
993
991
|
}[] | undefined;
|
|
994
992
|
title?: string | undefined;
|
|
995
993
|
dueDate?: string | undefined;
|
|
@@ -1063,6 +1061,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1063
1061
|
userId: string | null;
|
|
1064
1062
|
thumbnailId: string | null;
|
|
1065
1063
|
annotationId: string | null;
|
|
1064
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1065
|
+
uploadUrl: string | null;
|
|
1066
|
+
uploadExpiresAt: Date | null;
|
|
1067
|
+
uploadSessionId: string | null;
|
|
1068
|
+
uploadProgress: number | null;
|
|
1069
|
+
uploadError: string | null;
|
|
1070
|
+
uploadRetryCount: number;
|
|
1071
|
+
isOrphaned: boolean;
|
|
1072
|
+
cleanupAt: Date | null;
|
|
1066
1073
|
classDraftId: string | null;
|
|
1067
1074
|
folderId: string | null;
|
|
1068
1075
|
conversationId: string | null;
|
|
@@ -1221,6 +1228,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1221
1228
|
userId: string | null;
|
|
1222
1229
|
thumbnailId: string | null;
|
|
1223
1230
|
annotationId: string | null;
|
|
1231
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1232
|
+
uploadUrl: string | null;
|
|
1233
|
+
uploadExpiresAt: Date | null;
|
|
1234
|
+
uploadSessionId: string | null;
|
|
1235
|
+
uploadProgress: number | null;
|
|
1236
|
+
uploadError: string | null;
|
|
1237
|
+
uploadRetryCount: number;
|
|
1238
|
+
isOrphaned: boolean;
|
|
1239
|
+
cleanupAt: Date | null;
|
|
1224
1240
|
classDraftId: string | null;
|
|
1225
1241
|
folderId: string | null;
|
|
1226
1242
|
conversationId: string | null;
|
|
@@ -1239,6 +1255,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1239
1255
|
userId: string | null;
|
|
1240
1256
|
thumbnailId: string | null;
|
|
1241
1257
|
annotationId: string | null;
|
|
1258
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1259
|
+
uploadUrl: string | null;
|
|
1260
|
+
uploadExpiresAt: Date | null;
|
|
1261
|
+
uploadSessionId: string | null;
|
|
1262
|
+
uploadProgress: number | null;
|
|
1263
|
+
uploadError: string | null;
|
|
1264
|
+
uploadRetryCount: number;
|
|
1265
|
+
isOrphaned: boolean;
|
|
1266
|
+
cleanupAt: Date | null;
|
|
1242
1267
|
classDraftId: string | null;
|
|
1243
1268
|
folderId: string | null;
|
|
1244
1269
|
conversationId: string | null;
|
|
@@ -1326,6 +1351,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1326
1351
|
userId: string | null;
|
|
1327
1352
|
thumbnailId: string | null;
|
|
1328
1353
|
annotationId: string | null;
|
|
1354
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1355
|
+
uploadUrl: string | null;
|
|
1356
|
+
uploadExpiresAt: Date | null;
|
|
1357
|
+
uploadSessionId: string | null;
|
|
1358
|
+
uploadProgress: number | null;
|
|
1359
|
+
uploadError: string | null;
|
|
1360
|
+
uploadRetryCount: number;
|
|
1361
|
+
isOrphaned: boolean;
|
|
1362
|
+
cleanupAt: Date | null;
|
|
1329
1363
|
classDraftId: string | null;
|
|
1330
1364
|
folderId: string | null;
|
|
1331
1365
|
conversationId: string | null;
|
|
@@ -1344,6 +1378,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1344
1378
|
userId: string | null;
|
|
1345
1379
|
thumbnailId: string | null;
|
|
1346
1380
|
annotationId: string | null;
|
|
1381
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1382
|
+
uploadUrl: string | null;
|
|
1383
|
+
uploadExpiresAt: Date | null;
|
|
1384
|
+
uploadSessionId: string | null;
|
|
1385
|
+
uploadProgress: number | null;
|
|
1386
|
+
uploadError: string | null;
|
|
1387
|
+
uploadRetryCount: number;
|
|
1388
|
+
isOrphaned: boolean;
|
|
1389
|
+
cleanupAt: Date | null;
|
|
1347
1390
|
classDraftId: string | null;
|
|
1348
1391
|
folderId: string | null;
|
|
1349
1392
|
conversationId: string | null;
|
|
@@ -1414,6 +1457,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1414
1457
|
student: {
|
|
1415
1458
|
id: string;
|
|
1416
1459
|
username: string;
|
|
1460
|
+
profile: {
|
|
1461
|
+
id: string;
|
|
1462
|
+
location: string | null;
|
|
1463
|
+
userId: string;
|
|
1464
|
+
createdAt: Date;
|
|
1465
|
+
displayName: string | null;
|
|
1466
|
+
bio: string | null;
|
|
1467
|
+
website: string | null;
|
|
1468
|
+
profilePicture: string | null;
|
|
1469
|
+
profilePictureThumbnail: string | null;
|
|
1470
|
+
updatedAt: Date;
|
|
1471
|
+
} | null;
|
|
1417
1472
|
};
|
|
1418
1473
|
attachments: {
|
|
1419
1474
|
path: string;
|
|
@@ -1427,6 +1482,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1427
1482
|
userId: string | null;
|
|
1428
1483
|
thumbnailId: string | null;
|
|
1429
1484
|
annotationId: string | null;
|
|
1485
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1486
|
+
uploadUrl: string | null;
|
|
1487
|
+
uploadExpiresAt: Date | null;
|
|
1488
|
+
uploadSessionId: string | null;
|
|
1489
|
+
uploadProgress: number | null;
|
|
1490
|
+
uploadError: string | null;
|
|
1491
|
+
uploadRetryCount: number;
|
|
1492
|
+
isOrphaned: boolean;
|
|
1493
|
+
cleanupAt: Date | null;
|
|
1430
1494
|
classDraftId: string | null;
|
|
1431
1495
|
folderId: string | null;
|
|
1432
1496
|
conversationId: string | null;
|
|
@@ -1445,6 +1509,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1445
1509
|
userId: string | null;
|
|
1446
1510
|
thumbnailId: string | null;
|
|
1447
1511
|
annotationId: string | null;
|
|
1512
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1513
|
+
uploadUrl: string | null;
|
|
1514
|
+
uploadExpiresAt: Date | null;
|
|
1515
|
+
uploadSessionId: string | null;
|
|
1516
|
+
uploadProgress: number | null;
|
|
1517
|
+
uploadError: string | null;
|
|
1518
|
+
uploadRetryCount: number;
|
|
1519
|
+
isOrphaned: boolean;
|
|
1520
|
+
cleanupAt: Date | null;
|
|
1448
1521
|
classDraftId: string | null;
|
|
1449
1522
|
folderId: string | null;
|
|
1450
1523
|
conversationId: string | null;
|
|
@@ -1478,7 +1551,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1478
1551
|
type: string;
|
|
1479
1552
|
name: string;
|
|
1480
1553
|
size: number;
|
|
1481
|
-
data: string;
|
|
1482
1554
|
}[] | undefined;
|
|
1483
1555
|
};
|
|
1484
1556
|
output: {
|
|
@@ -1537,6 +1609,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1537
1609
|
userId: string | null;
|
|
1538
1610
|
thumbnailId: string | null;
|
|
1539
1611
|
annotationId: string | null;
|
|
1612
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1613
|
+
uploadUrl: string | null;
|
|
1614
|
+
uploadExpiresAt: Date | null;
|
|
1615
|
+
uploadSessionId: string | null;
|
|
1616
|
+
uploadProgress: number | null;
|
|
1617
|
+
uploadError: string | null;
|
|
1618
|
+
uploadRetryCount: number;
|
|
1619
|
+
isOrphaned: boolean;
|
|
1620
|
+
cleanupAt: Date | null;
|
|
1540
1621
|
classDraftId: string | null;
|
|
1541
1622
|
folderId: string | null;
|
|
1542
1623
|
conversationId: string | null;
|
|
@@ -1627,6 +1708,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1627
1708
|
userId: string | null;
|
|
1628
1709
|
thumbnailId: string | null;
|
|
1629
1710
|
annotationId: string | null;
|
|
1711
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1712
|
+
uploadUrl: string | null;
|
|
1713
|
+
uploadExpiresAt: Date | null;
|
|
1714
|
+
uploadSessionId: string | null;
|
|
1715
|
+
uploadProgress: number | null;
|
|
1716
|
+
uploadError: string | null;
|
|
1717
|
+
uploadRetryCount: number;
|
|
1718
|
+
isOrphaned: boolean;
|
|
1719
|
+
cleanupAt: Date | null;
|
|
1630
1720
|
classDraftId: string | null;
|
|
1631
1721
|
folderId: string | null;
|
|
1632
1722
|
conversationId: string | null;
|
|
@@ -1645,6 +1735,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1645
1735
|
userId: string | null;
|
|
1646
1736
|
thumbnailId: string | null;
|
|
1647
1737
|
annotationId: string | null;
|
|
1738
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1739
|
+
uploadUrl: string | null;
|
|
1740
|
+
uploadExpiresAt: Date | null;
|
|
1741
|
+
uploadSessionId: string | null;
|
|
1742
|
+
uploadProgress: number | null;
|
|
1743
|
+
uploadError: string | null;
|
|
1744
|
+
uploadRetryCount: number;
|
|
1745
|
+
isOrphaned: boolean;
|
|
1746
|
+
cleanupAt: Date | null;
|
|
1648
1747
|
classDraftId: string | null;
|
|
1649
1748
|
folderId: string | null;
|
|
1650
1749
|
conversationId: string | null;
|
|
@@ -1679,7 +1778,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1679
1778
|
type: string;
|
|
1680
1779
|
name: string;
|
|
1681
1780
|
size: number;
|
|
1682
|
-
data: string;
|
|
1683
1781
|
}[] | undefined;
|
|
1684
1782
|
return?: boolean | undefined;
|
|
1685
1783
|
rubricGrades?: {
|
|
@@ -1750,6 +1848,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1750
1848
|
userId: string | null;
|
|
1751
1849
|
thumbnailId: string | null;
|
|
1752
1850
|
annotationId: string | null;
|
|
1851
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
1852
|
+
uploadUrl: string | null;
|
|
1853
|
+
uploadExpiresAt: Date | null;
|
|
1854
|
+
uploadSessionId: string | null;
|
|
1855
|
+
uploadProgress: number | null;
|
|
1856
|
+
uploadError: string | null;
|
|
1857
|
+
uploadRetryCount: number;
|
|
1858
|
+
isOrphaned: boolean;
|
|
1859
|
+
cleanupAt: Date | null;
|
|
1753
1860
|
classDraftId: string | null;
|
|
1754
1861
|
folderId: string | null;
|
|
1755
1862
|
conversationId: string | null;
|
|
@@ -1945,6 +2052,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1945
2052
|
userId: string | null;
|
|
1946
2053
|
thumbnailId: string | null;
|
|
1947
2054
|
annotationId: string | null;
|
|
2055
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2056
|
+
uploadUrl: string | null;
|
|
2057
|
+
uploadExpiresAt: Date | null;
|
|
2058
|
+
uploadSessionId: string | null;
|
|
2059
|
+
uploadProgress: number | null;
|
|
2060
|
+
uploadError: string | null;
|
|
2061
|
+
uploadRetryCount: number;
|
|
2062
|
+
isOrphaned: boolean;
|
|
2063
|
+
cleanupAt: Date | null;
|
|
1948
2064
|
classDraftId: string | null;
|
|
1949
2065
|
folderId: string | null;
|
|
1950
2066
|
conversationId: string | null;
|
|
@@ -2026,6 +2142,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2026
2142
|
userId: string | null;
|
|
2027
2143
|
thumbnailId: string | null;
|
|
2028
2144
|
annotationId: string | null;
|
|
2145
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2146
|
+
uploadUrl: string | null;
|
|
2147
|
+
uploadExpiresAt: Date | null;
|
|
2148
|
+
uploadSessionId: string | null;
|
|
2149
|
+
uploadProgress: number | null;
|
|
2150
|
+
uploadError: string | null;
|
|
2151
|
+
uploadRetryCount: number;
|
|
2152
|
+
isOrphaned: boolean;
|
|
2153
|
+
cleanupAt: Date | null;
|
|
2029
2154
|
classDraftId: string | null;
|
|
2030
2155
|
folderId: string | null;
|
|
2031
2156
|
conversationId: string | null;
|
|
@@ -2108,6 +2233,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2108
2233
|
userId: string | null;
|
|
2109
2234
|
thumbnailId: string | null;
|
|
2110
2235
|
annotationId: string | null;
|
|
2236
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2237
|
+
uploadUrl: string | null;
|
|
2238
|
+
uploadExpiresAt: Date | null;
|
|
2239
|
+
uploadSessionId: string | null;
|
|
2240
|
+
uploadProgress: number | null;
|
|
2241
|
+
uploadError: string | null;
|
|
2242
|
+
uploadRetryCount: number;
|
|
2243
|
+
isOrphaned: boolean;
|
|
2244
|
+
cleanupAt: Date | null;
|
|
2111
2245
|
classDraftId: string | null;
|
|
2112
2246
|
folderId: string | null;
|
|
2113
2247
|
conversationId: string | null;
|
|
@@ -2189,6 +2323,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2189
2323
|
userId: string | null;
|
|
2190
2324
|
thumbnailId: string | null;
|
|
2191
2325
|
annotationId: string | null;
|
|
2326
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
2327
|
+
uploadUrl: string | null;
|
|
2328
|
+
uploadExpiresAt: Date | null;
|
|
2329
|
+
uploadSessionId: string | null;
|
|
2330
|
+
uploadProgress: number | null;
|
|
2331
|
+
uploadError: string | null;
|
|
2332
|
+
uploadRetryCount: number;
|
|
2333
|
+
isOrphaned: boolean;
|
|
2334
|
+
cleanupAt: Date | null;
|
|
2192
2335
|
classDraftId: string | null;
|
|
2193
2336
|
folderId: string | null;
|
|
2194
2337
|
conversationId: string | null;
|
|
@@ -2234,6 +2377,79 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2234
2377
|
};
|
|
2235
2378
|
meta: object;
|
|
2236
2379
|
}>;
|
|
2380
|
+
getAssignmentUploadUrls: import("@trpc/server").TRPCMutationProcedure<{
|
|
2381
|
+
input: {
|
|
2382
|
+
[x: string]: unknown;
|
|
2383
|
+
classId: string;
|
|
2384
|
+
files: {
|
|
2385
|
+
type: string;
|
|
2386
|
+
name: string;
|
|
2387
|
+
size: number;
|
|
2388
|
+
}[];
|
|
2389
|
+
assignmentId: string;
|
|
2390
|
+
};
|
|
2391
|
+
output: {
|
|
2392
|
+
success: boolean;
|
|
2393
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[];
|
|
2394
|
+
};
|
|
2395
|
+
meta: object;
|
|
2396
|
+
}>;
|
|
2397
|
+
getSubmissionUploadUrls: import("@trpc/server").TRPCMutationProcedure<{
|
|
2398
|
+
input: {
|
|
2399
|
+
[x: string]: unknown;
|
|
2400
|
+
classId: string;
|
|
2401
|
+
files: {
|
|
2402
|
+
type: string;
|
|
2403
|
+
name: string;
|
|
2404
|
+
size: number;
|
|
2405
|
+
}[];
|
|
2406
|
+
submissionId: string;
|
|
2407
|
+
};
|
|
2408
|
+
output: {
|
|
2409
|
+
success: boolean;
|
|
2410
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[];
|
|
2411
|
+
};
|
|
2412
|
+
meta: object;
|
|
2413
|
+
}>;
|
|
2414
|
+
confirmAssignmentUpload: import("@trpc/server").TRPCMutationProcedure<{
|
|
2415
|
+
input: {
|
|
2416
|
+
[x: string]: unknown;
|
|
2417
|
+
classId: string;
|
|
2418
|
+
fileId: string;
|
|
2419
|
+
uploadSuccess: boolean;
|
|
2420
|
+
errorMessage?: string | undefined;
|
|
2421
|
+
};
|
|
2422
|
+
output: {
|
|
2423
|
+
success: boolean;
|
|
2424
|
+
message: string;
|
|
2425
|
+
};
|
|
2426
|
+
meta: object;
|
|
2427
|
+
}>;
|
|
2428
|
+
confirmSubmissionUpload: import("@trpc/server").TRPCMutationProcedure<{
|
|
2429
|
+
input: {
|
|
2430
|
+
[x: string]: unknown;
|
|
2431
|
+
classId: string;
|
|
2432
|
+
fileId: string;
|
|
2433
|
+
uploadSuccess: boolean;
|
|
2434
|
+
errorMessage?: string | undefined;
|
|
2435
|
+
};
|
|
2436
|
+
output: {
|
|
2437
|
+
success: boolean;
|
|
2438
|
+
message: string;
|
|
2439
|
+
};
|
|
2440
|
+
meta: object;
|
|
2441
|
+
}>;
|
|
2442
|
+
updateUploadProgress: import("@trpc/server").TRPCMutationProcedure<{
|
|
2443
|
+
input: {
|
|
2444
|
+
fileId: string;
|
|
2445
|
+
progress: number;
|
|
2446
|
+
};
|
|
2447
|
+
output: {
|
|
2448
|
+
success: boolean;
|
|
2449
|
+
progress: number;
|
|
2450
|
+
};
|
|
2451
|
+
meta: object;
|
|
2452
|
+
}>;
|
|
2237
2453
|
}>>;
|
|
2238
2454
|
user: import("@trpc/server").TRPCBuiltRouter<{
|
|
2239
2455
|
ctx: import("../trpc.js").Context;
|
|
@@ -2983,6 +3199,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2983
3199
|
userId: string | null;
|
|
2984
3200
|
thumbnailId: string | null;
|
|
2985
3201
|
annotationId: string | null;
|
|
3202
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
3203
|
+
uploadUrl: string | null;
|
|
3204
|
+
uploadExpiresAt: Date | null;
|
|
3205
|
+
uploadSessionId: string | null;
|
|
3206
|
+
uploadProgress: number | null;
|
|
3207
|
+
uploadError: string | null;
|
|
3208
|
+
uploadRetryCount: number;
|
|
3209
|
+
isOrphaned: boolean;
|
|
3210
|
+
cleanupAt: Date | null;
|
|
2986
3211
|
classDraftId: string | null;
|
|
2987
3212
|
folderId: string | null;
|
|
2988
3213
|
conversationId: string | null;
|
|
@@ -3015,6 +3240,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3015
3240
|
userId: string | null;
|
|
3016
3241
|
thumbnailId: string | null;
|
|
3017
3242
|
annotationId: string | null;
|
|
3243
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
3244
|
+
uploadUrl: string | null;
|
|
3245
|
+
uploadExpiresAt: Date | null;
|
|
3246
|
+
uploadSessionId: string | null;
|
|
3247
|
+
uploadProgress: number | null;
|
|
3248
|
+
uploadError: string | null;
|
|
3249
|
+
uploadRetryCount: number;
|
|
3250
|
+
isOrphaned: boolean;
|
|
3251
|
+
cleanupAt: Date | null;
|
|
3018
3252
|
classDraftId: string | null;
|
|
3019
3253
|
folderId: string | null;
|
|
3020
3254
|
conversationId: string | null;
|
|
@@ -3244,7 +3478,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3244
3478
|
type: string;
|
|
3245
3479
|
name: string;
|
|
3246
3480
|
size: number;
|
|
3247
|
-
data: string;
|
|
3248
3481
|
}[];
|
|
3249
3482
|
folderId: string;
|
|
3250
3483
|
};
|
|
@@ -4963,7 +5196,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4963
5196
|
type: string;
|
|
4964
5197
|
name: string;
|
|
4965
5198
|
size: number;
|
|
4966
|
-
data: string;
|
|
4967
5199
|
}[] | undefined;
|
|
4968
5200
|
maxGrade?: number | undefined;
|
|
4969
5201
|
markSchemeId?: string | undefined;
|
|
@@ -5012,7 +5244,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5012
5244
|
type: string;
|
|
5013
5245
|
name: string;
|
|
5014
5246
|
size: number;
|
|
5015
|
-
data: string;
|
|
5016
5247
|
}[] | undefined;
|
|
5017
5248
|
title?: string | undefined;
|
|
5018
5249
|
dueDate?: string | undefined;
|
|
@@ -5086,6 +5317,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5086
5317
|
userId: string | null;
|
|
5087
5318
|
thumbnailId: string | null;
|
|
5088
5319
|
annotationId: string | null;
|
|
5320
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
5321
|
+
uploadUrl: string | null;
|
|
5322
|
+
uploadExpiresAt: Date | null;
|
|
5323
|
+
uploadSessionId: string | null;
|
|
5324
|
+
uploadProgress: number | null;
|
|
5325
|
+
uploadError: string | null;
|
|
5326
|
+
uploadRetryCount: number;
|
|
5327
|
+
isOrphaned: boolean;
|
|
5328
|
+
cleanupAt: Date | null;
|
|
5089
5329
|
classDraftId: string | null;
|
|
5090
5330
|
folderId: string | null;
|
|
5091
5331
|
conversationId: string | null;
|
|
@@ -5244,6 +5484,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5244
5484
|
userId: string | null;
|
|
5245
5485
|
thumbnailId: string | null;
|
|
5246
5486
|
annotationId: string | null;
|
|
5487
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
5488
|
+
uploadUrl: string | null;
|
|
5489
|
+
uploadExpiresAt: Date | null;
|
|
5490
|
+
uploadSessionId: string | null;
|
|
5491
|
+
uploadProgress: number | null;
|
|
5492
|
+
uploadError: string | null;
|
|
5493
|
+
uploadRetryCount: number;
|
|
5494
|
+
isOrphaned: boolean;
|
|
5495
|
+
cleanupAt: Date | null;
|
|
5247
5496
|
classDraftId: string | null;
|
|
5248
5497
|
folderId: string | null;
|
|
5249
5498
|
conversationId: string | null;
|
|
@@ -5262,6 +5511,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5262
5511
|
userId: string | null;
|
|
5263
5512
|
thumbnailId: string | null;
|
|
5264
5513
|
annotationId: string | null;
|
|
5514
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
5515
|
+
uploadUrl: string | null;
|
|
5516
|
+
uploadExpiresAt: Date | null;
|
|
5517
|
+
uploadSessionId: string | null;
|
|
5518
|
+
uploadProgress: number | null;
|
|
5519
|
+
uploadError: string | null;
|
|
5520
|
+
uploadRetryCount: number;
|
|
5521
|
+
isOrphaned: boolean;
|
|
5522
|
+
cleanupAt: Date | null;
|
|
5265
5523
|
classDraftId: string | null;
|
|
5266
5524
|
folderId: string | null;
|
|
5267
5525
|
conversationId: string | null;
|
|
@@ -5349,6 +5607,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5349
5607
|
userId: string | null;
|
|
5350
5608
|
thumbnailId: string | null;
|
|
5351
5609
|
annotationId: string | null;
|
|
5610
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
5611
|
+
uploadUrl: string | null;
|
|
5612
|
+
uploadExpiresAt: Date | null;
|
|
5613
|
+
uploadSessionId: string | null;
|
|
5614
|
+
uploadProgress: number | null;
|
|
5615
|
+
uploadError: string | null;
|
|
5616
|
+
uploadRetryCount: number;
|
|
5617
|
+
isOrphaned: boolean;
|
|
5618
|
+
cleanupAt: Date | null;
|
|
5352
5619
|
classDraftId: string | null;
|
|
5353
5620
|
folderId: string | null;
|
|
5354
5621
|
conversationId: string | null;
|
|
@@ -5367,6 +5634,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5367
5634
|
userId: string | null;
|
|
5368
5635
|
thumbnailId: string | null;
|
|
5369
5636
|
annotationId: string | null;
|
|
5637
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
5638
|
+
uploadUrl: string | null;
|
|
5639
|
+
uploadExpiresAt: Date | null;
|
|
5640
|
+
uploadSessionId: string | null;
|
|
5641
|
+
uploadProgress: number | null;
|
|
5642
|
+
uploadError: string | null;
|
|
5643
|
+
uploadRetryCount: number;
|
|
5644
|
+
isOrphaned: boolean;
|
|
5645
|
+
cleanupAt: Date | null;
|
|
5370
5646
|
classDraftId: string | null;
|
|
5371
5647
|
folderId: string | null;
|
|
5372
5648
|
conversationId: string | null;
|
|
@@ -5437,6 +5713,18 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5437
5713
|
student: {
|
|
5438
5714
|
id: string;
|
|
5439
5715
|
username: string;
|
|
5716
|
+
profile: {
|
|
5717
|
+
id: string;
|
|
5718
|
+
location: string | null;
|
|
5719
|
+
userId: string;
|
|
5720
|
+
createdAt: Date;
|
|
5721
|
+
displayName: string | null;
|
|
5722
|
+
bio: string | null;
|
|
5723
|
+
website: string | null;
|
|
5724
|
+
profilePicture: string | null;
|
|
5725
|
+
profilePictureThumbnail: string | null;
|
|
5726
|
+
updatedAt: Date;
|
|
5727
|
+
} | null;
|
|
5440
5728
|
};
|
|
5441
5729
|
attachments: {
|
|
5442
5730
|
path: string;
|
|
@@ -5450,6 +5738,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5450
5738
|
userId: string | null;
|
|
5451
5739
|
thumbnailId: string | null;
|
|
5452
5740
|
annotationId: string | null;
|
|
5741
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
5742
|
+
uploadUrl: string | null;
|
|
5743
|
+
uploadExpiresAt: Date | null;
|
|
5744
|
+
uploadSessionId: string | null;
|
|
5745
|
+
uploadProgress: number | null;
|
|
5746
|
+
uploadError: string | null;
|
|
5747
|
+
uploadRetryCount: number;
|
|
5748
|
+
isOrphaned: boolean;
|
|
5749
|
+
cleanupAt: Date | null;
|
|
5453
5750
|
classDraftId: string | null;
|
|
5454
5751
|
folderId: string | null;
|
|
5455
5752
|
conversationId: string | null;
|
|
@@ -5468,6 +5765,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5468
5765
|
userId: string | null;
|
|
5469
5766
|
thumbnailId: string | null;
|
|
5470
5767
|
annotationId: string | null;
|
|
5768
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
5769
|
+
uploadUrl: string | null;
|
|
5770
|
+
uploadExpiresAt: Date | null;
|
|
5771
|
+
uploadSessionId: string | null;
|
|
5772
|
+
uploadProgress: number | null;
|
|
5773
|
+
uploadError: string | null;
|
|
5774
|
+
uploadRetryCount: number;
|
|
5775
|
+
isOrphaned: boolean;
|
|
5776
|
+
cleanupAt: Date | null;
|
|
5471
5777
|
classDraftId: string | null;
|
|
5472
5778
|
folderId: string | null;
|
|
5473
5779
|
conversationId: string | null;
|
|
@@ -5501,7 +5807,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5501
5807
|
type: string;
|
|
5502
5808
|
name: string;
|
|
5503
5809
|
size: number;
|
|
5504
|
-
data: string;
|
|
5505
5810
|
}[] | undefined;
|
|
5506
5811
|
};
|
|
5507
5812
|
output: {
|
|
@@ -5560,6 +5865,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5560
5865
|
userId: string | null;
|
|
5561
5866
|
thumbnailId: string | null;
|
|
5562
5867
|
annotationId: string | null;
|
|
5868
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
5869
|
+
uploadUrl: string | null;
|
|
5870
|
+
uploadExpiresAt: Date | null;
|
|
5871
|
+
uploadSessionId: string | null;
|
|
5872
|
+
uploadProgress: number | null;
|
|
5873
|
+
uploadError: string | null;
|
|
5874
|
+
uploadRetryCount: number;
|
|
5875
|
+
isOrphaned: boolean;
|
|
5876
|
+
cleanupAt: Date | null;
|
|
5563
5877
|
classDraftId: string | null;
|
|
5564
5878
|
folderId: string | null;
|
|
5565
5879
|
conversationId: string | null;
|
|
@@ -5650,6 +5964,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5650
5964
|
userId: string | null;
|
|
5651
5965
|
thumbnailId: string | null;
|
|
5652
5966
|
annotationId: string | null;
|
|
5967
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
5968
|
+
uploadUrl: string | null;
|
|
5969
|
+
uploadExpiresAt: Date | null;
|
|
5970
|
+
uploadSessionId: string | null;
|
|
5971
|
+
uploadProgress: number | null;
|
|
5972
|
+
uploadError: string | null;
|
|
5973
|
+
uploadRetryCount: number;
|
|
5974
|
+
isOrphaned: boolean;
|
|
5975
|
+
cleanupAt: Date | null;
|
|
5653
5976
|
classDraftId: string | null;
|
|
5654
5977
|
folderId: string | null;
|
|
5655
5978
|
conversationId: string | null;
|
|
@@ -5668,6 +5991,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5668
5991
|
userId: string | null;
|
|
5669
5992
|
thumbnailId: string | null;
|
|
5670
5993
|
annotationId: string | null;
|
|
5994
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
5995
|
+
uploadUrl: string | null;
|
|
5996
|
+
uploadExpiresAt: Date | null;
|
|
5997
|
+
uploadSessionId: string | null;
|
|
5998
|
+
uploadProgress: number | null;
|
|
5999
|
+
uploadError: string | null;
|
|
6000
|
+
uploadRetryCount: number;
|
|
6001
|
+
isOrphaned: boolean;
|
|
6002
|
+
cleanupAt: Date | null;
|
|
5671
6003
|
classDraftId: string | null;
|
|
5672
6004
|
folderId: string | null;
|
|
5673
6005
|
conversationId: string | null;
|
|
@@ -5702,7 +6034,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5702
6034
|
type: string;
|
|
5703
6035
|
name: string;
|
|
5704
6036
|
size: number;
|
|
5705
|
-
data: string;
|
|
5706
6037
|
}[] | undefined;
|
|
5707
6038
|
return?: boolean | undefined;
|
|
5708
6039
|
rubricGrades?: {
|
|
@@ -5773,6 +6104,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5773
6104
|
userId: string | null;
|
|
5774
6105
|
thumbnailId: string | null;
|
|
5775
6106
|
annotationId: string | null;
|
|
6107
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
6108
|
+
uploadUrl: string | null;
|
|
6109
|
+
uploadExpiresAt: Date | null;
|
|
6110
|
+
uploadSessionId: string | null;
|
|
6111
|
+
uploadProgress: number | null;
|
|
6112
|
+
uploadError: string | null;
|
|
6113
|
+
uploadRetryCount: number;
|
|
6114
|
+
isOrphaned: boolean;
|
|
6115
|
+
cleanupAt: Date | null;
|
|
5776
6116
|
classDraftId: string | null;
|
|
5777
6117
|
folderId: string | null;
|
|
5778
6118
|
conversationId: string | null;
|
|
@@ -5968,6 +6308,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5968
6308
|
userId: string | null;
|
|
5969
6309
|
thumbnailId: string | null;
|
|
5970
6310
|
annotationId: string | null;
|
|
6311
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
6312
|
+
uploadUrl: string | null;
|
|
6313
|
+
uploadExpiresAt: Date | null;
|
|
6314
|
+
uploadSessionId: string | null;
|
|
6315
|
+
uploadProgress: number | null;
|
|
6316
|
+
uploadError: string | null;
|
|
6317
|
+
uploadRetryCount: number;
|
|
6318
|
+
isOrphaned: boolean;
|
|
6319
|
+
cleanupAt: Date | null;
|
|
5971
6320
|
classDraftId: string | null;
|
|
5972
6321
|
folderId: string | null;
|
|
5973
6322
|
conversationId: string | null;
|
|
@@ -6049,6 +6398,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6049
6398
|
userId: string | null;
|
|
6050
6399
|
thumbnailId: string | null;
|
|
6051
6400
|
annotationId: string | null;
|
|
6401
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
6402
|
+
uploadUrl: string | null;
|
|
6403
|
+
uploadExpiresAt: Date | null;
|
|
6404
|
+
uploadSessionId: string | null;
|
|
6405
|
+
uploadProgress: number | null;
|
|
6406
|
+
uploadError: string | null;
|
|
6407
|
+
uploadRetryCount: number;
|
|
6408
|
+
isOrphaned: boolean;
|
|
6409
|
+
cleanupAt: Date | null;
|
|
6052
6410
|
classDraftId: string | null;
|
|
6053
6411
|
folderId: string | null;
|
|
6054
6412
|
conversationId: string | null;
|
|
@@ -6131,6 +6489,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6131
6489
|
userId: string | null;
|
|
6132
6490
|
thumbnailId: string | null;
|
|
6133
6491
|
annotationId: string | null;
|
|
6492
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
6493
|
+
uploadUrl: string | null;
|
|
6494
|
+
uploadExpiresAt: Date | null;
|
|
6495
|
+
uploadSessionId: string | null;
|
|
6496
|
+
uploadProgress: number | null;
|
|
6497
|
+
uploadError: string | null;
|
|
6498
|
+
uploadRetryCount: number;
|
|
6499
|
+
isOrphaned: boolean;
|
|
6500
|
+
cleanupAt: Date | null;
|
|
6134
6501
|
classDraftId: string | null;
|
|
6135
6502
|
folderId: string | null;
|
|
6136
6503
|
conversationId: string | null;
|
|
@@ -6212,6 +6579,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6212
6579
|
userId: string | null;
|
|
6213
6580
|
thumbnailId: string | null;
|
|
6214
6581
|
annotationId: string | null;
|
|
6582
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
6583
|
+
uploadUrl: string | null;
|
|
6584
|
+
uploadExpiresAt: Date | null;
|
|
6585
|
+
uploadSessionId: string | null;
|
|
6586
|
+
uploadProgress: number | null;
|
|
6587
|
+
uploadError: string | null;
|
|
6588
|
+
uploadRetryCount: number;
|
|
6589
|
+
isOrphaned: boolean;
|
|
6590
|
+
cleanupAt: Date | null;
|
|
6215
6591
|
classDraftId: string | null;
|
|
6216
6592
|
folderId: string | null;
|
|
6217
6593
|
conversationId: string | null;
|
|
@@ -6257,6 +6633,79 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6257
6633
|
};
|
|
6258
6634
|
meta: object;
|
|
6259
6635
|
}>;
|
|
6636
|
+
getAssignmentUploadUrls: import("@trpc/server").TRPCMutationProcedure<{
|
|
6637
|
+
input: {
|
|
6638
|
+
[x: string]: unknown;
|
|
6639
|
+
classId: string;
|
|
6640
|
+
files: {
|
|
6641
|
+
type: string;
|
|
6642
|
+
name: string;
|
|
6643
|
+
size: number;
|
|
6644
|
+
}[];
|
|
6645
|
+
assignmentId: string;
|
|
6646
|
+
};
|
|
6647
|
+
output: {
|
|
6648
|
+
success: boolean;
|
|
6649
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[];
|
|
6650
|
+
};
|
|
6651
|
+
meta: object;
|
|
6652
|
+
}>;
|
|
6653
|
+
getSubmissionUploadUrls: import("@trpc/server").TRPCMutationProcedure<{
|
|
6654
|
+
input: {
|
|
6655
|
+
[x: string]: unknown;
|
|
6656
|
+
classId: string;
|
|
6657
|
+
files: {
|
|
6658
|
+
type: string;
|
|
6659
|
+
name: string;
|
|
6660
|
+
size: number;
|
|
6661
|
+
}[];
|
|
6662
|
+
submissionId: string;
|
|
6663
|
+
};
|
|
6664
|
+
output: {
|
|
6665
|
+
success: boolean;
|
|
6666
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[];
|
|
6667
|
+
};
|
|
6668
|
+
meta: object;
|
|
6669
|
+
}>;
|
|
6670
|
+
confirmAssignmentUpload: import("@trpc/server").TRPCMutationProcedure<{
|
|
6671
|
+
input: {
|
|
6672
|
+
[x: string]: unknown;
|
|
6673
|
+
classId: string;
|
|
6674
|
+
fileId: string;
|
|
6675
|
+
uploadSuccess: boolean;
|
|
6676
|
+
errorMessage?: string | undefined;
|
|
6677
|
+
};
|
|
6678
|
+
output: {
|
|
6679
|
+
success: boolean;
|
|
6680
|
+
message: string;
|
|
6681
|
+
};
|
|
6682
|
+
meta: object;
|
|
6683
|
+
}>;
|
|
6684
|
+
confirmSubmissionUpload: import("@trpc/server").TRPCMutationProcedure<{
|
|
6685
|
+
input: {
|
|
6686
|
+
[x: string]: unknown;
|
|
6687
|
+
classId: string;
|
|
6688
|
+
fileId: string;
|
|
6689
|
+
uploadSuccess: boolean;
|
|
6690
|
+
errorMessage?: string | undefined;
|
|
6691
|
+
};
|
|
6692
|
+
output: {
|
|
6693
|
+
success: boolean;
|
|
6694
|
+
message: string;
|
|
6695
|
+
};
|
|
6696
|
+
meta: object;
|
|
6697
|
+
}>;
|
|
6698
|
+
updateUploadProgress: import("@trpc/server").TRPCMutationProcedure<{
|
|
6699
|
+
input: {
|
|
6700
|
+
fileId: string;
|
|
6701
|
+
progress: number;
|
|
6702
|
+
};
|
|
6703
|
+
output: {
|
|
6704
|
+
success: boolean;
|
|
6705
|
+
progress: number;
|
|
6706
|
+
};
|
|
6707
|
+
meta: object;
|
|
6708
|
+
}>;
|
|
6260
6709
|
}>>;
|
|
6261
6710
|
user: import("@trpc/server").TRPCBuiltRouter<{
|
|
6262
6711
|
ctx: import("../trpc.js").Context;
|
|
@@ -7006,6 +7455,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7006
7455
|
userId: string | null;
|
|
7007
7456
|
thumbnailId: string | null;
|
|
7008
7457
|
annotationId: string | null;
|
|
7458
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
7459
|
+
uploadUrl: string | null;
|
|
7460
|
+
uploadExpiresAt: Date | null;
|
|
7461
|
+
uploadSessionId: string | null;
|
|
7462
|
+
uploadProgress: number | null;
|
|
7463
|
+
uploadError: string | null;
|
|
7464
|
+
uploadRetryCount: number;
|
|
7465
|
+
isOrphaned: boolean;
|
|
7466
|
+
cleanupAt: Date | null;
|
|
7009
7467
|
classDraftId: string | null;
|
|
7010
7468
|
folderId: string | null;
|
|
7011
7469
|
conversationId: string | null;
|
|
@@ -7038,6 +7496,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7038
7496
|
userId: string | null;
|
|
7039
7497
|
thumbnailId: string | null;
|
|
7040
7498
|
annotationId: string | null;
|
|
7499
|
+
uploadStatus: import(".prisma/client").$Enums.UploadStatus;
|
|
7500
|
+
uploadUrl: string | null;
|
|
7501
|
+
uploadExpiresAt: Date | null;
|
|
7502
|
+
uploadSessionId: string | null;
|
|
7503
|
+
uploadProgress: number | null;
|
|
7504
|
+
uploadError: string | null;
|
|
7505
|
+
uploadRetryCount: number;
|
|
7506
|
+
isOrphaned: boolean;
|
|
7507
|
+
cleanupAt: Date | null;
|
|
7041
7508
|
classDraftId: string | null;
|
|
7042
7509
|
folderId: string | null;
|
|
7043
7510
|
conversationId: string | null;
|
|
@@ -7267,7 +7734,6 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7267
7734
|
type: string;
|
|
7268
7735
|
name: string;
|
|
7269
7736
|
size: number;
|
|
7270
|
-
data: string;
|
|
7271
7737
|
}[];
|
|
7272
7738
|
folderId: string;
|
|
7273
7739
|
};
|