@studious-lms/server 1.1.0 → 1.1.2
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 +256 -4
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/assignment.d.ts +86 -0
- package/dist/routers/assignment.d.ts.map +1 -1
- package/dist/routers/assignment.js +57 -0
- package/dist/routers/class.d.ts +10 -0
- package/dist/routers/class.d.ts.map +1 -1
- package/dist/routers/class.js +1 -0
- package/dist/routers/event.d.ts +2 -0
- package/dist/routers/event.d.ts.map +1 -1
- package/dist/routers/folder.d.ts +13 -2
- package/dist/routers/folder.d.ts.map +1 -1
- package/dist/routers/folder.js +19 -6
- package/dist/routers/section.d.ts +17 -0
- package/dist/routers/section.d.ts.map +1 -1
- package/dist/routers/section.js +73 -0
- package/package.json +1 -1
- package/prisma/migrations/20250919063704_init2/migration.sql +24 -0
- package/prisma/schema.prisma +5 -0
- package/src/routers/assignment.ts +90 -12
- package/src/routers/class.ts +2 -1
- package/src/routers/folder.ts +19 -6
- package/src/routers/section.ts +86 -0
package/dist/routers/_app.d.ts
CHANGED
|
@@ -82,7 +82,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
82
82
|
sections: {
|
|
83
83
|
id: string;
|
|
84
84
|
name: string;
|
|
85
|
+
color: string | null;
|
|
85
86
|
classId: string;
|
|
87
|
+
order: number | null;
|
|
86
88
|
}[];
|
|
87
89
|
assignments: {
|
|
88
90
|
late: boolean;
|
|
@@ -109,6 +111,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
109
111
|
graded: boolean;
|
|
110
112
|
createdAt: Date | null;
|
|
111
113
|
inProgress: boolean;
|
|
114
|
+
order: number | null;
|
|
112
115
|
markScheme: {
|
|
113
116
|
id: string;
|
|
114
117
|
structured: string;
|
|
@@ -324,6 +327,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
324
327
|
createdAt: Date;
|
|
325
328
|
modifiedAt: Date;
|
|
326
329
|
rubricState: string | null;
|
|
330
|
+
teacherComments: string | null;
|
|
327
331
|
submittedAt: Date | null;
|
|
328
332
|
submitted: boolean | null;
|
|
329
333
|
returned: boolean | null;
|
|
@@ -354,6 +358,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
354
358
|
createdAt: Date;
|
|
355
359
|
modifiedAt: Date;
|
|
356
360
|
rubricState: string | null;
|
|
361
|
+
teacherComments: string | null;
|
|
357
362
|
submittedAt: Date | null;
|
|
358
363
|
submitted: boolean | null;
|
|
359
364
|
returned: boolean | null;
|
|
@@ -537,6 +542,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
537
542
|
modifiedAt: Date | null;
|
|
538
543
|
teacherId: string;
|
|
539
544
|
inProgress: boolean;
|
|
545
|
+
order: number | null;
|
|
540
546
|
}[];
|
|
541
547
|
meta: object;
|
|
542
548
|
}>;
|
|
@@ -574,6 +580,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
574
580
|
modifiedAt: Date | null;
|
|
575
581
|
teacherId: string;
|
|
576
582
|
inProgress: boolean;
|
|
583
|
+
order: number | null;
|
|
577
584
|
};
|
|
578
585
|
meta: object;
|
|
579
586
|
}>;
|
|
@@ -611,6 +618,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
611
618
|
modifiedAt: Date | null;
|
|
612
619
|
teacherId: string;
|
|
613
620
|
inProgress: boolean;
|
|
621
|
+
order: number | null;
|
|
614
622
|
};
|
|
615
623
|
meta: object;
|
|
616
624
|
}>;
|
|
@@ -639,6 +647,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
639
647
|
modifiedAt: Date | null;
|
|
640
648
|
teacherId: string;
|
|
641
649
|
inProgress: boolean;
|
|
650
|
+
order: number | null;
|
|
642
651
|
};
|
|
643
652
|
meta: object;
|
|
644
653
|
}>;
|
|
@@ -671,6 +680,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
671
680
|
modifiedAt: Date | null;
|
|
672
681
|
teacherId: string;
|
|
673
682
|
inProgress: boolean;
|
|
683
|
+
order: number | null;
|
|
674
684
|
};
|
|
675
685
|
meta: object;
|
|
676
686
|
}>;
|
|
@@ -832,6 +842,66 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
832
842
|
};
|
|
833
843
|
transformer: false;
|
|
834
844
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
845
|
+
order: import("@trpc/server").TRPCMutationProcedure<{
|
|
846
|
+
input: {
|
|
847
|
+
[x: string]: unknown;
|
|
848
|
+
classId: string;
|
|
849
|
+
id: string;
|
|
850
|
+
order: number;
|
|
851
|
+
};
|
|
852
|
+
output: {
|
|
853
|
+
type: import(".prisma/client").$Enums.AssignmentType;
|
|
854
|
+
id: string;
|
|
855
|
+
title: string;
|
|
856
|
+
dueDate: Date;
|
|
857
|
+
maxGrade: number | null;
|
|
858
|
+
classId: string;
|
|
859
|
+
eventId: string | null;
|
|
860
|
+
markSchemeId: string | null;
|
|
861
|
+
gradingBoundaryId: string | null;
|
|
862
|
+
instructions: string;
|
|
863
|
+
weight: number;
|
|
864
|
+
graded: boolean;
|
|
865
|
+
sectionId: string | null;
|
|
866
|
+
template: boolean;
|
|
867
|
+
createdAt: Date | null;
|
|
868
|
+
modifiedAt: Date | null;
|
|
869
|
+
teacherId: string;
|
|
870
|
+
inProgress: boolean;
|
|
871
|
+
order: number | null;
|
|
872
|
+
};
|
|
873
|
+
meta: object;
|
|
874
|
+
}>;
|
|
875
|
+
move: import("@trpc/server").TRPCMutationProcedure<{
|
|
876
|
+
input: {
|
|
877
|
+
[x: string]: unknown;
|
|
878
|
+
classId: string;
|
|
879
|
+
id: string;
|
|
880
|
+
targetSectionId: string;
|
|
881
|
+
};
|
|
882
|
+
output: {
|
|
883
|
+
type: import(".prisma/client").$Enums.AssignmentType;
|
|
884
|
+
id: string;
|
|
885
|
+
title: string;
|
|
886
|
+
dueDate: Date;
|
|
887
|
+
maxGrade: number | null;
|
|
888
|
+
classId: string;
|
|
889
|
+
eventId: string | null;
|
|
890
|
+
markSchemeId: string | null;
|
|
891
|
+
gradingBoundaryId: string | null;
|
|
892
|
+
instructions: string;
|
|
893
|
+
weight: number;
|
|
894
|
+
graded: boolean;
|
|
895
|
+
sectionId: string | null;
|
|
896
|
+
template: boolean;
|
|
897
|
+
createdAt: Date | null;
|
|
898
|
+
modifiedAt: Date | null;
|
|
899
|
+
teacherId: string;
|
|
900
|
+
inProgress: boolean;
|
|
901
|
+
order: number | null;
|
|
902
|
+
};
|
|
903
|
+
meta: object;
|
|
904
|
+
}>;
|
|
835
905
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
836
906
|
input: {
|
|
837
907
|
title: string;
|
|
@@ -926,7 +996,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
926
996
|
section: {
|
|
927
997
|
id: string;
|
|
928
998
|
name: string;
|
|
999
|
+
color: string | null;
|
|
929
1000
|
classId: string;
|
|
1001
|
+
order: number | null;
|
|
930
1002
|
} | null;
|
|
931
1003
|
title: string;
|
|
932
1004
|
dueDate: Date;
|
|
@@ -1053,6 +1125,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1053
1125
|
modifiedAt: Date | null;
|
|
1054
1126
|
teacherId: string;
|
|
1055
1127
|
inProgress: boolean;
|
|
1128
|
+
order: number | null;
|
|
1056
1129
|
};
|
|
1057
1130
|
meta: object;
|
|
1058
1131
|
}>;
|
|
@@ -1100,6 +1173,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1100
1173
|
modifiedAt: Date | null;
|
|
1101
1174
|
teacherId: string;
|
|
1102
1175
|
inProgress: boolean;
|
|
1176
|
+
order: number | null;
|
|
1103
1177
|
};
|
|
1104
1178
|
student: {
|
|
1105
1179
|
id: string;
|
|
@@ -1143,6 +1217,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1143
1217
|
createdAt: Date;
|
|
1144
1218
|
modifiedAt: Date;
|
|
1145
1219
|
rubricState: string | null;
|
|
1220
|
+
teacherComments: string | null;
|
|
1146
1221
|
submittedAt: Date | null;
|
|
1147
1222
|
submitted: boolean | null;
|
|
1148
1223
|
returned: boolean | null;
|
|
@@ -1185,6 +1260,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1185
1260
|
modifiedAt: Date | null;
|
|
1186
1261
|
teacherId: string;
|
|
1187
1262
|
inProgress: boolean;
|
|
1263
|
+
order: number | null;
|
|
1188
1264
|
};
|
|
1189
1265
|
student: {
|
|
1190
1266
|
id: string;
|
|
@@ -1227,6 +1303,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1227
1303
|
createdAt: Date;
|
|
1228
1304
|
modifiedAt: Date;
|
|
1229
1305
|
rubricState: string | null;
|
|
1306
|
+
teacherComments: string | null;
|
|
1230
1307
|
submittedAt: Date | null;
|
|
1231
1308
|
submitted: boolean | null;
|
|
1232
1309
|
returned: boolean | null;
|
|
@@ -1278,6 +1355,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1278
1355
|
modifiedAt: Date | null;
|
|
1279
1356
|
teacherId: string;
|
|
1280
1357
|
inProgress: boolean;
|
|
1358
|
+
order: number | null;
|
|
1281
1359
|
};
|
|
1282
1360
|
student: {
|
|
1283
1361
|
id: string;
|
|
@@ -1320,6 +1398,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1320
1398
|
createdAt: Date;
|
|
1321
1399
|
modifiedAt: Date;
|
|
1322
1400
|
rubricState: string | null;
|
|
1401
|
+
teacherComments: string | null;
|
|
1323
1402
|
submittedAt: Date | null;
|
|
1324
1403
|
submitted: boolean | null;
|
|
1325
1404
|
returned: boolean | null;
|
|
@@ -1380,6 +1459,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1380
1459
|
modifiedAt: Date | null;
|
|
1381
1460
|
teacherId: string;
|
|
1382
1461
|
inProgress: boolean;
|
|
1462
|
+
order: number | null;
|
|
1383
1463
|
};
|
|
1384
1464
|
student: {
|
|
1385
1465
|
id: string;
|
|
@@ -1408,6 +1488,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1408
1488
|
createdAt: Date;
|
|
1409
1489
|
modifiedAt: Date;
|
|
1410
1490
|
rubricState: string | null;
|
|
1491
|
+
teacherComments: string | null;
|
|
1411
1492
|
submittedAt: Date | null;
|
|
1412
1493
|
submitted: boolean | null;
|
|
1413
1494
|
returned: boolean | null;
|
|
@@ -1459,6 +1540,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1459
1540
|
modifiedAt: Date | null;
|
|
1460
1541
|
teacherId: string;
|
|
1461
1542
|
inProgress: boolean;
|
|
1543
|
+
order: number | null;
|
|
1462
1544
|
};
|
|
1463
1545
|
student: {
|
|
1464
1546
|
id: string;
|
|
@@ -1502,6 +1584,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1502
1584
|
createdAt: Date;
|
|
1503
1585
|
modifiedAt: Date;
|
|
1504
1586
|
rubricState: string | null;
|
|
1587
|
+
teacherComments: string | null;
|
|
1505
1588
|
submittedAt: Date | null;
|
|
1506
1589
|
submitted: boolean | null;
|
|
1507
1590
|
returned: boolean | null;
|
|
@@ -1569,6 +1652,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1569
1652
|
modifiedAt: Date | null;
|
|
1570
1653
|
teacherId: string;
|
|
1571
1654
|
inProgress: boolean;
|
|
1655
|
+
order: number | null;
|
|
1572
1656
|
};
|
|
1573
1657
|
student: {
|
|
1574
1658
|
id: string;
|
|
@@ -1597,6 +1681,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1597
1681
|
createdAt: Date;
|
|
1598
1682
|
modifiedAt: Date;
|
|
1599
1683
|
rubricState: string | null;
|
|
1684
|
+
teacherComments: string | null;
|
|
1600
1685
|
submittedAt: Date | null;
|
|
1601
1686
|
submitted: boolean | null;
|
|
1602
1687
|
returned: boolean | null;
|
|
@@ -1650,6 +1735,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1650
1735
|
modifiedAt: Date | null;
|
|
1651
1736
|
teacherId: string;
|
|
1652
1737
|
inProgress: boolean;
|
|
1738
|
+
order: number | null;
|
|
1653
1739
|
};
|
|
1654
1740
|
};
|
|
1655
1741
|
meta: object;
|
|
@@ -1700,6 +1786,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1700
1786
|
modifiedAt: Date | null;
|
|
1701
1787
|
teacherId: string;
|
|
1702
1788
|
inProgress: boolean;
|
|
1789
|
+
order: number | null;
|
|
1703
1790
|
};
|
|
1704
1791
|
};
|
|
1705
1792
|
meta: object;
|
|
@@ -1749,7 +1836,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1749
1836
|
section: {
|
|
1750
1837
|
id: string;
|
|
1751
1838
|
name: string;
|
|
1839
|
+
color: string | null;
|
|
1752
1840
|
classId: string;
|
|
1841
|
+
order: number | null;
|
|
1753
1842
|
} | null;
|
|
1754
1843
|
teacher: {
|
|
1755
1844
|
id: string;
|
|
@@ -1811,6 +1900,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1811
1900
|
modifiedAt: Date | null;
|
|
1812
1901
|
teacherId: string;
|
|
1813
1902
|
inProgress: boolean;
|
|
1903
|
+
order: number | null;
|
|
1814
1904
|
};
|
|
1815
1905
|
meta: object;
|
|
1816
1906
|
}>;
|
|
@@ -1824,7 +1914,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1824
1914
|
section: {
|
|
1825
1915
|
id: string;
|
|
1826
1916
|
name: string;
|
|
1917
|
+
color: string | null;
|
|
1827
1918
|
classId: string;
|
|
1919
|
+
order: number | null;
|
|
1828
1920
|
} | null;
|
|
1829
1921
|
teacher: {
|
|
1830
1922
|
id: string;
|
|
@@ -1886,6 +1978,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1886
1978
|
modifiedAt: Date | null;
|
|
1887
1979
|
teacherId: string;
|
|
1888
1980
|
inProgress: boolean;
|
|
1981
|
+
order: number | null;
|
|
1889
1982
|
};
|
|
1890
1983
|
meta: object;
|
|
1891
1984
|
}>;
|
|
@@ -1900,7 +1993,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1900
1993
|
section: {
|
|
1901
1994
|
id: string;
|
|
1902
1995
|
name: string;
|
|
1996
|
+
color: string | null;
|
|
1903
1997
|
classId: string;
|
|
1998
|
+
order: number | null;
|
|
1904
1999
|
} | null;
|
|
1905
2000
|
teacher: {
|
|
1906
2001
|
id: string;
|
|
@@ -1962,6 +2057,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1962
2057
|
modifiedAt: Date | null;
|
|
1963
2058
|
teacherId: string;
|
|
1964
2059
|
inProgress: boolean;
|
|
2060
|
+
order: number | null;
|
|
1965
2061
|
};
|
|
1966
2062
|
meta: object;
|
|
1967
2063
|
}>;
|
|
@@ -2037,11 +2133,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2037
2133
|
input: {
|
|
2038
2134
|
name: string;
|
|
2039
2135
|
classId: string;
|
|
2136
|
+
color?: string | undefined;
|
|
2040
2137
|
};
|
|
2041
2138
|
output: {
|
|
2042
2139
|
id: string;
|
|
2043
2140
|
name: string;
|
|
2141
|
+
color: string | null;
|
|
2044
2142
|
classId: string;
|
|
2143
|
+
order: number | null;
|
|
2045
2144
|
};
|
|
2046
2145
|
meta: object;
|
|
2047
2146
|
}>;
|
|
@@ -2050,11 +2149,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2050
2149
|
id: string;
|
|
2051
2150
|
name: string;
|
|
2052
2151
|
classId: string;
|
|
2152
|
+
color?: string | undefined;
|
|
2053
2153
|
};
|
|
2054
2154
|
output: {
|
|
2055
2155
|
id: string;
|
|
2056
2156
|
name: string;
|
|
2157
|
+
color: string | null;
|
|
2158
|
+
classId: string;
|
|
2159
|
+
order: number | null;
|
|
2160
|
+
};
|
|
2161
|
+
meta: object;
|
|
2162
|
+
}>;
|
|
2163
|
+
reOrder: import("@trpc/server").TRPCMutationProcedure<{
|
|
2164
|
+
input: {
|
|
2165
|
+
id: string;
|
|
2057
2166
|
classId: string;
|
|
2167
|
+
order: number;
|
|
2168
|
+
};
|
|
2169
|
+
output: {
|
|
2170
|
+
id: string;
|
|
2058
2171
|
};
|
|
2059
2172
|
meta: object;
|
|
2060
2173
|
}>;
|
|
@@ -2353,6 +2466,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2353
2466
|
modifiedAt: Date | null;
|
|
2354
2467
|
teacherId: string;
|
|
2355
2468
|
inProgress: boolean;
|
|
2469
|
+
order: number | null;
|
|
2356
2470
|
};
|
|
2357
2471
|
};
|
|
2358
2472
|
meta: object;
|
|
@@ -2396,6 +2510,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2396
2510
|
modifiedAt: Date | null;
|
|
2397
2511
|
teacherId: string;
|
|
2398
2512
|
inProgress: boolean;
|
|
2513
|
+
order: number | null;
|
|
2399
2514
|
};
|
|
2400
2515
|
};
|
|
2401
2516
|
meta: object;
|
|
@@ -2712,6 +2827,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2712
2827
|
[x: string]: unknown;
|
|
2713
2828
|
classId: string;
|
|
2714
2829
|
name: string;
|
|
2830
|
+
color?: string | undefined;
|
|
2715
2831
|
parentFolderId?: string | undefined;
|
|
2716
2832
|
};
|
|
2717
2833
|
output: {
|
|
@@ -2737,6 +2853,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2737
2853
|
} & {
|
|
2738
2854
|
id: string;
|
|
2739
2855
|
name: string;
|
|
2856
|
+
color: string | null;
|
|
2740
2857
|
classId: string | null;
|
|
2741
2858
|
parentFolderId: string | null;
|
|
2742
2859
|
};
|
|
@@ -2775,6 +2892,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2775
2892
|
} & {
|
|
2776
2893
|
id: string;
|
|
2777
2894
|
name: string;
|
|
2895
|
+
color: string | null;
|
|
2778
2896
|
classId: string | null;
|
|
2779
2897
|
parentFolderId: string | null;
|
|
2780
2898
|
};
|
|
@@ -2808,6 +2926,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2808
2926
|
} & {
|
|
2809
2927
|
id: string;
|
|
2810
2928
|
name: string;
|
|
2929
|
+
color: string | null;
|
|
2811
2930
|
classId: string | null;
|
|
2812
2931
|
parentFolderId: string | null;
|
|
2813
2932
|
})[];
|
|
@@ -2838,10 +2957,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2838
2957
|
childFolders: number;
|
|
2839
2958
|
};
|
|
2840
2959
|
name: string;
|
|
2960
|
+
color: string | null;
|
|
2841
2961
|
}[];
|
|
2842
2962
|
} & {
|
|
2843
2963
|
id: string;
|
|
2844
2964
|
name: string;
|
|
2965
|
+
color: string | null;
|
|
2845
2966
|
classId: string | null;
|
|
2846
2967
|
parentFolderId: string | null;
|
|
2847
2968
|
})[];
|
|
@@ -2870,6 +2991,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2870
2991
|
id: string;
|
|
2871
2992
|
}[];
|
|
2872
2993
|
name: string;
|
|
2994
|
+
color: string | null;
|
|
2873
2995
|
childFolders: {
|
|
2874
2996
|
id: string;
|
|
2875
2997
|
}[];
|
|
@@ -2877,6 +2999,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2877
2999
|
} & {
|
|
2878
3000
|
id: string;
|
|
2879
3001
|
name: string;
|
|
3002
|
+
color: string | null;
|
|
2880
3003
|
classId: string | null;
|
|
2881
3004
|
parentFolderId: string | null;
|
|
2882
3005
|
}) | null;
|
|
@@ -2943,17 +3066,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2943
3066
|
} & {
|
|
2944
3067
|
id: string;
|
|
2945
3068
|
name: string;
|
|
3069
|
+
color: string | null;
|
|
2946
3070
|
classId: string | null;
|
|
2947
3071
|
parentFolderId: string | null;
|
|
2948
3072
|
};
|
|
2949
3073
|
meta: object;
|
|
2950
3074
|
}>;
|
|
2951
|
-
|
|
3075
|
+
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
2952
3076
|
input: {
|
|
2953
3077
|
[x: string]: unknown;
|
|
2954
3078
|
classId: string;
|
|
3079
|
+
name: string;
|
|
2955
3080
|
folderId: string;
|
|
2956
|
-
|
|
3081
|
+
color?: string | undefined;
|
|
2957
3082
|
};
|
|
2958
3083
|
output: {
|
|
2959
3084
|
files: {
|
|
@@ -2978,6 +3103,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2978
3103
|
} & {
|
|
2979
3104
|
id: string;
|
|
2980
3105
|
name: string;
|
|
3106
|
+
color: string | null;
|
|
2981
3107
|
classId: string | null;
|
|
2982
3108
|
parentFolderId: string | null;
|
|
2983
3109
|
};
|
|
@@ -3172,7 +3298,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3172
3298
|
sections: {
|
|
3173
3299
|
id: string;
|
|
3174
3300
|
name: string;
|
|
3301
|
+
color: string | null;
|
|
3175
3302
|
classId: string;
|
|
3303
|
+
order: number | null;
|
|
3176
3304
|
}[];
|
|
3177
3305
|
assignments: {
|
|
3178
3306
|
late: boolean;
|
|
@@ -3199,6 +3327,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3199
3327
|
graded: boolean;
|
|
3200
3328
|
createdAt: Date | null;
|
|
3201
3329
|
inProgress: boolean;
|
|
3330
|
+
order: number | null;
|
|
3202
3331
|
markScheme: {
|
|
3203
3332
|
id: string;
|
|
3204
3333
|
structured: string;
|
|
@@ -3414,6 +3543,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3414
3543
|
createdAt: Date;
|
|
3415
3544
|
modifiedAt: Date;
|
|
3416
3545
|
rubricState: string | null;
|
|
3546
|
+
teacherComments: string | null;
|
|
3417
3547
|
submittedAt: Date | null;
|
|
3418
3548
|
submitted: boolean | null;
|
|
3419
3549
|
returned: boolean | null;
|
|
@@ -3444,6 +3574,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3444
3574
|
createdAt: Date;
|
|
3445
3575
|
modifiedAt: Date;
|
|
3446
3576
|
rubricState: string | null;
|
|
3577
|
+
teacherComments: string | null;
|
|
3447
3578
|
submittedAt: Date | null;
|
|
3448
3579
|
submitted: boolean | null;
|
|
3449
3580
|
returned: boolean | null;
|
|
@@ -3627,6 +3758,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3627
3758
|
modifiedAt: Date | null;
|
|
3628
3759
|
teacherId: string;
|
|
3629
3760
|
inProgress: boolean;
|
|
3761
|
+
order: number | null;
|
|
3630
3762
|
}[];
|
|
3631
3763
|
meta: object;
|
|
3632
3764
|
}>;
|
|
@@ -3664,6 +3796,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3664
3796
|
modifiedAt: Date | null;
|
|
3665
3797
|
teacherId: string;
|
|
3666
3798
|
inProgress: boolean;
|
|
3799
|
+
order: number | null;
|
|
3667
3800
|
};
|
|
3668
3801
|
meta: object;
|
|
3669
3802
|
}>;
|
|
@@ -3701,6 +3834,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3701
3834
|
modifiedAt: Date | null;
|
|
3702
3835
|
teacherId: string;
|
|
3703
3836
|
inProgress: boolean;
|
|
3837
|
+
order: number | null;
|
|
3704
3838
|
};
|
|
3705
3839
|
meta: object;
|
|
3706
3840
|
}>;
|
|
@@ -3729,6 +3863,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3729
3863
|
modifiedAt: Date | null;
|
|
3730
3864
|
teacherId: string;
|
|
3731
3865
|
inProgress: boolean;
|
|
3866
|
+
order: number | null;
|
|
3732
3867
|
};
|
|
3733
3868
|
meta: object;
|
|
3734
3869
|
}>;
|
|
@@ -3761,6 +3896,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3761
3896
|
modifiedAt: Date | null;
|
|
3762
3897
|
teacherId: string;
|
|
3763
3898
|
inProgress: boolean;
|
|
3899
|
+
order: number | null;
|
|
3764
3900
|
};
|
|
3765
3901
|
meta: object;
|
|
3766
3902
|
}>;
|
|
@@ -3922,6 +4058,66 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3922
4058
|
};
|
|
3923
4059
|
transformer: false;
|
|
3924
4060
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4061
|
+
order: import("@trpc/server").TRPCMutationProcedure<{
|
|
4062
|
+
input: {
|
|
4063
|
+
[x: string]: unknown;
|
|
4064
|
+
classId: string;
|
|
4065
|
+
id: string;
|
|
4066
|
+
order: number;
|
|
4067
|
+
};
|
|
4068
|
+
output: {
|
|
4069
|
+
type: import(".prisma/client").$Enums.AssignmentType;
|
|
4070
|
+
id: string;
|
|
4071
|
+
title: string;
|
|
4072
|
+
dueDate: Date;
|
|
4073
|
+
maxGrade: number | null;
|
|
4074
|
+
classId: string;
|
|
4075
|
+
eventId: string | null;
|
|
4076
|
+
markSchemeId: string | null;
|
|
4077
|
+
gradingBoundaryId: string | null;
|
|
4078
|
+
instructions: string;
|
|
4079
|
+
weight: number;
|
|
4080
|
+
graded: boolean;
|
|
4081
|
+
sectionId: string | null;
|
|
4082
|
+
template: boolean;
|
|
4083
|
+
createdAt: Date | null;
|
|
4084
|
+
modifiedAt: Date | null;
|
|
4085
|
+
teacherId: string;
|
|
4086
|
+
inProgress: boolean;
|
|
4087
|
+
order: number | null;
|
|
4088
|
+
};
|
|
4089
|
+
meta: object;
|
|
4090
|
+
}>;
|
|
4091
|
+
move: import("@trpc/server").TRPCMutationProcedure<{
|
|
4092
|
+
input: {
|
|
4093
|
+
[x: string]: unknown;
|
|
4094
|
+
classId: string;
|
|
4095
|
+
id: string;
|
|
4096
|
+
targetSectionId: string;
|
|
4097
|
+
};
|
|
4098
|
+
output: {
|
|
4099
|
+
type: import(".prisma/client").$Enums.AssignmentType;
|
|
4100
|
+
id: string;
|
|
4101
|
+
title: string;
|
|
4102
|
+
dueDate: Date;
|
|
4103
|
+
maxGrade: number | null;
|
|
4104
|
+
classId: string;
|
|
4105
|
+
eventId: string | null;
|
|
4106
|
+
markSchemeId: string | null;
|
|
4107
|
+
gradingBoundaryId: string | null;
|
|
4108
|
+
instructions: string;
|
|
4109
|
+
weight: number;
|
|
4110
|
+
graded: boolean;
|
|
4111
|
+
sectionId: string | null;
|
|
4112
|
+
template: boolean;
|
|
4113
|
+
createdAt: Date | null;
|
|
4114
|
+
modifiedAt: Date | null;
|
|
4115
|
+
teacherId: string;
|
|
4116
|
+
inProgress: boolean;
|
|
4117
|
+
order: number | null;
|
|
4118
|
+
};
|
|
4119
|
+
meta: object;
|
|
4120
|
+
}>;
|
|
3925
4121
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
3926
4122
|
input: {
|
|
3927
4123
|
title: string;
|
|
@@ -4016,7 +4212,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4016
4212
|
section: {
|
|
4017
4213
|
id: string;
|
|
4018
4214
|
name: string;
|
|
4215
|
+
color: string | null;
|
|
4019
4216
|
classId: string;
|
|
4217
|
+
order: number | null;
|
|
4020
4218
|
} | null;
|
|
4021
4219
|
title: string;
|
|
4022
4220
|
dueDate: Date;
|
|
@@ -4143,6 +4341,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4143
4341
|
modifiedAt: Date | null;
|
|
4144
4342
|
teacherId: string;
|
|
4145
4343
|
inProgress: boolean;
|
|
4344
|
+
order: number | null;
|
|
4146
4345
|
};
|
|
4147
4346
|
meta: object;
|
|
4148
4347
|
}>;
|
|
@@ -4190,6 +4389,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4190
4389
|
modifiedAt: Date | null;
|
|
4191
4390
|
teacherId: string;
|
|
4192
4391
|
inProgress: boolean;
|
|
4392
|
+
order: number | null;
|
|
4193
4393
|
};
|
|
4194
4394
|
student: {
|
|
4195
4395
|
id: string;
|
|
@@ -4233,6 +4433,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4233
4433
|
createdAt: Date;
|
|
4234
4434
|
modifiedAt: Date;
|
|
4235
4435
|
rubricState: string | null;
|
|
4436
|
+
teacherComments: string | null;
|
|
4236
4437
|
submittedAt: Date | null;
|
|
4237
4438
|
submitted: boolean | null;
|
|
4238
4439
|
returned: boolean | null;
|
|
@@ -4275,6 +4476,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4275
4476
|
modifiedAt: Date | null;
|
|
4276
4477
|
teacherId: string;
|
|
4277
4478
|
inProgress: boolean;
|
|
4479
|
+
order: number | null;
|
|
4278
4480
|
};
|
|
4279
4481
|
student: {
|
|
4280
4482
|
id: string;
|
|
@@ -4317,6 +4519,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4317
4519
|
createdAt: Date;
|
|
4318
4520
|
modifiedAt: Date;
|
|
4319
4521
|
rubricState: string | null;
|
|
4522
|
+
teacherComments: string | null;
|
|
4320
4523
|
submittedAt: Date | null;
|
|
4321
4524
|
submitted: boolean | null;
|
|
4322
4525
|
returned: boolean | null;
|
|
@@ -4368,6 +4571,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4368
4571
|
modifiedAt: Date | null;
|
|
4369
4572
|
teacherId: string;
|
|
4370
4573
|
inProgress: boolean;
|
|
4574
|
+
order: number | null;
|
|
4371
4575
|
};
|
|
4372
4576
|
student: {
|
|
4373
4577
|
id: string;
|
|
@@ -4410,6 +4614,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4410
4614
|
createdAt: Date;
|
|
4411
4615
|
modifiedAt: Date;
|
|
4412
4616
|
rubricState: string | null;
|
|
4617
|
+
teacherComments: string | null;
|
|
4413
4618
|
submittedAt: Date | null;
|
|
4414
4619
|
submitted: boolean | null;
|
|
4415
4620
|
returned: boolean | null;
|
|
@@ -4470,6 +4675,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4470
4675
|
modifiedAt: Date | null;
|
|
4471
4676
|
teacherId: string;
|
|
4472
4677
|
inProgress: boolean;
|
|
4678
|
+
order: number | null;
|
|
4473
4679
|
};
|
|
4474
4680
|
student: {
|
|
4475
4681
|
id: string;
|
|
@@ -4498,6 +4704,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4498
4704
|
createdAt: Date;
|
|
4499
4705
|
modifiedAt: Date;
|
|
4500
4706
|
rubricState: string | null;
|
|
4707
|
+
teacherComments: string | null;
|
|
4501
4708
|
submittedAt: Date | null;
|
|
4502
4709
|
submitted: boolean | null;
|
|
4503
4710
|
returned: boolean | null;
|
|
@@ -4549,6 +4756,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4549
4756
|
modifiedAt: Date | null;
|
|
4550
4757
|
teacherId: string;
|
|
4551
4758
|
inProgress: boolean;
|
|
4759
|
+
order: number | null;
|
|
4552
4760
|
};
|
|
4553
4761
|
student: {
|
|
4554
4762
|
id: string;
|
|
@@ -4592,6 +4800,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4592
4800
|
createdAt: Date;
|
|
4593
4801
|
modifiedAt: Date;
|
|
4594
4802
|
rubricState: string | null;
|
|
4803
|
+
teacherComments: string | null;
|
|
4595
4804
|
submittedAt: Date | null;
|
|
4596
4805
|
submitted: boolean | null;
|
|
4597
4806
|
returned: boolean | null;
|
|
@@ -4659,6 +4868,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4659
4868
|
modifiedAt: Date | null;
|
|
4660
4869
|
teacherId: string;
|
|
4661
4870
|
inProgress: boolean;
|
|
4871
|
+
order: number | null;
|
|
4662
4872
|
};
|
|
4663
4873
|
student: {
|
|
4664
4874
|
id: string;
|
|
@@ -4687,6 +4897,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4687
4897
|
createdAt: Date;
|
|
4688
4898
|
modifiedAt: Date;
|
|
4689
4899
|
rubricState: string | null;
|
|
4900
|
+
teacherComments: string | null;
|
|
4690
4901
|
submittedAt: Date | null;
|
|
4691
4902
|
submitted: boolean | null;
|
|
4692
4903
|
returned: boolean | null;
|
|
@@ -4740,6 +4951,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4740
4951
|
modifiedAt: Date | null;
|
|
4741
4952
|
teacherId: string;
|
|
4742
4953
|
inProgress: boolean;
|
|
4954
|
+
order: number | null;
|
|
4743
4955
|
};
|
|
4744
4956
|
};
|
|
4745
4957
|
meta: object;
|
|
@@ -4790,6 +5002,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4790
5002
|
modifiedAt: Date | null;
|
|
4791
5003
|
teacherId: string;
|
|
4792
5004
|
inProgress: boolean;
|
|
5005
|
+
order: number | null;
|
|
4793
5006
|
};
|
|
4794
5007
|
};
|
|
4795
5008
|
meta: object;
|
|
@@ -4839,7 +5052,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4839
5052
|
section: {
|
|
4840
5053
|
id: string;
|
|
4841
5054
|
name: string;
|
|
5055
|
+
color: string | null;
|
|
4842
5056
|
classId: string;
|
|
5057
|
+
order: number | null;
|
|
4843
5058
|
} | null;
|
|
4844
5059
|
teacher: {
|
|
4845
5060
|
id: string;
|
|
@@ -4901,6 +5116,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4901
5116
|
modifiedAt: Date | null;
|
|
4902
5117
|
teacherId: string;
|
|
4903
5118
|
inProgress: boolean;
|
|
5119
|
+
order: number | null;
|
|
4904
5120
|
};
|
|
4905
5121
|
meta: object;
|
|
4906
5122
|
}>;
|
|
@@ -4914,7 +5130,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4914
5130
|
section: {
|
|
4915
5131
|
id: string;
|
|
4916
5132
|
name: string;
|
|
5133
|
+
color: string | null;
|
|
4917
5134
|
classId: string;
|
|
5135
|
+
order: number | null;
|
|
4918
5136
|
} | null;
|
|
4919
5137
|
teacher: {
|
|
4920
5138
|
id: string;
|
|
@@ -4976,6 +5194,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4976
5194
|
modifiedAt: Date | null;
|
|
4977
5195
|
teacherId: string;
|
|
4978
5196
|
inProgress: boolean;
|
|
5197
|
+
order: number | null;
|
|
4979
5198
|
};
|
|
4980
5199
|
meta: object;
|
|
4981
5200
|
}>;
|
|
@@ -4990,7 +5209,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4990
5209
|
section: {
|
|
4991
5210
|
id: string;
|
|
4992
5211
|
name: string;
|
|
5212
|
+
color: string | null;
|
|
4993
5213
|
classId: string;
|
|
5214
|
+
order: number | null;
|
|
4994
5215
|
} | null;
|
|
4995
5216
|
teacher: {
|
|
4996
5217
|
id: string;
|
|
@@ -5052,6 +5273,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5052
5273
|
modifiedAt: Date | null;
|
|
5053
5274
|
teacherId: string;
|
|
5054
5275
|
inProgress: boolean;
|
|
5276
|
+
order: number | null;
|
|
5055
5277
|
};
|
|
5056
5278
|
meta: object;
|
|
5057
5279
|
}>;
|
|
@@ -5127,11 +5349,14 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5127
5349
|
input: {
|
|
5128
5350
|
name: string;
|
|
5129
5351
|
classId: string;
|
|
5352
|
+
color?: string | undefined;
|
|
5130
5353
|
};
|
|
5131
5354
|
output: {
|
|
5132
5355
|
id: string;
|
|
5133
5356
|
name: string;
|
|
5357
|
+
color: string | null;
|
|
5134
5358
|
classId: string;
|
|
5359
|
+
order: number | null;
|
|
5135
5360
|
};
|
|
5136
5361
|
meta: object;
|
|
5137
5362
|
}>;
|
|
@@ -5140,11 +5365,25 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5140
5365
|
id: string;
|
|
5141
5366
|
name: string;
|
|
5142
5367
|
classId: string;
|
|
5368
|
+
color?: string | undefined;
|
|
5143
5369
|
};
|
|
5144
5370
|
output: {
|
|
5145
5371
|
id: string;
|
|
5146
5372
|
name: string;
|
|
5373
|
+
color: string | null;
|
|
5374
|
+
classId: string;
|
|
5375
|
+
order: number | null;
|
|
5376
|
+
};
|
|
5377
|
+
meta: object;
|
|
5378
|
+
}>;
|
|
5379
|
+
reOrder: import("@trpc/server").TRPCMutationProcedure<{
|
|
5380
|
+
input: {
|
|
5381
|
+
id: string;
|
|
5147
5382
|
classId: string;
|
|
5383
|
+
order: number;
|
|
5384
|
+
};
|
|
5385
|
+
output: {
|
|
5386
|
+
id: string;
|
|
5148
5387
|
};
|
|
5149
5388
|
meta: object;
|
|
5150
5389
|
}>;
|
|
@@ -5443,6 +5682,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5443
5682
|
modifiedAt: Date | null;
|
|
5444
5683
|
teacherId: string;
|
|
5445
5684
|
inProgress: boolean;
|
|
5685
|
+
order: number | null;
|
|
5446
5686
|
};
|
|
5447
5687
|
};
|
|
5448
5688
|
meta: object;
|
|
@@ -5486,6 +5726,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5486
5726
|
modifiedAt: Date | null;
|
|
5487
5727
|
teacherId: string;
|
|
5488
5728
|
inProgress: boolean;
|
|
5729
|
+
order: number | null;
|
|
5489
5730
|
};
|
|
5490
5731
|
};
|
|
5491
5732
|
meta: object;
|
|
@@ -5802,6 +6043,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5802
6043
|
[x: string]: unknown;
|
|
5803
6044
|
classId: string;
|
|
5804
6045
|
name: string;
|
|
6046
|
+
color?: string | undefined;
|
|
5805
6047
|
parentFolderId?: string | undefined;
|
|
5806
6048
|
};
|
|
5807
6049
|
output: {
|
|
@@ -5827,6 +6069,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5827
6069
|
} & {
|
|
5828
6070
|
id: string;
|
|
5829
6071
|
name: string;
|
|
6072
|
+
color: string | null;
|
|
5830
6073
|
classId: string | null;
|
|
5831
6074
|
parentFolderId: string | null;
|
|
5832
6075
|
};
|
|
@@ -5865,6 +6108,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5865
6108
|
} & {
|
|
5866
6109
|
id: string;
|
|
5867
6110
|
name: string;
|
|
6111
|
+
color: string | null;
|
|
5868
6112
|
classId: string | null;
|
|
5869
6113
|
parentFolderId: string | null;
|
|
5870
6114
|
};
|
|
@@ -5898,6 +6142,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5898
6142
|
} & {
|
|
5899
6143
|
id: string;
|
|
5900
6144
|
name: string;
|
|
6145
|
+
color: string | null;
|
|
5901
6146
|
classId: string | null;
|
|
5902
6147
|
parentFolderId: string | null;
|
|
5903
6148
|
})[];
|
|
@@ -5928,10 +6173,12 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5928
6173
|
childFolders: number;
|
|
5929
6174
|
};
|
|
5930
6175
|
name: string;
|
|
6176
|
+
color: string | null;
|
|
5931
6177
|
}[];
|
|
5932
6178
|
} & {
|
|
5933
6179
|
id: string;
|
|
5934
6180
|
name: string;
|
|
6181
|
+
color: string | null;
|
|
5935
6182
|
classId: string | null;
|
|
5936
6183
|
parentFolderId: string | null;
|
|
5937
6184
|
})[];
|
|
@@ -5960,6 +6207,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5960
6207
|
id: string;
|
|
5961
6208
|
}[];
|
|
5962
6209
|
name: string;
|
|
6210
|
+
color: string | null;
|
|
5963
6211
|
childFolders: {
|
|
5964
6212
|
id: string;
|
|
5965
6213
|
}[];
|
|
@@ -5967,6 +6215,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5967
6215
|
} & {
|
|
5968
6216
|
id: string;
|
|
5969
6217
|
name: string;
|
|
6218
|
+
color: string | null;
|
|
5970
6219
|
classId: string | null;
|
|
5971
6220
|
parentFolderId: string | null;
|
|
5972
6221
|
}) | null;
|
|
@@ -6033,17 +6282,19 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6033
6282
|
} & {
|
|
6034
6283
|
id: string;
|
|
6035
6284
|
name: string;
|
|
6285
|
+
color: string | null;
|
|
6036
6286
|
classId: string | null;
|
|
6037
6287
|
parentFolderId: string | null;
|
|
6038
6288
|
};
|
|
6039
6289
|
meta: object;
|
|
6040
6290
|
}>;
|
|
6041
|
-
|
|
6291
|
+
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
6042
6292
|
input: {
|
|
6043
6293
|
[x: string]: unknown;
|
|
6044
6294
|
classId: string;
|
|
6295
|
+
name: string;
|
|
6045
6296
|
folderId: string;
|
|
6046
|
-
|
|
6297
|
+
color?: string | undefined;
|
|
6047
6298
|
};
|
|
6048
6299
|
output: {
|
|
6049
6300
|
files: {
|
|
@@ -6068,6 +6319,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6068
6319
|
} & {
|
|
6069
6320
|
id: string;
|
|
6070
6321
|
name: string;
|
|
6322
|
+
color: string | null;
|
|
6071
6323
|
classId: string | null;
|
|
6072
6324
|
parentFolderId: string | null;
|
|
6073
6325
|
};
|