@studious-lms/server 1.2.27 → 1.2.29

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.
@@ -1 +1 @@
1
- {"version":3,"file":"_app.d.ts","sourceRoot":"","sources":["../../src/routers/_app.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAc1E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
@@ -16,6 +16,7 @@ import { conversationRouter } from "./conversation.js";
16
16
  import { messageRouter } from "./message.js";
17
17
  import { labChatRouter } from "./labChat.js";
18
18
  import { marketingRouter } from "./marketing.js";
19
+ import { worksheetRouter } from "./worksheet.js";
19
20
  export const appRouter = createTRPCRouter({
20
21
  class: classRouter,
21
22
  announcement: announcementRouter,
@@ -33,6 +34,7 @@ export const appRouter = createTRPCRouter({
33
34
  message: messageRouter,
34
35
  labChat: labChatRouter,
35
36
  marketing: marketingRouter,
37
+ worksheet: worksheetRouter,
36
38
  });
37
39
  // Export caller
38
40
  export const createCaller = createCallerFactory(appRouter);
@@ -45,6 +45,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
45
45
  teacherId: string;
46
46
  inProgress: boolean;
47
47
  order: number | null;
48
+ worksheetId: string | null;
48
49
  } | null;
49
50
  meta: object;
50
51
  }>;
@@ -75,6 +76,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
75
76
  teacherId: string;
76
77
  inProgress: boolean;
77
78
  order: number | null;
79
+ worksheetId: string | null;
78
80
  } | null;
79
81
  meta: object;
80
82
  }>;
@@ -105,6 +107,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
105
107
  teacherId: string;
106
108
  inProgress: boolean;
107
109
  order: number | null;
110
+ worksheetId: string | null;
108
111
  } | null;
109
112
  meta: object;
110
113
  }>;
@@ -343,6 +346,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
343
346
  teacherId: string;
344
347
  inProgress: boolean;
345
348
  order: number | null;
349
+ worksheetId: string | null;
346
350
  };
347
351
  meta: object;
348
352
  }>;
@@ -391,6 +395,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
391
395
  teacherId: string;
392
396
  inProgress: boolean;
393
397
  order: number | null;
398
+ worksheetId: string | null;
394
399
  };
395
400
  student: {
396
401
  id: string;
@@ -504,6 +509,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
504
509
  teacherId: string;
505
510
  inProgress: boolean;
506
511
  order: number | null;
512
+ worksheetId: string | null;
507
513
  };
508
514
  student: {
509
515
  id: string;
@@ -637,6 +643,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
637
643
  teacherId: string;
638
644
  inProgress: boolean;
639
645
  order: number | null;
646
+ worksheetId: string | null;
640
647
  };
641
648
  student: {
642
649
  id: string;
@@ -778,6 +785,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
778
785
  teacherId: string;
779
786
  inProgress: boolean;
780
787
  order: number | null;
788
+ worksheetId: string | null;
781
789
  };
782
790
  student: {
783
791
  id: string;
@@ -872,6 +880,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
872
880
  teacherId: string;
873
881
  inProgress: boolean;
874
882
  order: number | null;
883
+ worksheetId: string | null;
875
884
  };
876
885
  student: {
877
886
  id: string;
@@ -1015,6 +1024,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1015
1024
  teacherId: string;
1016
1025
  inProgress: boolean;
1017
1026
  order: number | null;
1027
+ worksheetId: string | null;
1018
1028
  };
1019
1029
  student: {
1020
1030
  id: string;
@@ -1116,6 +1126,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1116
1126
  teacherId: string;
1117
1127
  inProgress: boolean;
1118
1128
  order: number | null;
1129
+ worksheetId: string | null;
1119
1130
  };
1120
1131
  };
1121
1132
  meta: object;
@@ -1167,6 +1178,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1167
1178
  teacherId: string;
1168
1179
  inProgress: boolean;
1169
1180
  order: number | null;
1181
+ worksheetId: string | null;
1170
1182
  };
1171
1183
  };
1172
1184
  meta: object;
@@ -1294,6 +1306,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1294
1306
  teacherId: string;
