@aibrains/shared-types 0.1.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.
Files changed (158) hide show
  1. package/README.md +170 -0
  2. package/dist/index.d.ts +48 -0
  3. package/dist/index.d.ts.map +1 -0
  4. package/dist/index.js +74 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/mappers/edfi/calendar.mapper.d.ts +158 -0
  7. package/dist/mappers/edfi/calendar.mapper.d.ts.map +1 -0
  8. package/dist/mappers/edfi/calendar.mapper.js +235 -0
  9. package/dist/mappers/edfi/calendar.mapper.js.map +1 -0
  10. package/dist/mappers/edfi/credential.mapper.d.ts +50 -0
  11. package/dist/mappers/edfi/credential.mapper.d.ts.map +1 -0
  12. package/dist/mappers/edfi/credential.mapper.js +123 -0
  13. package/dist/mappers/edfi/credential.mapper.js.map +1 -0
  14. package/dist/mappers/edfi/index.d.ts +10 -0
  15. package/dist/mappers/edfi/index.d.ts.map +1 -0
  16. package/dist/mappers/edfi/index.js +26 -0
  17. package/dist/mappers/edfi/index.js.map +1 -0
  18. package/dist/mappers/edfi/staff.mapper.d.ts +96 -0
  19. package/dist/mappers/edfi/staff.mapper.d.ts.map +1 -0
  20. package/dist/mappers/edfi/staff.mapper.js +138 -0
  21. package/dist/mappers/edfi/staff.mapper.js.map +1 -0
  22. package/dist/mappers/index.d.ts +7 -0
  23. package/dist/mappers/index.d.ts.map +1 -0
  24. package/dist/mappers/index.js +23 -0
  25. package/dist/mappers/index.js.map +1 -0
  26. package/dist/schemas/academics/assignment.schema.d.ts +1463 -0
  27. package/dist/schemas/academics/assignment.schema.d.ts.map +1 -0
  28. package/dist/schemas/academics/assignment.schema.js +195 -0
  29. package/dist/schemas/academics/assignment.schema.js.map +1 -0
  30. package/dist/schemas/academics/attendance.schema.d.ts +762 -0
  31. package/dist/schemas/academics/attendance.schema.d.ts.map +1 -0
  32. package/dist/schemas/academics/attendance.schema.js +250 -0
  33. package/dist/schemas/academics/attendance.schema.js.map +1 -0
  34. package/dist/schemas/academics/classroom.schema.d.ts +742 -0
  35. package/dist/schemas/academics/classroom.schema.d.ts.map +1 -0
  36. package/dist/schemas/academics/classroom.schema.js +164 -0
  37. package/dist/schemas/academics/classroom.schema.js.map +1 -0
  38. package/dist/schemas/academics/course-section.schema.d.ts +388 -0
  39. package/dist/schemas/academics/course-section.schema.d.ts.map +1 -0
  40. package/dist/schemas/academics/course-section.schema.js +128 -0
  41. package/dist/schemas/academics/course-section.schema.js.map +1 -0
  42. package/dist/schemas/academics/course.schema.d.ts +778 -0
  43. package/dist/schemas/academics/course.schema.d.ts.map +1 -0
  44. package/dist/schemas/academics/course.schema.js +207 -0
  45. package/dist/schemas/academics/course.schema.js.map +1 -0
  46. package/dist/schemas/academics/grade.schema.d.ts +848 -0
  47. package/dist/schemas/academics/grade.schema.d.ts.map +1 -0
  48. package/dist/schemas/academics/grade.schema.js +251 -0
  49. package/dist/schemas/academics/grade.schema.js.map +1 -0
  50. package/dist/schemas/academics/index.d.ts +13 -0
  51. package/dist/schemas/academics/index.d.ts.map +1 -0
  52. package/dist/schemas/academics/index.js +29 -0
  53. package/dist/schemas/academics/index.js.map +1 -0
  54. package/dist/schemas/academics/student.schema.d.ts +2891 -0
  55. package/dist/schemas/academics/student.schema.d.ts.map +1 -0
  56. package/dist/schemas/academics/student.schema.js +249 -0
  57. package/dist/schemas/academics/student.schema.js.map +1 -0
  58. package/dist/schemas/common.d.ts +183 -0
  59. package/dist/schemas/common.d.ts.map +1 -0
  60. package/dist/schemas/common.js +126 -0
  61. package/dist/schemas/common.js.map +1 -0
  62. package/dist/schemas/enrollment/enrollment.schema.d.ts +2799 -0
  63. package/dist/schemas/enrollment/enrollment.schema.d.ts.map +1 -0
  64. package/dist/schemas/enrollment/enrollment.schema.js +435 -0
  65. package/dist/schemas/enrollment/enrollment.schema.js.map +1 -0
  66. package/dist/schemas/enrollment/index.d.ts +7 -0
  67. package/dist/schemas/enrollment/index.d.ts.map +1 -0
  68. package/dist/schemas/enrollment/index.js +23 -0
  69. package/dist/schemas/enrollment/index.js.map +1 -0
  70. package/dist/schemas/identity/academic-year.schema.d.ts +546 -0
  71. package/dist/schemas/identity/academic-year.schema.d.ts.map +1 -0
  72. package/dist/schemas/identity/academic-year.schema.js +137 -0
  73. package/dist/schemas/identity/academic-year.schema.js.map +1 -0
  74. package/dist/schemas/identity/auth.schema.d.ts +670 -0
  75. package/dist/schemas/identity/auth.schema.d.ts.map +1 -0
  76. package/dist/schemas/identity/auth.schema.js +126 -0
  77. package/dist/schemas/identity/auth.schema.js.map +1 -0
  78. package/dist/schemas/identity/bell-schedule.schema.d.ts +630 -0
  79. package/dist/schemas/identity/bell-schedule.schema.d.ts.map +1 -0
  80. package/dist/schemas/identity/bell-schedule.schema.js +143 -0
  81. package/dist/schemas/identity/bell-schedule.schema.js.map +1 -0
  82. package/dist/schemas/identity/calendar-date.schema.d.ts +830 -0
  83. package/dist/schemas/identity/calendar-date.schema.d.ts.map +1 -0
  84. package/dist/schemas/identity/calendar-date.schema.js +208 -0
  85. package/dist/schemas/identity/calendar-date.schema.js.map +1 -0
  86. package/dist/schemas/identity/credential.schema.d.ts +472 -0
  87. package/dist/schemas/identity/credential.schema.d.ts.map +1 -0
  88. package/dist/schemas/identity/credential.schema.js +200 -0
  89. package/dist/schemas/identity/credential.schema.js.map +1 -0
  90. package/dist/schemas/identity/department.schema.d.ts +567 -0
  91. package/dist/schemas/identity/department.schema.d.ts.map +1 -0
  92. package/dist/schemas/identity/department.schema.js +113 -0
  93. package/dist/schemas/identity/department.schema.js.map +1 -0
  94. package/dist/schemas/identity/index.d.ts +21 -0
  95. package/dist/schemas/identity/index.d.ts.map +1 -0
  96. package/dist/schemas/identity/index.js +39 -0
  97. package/dist/schemas/identity/index.js.map +1 -0
  98. package/dist/schemas/identity/leave.schema.d.ts +725 -0
  99. package/dist/schemas/identity/leave.schema.d.ts.map +1 -0
  100. package/dist/schemas/identity/leave.schema.js +204 -0
  101. package/dist/schemas/identity/leave.schema.js.map +1 -0
  102. package/dist/schemas/identity/role.schema.d.ts +356 -0
  103. package/dist/schemas/identity/role.schema.d.ts.map +1 -0
  104. package/dist/schemas/identity/role.schema.js +124 -0
  105. package/dist/schemas/identity/role.schema.js.map +1 -0
  106. package/dist/schemas/identity/school-year.schema.d.ts +303 -0
  107. package/dist/schemas/identity/school-year.schema.d.ts.map +1 -0
  108. package/dist/schemas/identity/school-year.schema.js +59 -0
  109. package/dist/schemas/identity/school-year.schema.js.map +1 -0
  110. package/dist/schemas/identity/school.schema.d.ts +844 -0
  111. package/dist/schemas/identity/school.schema.d.ts.map +1 -0
  112. package/dist/schemas/identity/school.schema.js +139 -0
  113. package/dist/schemas/identity/school.schema.js.map +1 -0
  114. package/dist/schemas/identity/security.schema.d.ts +422 -0
  115. package/dist/schemas/identity/security.schema.d.ts.map +1 -0
  116. package/dist/schemas/identity/security.schema.js +151 -0
  117. package/dist/schemas/identity/security.schema.js.map +1 -0
  118. package/dist/schemas/identity/session.schema.d.ts +193 -0
  119. package/dist/schemas/identity/session.schema.d.ts.map +1 -0
  120. package/dist/schemas/identity/session.schema.js +59 -0
  121. package/dist/schemas/identity/session.schema.js.map +1 -0
  122. package/dist/schemas/identity/staff.schema.d.ts +1037 -0
  123. package/dist/schemas/identity/staff.schema.d.ts.map +1 -0
  124. package/dist/schemas/identity/staff.schema.js +251 -0
  125. package/dist/schemas/identity/staff.schema.js.map +1 -0
  126. package/dist/schemas/identity/tenant.schema.d.ts +313 -0
  127. package/dist/schemas/identity/tenant.schema.d.ts.map +1 -0
  128. package/dist/schemas/identity/tenant.schema.js +81 -0
  129. package/dist/schemas/identity/tenant.schema.js.map +1 -0
  130. package/dist/schemas/identity/user.schema.d.ts +921 -0
  131. package/dist/schemas/identity/user.schema.d.ts.map +1 -0
  132. package/dist/schemas/identity/user.schema.js +201 -0
  133. package/dist/schemas/identity/user.schema.js.map +1 -0
  134. package/dist/schemas/index.d.ts +10 -0
  135. package/dist/schemas/index.d.ts.map +1 -0
  136. package/dist/schemas/index.js +26 -0
  137. package/dist/schemas/index.js.map +1 -0
  138. package/dist/validators/academic-year.d.ts +90 -0
  139. package/dist/validators/academic-year.d.ts.map +1 -0
  140. package/dist/validators/academic-year.js +190 -0
  141. package/dist/validators/academic-year.js.map +1 -0
  142. package/dist/validators/date-range.d.ts +142 -0
  143. package/dist/validators/date-range.d.ts.map +1 -0
  144. package/dist/validators/date-range.js +170 -0
  145. package/dist/validators/date-range.js.map +1 -0
  146. package/dist/validators/grade-level.d.ts +80 -0
  147. package/dist/validators/grade-level.d.ts.map +1 -0
  148. package/dist/validators/grade-level.js +157 -0
  149. package/dist/validators/grade-level.js.map +1 -0
  150. package/dist/validators/index.d.ts +10 -0
  151. package/dist/validators/index.d.ts.map +1 -0
  152. package/dist/validators/index.js +26 -0
  153. package/dist/validators/index.js.map +1 -0
  154. package/dist/validators/password.d.ts +60 -0
  155. package/dist/validators/password.d.ts.map +1 -0
  156. package/dist/validators/password.js +81 -0
  157. package/dist/validators/password.js.map +1 -0
  158. package/package.json +50 -0
