@aibrains/shared-types 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schemas/academics/classwork.schema.d.ts +507 -0
- package/dist/schemas/academics/classwork.schema.d.ts.map +1 -0
- package/dist/schemas/academics/classwork.schema.js +149 -0
- package/dist/schemas/academics/classwork.schema.js.map +1 -0
- package/dist/schemas/academics/index.d.ts +1 -0
- package/dist/schemas/academics/index.d.ts.map +1 -1
- package/dist/schemas/academics/index.js +1 -0
- package/dist/schemas/academics/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Classwork Schemas - Academics Service
|
|
3
|
+
*
|
|
4
|
+
* Zod schemas for classwork items (assignments, quizzes, materials, questions)
|
|
5
|
+
* and organizational topics within class sections.
|
|
6
|
+
*
|
|
7
|
+
* Ed-Fi Aligned: Classwork items with type 'assignment' or 'quiz' bridge to
|
|
8
|
+
* the Grade entity via itemId → AssignmentGrade.assignmentId.
|
|
9
|
+
*/
|
|
10
|
+
import { z } from 'zod';
|
|
11
|
+
export declare const classworkItemTypeSchema: z.ZodEnum<["assignment", "quiz", "material", "question"]>;
|
|
12
|
+
export type ClassworkItemType = z.infer<typeof classworkItemTypeSchema>;
|
|
13
|
+
export declare const classworkItemStatusSchema: z.ZodEnum<["draft", "published", "scheduled"]>;
|
|
14
|
+
export type ClassworkItemStatus = z.infer<typeof classworkItemStatusSchema>;
|
|
15
|
+
export declare const classworkAssessmentCategorySchema: z.ZodEnum<["formative", "summative"]>;
|
|
16
|
+
export type ClassworkAssessmentCategory = z.infer<typeof classworkAssessmentCategorySchema>;
|
|
17
|
+
export declare const classworkAttachmentSchema: z.ZodObject<{
|
|
18
|
+
attachmentId: z.ZodString;
|
|
19
|
+
fileName: z.ZodString;
|
|
20
|
+
fileType: z.ZodString;
|
|
21
|
+
fileUrl: z.ZodString;
|
|
22
|
+
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
attachmentId: string;
|
|
25
|
+
fileName: string;
|
|
26
|
+
fileType: string;
|
|
27
|
+
fileUrl: string;
|
|
28
|
+
fileSize?: number | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
attachmentId: string;
|
|
31
|
+
fileName: string;
|
|
32
|
+
fileType: string;
|
|
33
|
+
fileUrl: string;
|
|
34
|
+
fileSize?: number | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
export type ClassworkAttachmentDto = z.infer<typeof classworkAttachmentSchema>;
|
|
37
|
+
export declare const classworkItemResponseSchema: z.ZodObject<{
|
|
38
|
+
itemId: z.ZodString;
|
|
39
|
+
sectionId: z.ZodString;
|
|
40
|
+
schoolId: z.ZodString;
|
|
41
|
+
type: z.ZodEnum<["assignment", "quiz", "material", "question"]>;
|
|
42
|
+
title: z.ZodString;
|
|
43
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44
|
+
topicId: z.ZodOptional<z.ZodString>;
|
|
45
|
+
topicName: z.ZodOptional<z.ZodString>;
|
|
46
|
+
sortOrder: z.ZodNumber;
|
|
47
|
+
categoryId: z.ZodOptional<z.ZodString>;
|
|
48
|
+
categoryName: z.ZodOptional<z.ZodString>;
|
|
49
|
+
assessmentCategory: z.ZodOptional<z.ZodEnum<["formative", "summative"]>>;
|
|
50
|
+
possiblePoints: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
dueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
52
|
+
status: z.ZodEnum<["draft", "published", "scheduled"]>;
|
|
53
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
54
|
+
scheduledAt: z.ZodOptional<z.ZodString>;
|
|
55
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
56
|
+
attachmentId: z.ZodString;
|
|
57
|
+
fileName: z.ZodString;
|
|
58
|
+
fileType: z.ZodString;
|
|
59
|
+
fileUrl: z.ZodString;
|
|
60
|
+
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
attachmentId: string;
|
|
63
|
+
fileName: string;
|
|
64
|
+
fileType: string;
|
|
65
|
+
fileUrl: string;
|
|
66
|
+
fileSize?: number | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
attachmentId: string;
|
|
69
|
+
fileName: string;
|
|
70
|
+
fileType: string;
|
|
71
|
+
fileUrl: string;
|
|
72
|
+
fileSize?: number | undefined;
|
|
73
|
+
}>, "many">>;
|
|
74
|
+
createdAt: z.ZodString;
|
|
75
|
+
updatedAt: z.ZodString;
|
|
76
|
+
createdBy: z.ZodString;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
type: "assignment" | "quiz" | "material" | "question";
|
|
79
|
+
status: "draft" | "published" | "scheduled";
|
|
80
|
+
createdAt: string;
|
|
81
|
+
createdBy: string;
|
|
82
|
+
updatedAt: string;
|
|
83
|
+
title: string;
|
|
84
|
+
schoolId: string;
|
|
85
|
+
sortOrder: number;
|
|
86
|
+
sectionId: string;
|
|
87
|
+
itemId: string;
|
|
88
|
+
description?: string | undefined;
|
|
89
|
+
categoryId?: string | undefined;
|
|
90
|
+
categoryName?: string | undefined;
|
|
91
|
+
possiblePoints?: number | undefined;
|
|
92
|
+
assessmentCategory?: "formative" | "summative" | undefined;
|
|
93
|
+
dueDate?: string | undefined;
|
|
94
|
+
publishedAt?: string | undefined;
|
|
95
|
+
attachments?: {
|
|
96
|
+
attachmentId: string;
|
|
97
|
+
fileName: string;
|
|
98
|
+
fileType: string;
|
|
99
|
+
fileUrl: string;
|
|
100
|
+
fileSize?: number | undefined;
|
|
101
|
+
}[] | undefined;
|
|
102
|
+
topicId?: string | undefined;
|
|
103
|
+
topicName?: string | undefined;
|
|
104
|
+
scheduledAt?: string | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
type: "assignment" | "quiz" | "material" | "question";
|
|
107
|
+
status: "draft" | "published" | "scheduled";
|
|
108
|
+
createdAt: string;
|
|
109
|
+
createdBy: string;
|
|
110
|
+
updatedAt: string;
|
|
111
|
+
title: string;
|
|
112
|
+
schoolId: string;
|
|
113
|
+
sortOrder: number;
|
|
114
|
+
sectionId: string;
|
|
115
|
+
itemId: string;
|
|
116
|
+
description?: string | undefined;
|
|
117
|
+
categoryId?: string | undefined;
|
|
118
|
+
categoryName?: string | undefined;
|
|
119
|
+
possiblePoints?: number | undefined;
|
|
120
|
+
assessmentCategory?: "formative" | "summative" | undefined;
|
|
121
|
+
dueDate?: string | undefined;
|
|
122
|
+
publishedAt?: string | undefined;
|
|
123
|
+
attachments?: {
|
|
124
|
+
attachmentId: string;
|
|
125
|
+
fileName: string;
|
|
126
|
+
fileType: string;
|
|
127
|
+
fileUrl: string;
|
|
128
|
+
fileSize?: number | undefined;
|
|
129
|
+
}[] | undefined;
|
|
130
|
+
topicId?: string | undefined;
|
|
131
|
+
topicName?: string | undefined;
|
|
132
|
+
scheduledAt?: string | undefined;
|
|
133
|
+
}>;
|
|
134
|
+
export type ClassworkItemResponseDto = z.infer<typeof classworkItemResponseSchema>;
|
|
135
|
+
export declare const classworkTopicResponseSchema: z.ZodObject<{
|
|
136
|
+
topicId: z.ZodString;
|
|
137
|
+
sectionId: z.ZodString;
|
|
138
|
+
schoolId: z.ZodString;
|
|
139
|
+
name: z.ZodString;
|
|
140
|
+
sortOrder: z.ZodNumber;
|
|
141
|
+
createdAt: z.ZodString;
|
|
142
|
+
updatedAt: z.ZodString;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
createdAt: string;
|
|
145
|
+
updatedAt: string;
|
|
146
|
+
name: string;
|
|
147
|
+
schoolId: string;
|
|
148
|
+
sortOrder: number;
|
|
149
|
+
sectionId: string;
|
|
150
|
+
topicId: string;
|
|
151
|
+
}, {
|
|
152
|
+
createdAt: string;
|
|
153
|
+
updatedAt: string;
|
|
154
|
+
name: string;
|
|
155
|
+
schoolId: string;
|
|
156
|
+
sortOrder: number;
|
|
157
|
+
sectionId: string;
|
|
158
|
+
topicId: string;
|
|
159
|
+
}>;
|
|
160
|
+
export type ClassworkTopicResponseDto = z.infer<typeof classworkTopicResponseSchema>;
|
|
161
|
+
export declare const sectionClassworkResponseSchema: z.ZodObject<{
|
|
162
|
+
sectionId: z.ZodString;
|
|
163
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
164
|
+
topicId: z.ZodString;
|
|
165
|
+
sectionId: z.ZodString;
|
|
166
|
+
schoolId: z.ZodString;
|
|
167
|
+
name: z.ZodString;
|
|
168
|
+
sortOrder: z.ZodNumber;
|
|
169
|
+
createdAt: z.ZodString;
|
|
170
|
+
updatedAt: z.ZodString;
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
createdAt: string;
|
|
173
|
+
updatedAt: string;
|
|
174
|
+
name: string;
|
|
175
|
+
schoolId: string;
|
|
176
|
+
sortOrder: number;
|
|
177
|
+
sectionId: string;
|
|
178
|
+
topicId: string;
|
|
179
|
+
}, {
|
|
180
|
+
createdAt: string;
|
|
181
|
+
updatedAt: string;
|
|
182
|
+
name: string;
|
|
183
|
+
schoolId: string;
|
|
184
|
+
sortOrder: number;
|
|
185
|
+
sectionId: string;
|
|
186
|
+
topicId: string;
|
|
187
|
+
}>, "many">;
|
|
188
|
+
items: z.ZodArray<z.ZodObject<{
|
|
189
|
+
itemId: z.ZodString;
|
|
190
|
+
sectionId: z.ZodString;
|
|
191
|
+
schoolId: z.ZodString;
|
|
192
|
+
type: z.ZodEnum<["assignment", "quiz", "material", "question"]>;
|
|
193
|
+
title: z.ZodString;
|
|
194
|
+
description: z.ZodOptional<z.ZodString>;
|
|
195
|
+
topicId: z.ZodOptional<z.ZodString>;
|
|
196
|
+
topicName: z.ZodOptional<z.ZodString>;
|
|
197
|
+
sortOrder: z.ZodNumber;
|
|
198
|
+
categoryId: z.ZodOptional<z.ZodString>;
|
|
199
|
+
categoryName: z.ZodOptional<z.ZodString>;
|
|
200
|
+
assessmentCategory: z.ZodOptional<z.ZodEnum<["formative", "summative"]>>;
|
|
201
|
+
possiblePoints: z.ZodOptional<z.ZodNumber>;
|
|
202
|
+
dueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
203
|
+
status: z.ZodEnum<["draft", "published", "scheduled"]>;
|
|
204
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
205
|
+
scheduledAt: z.ZodOptional<z.ZodString>;
|
|
206
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
207
|
+
attachmentId: z.ZodString;
|
|
208
|
+
fileName: z.ZodString;
|
|
209
|
+
fileType: z.ZodString;
|
|
210
|
+
fileUrl: z.ZodString;
|
|
211
|
+
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
attachmentId: string;
|
|
214
|
+
fileName: string;
|
|
215
|
+
fileType: string;
|
|
216
|
+
fileUrl: string;
|
|
217
|
+
fileSize?: number | undefined;
|
|
218
|
+
}, {
|
|
219
|
+
attachmentId: string;
|
|
220
|
+
fileName: string;
|
|
221
|
+
fileType: string;
|
|
222
|
+
fileUrl: string;
|
|
223
|
+
fileSize?: number | undefined;
|
|
224
|
+
}>, "many">>;
|
|
225
|
+
createdAt: z.ZodString;
|
|
226
|
+
updatedAt: z.ZodString;
|
|
227
|
+
createdBy: z.ZodString;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
type: "assignment" | "quiz" | "material" | "question";
|
|
230
|
+
status: "draft" | "published" | "scheduled";
|
|
231
|
+
createdAt: string;
|
|
232
|
+
createdBy: string;
|
|
233
|
+
updatedAt: string;
|
|
234
|
+
title: string;
|
|
235
|
+
schoolId: string;
|
|
236
|
+
sortOrder: number;
|
|
237
|
+
sectionId: string;
|
|
238
|
+
itemId: string;
|
|
239
|
+
description?: string | undefined;
|
|
240
|
+
categoryId?: string | undefined;
|
|
241
|
+
categoryName?: string | undefined;
|
|
242
|
+
possiblePoints?: number | undefined;
|
|
243
|
+
assessmentCategory?: "formative" | "summative" | undefined;
|
|
244
|
+
dueDate?: string | undefined;
|
|
245
|
+
publishedAt?: string | undefined;
|
|
246
|
+
attachments?: {
|
|
247
|
+
attachmentId: string;
|
|
248
|
+
fileName: string;
|
|
249
|
+
fileType: string;
|
|
250
|
+
fileUrl: string;
|
|
251
|
+
fileSize?: number | undefined;
|
|
252
|
+
}[] | undefined;
|
|
253
|
+
topicId?: string | undefined;
|
|
254
|
+
topicName?: string | undefined;
|
|
255
|
+
scheduledAt?: string | undefined;
|
|
256
|
+
}, {
|
|
257
|
+
type: "assignment" | "quiz" | "material" | "question";
|
|
258
|
+
status: "draft" | "published" | "scheduled";
|
|
259
|
+
createdAt: string;
|
|
260
|
+
createdBy: string;
|
|
261
|
+
updatedAt: string;
|
|
262
|
+
title: string;
|
|
263
|
+
schoolId: string;
|
|
264
|
+
sortOrder: number;
|
|
265
|
+
sectionId: string;
|
|
266
|
+
itemId: string;
|
|
267
|
+
description?: string | undefined;
|
|
268
|
+
categoryId?: string | undefined;
|
|
269
|
+
categoryName?: string | undefined;
|
|
270
|
+
possiblePoints?: number | undefined;
|
|
271
|
+
assessmentCategory?: "formative" | "summative" | undefined;
|
|
272
|
+
dueDate?: string | undefined;
|
|
273
|
+
publishedAt?: string | undefined;
|
|
274
|
+
attachments?: {
|
|
275
|
+
attachmentId: string;
|
|
276
|
+
fileName: string;
|
|
277
|
+
fileType: string;
|
|
278
|
+
fileUrl: string;
|
|
279
|
+
fileSize?: number | undefined;
|
|
280
|
+
}[] | undefined;
|
|
281
|
+
topicId?: string | undefined;
|
|
282
|
+
topicName?: string | undefined;
|
|
283
|
+
scheduledAt?: string | undefined;
|
|
284
|
+
}>, "many">;
|
|
285
|
+
}, "strip", z.ZodTypeAny, {
|
|
286
|
+
items: {
|
|
287
|
+
type: "assignment" | "quiz" | "material" | "question";
|
|
288
|
+
status: "draft" | "published" | "scheduled";
|
|
289
|
+
createdAt: string;
|
|
290
|
+
createdBy: string;
|
|
291
|
+
updatedAt: string;
|
|
292
|
+
title: string;
|
|
293
|
+
schoolId: string;
|
|
294
|
+
sortOrder: number;
|
|
295
|
+
sectionId: string;
|
|
296
|
+
itemId: string;
|
|
297
|
+
description?: string | undefined;
|
|
298
|
+
categoryId?: string | undefined;
|
|
299
|
+
categoryName?: string | undefined;
|
|
300
|
+
possiblePoints?: number | undefined;
|
|
301
|
+
assessmentCategory?: "formative" | "summative" | undefined;
|
|
302
|
+
dueDate?: string | undefined;
|
|
303
|
+
publishedAt?: string | undefined;
|
|
304
|
+
attachments?: {
|
|
305
|
+
attachmentId: string;
|
|
306
|
+
fileName: string;
|
|
307
|
+
fileType: string;
|
|
308
|
+
fileUrl: string;
|
|
309
|
+
fileSize?: number | undefined;
|
|
310
|
+
}[] | undefined;
|
|
311
|
+
topicId?: string | undefined;
|
|
312
|
+
topicName?: string | undefined;
|
|
313
|
+
scheduledAt?: string | undefined;
|
|
314
|
+
}[];
|
|
315
|
+
sectionId: string;
|
|
316
|
+
topics: {
|
|
317
|
+
createdAt: string;
|
|
318
|
+
updatedAt: string;
|
|
319
|
+
name: string;
|
|
320
|
+
schoolId: string;
|
|
321
|
+
sortOrder: number;
|
|
322
|
+
sectionId: string;
|
|
323
|
+
topicId: string;
|
|
324
|
+
}[];
|
|
325
|
+
}, {
|
|
326
|
+
items: {
|
|
327
|
+
type: "assignment" | "quiz" | "material" | "question";
|
|
328
|
+
status: "draft" | "published" | "scheduled";
|
|
329
|
+
createdAt: string;
|
|
330
|
+
createdBy: string;
|
|
331
|
+
updatedAt: string;
|
|
332
|
+
title: string;
|
|
333
|
+
schoolId: string;
|
|
334
|
+
sortOrder: number;
|
|
335
|
+
sectionId: string;
|
|
336
|
+
itemId: string;
|
|
337
|
+
description?: string | undefined;
|
|
338
|
+
categoryId?: string | undefined;
|
|
339
|
+
categoryName?: string | undefined;
|
|
340
|
+
possiblePoints?: number | undefined;
|
|
341
|
+
assessmentCategory?: "formative" | "summative" | undefined;
|
|
342
|
+
dueDate?: string | undefined;
|
|
343
|
+
publishedAt?: string | undefined;
|
|
344
|
+
attachments?: {
|
|
345
|
+
attachmentId: string;
|
|
346
|
+
fileName: string;
|
|
347
|
+
fileType: string;
|
|
348
|
+
fileUrl: string;
|
|
349
|
+
fileSize?: number | undefined;
|
|
350
|
+
}[] | undefined;
|
|
351
|
+
topicId?: string | undefined;
|
|
352
|
+
topicName?: string | undefined;
|
|
353
|
+
scheduledAt?: string | undefined;
|
|
354
|
+
}[];
|
|
355
|
+
sectionId: string;
|
|
356
|
+
topics: {
|
|
357
|
+
createdAt: string;
|
|
358
|
+
updatedAt: string;
|
|
359
|
+
name: string;
|
|
360
|
+
schoolId: string;
|
|
361
|
+
sortOrder: number;
|
|
362
|
+
sectionId: string;
|
|
363
|
+
topicId: string;
|
|
364
|
+
}[];
|
|
365
|
+
}>;
|
|
366
|
+
export type SectionClassworkResponseDto = z.infer<typeof sectionClassworkResponseSchema>;
|
|
367
|
+
export declare const createClassworkItemSchema: z.ZodObject<{
|
|
368
|
+
sectionId: z.ZodString;
|
|
369
|
+
schoolId: z.ZodString;
|
|
370
|
+
type: z.ZodEnum<["assignment", "quiz", "material", "question"]>;
|
|
371
|
+
title: z.ZodString;
|
|
372
|
+
description: z.ZodOptional<z.ZodString>;
|
|
373
|
+
topicId: z.ZodOptional<z.ZodString>;
|
|
374
|
+
categoryId: z.ZodOptional<z.ZodString>;
|
|
375
|
+
categoryName: z.ZodOptional<z.ZodString>;
|
|
376
|
+
assessmentCategory: z.ZodOptional<z.ZodEnum<["formative", "summative"]>>;
|
|
377
|
+
possiblePoints: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
dueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
379
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "published", "scheduled"]>>;
|
|
380
|
+
}, "strip", z.ZodTypeAny, {
|
|
381
|
+
type: "assignment" | "quiz" | "material" | "question";
|
|
382
|
+
status: "draft" | "published" | "scheduled";
|
|
383
|
+
title: string;
|
|
384
|
+
schoolId: string;
|
|
385
|
+
sectionId: string;
|
|
386
|
+
description?: string | undefined;
|
|
387
|
+
categoryId?: string | undefined;
|
|
388
|
+
categoryName?: string | undefined;
|
|
389
|
+
possiblePoints?: number | undefined;
|
|
390
|
+
assessmentCategory?: "formative" | "summative" | undefined;
|
|
391
|
+
dueDate?: string | undefined;
|
|
392
|
+
topicId?: string | undefined;
|
|
393
|
+
}, {
|
|
394
|
+
type: "assignment" | "quiz" | "material" | "question";
|
|
395
|
+
title: string;
|
|
396
|
+
schoolId: string;
|
|
397
|
+
sectionId: string;
|
|
398
|
+
status?: "draft" | "published" | "scheduled" | undefined;
|
|
399
|
+
description?: string | undefined;
|
|
400
|
+
categoryId?: string | undefined;
|
|
401
|
+
categoryName?: string | undefined;
|
|
402
|
+
possiblePoints?: number | undefined;
|
|
403
|
+
assessmentCategory?: "formative" | "summative" | undefined;
|
|
404
|
+
dueDate?: string | undefined;
|
|
405
|
+
topicId?: string | undefined;
|
|
406
|
+
}>;
|
|
407
|
+
export type CreateClassworkItemDto = z.infer<typeof createClassworkItemSchema>;
|
|
408
|
+
export declare const updateClassworkItemSchema: z.ZodObject<{
|
|
409
|
+
title: z.ZodOptional<z.ZodString>;
|
|
410
|
+
description: z.ZodOptional<z.ZodString>;
|
|
411
|
+
topicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
412
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
|
+
categoryName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
414
|
+
assessmentCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<["formative", "summative"]>>>;
|
|
415
|
+
possiblePoints: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
416
|
+
dueDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
|
|
417
|
+
status: z.ZodOptional<z.ZodEnum<["draft", "published", "scheduled"]>>;
|
|
418
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
419
|
+
}, "strip", z.ZodTypeAny, {
|
|
420
|
+
status?: "draft" | "published" | "scheduled" | undefined;
|
|
421
|
+
title?: string | undefined;
|
|
422
|
+
description?: string | undefined;
|
|
423
|
+
sortOrder?: number | undefined;
|
|
424
|
+
categoryId?: string | null | undefined;
|
|
425
|
+
categoryName?: string | null | undefined;
|
|
426
|
+
possiblePoints?: number | null | undefined;
|
|
427
|
+
assessmentCategory?: "formative" | "summative" | null | undefined;
|
|
428
|
+
dueDate?: string | null | undefined;
|
|
429
|
+
topicId?: string | null | undefined;
|
|
430
|
+
}, {
|
|
431
|
+
status?: "draft" | "published" | "scheduled" | undefined;
|
|
432
|
+
title?: string | undefined;
|
|
433
|
+
description?: string | undefined;
|
|
434
|
+
sortOrder?: number | undefined;
|
|
435
|
+
categoryId?: string | null | undefined;
|
|
436
|
+
categoryName?: string | null | undefined;
|
|
437
|
+
possiblePoints?: number | null | undefined;
|
|
438
|
+
assessmentCategory?: "formative" | "summative" | null | undefined;
|
|
439
|
+
dueDate?: string | null | undefined;
|
|
440
|
+
topicId?: string | null | undefined;
|
|
441
|
+
}>;
|
|
442
|
+
export type UpdateClassworkItemDto = z.infer<typeof updateClassworkItemSchema>;
|
|
443
|
+
export declare const createClassworkTopicSchema: z.ZodObject<{
|
|
444
|
+
sectionId: z.ZodString;
|
|
445
|
+
schoolId: z.ZodString;
|
|
446
|
+
name: z.ZodString;
|
|
447
|
+
}, "strip", z.ZodTypeAny, {
|
|
448
|
+
name: string;
|
|
449
|
+
schoolId: string;
|
|
450
|
+
sectionId: string;
|
|
451
|
+
}, {
|
|
452
|
+
name: string;
|
|
453
|
+
schoolId: string;
|
|
454
|
+
sectionId: string;
|
|
455
|
+
}>;
|
|
456
|
+
export type CreateClassworkTopicDto = z.infer<typeof createClassworkTopicSchema>;
|
|
457
|
+
export declare const updateClassworkTopicSchema: z.ZodObject<{
|
|
458
|
+
name: z.ZodOptional<z.ZodString>;
|
|
459
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
460
|
+
}, "strip", z.ZodTypeAny, {
|
|
461
|
+
name?: string | undefined;
|
|
462
|
+
sortOrder?: number | undefined;
|
|
463
|
+
}, {
|
|
464
|
+
name?: string | undefined;
|
|
465
|
+
sortOrder?: number | undefined;
|
|
466
|
+
}>;
|
|
467
|
+
export type UpdateClassworkTopicDto = z.infer<typeof updateClassworkTopicSchema>;
|
|
468
|
+
export declare const reorderClassworkItemsSchema: z.ZodObject<{
|
|
469
|
+
schoolId: z.ZodString;
|
|
470
|
+
sectionId: z.ZodString;
|
|
471
|
+
items: z.ZodArray<z.ZodObject<{
|
|
472
|
+
id: z.ZodString;
|
|
473
|
+
type: z.ZodEnum<["item", "topic"]>;
|
|
474
|
+
sortOrder: z.ZodNumber;
|
|
475
|
+
topicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
476
|
+
}, "strip", z.ZodTypeAny, {
|
|
477
|
+
type: "item" | "topic";
|
|
478
|
+
id: string;
|
|
479
|
+
sortOrder: number;
|
|
480
|
+
topicId?: string | null | undefined;
|
|
481
|
+
}, {
|
|
482
|
+
type: "item" | "topic";
|
|
483
|
+
id: string;
|
|
484
|
+
sortOrder: number;
|
|
485
|
+
topicId?: string | null | undefined;
|
|
486
|
+
}>, "many">;
|
|
487
|
+
}, "strip", z.ZodTypeAny, {
|
|
488
|
+
items: {
|
|
489
|
+
type: "item" | "topic";
|
|
490
|
+
id: string;
|
|
491
|
+
sortOrder: number;
|
|
492
|
+
topicId?: string | null | undefined;
|
|
493
|
+
}[];
|
|
494
|
+
schoolId: string;
|
|
495
|
+
sectionId: string;
|
|
496
|
+
}, {
|
|
497
|
+
items: {
|
|
498
|
+
type: "item" | "topic";
|
|
499
|
+
id: string;
|
|
500
|
+
sortOrder: number;
|
|
501
|
+
topicId?: string | null | undefined;
|
|
502
|
+
}[];
|
|
503
|
+
schoolId: string;
|
|
504
|
+
sectionId: string;
|
|
505
|
+
}>;
|
|
506
|
+
export type ReorderClassworkItemsDto = z.infer<typeof reorderClassworkItemsSchema>;
|
|
507
|
+
//# sourceMappingURL=classwork.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classwork.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/academics/classwork.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,uBAAuB,2DAKlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,yBAAyB,gDAIpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,iCAAiC,uCAG5C,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAM5F,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAMpC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAM/E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBtC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAMnF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;EAQvC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAA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ork Schemas - Academics Service
|
|
4
|
+
*
|
|
5
|
+
* Zod schemas for classwork items (assignments, quizzes, materials, questions)
|
|
6
|
+
* and organizational topics within class sections.
|
|
7
|
+
*
|
|
8
|
+
* Ed-Fi Aligned: Classwork items with type 'assignment' or 'quiz' bridge to
|
|
9
|
+
* the Grade entity via itemId → AssignmentGrade.assignmentId.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.reorderClassworkItemsSchema = exports.updateClassworkTopicSchema = exports.createClassworkTopicSchema = exports.updateClassworkItemSchema = exports.createClassworkItemSchema = exports.sectionClassworkResponseSchema = exports.classworkTopicResponseSchema = exports.classworkItemResponseSchema = exports.classworkAttachmentSchema = exports.classworkAssessmentCategorySchema = exports.classworkItemStatusSchema = exports.classworkItemTypeSchema = void 0;
|
|
13
|
+
const zod_1 = require("zod");
|
|
14
|
+
const common_1 = require("../common");
|
|
15
|
+
// ============================================
|
|
16
|
+
// Enums
|
|
17
|
+
// ============================================
|
|
18
|
+
exports.classworkItemTypeSchema = zod_1.z.enum([
|
|
19
|
+
'assignment',
|
|
20
|
+
'quiz',
|
|
21
|
+
'material',
|
|
22
|
+
'question',
|
|
23
|
+
]);
|
|
24
|
+
exports.classworkItemStatusSchema = zod_1.z.enum([
|
|
25
|
+
'draft',
|
|
26
|
+
'published',
|
|
27
|
+
'scheduled',
|
|
28
|
+
]);
|
|
29
|
+
exports.classworkAssessmentCategorySchema = zod_1.z.enum([
|
|
30
|
+
'formative',
|
|
31
|
+
'summative',
|
|
32
|
+
]);
|
|
33
|
+
// ============================================
|
|
34
|
+
// Classwork Attachment Schema
|
|
35
|
+
// ============================================
|
|
36
|
+
exports.classworkAttachmentSchema = zod_1.z.object({
|
|
37
|
+
attachmentId: zod_1.z.string().uuid(),
|
|
38
|
+
fileName: zod_1.z.string().min(1).max(255),
|
|
39
|
+
fileType: zod_1.z.string().max(100),
|
|
40
|
+
fileUrl: zod_1.z.string().max(2048),
|
|
41
|
+
fileSize: zod_1.z.number().int().positive().optional(),
|
|
42
|
+
});
|
|
43
|
+
// ============================================
|
|
44
|
+
// Classwork Item Response Schema
|
|
45
|
+
// ============================================
|
|
46
|
+
exports.classworkItemResponseSchema = zod_1.z.object({
|
|
47
|
+
itemId: zod_1.z.string().uuid(),
|
|
48
|
+
sectionId: zod_1.z.string().uuid(),
|
|
49
|
+
schoolId: zod_1.z.string().uuid(),
|
|
50
|
+
type: exports.classworkItemTypeSchema,
|
|
51
|
+
title: zod_1.z.string(),
|
|
52
|
+
description: zod_1.z.string().optional(),
|
|
53
|
+
topicId: zod_1.z.string().uuid().optional(),
|
|
54
|
+
topicName: zod_1.z.string().optional(),
|
|
55
|
+
sortOrder: zod_1.z.number().int().min(0),
|
|
56
|
+
categoryId: zod_1.z.string().optional(),
|
|
57
|
+
categoryName: zod_1.z.string().optional(),
|
|
58
|
+
assessmentCategory: exports.classworkAssessmentCategorySchema.optional(),
|
|
59
|
+
possiblePoints: zod_1.z.number().min(0).optional(),
|
|
60
|
+
dueDate: common_1.dateSchema.optional(),
|
|
61
|
+
status: exports.classworkItemStatusSchema,
|
|
62
|
+
publishedAt: common_1.isoDateSchema.optional(),
|
|
63
|
+
scheduledAt: common_1.isoDateSchema.optional(),
|
|
64
|
+
attachments: zod_1.z.array(exports.classworkAttachmentSchema).optional(),
|
|
65
|
+
createdAt: common_1.isoDateSchema,
|
|
66
|
+
updatedAt: common_1.isoDateSchema,
|
|
67
|
+
createdBy: zod_1.z.string(),
|
|
68
|
+
});
|
|
69
|
+
// ============================================
|
|
70
|
+
// Classwork Topic Response Schema
|
|
71
|
+
// ============================================
|
|
72
|
+
exports.classworkTopicResponseSchema = zod_1.z.object({
|
|
73
|
+
topicId: zod_1.z.string().uuid(),
|
|
74
|
+
sectionId: zod_1.z.string().uuid(),
|
|
75
|
+
schoolId: zod_1.z.string().uuid(),
|
|
76
|
+
name: zod_1.z.string(),
|
|
77
|
+
sortOrder: zod_1.z.number().int().min(0),
|
|
78
|
+
createdAt: common_1.isoDateSchema,
|
|
79
|
+
updatedAt: common_1.isoDateSchema,
|
|
80
|
+
});
|
|
81
|
+
// ============================================
|
|
82
|
+
// Section Classwork Response (grouped)
|
|
83
|
+
// ============================================
|
|
84
|
+
exports.sectionClassworkResponseSchema = zod_1.z.object({
|
|
85
|
+
sectionId: zod_1.z.string().uuid(),
|
|
86
|
+
topics: zod_1.z.array(exports.classworkTopicResponseSchema),
|
|
87
|
+
items: zod_1.z.array(exports.classworkItemResponseSchema),
|
|
88
|
+
});
|
|
89
|
+
// ============================================
|
|
90
|
+
// Create Classwork Item Schema
|
|
91
|
+
// ============================================
|
|
92
|
+
exports.createClassworkItemSchema = zod_1.z.object({
|
|
93
|
+
sectionId: zod_1.z.string().uuid(),
|
|
94
|
+
schoolId: zod_1.z.string().uuid(),
|
|
95
|
+
type: exports.classworkItemTypeSchema,
|
|
96
|
+
title: zod_1.z.string().min(1).max(255),
|
|
97
|
+
description: zod_1.z.string().max(5000).optional(),
|
|
98
|
+
topicId: zod_1.z.string().uuid().optional(),
|
|
99
|
+
categoryId: zod_1.z.string().optional(),
|
|
100
|
+
categoryName: zod_1.z.string().max(100).optional(),
|
|
101
|
+
assessmentCategory: exports.classworkAssessmentCategorySchema.optional(),
|
|
102
|
+
possiblePoints: zod_1.z.number().min(0).max(10000).optional(),
|
|
103
|
+
dueDate: common_1.dateSchema.optional(),
|
|
104
|
+
status: exports.classworkItemStatusSchema.default('draft'),
|
|
105
|
+
});
|
|
106
|
+
// ============================================
|
|
107
|
+
// Update Classwork Item Schema
|
|
108
|
+
// ============================================
|
|
109
|
+
exports.updateClassworkItemSchema = zod_1.z.object({
|
|
110
|
+
title: zod_1.z.string().min(1).max(255).optional(),
|
|
111
|
+
description: zod_1.z.string().max(5000).optional(),
|
|
112
|
+
topicId: zod_1.z.string().uuid().nullable().optional(),
|
|
113
|
+
categoryId: zod_1.z.string().nullable().optional(),
|
|
114
|
+
categoryName: zod_1.z.string().max(100).nullable().optional(),
|
|
115
|
+
assessmentCategory: exports.classworkAssessmentCategorySchema.nullable().optional(),
|
|
116
|
+
possiblePoints: zod_1.z.number().min(0).max(10000).nullable().optional(),
|
|
117
|
+
dueDate: common_1.dateSchema.nullable().optional(),
|
|
118
|
+
status: exports.classworkItemStatusSchema.optional(),
|
|
119
|
+
sortOrder: zod_1.z.number().int().min(0).optional(),
|
|
120
|
+
});
|
|
121
|
+
// ============================================
|
|
122
|
+
// Create Classwork Topic Schema
|
|
123
|
+
// ============================================
|
|
124
|
+
exports.createClassworkTopicSchema = zod_1.z.object({
|
|
125
|
+
sectionId: zod_1.z.string().uuid(),
|
|
126
|
+
schoolId: zod_1.z.string().uuid(),
|
|
127
|
+
name: zod_1.z.string().min(1).max(200),
|
|
128
|
+
});
|
|
129
|
+
// ============================================
|
|
130
|
+
// Update Classwork Topic Schema
|
|
131
|
+
// ============================================
|
|
132
|
+
exports.updateClassworkTopicSchema = zod_1.z.object({
|
|
133
|
+
name: zod_1.z.string().min(1).max(200).optional(),
|
|
134
|
+
sortOrder: zod_1.z.number().int().min(0).optional(),
|
|
135
|
+
});
|
|
136
|
+
// ============================================
|
|
137
|
+
// Reorder Classwork Items Schema
|
|
138
|
+
// ============================================
|
|
139
|
+
exports.reorderClassworkItemsSchema = zod_1.z.object({
|
|
140
|
+
schoolId: zod_1.z.string().uuid(),
|
|
141
|
+
sectionId: zod_1.z.string().uuid(),
|
|
142
|
+
items: zod_1.z.array(zod_1.z.object({
|
|
143
|
+
id: zod_1.z.string().uuid(),
|
|
144
|
+
type: zod_1.z.enum(['item', 'topic']),
|
|
145
|
+
sortOrder: zod_1.z.number().int().min(0),
|
|
146
|
+
topicId: zod_1.z.string().uuid().nullable().optional(),
|
|
147
|
+
})).min(1).max(200),
|
|
148
|
+
});
|
|
149
|
+
//# sourceMappingURL=classwork.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classwork.schema.js","sourceRoot":"","sources":["../../../src/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,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAClC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;KACjD,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;CACpB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/academics/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/academics/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC"}
|
|
@@ -28,4 +28,5 @@ __exportStar(require("./course.schema"), exports);
|
|
|
28
28
|
__exportStar(require("./course-section.schema"), exports);
|
|
29
29
|
__exportStar(require("./course-offering.schema"), exports);
|
|
30
30
|
__exportStar(require("./grading-policy.schema"), exports);
|
|
31
|
+
__exportStar(require("./classwork.schema"), exports);
|
|
31
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/academics/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,qDAAmC;AACnC,sDAAoC;AACpC,iDAA+B;AAC/B,sDAAoC;AACpC,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/academics/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,qDAAmC;AACnC,sDAAoC;AACpC,iDAA+B;AAC/B,sDAAoC;AACpC,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,0DAAwC;AACxC,qDAAmC"}
|
package/package.json
CHANGED