1295
1307
  inProgress: boolean;
1296
1308
  order: number | null;
1309
+ worksheetId: string | null;
1297
1310
  };
1298
1311
  meta: object;
1299
1312
  }>;
@@ -1385,6 +1398,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1385
1398
  teacherId: string;
1386
1399
  inProgress: boolean;
1387
1400
  order: number | null;
1401
+ worksheetId: string | null;
1388
1402
  };
1389
1403
  meta: object;
1390
1404
  }>;
@@ -1477,6 +1491,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1477
1491
  teacherId: string;
1478
1492
  inProgress: boolean;
1479
1493
  order: number | null;
1494
+ worksheetId: string | null;
1480
1495
  };
1481
1496
  meta: object;
1482
1497
  }>;
@@ -1568,6 +1583,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1568
1583
  teacherId: string;
1569
1584
  inProgress: boolean;
1570
1585
  order: number | null;
1586
+ worksheetId: string | null;
1571
1587
  };
1572
1588
  meta: object;
1573
1589
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"assignment.d.ts","sourceRoot":"","sources":["../../src/routers/assignment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAA2B,KAAK,gBAAgB,EAAgE,MAAM,sBAAsB,CAAC;AAqKpJ,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0nE3B,CAAC"}
@@ -113,7 +113,7 @@ export const authRouter = createTRPCRouter({
113
113
  if (!user) {
114
114
  throw new TRPCError({
115
115
  code: "UNAUTHORIZED",
116
- message: "user doesn't exists.",
116
+ message: "Invalid username or password",
117
117
  });
118
118
  }
119
119
  if (!(await compare(password, user.password))) {
@@ -82,6 +82,9 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
82
82
  submissions: {
83
83
  id: string;
84
84
  studentId: string;
85
+ gradeReceived: number | null;
86
+ rubricState: string | null;
87
+ teacherComments: string | null;
85
88
  submittedAt: Date | null;
86
89
  submitted: boolean | null;
87
90
  returned: boolean | null;
@@ -554,6 +557,7 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
554
557
  teacherId: string;
555
558
  inProgress: boolean;
556
559
  order: number | null;
560
+ worksheetId: string | null;
557
561
  }[];
558
562
  meta: object;
559
563
  }>;
@@ -592,6 +596,7 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
592
596
  teacherId: string;
593
597
  inProgress: boolean;
594
598
  order: number | null;
599
+ worksheetId: string | null;
595
600
  };
596
601
  meta: object;
597
602
  }>;
@@ -630,6 +635,7 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
630
635
  teacherId: string;
631
636
  inProgress: boolean;
632
637
  order: number | null;
638
+ worksheetId: string | null;
633
639
  };
634
640
  meta: object;
635
641
  }>;
@@ -659,6 +665,7 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
659
665
  teacherId: string;
660
666
  inProgress: boolean;
661
667
  order: number | null;
668
+ worksheetId: string | null;
662
669
  };
663
670
  meta: object;
664
671
  }>;
@@ -692,6 +699,7 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
692
699
  teacherId: string;
693
700
  inProgress: boolean;
694
701
  order: number | null;
702
+ worksheetId: string | null;
695
703
  };
696
704
  meta: object;
697
705
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../src/routers/class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8kCtB,CAAC"}
@@ -190,6 +190,9 @@ export const classRouter = createTRPCRouter({
190
190
  studentId: true,
191
191
  id: true,
192
192
  submitted: true,
193
+ gradeReceived: true,
194
+ rubricState: true,
195
+ teacherComments: true,
193
196
  returned: true,
194
197
  submittedAt: true,
195
198
  },
@@ -184,6 +184,7 @@ export declare const eventRouter: import("@trpc/server").TRPCBuiltRouter<{
184
184
  teacherId: string;
185
185
  inProgress: boolean;
186
186
  order: number | null;
187
+ worksheetId: string | null;
187
188
  };
188
189
  };
189
190
  meta: object;
@@ -228,6 +229,7 @@ export declare const eventRouter: import("@trpc/server").TRPCBuiltRouter<{
228
229
  teacherId: string;
229
230
  inProgress: boolean;
230
231
  order: number | null;
232
+ worksheetId: string | null;
231
233
  };