@@ -0,0 +1,1463 @@
1
+ /**
2
+ * Assignment Schemas - Academics Service
3
+ *
4
+ * Zod schemas for assignment management DTOs.
5
+ */
6
+ import { z } from 'zod';
7
+ export declare const assignmentStatusSchema: z.ZodEnum<["draft", "published", "closed", "archived"]>;
8
+ export type AssignmentStatus = z.infer<typeof assignmentStatusSchema>;
9
+ export declare const submissionTypeSchema: z.ZodEnum<["online_text", "online_upload", "external_url", "paper", "none", "discussion"]>;
10
+ export type SubmissionType = z.infer<typeof submissionTypeSchema>;
11
+ export declare const assignmentAttachmentSchema: z.ZodObject<{
12
+ attachmentId: z.ZodOptional<z.ZodString>;
13
+ name: z.ZodString;
14
+ url: z.ZodString;
15
+ mimeType: z.ZodOptional<z.ZodString>;
16
+ size: z.ZodOptional<z.ZodNumber>;
17
+ uploadedAt: z.ZodOptional<z.ZodString>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ name: string;
20
+ url: string;
21
+ attachmentId?: string | undefined;
22
+ mimeType?: string | undefined;
23
+ size?: number | undefined;
24
+ uploadedAt?: string | undefined;
25
+ }, {
26
+ name: string;
27
+ url: string;
28
+ attachmentId?: string | undefined;
29
+ mimeType?: string | undefined;
30
+ size?: number | undefined;
31
+ uploadedAt?: string | undefined;
32
+ }>;
33
+ export type AssignmentAttachmentDto = z.infer<typeof assignmentAttachmentSchema>;
34
+ export declare const rubricCriterionSchema: z.ZodObject<{
35
+ criterionId: z.ZodOptional<z.ZodString>;
36
+ name: z.ZodString;
37
+ description: z.ZodOptional<z.ZodString>;
38
+ maxPoints: z.ZodNumber;
39
+ order: z.ZodOptional<z.ZodNumber>;
40
+ levels: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
+ levelId: z.ZodOptional<z.ZodString>;
42
+ name: z.ZodString;
43
+ description: z.ZodOptional<z.ZodString>;
44
+ points: z.ZodNumber;
45
+ }, "strip", z.ZodTypeAny, {
46
+ name: string;
47
+ points: number;
48
+ description?: string | undefined;
49
+ levelId?: string | undefined;
50
+ }, {
51
+ name: string;
52
+ points: number;
53
+ description?: string | undefined;
54
+ levelId?: string | undefined;
55
+ }>, "many">>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ name: string;
58
+ maxPoints: number;
59
+ description?: string | undefined;
60
+ criterionId?: string | undefined;
61
+ order?: number | undefined;
62
+ levels?: {
63
+ name: string;
64
+ points: number;
65
+ description?: string | undefined;
66
+ levelId?: string | undefined;
67
+ }[] | undefined;
68
+ }, {
69
+ name: string;
70
+ maxPoints: number;
71
+ description?: string | undefined;
72
+ criterionId?: string | undefined;
73
+ order?: number | undefined;
74
+ levels?: {
75
+ name: string;
76
+ points: number;
77
+ description?: string | undefined;
78
+ levelId?: string | undefined;
79
+ }[] | undefined;
80
+ }>;
81
+ export type RubricCriterionDto = z.infer<typeof rubricCriterionSchema>;
82
+ export declare const assignmentRubricSchema: z.ZodObject<{
83
+ rubricId: z.ZodOptional<z.ZodString>;
84
+ name: z.ZodString;
85
+ description: z.ZodOptional<z.ZodString>;
86
+ criteria: z.ZodArray<z.ZodObject<{
87
+ criterionId: z.ZodOptional<z.ZodString>;
88
+ name: z.ZodString;
89
+ description: z.ZodOptional<z.ZodString>;
90
+ maxPoints: z.ZodNumber;
91
+ order: z.ZodOptional<z.ZodNumber>;
92
+ levels: z.ZodOptional<z.ZodArray<z.ZodObject<{
93
+ levelId: z.ZodOptional<z.ZodString>;
94
+ name: z.ZodString;
95
+ description: z.ZodOptional<z.ZodString>;
96
+ points: z.ZodNumber;
97
+ }, "strip", z.ZodTypeAny, {
98
+ name: string;
99
+ points: number;
100
+ description?: string | undefined;
101
+ levelId?: string | undefined;
102
+ }, {
103
+ name: string;
104
+ points: number;
105
+ description?: string | undefined;
106
+ levelId?: string | undefined;
107
+ }>, "many">>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ name: string;
110
+ maxPoints: number;
111
+ description?: string | undefined;
112
+ criterionId?: string | undefined;
113
+ order?: number | undefined;
114
+ levels?: {
115
+ name: string;
116
+ points: number;
117
+ description?: string | undefined;
118
+ levelId?: string | undefined;
119
+ }[] | undefined;
120
+ }, {
121
+ name: string;
122
+ maxPoints: number;
123
+ description?: string | undefined;
124
+ criterionId?: string | undefined;
125
+ order?: number | undefined;
126
+ levels?: {
127
+ name: string;
128
+ points: number;
129
+ description?: string | undefined;
130
+ levelId?: string | undefined;
131
+ }[] | undefined;
132
+ }>, "many">;
133
+ totalPoints: z.ZodOptional<z.ZodNumber>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ name: string;
136
+ criteria: {
137
+ name: string;
138
+ maxPoints: number;
139
+ description?: string | undefined;
140
+ criterionId?: string | undefined;
141
+ order?: number | undefined;
142
+ levels?: {
143
+ name: string;
144
+ points: number;
145
+ description?: string | undefined;
146
+ levelId?: string | undefined;
147
+ }[] | undefined;
148
+ }[];
149
+ description?: string | undefined;
150
+ rubricId?: string | undefined;
151
+ totalPoints?: number | undefined;
152
+ }, {
153
+ name: string;
154
+ criteria: {
155
+ name: string;
156
+ maxPoints: number;
157
+ description?: string | undefined;
158
+ criterionId?: string | undefined;
159
+ order?: number | undefined;
160
+ levels?: {
161
+ name: string;
162
+ points: number;
163
+ description?: string | undefined;
164
+ levelId?: string | undefined;
165
+ }[] | undefined;
166
+ }[];
167
+ description?: string | undefined;
168
+ rubricId?: string | undefined;
169
+ totalPoints?: number | undefined;
170
+ }>;
171
+ export type AssignmentRubricDto = z.infer<typeof assignmentRubricSchema>;
172
+ export declare const createAssignmentSchema: z.ZodObject<{
173
+ title: z.ZodString;
174
+ description: z.ZodOptional<z.ZodString>;
175
+ instructions: z.ZodOptional<z.ZodString>;
176
+ classroomId: z.ZodString;
177
+ categoryId: z.ZodOptional<z.ZodString>;
178
+ categoryType: z.ZodOptional<z.ZodEnum<["assignment", "quiz", "test", "exam", "project", "homework", "participation", "lab", "presentation", "other"]>>;
179
+ gradingPeriodId: z.ZodOptional<z.ZodString>;
180
+ pointsPossible: z.ZodNumber;
181
+ isExtraCredit: z.ZodDefault<z.ZodBoolean>;
182
+ assignedDate: z.ZodEffects<z.ZodString, string, string>;
183
+ dueDate: z.ZodEffects<z.ZodString, string, string>;
184
+ dueDateTimeZone: z.ZodDefault<z.ZodString>;
185
+ lockAfterDueDate: z.ZodDefault<z.ZodBoolean>;
186
+ submissionType: z.ZodDefault<z.ZodEnum<["online_text", "online_upload", "external_url", "paper", "none", "discussion"]>>;
187
+ allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
188
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
189
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
190
+ allowLateSubmissions: z.ZodDefault<z.ZodBoolean>;
191
+ latePenaltyPercent: z.ZodOptional<z.ZodNumber>;
192
+ latePenaltyPerDay: z.ZodOptional<z.ZodNumber>;
193
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
194
+ attachmentId: z.ZodOptional<z.ZodString>;
195
+ name: z.ZodString;
196
+ url: z.ZodString;
197
+ mimeType: z.ZodOptional<z.ZodString>;
198
+ size: z.ZodOptional<z.ZodNumber>;
199
+ uploadedAt: z.ZodOptional<z.ZodString>;
200
+ }, "strip", z.ZodTypeAny, {
201
+ name: string;
202
+ url: string;
203
+ attachmentId?: string | undefined;
204
+ mimeType?: string | undefined;
205
+ size?: number | undefined;
206
+ uploadedAt?: string | undefined;
207
+ }, {
208
+ name: string;
209
+ url: string;
210
+ attachmentId?: string | undefined;
211
+ mimeType?: string | undefined;
212
+ size?: number | undefined;
213
+ uploadedAt?: string | undefined;
214
+ }>, "many">>;
215
+ rubric: z.ZodOptional<z.ZodObject<{
216
+ rubricId: z.ZodOptional<z.ZodString>;
217
+ name: z.ZodString;
218
+ description: z.ZodOptional<z.ZodString>;
219
+ criteria: z.ZodArray<z.ZodObject<{
220
+ criterionId: z.ZodOptional<z.ZodString>;
221
+ name: z.ZodString;
222
+ description: z.ZodOptional<z.ZodString>;
223
+ maxPoints: z.ZodNumber;
224
+ order: z.ZodOptional<z.ZodNumber>;
225
+ levels: z.ZodOptional<z.ZodArray<z.ZodObject<{
226
+ levelId: z.ZodOptional<z.ZodString>;
227
+ name: z.ZodString;
228
+ description: z.ZodOptional<z.ZodString>;
229
+ points: z.ZodNumber;
230
+ }, "strip", z.ZodTypeAny, {
231
+ name: string;
232
+ points: number;
233
+ description?: string | undefined;
234
+ levelId?: string | undefined;
235
+ }, {
236
+ name: string;
237
+ points: number;
238
+ description?: string | undefined;
239
+ levelId?: string | undefined;
240
+ }>, "many">>;
241
+ }, "strip", z.ZodTypeAny, {
242
+ name: string;
243
+ maxPoints: number;
244
+ description?: string | undefined;
245
+ criterionId?: string | undefined;
246
+ order?: number | undefined;
247
+ levels?: {
248
+ name: string;
249
+ points: number;
250
+ description?: string | undefined;
251
+ levelId?: string | undefined;
252
+ }[] | undefined;
253
+ }, {
254
+ name: string;
255
+ maxPoints: number;
256
+ description?: string | undefined;
257
+ criterionId?: string | undefined;
258
+ order?: number | undefined;
259
+ levels?: {
260
+ name: string;
261
+ points: number;
262
+ description?: string | undefined;
263
+ levelId?: string | undefined;
264
+ }[] | undefined;
265
+ }>, "many">;
266
+ totalPoints: z.ZodOptional<z.ZodNumber>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ name: string;
269
+ criteria: {
270
+ name: string;
271
+ maxPoints: number;
272
+ description?: string | undefined;
273
+ criterionId?: string | undefined;
274
+ order?: number | undefined;
275
+ levels?: {
276
+ name: string;
277
+ points: number;
278
+ description?: string | undefined;
279
+ levelId?: string | undefined;
280
+ }[] | undefined;
281
+ }[];
282
+ description?: string | undefined;
283
+ rubricId?: string | undefined;
284
+ totalPoints?: number | undefined;
285
+ }, {
286
+ name: string;
287
+ criteria: {
288
+ name: string;
289
+ maxPoints: number;
290
+ description?: string | undefined;
291
+ criterionId?: string | undefined;
292
+ order?: number | undefined;
293
+ levels?: {
294
+ name: string;
295
+ points: number;
296
+ description?: string | undefined;
297
+ levelId?: string | undefined;
298
+ }[] | undefined;
299
+ }[];
300
+ description?: string | undefined;
301
+ rubricId?: string | undefined;
302
+ totalPoints?: number | undefined;
303
+ }>>;
304
+ status: z.ZodDefault<z.ZodEnum<["draft", "published", "closed", "archived"]>>;
305
+ isGroupAssignment: z.ZodDefault<z.ZodBoolean>;
306
+ groupSize: z.ZodOptional<z.ZodNumber>;
307
+ showRubricToStudents: z.ZodDefault<z.ZodBoolean>;
308
+ anonymousGrading: z.ZodDefault<z.ZodBoolean>;
309
+ learningStandardIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ status: "archived" | "closed" | "draft" | "published";
312
+ title: string;
313
+ classroomId: string;
314
+ isExtraCredit: boolean;
315
+ pointsPossible: number;
316
+ assignedDate: string;
317
+ dueDate: string;
318
+ dueDateTimeZone: string;
319
+ lockAfterDueDate: boolean;
320
+ submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
321
+ allowLateSubmissions: boolean;
322
+ isGroupAssignment: boolean;
323
+ showRubricToStudents: boolean;
324
+ anonymousGrading: boolean;
325
+ description?: string | undefined;
326
+ gradingPeriodId?: string | undefined;
327
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
328
+ categoryId?: string | undefined;
329
+ instructions?: string | undefined;
330
+ allowedFileTypes?: string[] | undefined;
331
+ maxFileSize?: number | undefined;
332
+ maxAttempts?: number | undefined;
333
+ latePenaltyPercent?: number | undefined;
334
+ latePenaltyPerDay?: number | undefined;
335
+ attachments?: {
336
+ name: string;
337
+ url: string;
338
+ attachmentId?: string | undefined;
339
+ mimeType?: string | undefined;
340
+ size?: number | undefined;
341
+ uploadedAt?: string | undefined;
342
+ }[] | undefined;
343
+ rubric?: {
344
+ name: string;
345
+ criteria: {
346
+ name: string;
347
+ maxPoints: number;
348
+ description?: string | undefined;
349
+ criterionId?: string | undefined;
350
+ order?: number | undefined;
351
+ levels?: {
352
+ name: string;
353
+ points: number;
354
+ description?: string | undefined;
355
+ levelId?: string | undefined;
356
+ }[] | undefined;
357
+ }[];
358
+ description?: string | undefined;
359
+ rubricId?: string | undefined;
360
+ totalPoints?: number | undefined;
361
+ } | undefined;
362
+ groupSize?: number | undefined;
363
+ learningStandardIds?: string[] | undefined;
364
+ }, {
365
+ title: string;
366
+ classroomId: string;
367
+ pointsPossible: number;
368
+ assignedDate: string;
369
+ dueDate: string;
370
+ status?: "archived" | "closed" | "draft" | "published" | undefined;
371
+ description?: string | undefined;
372
+ gradingPeriodId?: string | undefined;
373
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
374
+ isExtraCredit?: boolean | undefined;
375
+ categoryId?: string | undefined;
376
+ instructions?: string | undefined;
377
+ dueDateTimeZone?: string | undefined;
378
+ lockAfterDueDate?: boolean | undefined;
379
+ submissionType?: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion" | undefined;
380
+ allowedFileTypes?: string[] | undefined;
381
+ maxFileSize?: number | undefined;
382
+ maxAttempts?: number | undefined;
383
+ allowLateSubmissions?: boolean | undefined;
384
+ latePenaltyPercent?: number | undefined;
385
+ latePenaltyPerDay?: number | undefined;
386
+ attachments?: {
387
+ name: string;
388
+ url: string;
389
+ attachmentId?: string | undefined;
390
+ mimeType?: string | undefined;
391
+ size?: number | undefined;
392
+ uploadedAt?: string | undefined;
393
+ }[] | undefined;
394
+ rubric?: {
395
+ name: string;
396
+ criteria: {
397
+ name: string;
398
+ maxPoints: number;
399
+ description?: string | undefined;
400
+ criterionId?: string | undefined;
401
+ order?: number | undefined;
402
+ levels?: {
403
+ name: string;
404
+ points: number;
405
+ description?: string | undefined;
406
+ levelId?: string | undefined;
407
+ }[] | undefined;
408
+ }[];
409
+ description?: string | undefined;
410
+ rubricId?: string | undefined;
411
+ totalPoints?: number | undefined;
412
+ } | undefined;
413
+ isGroupAssignment?: boolean | undefined;
414
+ groupSize?: number | undefined;
415
+ showRubricToStudents?: boolean | undefined;
416
+ anonymousGrading?: boolean | undefined;
417
+ learningStandardIds?: string[] | undefined;
418
+ }>;
419
+ export type CreateAssignmentDto = z.infer<typeof createAssignmentSchema>;
420
+ export declare const updateAssignmentSchema: z.ZodObject<Omit<{
421
+ title: z.ZodOptional<z.ZodString>;
422
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
423
+ instructions: z.ZodOptional<z.ZodOptional<z.ZodString>>;
424
+ classroomId: z.ZodOptional<z.ZodString>;
425
+ categoryId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
426
+ categoryType: z.ZodOptional<z.ZodOptional<z.ZodEnum<["assignment", "quiz", "test", "exam", "project", "homework", "participation", "lab", "presentation", "other"]>>>;
427
+ gradingPeriodId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
428
+ pointsPossible: z.ZodOptional<z.ZodNumber>;
429
+ isExtraCredit: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
430
+ assignedDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
431
+ dueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
432
+ dueDateTimeZone: z.ZodOptional<z.ZodDefault<z.ZodString>>;
433
+ lockAfterDueDate: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
434
+ submissionType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["online_text", "online_upload", "external_url", "paper", "none", "discussion"]>>>;
435
+ allowedFileTypes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
436
+ maxFileSize: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
437
+ maxAttempts: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
438
+ allowLateSubmissions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
439
+ latePenaltyPercent: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
440
+ latePenaltyPerDay: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
441
+ attachments: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
442
+ attachmentId: z.ZodOptional<z.ZodString>;
443
+ name: z.ZodString;
444
+ url: z.ZodString;
445
+ mimeType: z.ZodOptional<z.ZodString>;
446
+ size: z.ZodOptional<z.ZodNumber>;
447
+ uploadedAt: z.ZodOptional<z.ZodString>;
448
+ }, "strip", z.ZodTypeAny, {
449
+ name: string;
450
+ url: string;
451
+ attachmentId?: string | undefined;
452
+ mimeType?: string | undefined;
453
+ size?: number | undefined;
454
+ uploadedAt?: string | undefined;
455
+ }, {
456
+ name: string;
457
+ url: string;
458
+ attachmentId?: string | undefined;
459
+ mimeType?: string | undefined;
460
+ size?: number | undefined;
461
+ uploadedAt?: string | undefined;
462
+ }>, "many">>>;
463
+ rubric: z.ZodOptional<z.ZodOptional<z.ZodObject<{
464
+ rubricId: z.ZodOptional<z.ZodString>;
465
+ name: z.ZodString;
466
+ description: z.ZodOptional<z.ZodString>;
467
+ criteria: z.ZodArray<z.ZodObject<{
468
+ criterionId: z.ZodOptional<z.ZodString>;
469
+ name: z.ZodString;
470
+ description: z.ZodOptional<z.ZodString>;
471
+ maxPoints: z.ZodNumber;
472
+ order: z.ZodOptional<z.ZodNumber>;
473
+ levels: z.ZodOptional<z.ZodArray<z.ZodObject<{
474
+ levelId: z.ZodOptional<z.ZodString>;
475
+ name: z.ZodString;
476
+ description: z.ZodOptional<z.ZodString>;
477
+ points: z.ZodNumber;
478
+ }, "strip", z.ZodTypeAny, {
479
+ name: string;
480
+ points: number;
481
+ description?: string | undefined;
482
+ levelId?: string | undefined;
483
+ }, {
484
+ name: string;
485
+ points: number;
486
+ description?: string | undefined;
487
+ levelId?: string | undefined;
488
+ }>, "many">>;
489
+ }, "strip", z.ZodTypeAny, {
490
+ name: string;
491
+ maxPoints: number;
492
+ description?: string | undefined;
493
+ criterionId?: string | undefined;
494
+ order?: number | undefined;
495
+ levels?: {
496
+ name: string;
497
+ points: number;
498
+ description?: string | undefined;
499
+ levelId?: string | undefined;
500
+ }[] | undefined;
501
+ }, {
502
+ name: string;
503
+ maxPoints: number;
504
+ description?: string | undefined;
505
+ criterionId?: string | undefined;
506
+ order?: number | undefined;
507
+ levels?: {
508
+ name: string;
509
+ points: number;
510
+ description?: string | undefined;
511
+ levelId?: string | undefined;
512
+ }[] | undefined;
513
+ }>, "many">;
514
+ totalPoints: z.ZodOptional<z.ZodNumber>;
515
+ }, "strip", z.ZodTypeAny, {
516
+ name: string;
517
+ criteria: {
518
+ name: string;
519
+ maxPoints: number;
520
+ description?: string | undefined;
521
+ criterionId?: string | undefined;
522
+ order?: number | undefined;
523
+ levels?: {
524
+ name: string;
525
+ points: number;
526
+ description?: string | undefined;
527
+ levelId?: string | undefined;
528
+ }[] | undefined;
529
+ }[];
530
+ description?: string | undefined;
531
+ rubricId?: string | undefined;
532
+ totalPoints?: number | undefined;
533
+ }, {
534
+ name: string;
535
+ criteria: {
536
+ name: string;
537
+ maxPoints: number;
538
+ description?: string | undefined;
539
+ criterionId?: string | undefined;
540
+ order?: number | undefined;
541
+ levels?: {
542
+ name: string;
543
+ points: number;
544
+ description?: string | undefined;
545
+ levelId?: string | undefined;
546
+ }[] | undefined;
547
+ }[];
548
+ description?: string | undefined;
549
+ rubricId?: string | undefined;
550
+ totalPoints?: number | undefined;
551
+ }>>>;
552
+ status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["draft", "published", "closed", "archived"]>>>;
553
+ isGroupAssignment: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
554
+ groupSize: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
555
+ showRubricToStudents: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
556
+ anonymousGrading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
557
+ learningStandardIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
558
+ }, "classroomId">, "strip", z.ZodTypeAny, {
559
+ status?: "archived" | "closed" | "draft" | "published" | undefined;
560
+ description?: string | undefined;
561
+ title?: string | undefined;
562
+ gradingPeriodId?: string | undefined;
563
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
564
+ isExtraCredit?: boolean | undefined;
565
+ pointsPossible?: number | undefined;
566
+ categoryId?: string | undefined;
567
+ instructions?: string | undefined;
568
+ assignedDate?: string | undefined;
569
+ dueDate?: string | undefined;
570
+ dueDateTimeZone?: string | undefined;
571
+ lockAfterDueDate?: boolean | undefined;
572
+ submissionType?: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion" | undefined;
573
+ allowedFileTypes?: string[] | undefined;
574
+ maxFileSize?: number | undefined;
575
+ maxAttempts?: number | undefined;
576
+ allowLateSubmissions?: boolean | undefined;
577
+ latePenaltyPercent?: number | undefined;
578
+ latePenaltyPerDay?: number | undefined;
579
+ attachments?: {
580
+ name: string;
581
+ url: string;
582
+ attachmentId?: string | undefined;
583
+ mimeType?: string | undefined;
584
+ size?: number | undefined;
585
+ uploadedAt?: string | undefined;
586
+ }[] | undefined;
587
+ rubric?: {
588
+ name: string;
589
+ criteria: {
590
+ name: string;
591
+ maxPoints: number;
592
+ description?: string | undefined;
593
+ criterionId?: string | undefined;
594
+ order?: number | undefined;
595
+ levels?: {
596
+ name: string;
597
+ points: number;
598
+ description?: string | undefined;
599
+ levelId?: string | undefined;
600
+ }[] | undefined;
601
+ }[];
602
+ description?: string | undefined;
603
+ rubricId?: string | undefined;
604
+ totalPoints?: number | undefined;
605
+ } | undefined;
606
+ isGroupAssignment?: boolean | undefined;
607
+ groupSize?: number | undefined;
608
+ showRubricToStudents?: boolean | undefined;
609
+ anonymousGrading?: boolean | undefined;
610
+ learningStandardIds?: string[] | undefined;
611
+ }, {
612
+ status?: "archived" | "closed" | "draft" | "published" | undefined;
613
+ description?: string | undefined;
614
+ title?: string | undefined;
615
+ gradingPeriodId?: string | undefined;
616
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
617
+ isExtraCredit?: boolean | undefined;
618
+ pointsPossible?: number | undefined;
619
+ categoryId?: string | undefined;
620
+ instructions?: string | undefined;
621
+ assignedDate?: string | undefined;
622
+ dueDate?: string | undefined;
623
+ dueDateTimeZone?: string | undefined;
624
+ lockAfterDueDate?: boolean | undefined;
625
+ submissionType?: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion" | undefined;
626
+ allowedFileTypes?: string[] | undefined;
627
+ maxFileSize?: number | undefined;
628
+ maxAttempts?: number | undefined;
629
+ allowLateSubmissions?: boolean | undefined;
630
+ latePenaltyPercent?: number | undefined;
631
+ latePenaltyPerDay?: number | undefined;
632
+ attachments?: {
633
+ name: string;
634
+ url: string;
635
+ attachmentId?: string | undefined;
636
+ mimeType?: string | undefined;
637
+ size?: number | undefined;
638
+ uploadedAt?: string | undefined;
639
+ }[] | undefined;
640
+ rubric?: {
641
+ name: string;
642
+ criteria: {
643
+ name: string;
644
+ maxPoints: number;
645
+ description?: string | undefined;
646
+ criterionId?: string | undefined;
647
+ order?: number | undefined;
648
+ levels?: {
649
+ name: string;
650
+ points: number;
651
+ description?: string | undefined;
652
+ levelId?: string | undefined;
653
+ }[] | undefined;
654
+ }[];
655
+ description?: string | undefined;
656
+ rubricId?: string | undefined;
657
+ totalPoints?: number | undefined;
658
+ } | undefined;
659
+ isGroupAssignment?: boolean | undefined;
660
+ groupSize?: number | undefined;
661
+ showRubricToStudents?: boolean | undefined;
662
+ anonymousGrading?: boolean | undefined;
663
+ learningStandardIds?: string[] | undefined;
664
+ }>;
665
+ export type UpdateAssignmentDto = z.infer<typeof updateAssignmentSchema>;
666
+ export declare const assignmentResponseSchema: z.ZodObject<{
667
+ assignmentId: z.ZodString;
668
+ classroomId: z.ZodString;
669
+ classroomName: z.ZodOptional<z.ZodString>;
670
+ categoryId: z.ZodOptional<z.ZodString>;
671
+ categoryName: z.ZodOptional<z.ZodString>;
672
+ categoryType: z.ZodOptional<z.ZodEnum<["assignment", "quiz", "test", "exam", "project", "homework", "participation", "lab", "presentation", "other"]>>;
673
+ gradingPeriodId: z.ZodOptional<z.ZodString>;
674
+ title: z.ZodString;
675
+ description: z.ZodOptional<z.ZodString>;
676
+ instructions: z.ZodOptional<z.ZodString>;
677
+ pointsPossible: z.ZodNumber;
678
+ isExtraCredit: z.ZodBoolean;
679
+ assignedDate: z.ZodEffects<z.ZodString, string, string>;
680
+ dueDate: z.ZodEffects<z.ZodString, string, string>;
681
+ dueDateTimeZone: z.ZodString;
682
+ lockAfterDueDate: z.ZodBoolean;
683
+ submissionType: z.ZodEnum<["online_text", "online_upload", "external_url", "paper", "none", "discussion"]>;
684
+ allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
685
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
686
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
687
+ allowLateSubmissions: z.ZodBoolean;
688
+ latePenaltyPercent: z.ZodOptional<z.ZodNumber>;
689
+ latePenaltyPerDay: z.ZodOptional<z.ZodNumber>;
690
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
691
+ attachmentId: z.ZodOptional<z.ZodString>;
692
+ name: z.ZodString;
693
+ url: z.ZodString;
694
+ mimeType: z.ZodOptional<z.ZodString>;
695
+ size: z.ZodOptional<z.ZodNumber>;
696
+ uploadedAt: z.ZodOptional<z.ZodString>;
697
+ }, "strip", z.ZodTypeAny, {
698
+ name: string;
699
+ url: string;
700
+ attachmentId?: string | undefined;
701
+ mimeType?: string | undefined;
702
+ size?: number | undefined;
703
+ uploadedAt?: string | undefined;
704
+ }, {
705
+ name: string;
706
+ url: string;
707
+ attachmentId?: string | undefined;
708
+ mimeType?: string | undefined;
709
+ size?: number | undefined;
710
+ uploadedAt?: string | undefined;
711
+ }>, "many">>;
712
+ rubric: z.ZodOptional<z.ZodObject<{
713
+ rubricId: z.ZodOptional<z.ZodString>;
714
+ name: z.ZodString;
715
+ description: z.ZodOptional<z.ZodString>;
716
+ criteria: z.ZodArray<z.ZodObject<{
717
+ criterionId: z.ZodOptional<z.ZodString>;
718
+ name: z.ZodString;
719
+ description: z.ZodOptional<z.ZodString>;
720
+ maxPoints: z.ZodNumber;
721
+ order: z.ZodOptional<z.ZodNumber>;
722
+ levels: z.ZodOptional<z.ZodArray<z.ZodObject<{
723
+ levelId: z.ZodOptional<z.ZodString>;
724
+ name: z.ZodString;
725
+ description: z.ZodOptional<z.ZodString>;
726
+ points: z.ZodNumber;
727
+ }, "strip", z.ZodTypeAny, {
728
+ name: string;
729
+ points: number;
730
+ description?: string | undefined;
731
+ levelId?: string | undefined;
732
+ }, {
733
+ name: string;
734
+ points: number;
735
+ description?: string | undefined;
736
+ levelId?: string | undefined;
737
+ }>, "many">>;
738
+ }, "strip", z.ZodTypeAny, {
739
+ name: string;
740
+ maxPoints: number;
741
+ description?: string | undefined;
742
+ criterionId?: string | undefined;
743
+ order?: number | undefined;
744
+ levels?: {
745
+ name: string;
746
+ points: number;
747
+ description?: string | undefined;
748
+ levelId?: string | undefined;
749
+ }[] | undefined;
750
+ }, {
751
+ name: string;
752
+ maxPoints: number;
753
+ description?: string | undefined;
754
+ criterionId?: string | undefined;
755
+ order?: number | undefined;
756
+ levels?: {
757
+ name: string;
758
+ points: number;
759
+ description?: string | undefined;
760
+ levelId?: string | undefined;
761
+ }[] | undefined;
762
+ }>, "many">;
763
+ totalPoints: z.ZodOptional<z.ZodNumber>;
764
+ }, "strip", z.ZodTypeAny, {
765
+ name: string;
766
+ criteria: {
767
+ name: string;
768
+ maxPoints: number;
769
+ description?: string | undefined;
770
+ criterionId?: string | undefined;
771
+ order?: number | undefined;
772
+ levels?: {
773
+ name: string;
774
+ points: number;
775
+ description?: string | undefined;
776
+ levelId?: string | undefined;
777
+ }[] | undefined;
778
+ }[];
779
+ description?: string | undefined;
780
+ rubricId?: string | undefined;
781
+ totalPoints?: number | undefined;
782
+ }, {
783
+ name: string;
784
+ criteria: {
785
+ name: string;
786
+ maxPoints: number;
787
+ description?: string | undefined;
788
+ criterionId?: string | undefined;
789
+ order?: number | undefined;
790
+ levels?: {
791
+ name: string;
792
+ points: number;
793
+ description?: string | undefined;
794
+ levelId?: string | undefined;
795
+ }[] | undefined;
796
+ }[];
797
+ description?: string | undefined;
798
+ rubricId?: string | undefined;
799
+ totalPoints?: number | undefined;
800
+ }>>;
801
+ status: z.ZodEnum<["draft", "published", "closed", "archived"]>;
802
+ isGroupAssignment: z.ZodBoolean;
803
+ groupSize: z.ZodOptional<z.ZodNumber>;
804
+ showRubricToStudents: z.ZodBoolean;
805
+ anonymousGrading: z.ZodBoolean;
806
+ submittedCount: z.ZodOptional<z.ZodNumber>;
807
+ gradedCount: z.ZodOptional<z.ZodNumber>;
808
+ totalStudents: z.ZodOptional<z.ZodNumber>;
809
+ averageScore: z.ZodOptional<z.ZodNumber>;
810
+ learningStandardIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
811
+ createdAt: z.ZodString;
812
+ updatedAt: z.ZodString;
813
+ createdBy: z.ZodOptional<z.ZodString>;
814
+ updatedBy: z.ZodOptional<z.ZodString>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ status: "archived" | "closed" | "draft" | "published";
817
+ createdAt: string;
818
+ updatedAt: string;
819
+ title: string;
820
+ classroomId: string;
821
+ isExtraCredit: boolean;
822
+ assignmentId: string;
823
+ pointsPossible: number;
824
+ assignedDate: string;
825
+ dueDate: string;
826
+ dueDateTimeZone: string;
827
+ lockAfterDueDate: boolean;
828
+ submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
829
+ allowLateSubmissions: boolean;
830
+ isGroupAssignment: boolean;
831
+ showRubricToStudents: boolean;
832
+ anonymousGrading: boolean;
833
+ createdBy?: string | undefined;
834
+ updatedBy?: string | undefined;
835
+ description?: string | undefined;
836
+ gradingPeriodId?: string | undefined;
837
+ classroomName?: string | undefined;
838
+ totalStudents?: number | undefined;
839
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
840
+ categoryId?: string | undefined;
841
+ categoryName?: string | undefined;
842
+ instructions?: string | undefined;
843
+ allowedFileTypes?: string[] | undefined;
844
+ maxFileSize?: number | undefined;
845
+ maxAttempts?: number | undefined;
846
+ latePenaltyPercent?: number | undefined;
847
+ latePenaltyPerDay?: number | undefined;
848
+ attachments?: {
849
+ name: string;
850
+ url: string;
851
+ attachmentId?: string | undefined;
852
+ mimeType?: string | undefined;
853
+ size?: number | undefined;
854
+ uploadedAt?: string | undefined;
855
+ }[] | undefined;
856
+ rubric?: {
857
+ name: string;
858
+ criteria: {
859
+ name: string;
860
+ maxPoints: number;
861
+ description?: string | undefined;
862
+ criterionId?: string | undefined;
863
+ order?: number | undefined;
864
+ levels?: {
865
+ name: string;
866
+ points: number;
867
+ description?: string | undefined;
868
+ levelId?: string | undefined;
869
+ }[] | undefined;
870
+ }[];
871
+ description?: string | undefined;
872
+ rubricId?: string | undefined;
873
+ totalPoints?: number | undefined;
874
+ } | undefined;
875
+ groupSize?: number | undefined;
876
+ learningStandardIds?: string[] | undefined;
877
+ submittedCount?: number | undefined;
878
+ gradedCount?: number | undefined;
879
+ averageScore?: number | undefined;
880
+ }, {
881
+ status: "archived" | "closed" | "draft" | "published";
882
+ createdAt: string;
883
+ updatedAt: string;
884
+ title: string;
885
+ classroomId: string;
886
+ isExtraCredit: boolean;
887
+ assignmentId: string;
888
+ pointsPossible: number;
889
+ assignedDate: string;
890
+ dueDate: string;
891
+ dueDateTimeZone: string;
892
+ lockAfterDueDate: boolean;
893
+ submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
894
+ allowLateSubmissions: boolean;
895
+ isGroupAssignment: boolean;
896
+ showRubricToStudents: boolean;
897
+ anonymousGrading: boolean;
898
+ createdBy?: string | undefined;
899
+ updatedBy?: string | undefined;
900
+ description?: string | undefined;
901
+ gradingPeriodId?: string | undefined;
902
+ classroomName?: string | undefined;
903
+ totalStudents?: number | undefined;
904
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
905
+ categoryId?: string | undefined;
906
+ categoryName?: string | undefined;
907
+ instructions?: string | undefined;
908
+ allowedFileTypes?: string[] | undefined;
909
+ maxFileSize?: number | undefined;
910
+ maxAttempts?: number | undefined;
911
+ latePenaltyPercent?: number | undefined;
912
+ latePenaltyPerDay?: number | undefined;
913
+ attachments?: {
914
+ name: string;
915
+ url: string;
916
+ attachmentId?: string | undefined;
917
+ mimeType?: string | undefined;
918
+ size?: number | undefined;
919
+ uploadedAt?: string | undefined;
920
+ }[] | undefined;
921
+ rubric?: {
922
+ name: string;
923
+ criteria: {
924
+ name: string;
925
+ maxPoints: number;
926
+ description?: string | undefined;
927
+ criterionId?: string | undefined;
928
+ order?: number | undefined;
929
+ levels?: {
930
+ name: string;
931
+ points: number;
932
+ description?: string | undefined;
933
+ levelId?: string | undefined;
934
+ }[] | undefined;
935
+ }[];
936
+ description?: string | undefined;
937
+ rubricId?: string | undefined;
938
+ totalPoints?: number | undefined;
939
+ } | undefined;
940
+ groupSize?: number | undefined;
941
+ learningStandardIds?: string[] | undefined;
942
+ submittedCount?: number | undefined;
943
+ gradedCount?: number | undefined;
944
+ averageScore?: number | undefined;
945
+ }>;
946
+ export type AssignmentResponseDto = z.infer<typeof assignmentResponseSchema>;
947
+ export declare const assignmentListResponseSchema: z.ZodObject<{
948
+ items: z.ZodArray<z.ZodObject<{
949
+ assignmentId: z.ZodString;
950
+ classroomId: z.ZodString;
951
+ classroomName: z.ZodOptional<z.ZodString>;
952
+ categoryId: z.ZodOptional<z.ZodString>;
953
+ categoryName: z.ZodOptional<z.ZodString>;
954
+ categoryType: z.ZodOptional<z.ZodEnum<["assignment", "quiz", "test", "exam", "project", "homework", "participation", "lab", "presentation", "other"]>>;
955
+ gradingPeriodId: z.ZodOptional<z.ZodString>;
956
+ title: z.ZodString;
957
+ description: z.ZodOptional<z.ZodString>;
958
+ instructions: z.ZodOptional<z.ZodString>;
959
+ pointsPossible: z.ZodNumber;
960
+ isExtraCredit: z.ZodBoolean;
961
+ assignedDate: z.ZodEffects<z.ZodString, string, string>;
962
+ dueDate: z.ZodEffects<z.ZodString, string, string>;
963
+ dueDateTimeZone: z.ZodString;
964
+ lockAfterDueDate: z.ZodBoolean;
965
+ submissionType: z.ZodEnum<["online_text", "online_upload", "external_url", "paper", "none", "discussion"]>;
966
+ allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
967
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
968
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
969
+ allowLateSubmissions: z.ZodBoolean;
970
+ latePenaltyPercent: z.ZodOptional<z.ZodNumber>;
971
+ latePenaltyPerDay: z.ZodOptional<z.ZodNumber>;
972
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
973
+ attachmentId: z.ZodOptional<z.ZodString>;
974
+ name: z.ZodString;
975
+ url: z.ZodString;
976
+ mimeType: z.ZodOptional<z.ZodString>;
977
+ size: z.ZodOptional<z.ZodNumber>;
978
+ uploadedAt: z.ZodOptional<z.ZodString>;
979
+ }, "strip", z.ZodTypeAny, {
980
+ name: string;
981
+ url: string;
982
+ attachmentId?: string | undefined;
983
+ mimeType?: string | undefined;
984
+ size?: number | undefined;
985
+ uploadedAt?: string | undefined;
986
+ }, {
987
+ name: string;
988
+ url: string;
989
+ attachmentId?: string | undefined;
990
+ mimeType?: string | undefined;
991
+ size?: number | undefined;
992
+ uploadedAt?: string | undefined;
993
+ }>, "many">>;
994
+ rubric: z.ZodOptional<z.ZodObject<{
995
+ rubricId: z.ZodOptional<z.ZodString>;
996
+ name: z.ZodString;
997
+ description: z.ZodOptional<z.ZodString>;
998
+ criteria: z.ZodArray<z.ZodObject<{
999
+ criterionId: z.ZodOptional<z.ZodString>;
1000
+ name: z.ZodString;
1001
+ description: z.ZodOptional<z.ZodString>;
1002
+ maxPoints: z.ZodNumber;
1003
+ order: z.ZodOptional<z.ZodNumber>;
1004
+ levels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1005
+ levelId: z.ZodOptional<z.ZodString>;
1006
+ name: z.ZodString;
1007
+ description: z.ZodOptional<z.ZodString>;
1008
+ points: z.ZodNumber;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ name: string;
1011
+ points: number;
1012
+ description?: string | undefined;
1013
+ levelId?: string | undefined;
1014
+ }, {
1015
+ name: string;
1016
+ points: number;
1017
+ description?: string | undefined;
1018
+ levelId?: string | undefined;
1019
+ }>, "many">>;
1020
+ }, "strip", z.ZodTypeAny, {
1021
+ name: string;
1022
+ maxPoints: number;
1023
+ description?: string | undefined;
1024
+ criterionId?: string | undefined;
1025
+ order?: number | undefined;
1026
+ levels?: {
1027
+ name: string;
1028
+ points: number;
1029
+ description?: string | undefined;
1030
+ levelId?: string | undefined;
1031
+ }[] | undefined;
1032
+ }, {
1033
+ name: string;
1034
+ maxPoints: number;
1035
+ description?: string | undefined;
1036
+ criterionId?: string | undefined;
1037
+ order?: number | undefined;
1038
+ levels?: {
1039
+ name: string;
1040
+ points: number;
1041
+ description?: string | undefined;
1042
+ levelId?: string | undefined;
1043
+ }[] | undefined;
1044
+ }>, "many">;
1045
+ totalPoints: z.ZodOptional<z.ZodNumber>;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ name: string;
1048
+ criteria: {
1049
+ name: string;
1050
+ maxPoints: number;
1051
+ description?: string | undefined;
1052
+ criterionId?: string | undefined;
1053
+ order?: number | undefined;
1054
+ levels?: {
1055
+ name: string;
1056
+ points: number;
1057
+ description?: string | undefined;
1058
+ levelId?: string | undefined;
1059
+ }[] | undefined;
1060
+ }[];
1061
+ description?: string | undefined;
1062
+ rubricId?: string | undefined;
1063
+ totalPoints?: number | undefined;
1064
+ }, {
1065
+ name: string;
1066
+ criteria: {
1067
+ name: string;
1068
+ maxPoints: number;
1069
+ description?: string | undefined;
1070
+ criterionId?: string | undefined;
1071
+ order?: number | undefined;
1072
+ levels?: {
1073
+ name: string;
1074
+ points: number;
1075
+ description?: string | undefined;
1076
+ levelId?: string | undefined;
1077
+ }[] | undefined;
1078
+ }[];
1079
+ description?: string | undefined;
1080
+ rubricId?: string | undefined;
1081
+ totalPoints?: number | undefined;
1082
+ }>>;
1083
+ status: z.ZodEnum<["draft", "published", "closed", "archived"]>;
1084
+ isGroupAssignment: z.ZodBoolean;
1085
+ groupSize: z.ZodOptional<z.ZodNumber>;
1086
+ showRubricToStudents: z.ZodBoolean;
1087
+ anonymousGrading: z.ZodBoolean;
1088
+ submittedCount: z.ZodOptional<z.ZodNumber>;
1089
+ gradedCount: z.ZodOptional<z.ZodNumber>;
1090
+ totalStudents: z.ZodOptional<z.ZodNumber>;
1091
+ averageScore: z.ZodOptional<z.ZodNumber>;
1092
+ learningStandardIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1093
+ createdAt: z.ZodString;
1094
+ updatedAt: z.ZodString;
1095
+ createdBy: z.ZodOptional<z.ZodString>;
1096
+ updatedBy: z.ZodOptional<z.ZodString>;
1097
+ }, "strip", z.ZodTypeAny, {
1098
+ status: "archived" | "closed" | "draft" | "published";
1099
+ createdAt: string;
1100
+ updatedAt: string;
1101
+ title: string;
1102
+ classroomId: string;
1103
+ isExtraCredit: boolean;
1104
+ assignmentId: string;
1105
+ pointsPossible: number;
1106
+ assignedDate: string;
1107
+ dueDate: string;
1108
+ dueDateTimeZone: string;
1109
+ lockAfterDueDate: boolean;
1110
+ submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
1111
+ allowLateSubmissions: boolean;
1112
+ isGroupAssignment: boolean;
1113
+ showRubricToStudents: boolean;
1114
+ anonymousGrading: boolean;
1115
+ createdBy?: string | undefined;
1116
+ updatedBy?: string | undefined;
1117
+ description?: string | undefined;
1118
+ gradingPeriodId?: string | undefined;
1119
+ classroomName?: string | undefined;
1120
+ totalStudents?: number | undefined;
1121
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
1122
+ categoryId?: string | undefined;
1123
+ categoryName?: string | undefined;
1124
+ instructions?: string | undefined;
1125
+ allowedFileTypes?: string[] | undefined;
1126
+ maxFileSize?: number | undefined;
1127
+ maxAttempts?: number | undefined;
1128
+ latePenaltyPercent?: number | undefined;
1129
+ latePenaltyPerDay?: number | undefined;
1130
+ attachments?: {
1131
+ name: string;
1132
+ url: string;
1133
+ attachmentId?: string | undefined;
1134
+ mimeType?: string | undefined;
1135
+ size?: number | undefined;
1136
+ uploadedAt?: string | undefined;
1137
+ }[] | undefined;
1138
+ rubric?: {
1139
+ name: string;
1140
+ criteria: {
1141
+ name: string;
1142
+ maxPoints: number;
1143
+ description?: string | undefined;
1144
+ criterionId?: string | undefined;
1145
+ order?: number | undefined;
1146
+ levels?: {
1147
+ name: string;
1148
+ points: number;
1149
+ description?: string | undefined;
1150
+ levelId?: string | undefined;
1151
+ }[] | undefined;
1152
+ }[];
1153
+ description?: string | undefined;
1154
+ rubricId?: string | undefined;
1155
+ totalPoints?: number | undefined;
1156
+ } | undefined;
1157
+ groupSize?: number | undefined;
1158
+ learningStandardIds?: string[] | undefined;
1159
+ submittedCount?: number | undefined;
1160
+ gradedCount?: number | undefined;
1161
+ averageScore?: number | undefined;
1162
+ }, {
1163
+ status: "archived" | "closed" | "draft" | "published";
1164
+ createdAt: string;
1165
+ updatedAt: string;
1166
+ title: string;
1167
+ classroomId: string;
1168
+ isExtraCredit: boolean;
1169
+ assignmentId: string;
1170
+ pointsPossible: number;
1171
+ assignedDate: string;
1172
+ dueDate: string;
1173
+ dueDateTimeZone: string;
1174
+ lockAfterDueDate: boolean;
1175
+ submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
1176
+ allowLateSubmissions: boolean;
1177
+ isGroupAssignment: boolean;
1178
+ showRubricToStudents: boolean;
1179
+ anonymousGrading: boolean;
1180
+ createdBy?: string | undefined;
1181
+ updatedBy?: string | undefined;
1182
+ description?: string | undefined;
1183
+ gradingPeriodId?: string | undefined;
1184
+ classroomName?: string | undefined;
1185
+ totalStudents?: number | undefined;
1186
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
1187
+ categoryId?: string | undefined;
1188
+ categoryName?: string | undefined;
1189
+ instructions?: string | undefined;
1190
+ allowedFileTypes?: string[] | undefined;
1191
+ maxFileSize?: number | undefined;
1192
+ maxAttempts?: number | undefined;
1193
+ latePenaltyPercent?: number | undefined;
1194
+ latePenaltyPerDay?: number | undefined;
1195
+ attachments?: {
1196
+ name: string;
1197
+ url: string;
1198
+ attachmentId?: string | undefined;
1199
+ mimeType?: string | undefined;
1200
+ size?: number | undefined;
1201
+ uploadedAt?: string | undefined;
1202
+ }[] | undefined;
1203
+ rubric?: {
1204
+ name: string;
1205
+ criteria: {
1206
+ name: string;
1207
+ maxPoints: number;
1208
+ description?: string | undefined;
1209
+ criterionId?: string | undefined;
1210
+ order?: number | undefined;
1211
+ levels?: {
1212
+ name: string;
1213
+ points: number;
1214
+ description?: string | undefined;
1215
+ levelId?: string | undefined;
1216
+ }[] | undefined;
1217
+ }[];
1218
+ description?: string | undefined;
1219
+ rubricId?: string | undefined;
1220
+ totalPoints?: number | undefined;
1221
+ } | undefined;
1222
+ groupSize?: number | undefined;
1223
+ learningStandardIds?: string[] | undefined;
1224
+ submittedCount?: number | undefined;
1225
+ gradedCount?: number | undefined;
1226
+ averageScore?: number | undefined;
1227
+ }>, "many">;
1228
+ lastEvaluatedKey: z.ZodOptional<z.ZodString>;
1229
+ hasMore: z.ZodBoolean;
1230
+ total: z.ZodOptional<z.ZodNumber>;
1231
+ }, "strip", z.ZodTypeAny, {
1232
+ items: {
1233
+ status: "archived" | "closed" | "draft" | "published";
1234
+ createdAt: string;
1235
+ updatedAt: string;
1236
+ title: string;
1237
+ classroomId: string;
1238
+ isExtraCredit: boolean;
1239
+ assignmentId: string;
1240
+ pointsPossible: number;
1241
+ assignedDate: string;
1242
+ dueDate: string;
1243
+ dueDateTimeZone: string;
1244
+ lockAfterDueDate: boolean;
1245
+ submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
1246
+ allowLateSubmissions: boolean;
1247
+ isGroupAssignment: boolean;
1248
+ showRubricToStudents: boolean;
1249
+ anonymousGrading: boolean;
1250
+ createdBy?: string | undefined;
1251
+ updatedBy?: string | undefined;
1252
+ description?: string | undefined;
1253
+ gradingPeriodId?: string | undefined;
1254
+ classroomName?: string | undefined;
1255
+ totalStudents?: number | undefined;
1256
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
1257
+ categoryId?: string | undefined;
1258
+ categoryName?: string | undefined;
1259
+ instructions?: string | undefined;
1260
+ allowedFileTypes?: string[] | undefined;
1261
+ maxFileSize?: number | undefined;
1262
+ maxAttempts?: number | undefined;
1263
+ latePenaltyPercent?: number | undefined;
1264
+ latePenaltyPerDay?: number | undefined;
1265
+ attachments?: {
1266
+ name: string;
1267
+ url: string;
1268
+ attachmentId?: string | undefined;
1269
+ mimeType?: string | undefined;
1270
+ size?: number | undefined;
1271
+ uploadedAt?: string | undefined;
1272
+ }[] | undefined;
1273
+ rubric?: {
1274
+ name: string;
1275
+ criteria: {
1276
+ name: string;
1277
+ maxPoints: number;
1278
+ description?: string | undefined;
1279
+ criterionId?: string | undefined;
1280
+ order?: number | undefined;
1281
+ levels?: {
1282
+ name: string;
1283
+ points: number;
1284
+ description?: string | undefined;
1285
+ levelId?: string | undefined;
1286
+ }[] | undefined;
1287
+ }[];
1288
+ description?: string | undefined;
1289
+ rubricId?: string | undefined;
1290
+ totalPoints?: number | undefined;
1291
+ } | undefined;
1292
+ groupSize?: number | undefined;
1293
+ learningStandardIds?: string[] | undefined;
1294
+ submittedCount?: number | undefined;
1295
+ gradedCount?: number | undefined;
1296
+ averageScore?: number | undefined;
1297
+ }[];
1298
+ hasMore: boolean;
1299
+ lastEvaluatedKey?: string | undefined;
1300
+ total?: number | undefined;
1301
+ }, {
1302
+ items: {
1303
+ status: "archived" | "closed" | "draft" | "published";
1304
+ createdAt: string;
1305
+ updatedAt: string;
1306
+ title: string;
1307
+ classroomId: string;
1308
+ isExtraCredit: boolean;
1309
+ assignmentId: string;
1310
+ pointsPossible: number;
1311
+ assignedDate: string;
1312
+ dueDate: string;
1313
+ dueDateTimeZone: string;
1314
+ lockAfterDueDate: boolean;
1315
+ submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
1316
+ allowLateSubmissions: boolean;
1317
+ isGroupAssignment: boolean;
1318
+ showRubricToStudents: boolean;
1319
+ anonymousGrading: boolean;
1320
+ createdBy?: string | undefined;
1321
+ updatedBy?: string | undefined;
1322
+ description?: string | undefined;
1323
+ gradingPeriodId?: string | undefined;
1324
+ classroomName?: string | undefined;
1325
+ totalStudents?: number | undefined;
1326
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
1327
+ categoryId?: string | undefined;
1328
+ categoryName?: string | undefined;
1329
+ instructions?: string | undefined;
1330
+ allowedFileTypes?: string[] | undefined;
1331
+ maxFileSize?: number | undefined;
1332
+ maxAttempts?: number | undefined;
1333
+ latePenaltyPercent?: number | undefined;
1334
+ latePenaltyPerDay?: number | undefined;
1335
+ attachments?: {
1336
+ name: string;
1337
+ url: string;
1338
+ attachmentId?: string | undefined;
1339
+ mimeType?: string | undefined;
1340
+ size?: number | undefined;
1341
+ uploadedAt?: string | undefined;
1342
+ }[] | undefined;
1343
+ rubric?: {
1344
+ name: string;
1345
+ criteria: {
1346
+ name: string;
1347
+ maxPoints: number;
1348
+ description?: string | undefined;
1349
+ criterionId?: string | undefined;
1350
+ order?: number | undefined;
1351
+ levels?: {
1352
+ name: string;
1353
+ points: number;
1354
+ description?: string | undefined;
1355
+ levelId?: string | undefined;
1356
+ }[] | undefined;
1357
+ }[];
1358
+ description?: string | undefined;
1359
+ rubricId?: string | undefined;
1360
+ totalPoints?: number | undefined;
1361
+ } | undefined;
1362
+ groupSize?: number | undefined;
1363
+ learningStandardIds?: string[] | undefined;
1364
+ submittedCount?: number | undefined;
1365
+ gradedCount?: number | undefined;
1366
+ averageScore?: number | undefined;
1367
+ }[];
1368
+ hasMore: boolean;
1369
+ lastEvaluatedKey?: string | undefined;
1370
+ total?: number | undefined;
1371
+ }>;
1372
+ export type AssignmentListResponseDto = z.infer<typeof assignmentListResponseSchema>;
1373
+ export declare const assignmentFilterSchema: z.ZodObject<{
1374
+ classroomId: z.ZodOptional<z.ZodString>;
1375
+ categoryId: z.ZodOptional<z.ZodString>;
1376
+ categoryType: z.ZodOptional<z.ZodEnum<["assignment", "quiz", "test", "exam", "project", "homework", "participation", "lab", "presentation", "other"]>>;
1377
+ gradingPeriodId: z.ZodOptional<z.ZodString>;
1378
+ status: z.ZodOptional<z.ZodEnum<["draft", "published", "closed", "archived"]>>;
1379
+ dueDateFrom: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1380
+ dueDateTo: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1381
+ searchTerm: z.ZodOptional<z.ZodString>;
1382
+ }, "strip", z.ZodTypeAny, {
1383
+ status?: "archived" | "closed" | "draft" | "published" | undefined;
1384
+ gradingPeriodId?: string | undefined;
1385
+ searchTerm?: string | undefined;
1386
+ classroomId?: string | undefined;
1387
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
1388
+ categoryId?: string | undefined;
1389
+ dueDateFrom?: string | undefined;
1390
+ dueDateTo?: string | undefined;
1391
+ }, {
1392
+ status?: "archived" | "closed" | "draft" | "published" | undefined;
1393
+ gradingPeriodId?: string | undefined;
1394
+ searchTerm?: string | undefined;
1395
+ classroomId?: string | undefined;
1396
+ categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
1397
+ categoryId?: string | undefined;
1398
+ dueDateFrom?: string | undefined;
1399
+ dueDateTo?: string | undefined;
1400
+ }>;
1401
+ export type AssignmentFilterDto = z.infer<typeof assignmentFilterSchema>;
1402
+ export declare const studentSubmissionSchema: z.ZodObject<{
1403
+ assignmentId: z.ZodString;
1404
+ studentId: z.ZodString;
1405
+ content: z.ZodOptional<z.ZodString>;
1406
+ externalUrl: z.ZodOptional<z.ZodString>;
1407
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1408
+ attachmentId: z.ZodOptional<z.ZodString>;
1409
+ name: z.ZodString;
1410
+ url: z.ZodString;
1411
+ mimeType: z.ZodOptional<z.ZodString>;
1412
+ size: z.ZodOptional<z.ZodNumber>;
1413
+ uploadedAt: z.ZodOptional<z.ZodString>;
1414
+ }, "strip", z.ZodTypeAny, {
1415
+ name: string;
1416
+ url: string;
1417
+ attachmentId?: string | undefined;
1418
+ mimeType?: string | undefined;
1419
+ size?: number | undefined;
1420
+ uploadedAt?: string | undefined;
1421
+ }, {
1422
+ name: string;
1423
+ url: string;
1424
+ attachmentId?: string | undefined;
1425
+ mimeType?: string | undefined;
1426
+ size?: number | undefined;
1427
+ uploadedAt?: string | undefined;
1428
+ }>, "many">>;
1429
+ submittedAt: z.ZodOptional<z.ZodString>;
1430
+ attemptNumber: z.ZodDefault<z.ZodNumber>;
1431
+ }, "strip", z.ZodTypeAny, {
1432
+ studentId: string;
1433
+ assignmentId: string;
1434
+ attemptNumber: number;
1435
+ submittedAt?: string | undefined;
1436
+ attachments?: {
1437
+ name: string;
1438
+ url: string;
1439
+ attachmentId?: string | undefined;
1440
+ mimeType?: string | undefined;
1441
+ size?: number | undefined;
1442
+ uploadedAt?: string | undefined;
1443
+ }[] | undefined;
1444
+ content?: string | undefined;
1445
+ externalUrl?: string | undefined;
1446
+ }, {
1447
+ studentId: string;
1448
+ assignmentId: string;
1449
+ submittedAt?: string | undefined;
1450
+ attachments?: {
1451
+ name: string;
1452
+ url: string;
1453
+ attachmentId?: string | undefined;
1454
+ mimeType?: string | undefined;
1455
+ size?: number | undefined;
1456
+ uploadedAt?: string | undefined;
1457
+ }[] | undefined;
1458
+ content?: string | undefined;
1459
+ externalUrl?: string | undefined;
1460
+ attemptNumber?: number | undefined;
1461
+ }>;
1462
+ export type StudentSubmissionDto = z.infer<typeof studentSubmissionSchema>;
1463
+ //# sourceMappingURL=assignment.schema.d.ts.map