232
234
  };
233
235
  meta: object;
@@ -1 +1 @@
1
- {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/routers/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4etB,CAAC"}
1
+ {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/routers/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4etB,CAAC"}
@@ -0,0 +1,370 @@
1
+ import { z } from "zod";
2
+ export declare const worksheetRouter: import("@trpc/server").TRPCBuiltRouter<{
3
+ ctx: import("src/trpc").Context;
4
+ meta: object;
5
+ errorShape: {
6
+ data: {
7
+ zodError: z.typeToFlattenedError<any, string> | null;
8
+ prismaError: import("../utils/prismaErrorHandler").PrismaErrorInfo | null;
9
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
10
+ httpStatus: number;
11
+ path?: string;
12
+ stack?: string;
13
+ };
14
+ message: string;
15
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
16
+ };
17
+ transformer: false;
18
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
19
+ getWorksheet: import("@trpc/server").TRPCQueryProcedure<{
20
+ input: {
21
+ worksheetId: string;
22
+ };
23
+ output: {
24
+ class: {
25
+ id: string;
26
+ schoolId: string | null;
27
+ name: string;
28
+ subject: string;
29
+ color: string | null;
30
+ section: string;
31
+ syllabus: string | null;
32
+ } | null;
33
+ questions: {
34
+ type: import(".prisma/client").$Enums.WorksheetQuestionType;
35
+ id: string;
36
+ options: import("@prisma/client/runtime/library").JsonValue | null;
37
+ createdAt: Date;
38
+ worksheetId: string;
39
+ markScheme: import("@prisma/client/runtime/library").JsonValue | null;
40
+ updatedAt: Date;
41
+ question: string;
42
+ answer: string;
43
+ }[];
44
+ } & {
45
+ id: string;
46
+ name: string;
47
+ classId: string;
48
+ createdAt: Date;
49
+ updatedAt: Date;
50
+ };
51
+ meta: object;
52
+ }>;
53
+ listWorksheets: import("@trpc/server").TRPCQueryProcedure<{
54
+ input: {
55
+ classId: string;
56
+ };
57
+ output: {
58
+ questionCount: number;
59
+ questions: {
60
+ id: string;
61
+ }[];
62
+ id: string;
63
+ name: string;
64
+ classId: string;
65
+ createdAt: Date;
66
+ updatedAt: Date;
67
+ }[];
68
+ meta: object;
69
+ }>;
70
+ updateWorksheet: import("@trpc/server").TRPCMutationProcedure<{
71
+ input: {
72
+ worksheetId: string;
73
+ name?: string | undefined;
74
+ };
75
+ output: {
76
+ id: string;
77
+ name: string;
78
+ classId: string;
79
+ createdAt: Date;
80
+ updatedAt: Date;
81
+ };
82
+ meta: object;
83
+ }>;
84
+ deleteWorksheet: import("@trpc/server").TRPCMutationProcedure<{
85
+ input: {
86
+ worksheetId: string;
87
+ };
88
+ output: {
89
+ id: string;
90
+ name: string;
91
+ classId: string;
92
+ createdAt: Date;
93
+ updatedAt: Date;
94
+ };
95
+ meta: object;
96
+ }>;
97
+ create: import("@trpc/server").TRPCMutationProcedure<{
98
+ input: {
99
+ name: string;
100
+ classId: string;
101
+ };
102
+ output: {
103
+ id: string;
104
+ name: string;
105
+ classId: string;
106
+ createdAt: Date;
107
+ updatedAt: Date;
108
+ };
109
+ meta: object;
110
+ }>;
111
+ addQuestion: import("@trpc/server").TRPCMutationProcedure<{
112
+ input: {
113
+ type: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION";
114
+ worksheetId: string;
115
+ question: string;
116
+ answer: string;
117
+ options?: any;
118
+ markScheme?: any;
119
+ };
120
+ output: {
121
+ type: import(".prisma/client").$Enums.WorksheetQuestionType;
122
+ id: string;
123
+ options: import("@prisma/client/runtime/library").JsonValue | null;
124
+ createdAt: Date;
125
+ worksheetId: string;
126
+ markScheme: import("@prisma/client/runtime/library").JsonValue | null;
127
+ updatedAt: Date;
128
+ question: string;
129
+ answer: string;
130
+ };
131
+ meta: object;
132
+ }>;
133
+ updateQuestion: import("@trpc/server").TRPCMutationProcedure<{
134
+ input: {
135
+ worksheetId: string;
136
+ questionId: string;
137
+ type?: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION" | undefined;
138
+ options?: any;
139
+ markScheme?: any;
140
+ question?: string | undefined;
141
+ answer?: string | undefined;
142
+ };
143
+ output: {
144
+ type: import(".prisma/client").$Enums.WorksheetQuestionType;
145
+ id: string;
146
+ options: import("@prisma/client/runtime/library").JsonValue | null;
147
+ createdAt: Date;
148
+ worksheetId: string;
149
+ markScheme: import("@prisma/client/runtime/library").JsonValue | null;
150
+ updatedAt: Date;
151
+ question: string;
152
+ answer: string;
153
+ };
154
+ meta: object;
155
+ }>;
156
+ deleteQuestion: import("@trpc/server").TRPCMutationProcedure<{
157
+ input: {
158
+ worksheetId: string;
159
+ questionId: string;
160
+ };
161
+ output: {
162
+ type: import(".prisma/client").$Enums.WorksheetQuestionType;
163
+ id: string;
164
+ options: import("@prisma/client/runtime/library").JsonValue | null;
165
+ createdAt: Date;
166
+ worksheetId: string;
167
+ markScheme: import("@prisma/client/runtime/library").JsonValue | null;
168
+ updatedAt: Date;
169
+ question: string;
170
+ answer: string;
171
+ };
172
+ meta: object;
173
+ }>;
174
+ getWorksheetSubmission: import("@trpc/server").TRPCQueryProcedure<{
175
+ input: {
176
+ submissionId: string;
177
+ worksheetId: string;
178
+ };
179
+ output: ({
180
+ responses: {
181
+ id: string;
182
+ feedback: string | null;
183
+ studentId: string;
184
+ createdAt: Date;
185
+ updatedAt: Date;
186
+ questionId: string;
187
+ response: string;
188
+ isCorrect: boolean;
189
+ studentWorksheetResponseId: string | null;
190
+ }[];
191
+ } & {
192
+ id: string;
193
+ submissionId: string | null;
194
+ studentId: string;
195
+ createdAt: Date;
196
+ worksheetId: string;
197
+ updatedAt: Date;
198
+ submittedAt: Date | null;
199
+ submitted: boolean;
200
+ })[];
201
+ meta: object;
202
+ }>;
203
+ answerQuestion: import("@trpc/server").TRPCMutationProcedure<{
204
+ input: {
205
+ questionId: string;
206
+ worksheetResponseId: string;
207
+ response: string;
208
+ };
209
+ output: ({
210
+ responses: {
211
+ id: string;
212
+ feedback: string | null;
213
+ studentId: string;
214
+ createdAt: Date;
215
+ updatedAt: Date;
216
+ questionId: string;
217
+ response: string;
218
+ isCorrect: boolean;
219
+ studentWorksheetResponseId: string | null;
220
+ }[];
221
+ } & {
222
+ id: string;
223
+ submissionId: string | null;
224
+ studentId: string;
225
+ createdAt: Date;
226
+ worksheetId: string;
227
+ updatedAt: Date;
228
+ submittedAt: Date | null;
229
+ submitted: boolean;
230
+ }) | null;
231
+ meta: object;
232
+ }>;
233
+ submitWorksheet: import("@trpc/server").TRPCMutationProcedure<{
234
+ input: {
235
+ worksheetResponseId: string;
236
+ };
237
+ output: {
238
+ responses: {
239
+ id: string;
240
+ feedback: string | null;
241
+ studentId: string;
242
+ createdAt: Date;
243
+ updatedAt: Date;
244
+ questionId: string;
245
+ response: string;
246
+ isCorrect: boolean;
247
+ studentWorksheetResponseId: string | null;
248
+ }[];
249
+ } & {
250
+ id: string;
251
+ submissionId: string | null;
252
+ studentId: string;
253
+ createdAt: Date;
254
+ worksheetId: string;
255
+ updatedAt: Date;
256
+ submittedAt: Date | null;
257
+ submitted: boolean;
258
+ };
259
+ meta: object;
260
+ }>;
261
+ getOrCreateWorksheetResponse: import("@trpc/server").TRPCMutationProcedure<{
262
+ input: {
263
+ studentId: string;
264
+ worksheetId: string;
265
+ };
266
+ output: {
267
+ responses: ({
268
+ question: {
269
+ type: import(".prisma/client").$Enums.WorksheetQuestionType;
270
+ id: string;
271
+ options: import("@prisma/client/runtime/library").JsonValue | null;
272
+ createdAt: Date;
273
+ worksheetId: string;
274
+ markScheme: import("@prisma/client/runtime/library").JsonValue | null;
275
+ updatedAt: Date;
276
+ question: string;
277
+ answer: string;
278
+ };
279
+ } & {
280
+ id: string;
281
+ feedback: string | null;
282
+ studentId: string;
283
+ createdAt: Date;
284
+ updatedAt: Date;
285
+ questionId: string;
286
+ response: string;
287
+ isCorrect: boolean;
288
+ studentWorksheetResponseId: string | null;
289
+ })[];
290
+ } & {
291
+ id: string;
292
+ submissionId: string | null;
293
+ studentId: string;
294
+ createdAt: Date;
295
+ worksheetId: string;
296
+ updatedAt: Date;
297
+ submittedAt: Date | null;
298
+ submitted: boolean;
299
+ };
300
+ meta: object;
301
+ }>;
302
+ getWorksheetResponses: import("@trpc/server").TRPCQueryProcedure<{
303
+ input: {
304
+ worksheetId: string;
305
+ };
306
+ output: ({
307
+ student: {
308
+ id: string;
309
+ username: string;
310
+ profile: {
311
+ displayName: string | null;
312
+ profilePicture: string | null;
313
+ } | null;
314
+ };
315
+ responses: ({
316
+ question: {
317
+ type: import(".prisma/client").$Enums.WorksheetQuestionType;
318
+ id: string;
319
+ options: import("@prisma/client/runtime/library").JsonValue | null;
320
+ createdAt: Date;
321
+ worksheetId: string;
322
+ markScheme: import("@prisma/client/runtime/library").JsonValue | null;
323
+ updatedAt: Date;
324
+ question: string;
325
+ answer: string;
326
+ };
327
+ } & {
328
+ id: string;
329
+ feedback: string | null;
330
+ studentId: string;
331
+ createdAt: Date;
332
+ updatedAt: Date;
333
+ questionId: string;
334
+ response: string;
335
+ isCorrect: boolean;
336
+ studentWorksheetResponseId: string | null;
337
+ })[];
338
+ } & {
339
+ id: string;
340
+ submissionId: string | null;
341
+ studentId: string;
342
+ createdAt: Date;
343
+ worksheetId: string;
344
+ updatedAt: Date;
345
+ submittedAt: Date | null;
346
+ submitted: boolean;
347
+ })[];
348
+ meta: object;
349
+ }>;
350
+ gradeAnswer: import("@trpc/server").TRPCMutationProcedure<{
351
+ input: {
352
+ responseId: string;
353
+ isCorrect: boolean;
354
+ feedback?: string | undefined;
355
+ };
356
+ output: {
357
+ id: string;
358
+ feedback: string | null;
359
+ studentId: string;
360
+ createdAt: Date;
361
+ updatedAt: Date;
362
+ questionId: string;
363
+ response: string;
364
+ isCorrect: boolean;
365
+ studentWorksheetResponseId: string | null;
366
+ };
367
+ meta: object;
368
+ }>;
369
+ }>>;
370
+ //# sourceMappingURL=worksheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worksheet.d.ts","sourceRoot":"","sources":["../../src/routers/worksheet.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAga1B,CAAC"}