@aibrains/shared-types 0.5.0 → 0.6.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/assignment.schema.d.ts +12 -12
- package/dist/schemas/academics/attendance.schema.d.ts +10 -10
- package/dist/schemas/academics/classroom.schema.d.ts +10 -10
- package/dist/schemas/academics/course-offering.schema.d.ts +188 -0
- package/dist/schemas/academics/course-offering.schema.d.ts.map +1 -0
- package/dist/schemas/academics/course-offering.schema.js +74 -0
- package/dist/schemas/academics/course-offering.schema.js.map +1 -0
- package/dist/schemas/academics/course-section.schema.d.ts +64 -6
- package/dist/schemas/academics/course-section.schema.d.ts.map +1 -1
- package/dist/schemas/academics/course-section.schema.js +10 -0
- package/dist/schemas/academics/course-section.schema.js.map +1 -1
- package/dist/schemas/academics/grade.schema.d.ts +12 -12
- 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/dist/schemas/identity/class-period.schema.d.ts +216 -0
- package/dist/schemas/identity/class-period.schema.d.ts.map +1 -0
- package/dist/schemas/identity/class-period.schema.js +96 -0
- package/dist/schemas/identity/class-period.schema.js.map +1 -0
- package/dist/schemas/identity/index.d.ts +2 -0
- package/dist/schemas/identity/index.d.ts.map +1 -1
- package/dist/schemas/identity/index.js +3 -0
- package/dist/schemas/identity/index.js.map +1 -1
- package/dist/schemas/identity/location.schema.d.ts +194 -0
- package/dist/schemas/identity/location.schema.d.ts.map +1 -0
- package/dist/schemas/identity/location.schema.js +87 -0
- package/dist/schemas/identity/location.schema.js.map +1 -0
- package/package.json +1 -1
|
@@ -24,6 +24,9 @@ export declare const createSectionSchema: z.ZodObject<{
|
|
|
24
24
|
primaryTeacherId: z.ZodString;
|
|
25
25
|
coTeacherIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
26
26
|
roomId: z.ZodOptional<z.ZodString>;
|
|
27
|
+
courseOfferingId: z.ZodOptional<z.ZodString>;
|
|
28
|
+
classPeriodId: z.ZodOptional<z.ZodString>;
|
|
29
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
27
30
|
maxEnrollment: z.ZodNumber;
|
|
28
31
|
}, "strip", z.ZodTypeAny, {
|
|
29
32
|
schoolId: string;
|
|
@@ -33,9 +36,12 @@ export declare const createSectionSchema: z.ZodObject<{
|
|
|
33
36
|
sectionNumber: string;
|
|
34
37
|
maxEnrollment: number;
|
|
35
38
|
termId?: string | undefined;
|
|
39
|
+
locationId?: string | undefined;
|
|
36
40
|
coTeacherIds?: string[] | undefined;
|
|
37
41
|
sectionName?: string | undefined;
|
|
38
42
|
roomId?: string | undefined;
|
|
43
|
+
courseOfferingId?: string | undefined;
|
|
44
|
+
classPeriodId?: string | undefined;
|
|
39
45
|
}, {
|
|
40
46
|
schoolId: string;
|
|
41
47
|
academicYearId: string;
|
|
@@ -44,9 +50,12 @@ export declare const createSectionSchema: z.ZodObject<{
|
|
|
44
50
|
sectionNumber: string;
|
|
45
51
|
maxEnrollment: number;
|
|
46
52
|
termId?: string | undefined;
|
|
53
|
+
locationId?: string | undefined;
|
|
47
54
|
coTeacherIds?: string[] | undefined;
|
|
48
55
|
sectionName?: string | undefined;
|
|
49
56
|
roomId?: string | undefined;
|
|
57
|
+
courseOfferingId?: string | undefined;
|
|
58
|
+
classPeriodId?: string | undefined;
|
|
50
59
|
}>;
|
|
51
60
|
export type CreateSectionDto = z.infer<typeof createSectionSchema>;
|
|
52
61
|
export declare const updateSectionSchema: z.ZodObject<Omit<{
|
|
@@ -59,22 +68,31 @@ export declare const updateSectionSchema: z.ZodObject<Omit<{
|
|
|
59
68
|
primaryTeacherId: z.ZodOptional<z.ZodString>;
|
|
60
69
|
coTeacherIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
61
70
|
roomId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
71
|
+
courseOfferingId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
72
|
+
classPeriodId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
73
|
+
locationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
62
74
|
maxEnrollment: z.ZodOptional<z.ZodNumber>;
|
|
63
75
|
}, "schoolId" | "academicYearId" | "courseId">, "strip", z.ZodTypeAny, {
|
|
64
76
|
termId?: string | undefined;
|
|
77
|
+
locationId?: string | undefined;
|
|
65
78
|
primaryTeacherId?: string | undefined;
|
|
66
79
|
coTeacherIds?: string[] | undefined;
|
|
67
80
|
sectionNumber?: string | undefined;
|
|
68
81
|
sectionName?: string | undefined;
|
|
69
82
|
roomId?: string | undefined;
|
|
83
|
+
courseOfferingId?: string | undefined;
|
|
84
|
+
classPeriodId?: string | undefined;
|
|
70
85
|
maxEnrollment?: number | undefined;
|
|
71
86
|
}, {
|
|
72
87
|
termId?: string | undefined;
|
|
88
|
+
locationId?: string | undefined;
|
|
73
89
|
primaryTeacherId?: string | undefined;
|
|
74
90
|
coTeacherIds?: string[] | undefined;
|
|
75
91
|
sectionNumber?: string | undefined;
|
|
76
92
|
sectionName?: string | undefined;
|
|
77
93
|
roomId?: string | undefined;
|
|
94
|
+
courseOfferingId?: string | undefined;
|
|
95
|
+
classPeriodId?: string | undefined;
|
|
78
96
|
maxEnrollment?: number | undefined;
|
|
79
97
|
}>;
|
|
80
98
|
export type UpdateSectionDto = z.infer<typeof updateSectionSchema>;
|
|
@@ -94,6 +112,11 @@ export declare const sectionResponseSchema: z.ZodObject<{
|
|
|
94
112
|
coTeacherIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
95
113
|
roomId: z.ZodOptional<z.ZodString>;
|
|
96
114
|
roomNumber: z.ZodOptional<z.ZodString>;
|
|
115
|
+
courseOfferingId: z.ZodOptional<z.ZodString>;
|
|
116
|
+
classPeriodId: z.ZodOptional<z.ZodString>;
|
|
117
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
118
|
+
periodName: z.ZodOptional<z.ZodString>;
|
|
119
|
+
locationRoomNumber: z.ZodOptional<z.ZodString>;
|
|
97
120
|
maxEnrollment: z.ZodNumber;
|
|
98
121
|
currentEnrollment: z.ZodNumber;
|
|
99
122
|
isActive: z.ZodBoolean;
|
|
@@ -117,13 +140,18 @@ export declare const sectionResponseSchema: z.ZodObject<{
|
|
|
117
140
|
createdBy?: string | undefined;
|
|
118
141
|
updatedBy?: string | undefined;
|
|
119
142
|
termId?: string | undefined;
|
|
143
|
+
roomNumber?: string | undefined;
|
|
144
|
+
locationId?: string | undefined;
|
|
145
|
+
periodName?: string | undefined;
|
|
120
146
|
coTeacherIds?: string[] | undefined;
|
|
121
147
|
courseCode?: string | undefined;
|
|
122
148
|
primaryTeacherName?: string | undefined;
|
|
123
149
|
courseName?: string | undefined;
|
|
124
150
|
sectionName?: string | undefined;
|
|
125
151
|
roomId?: string | undefined;
|
|
126
|
-
|
|
152
|
+
courseOfferingId?: string | undefined;
|
|
153
|
+
classPeriodId?: string | undefined;
|
|
154
|
+
locationRoomNumber?: string | undefined;
|
|
127
155
|
}, {
|
|
128
156
|
tenantId: string;
|
|
129
157
|
createdAt: string;
|
|
@@ -140,13 +168,18 @@ export declare const sectionResponseSchema: z.ZodObject<{
|
|
|
140
168
|
createdBy?: string | undefined;
|
|
141
169
|
updatedBy?: string | undefined;
|
|
142
170
|
termId?: string | undefined;
|
|
171
|
+
roomNumber?: string | undefined;
|
|
172
|
+
locationId?: string | undefined;
|
|
173
|
+
periodName?: string | undefined;
|
|
143
174
|
coTeacherIds?: string[] | undefined;
|
|
144
175
|
courseCode?: string | undefined;
|
|
145
176
|
primaryTeacherName?: string | undefined;
|
|
146
177
|
courseName?: string | undefined;
|
|
147
178
|
sectionName?: string | undefined;
|
|
148
179
|
roomId?: string | undefined;
|
|
149
|
-
|
|
180
|
+
courseOfferingId?: string | undefined;
|
|
181
|
+
classPeriodId?: string | undefined;
|
|
182
|
+
locationRoomNumber?: string | undefined;
|
|
150
183
|
}>;
|
|
151
184
|
export type SectionResponseDto = z.infer<typeof sectionResponseSchema>;
|
|
152
185
|
export declare const sectionListResponseSchema: z.ZodObject<{
|
|
@@ -166,6 +199,11 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
166
199
|
coTeacherIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
167
200
|
roomId: z.ZodOptional<z.ZodString>;
|
|
168
201
|
roomNumber: z.ZodOptional<z.ZodString>;
|
|
202
|
+
courseOfferingId: z.ZodOptional<z.ZodString>;
|
|
203
|
+
classPeriodId: z.ZodOptional<z.ZodString>;
|
|
204
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
205
|
+
periodName: z.ZodOptional<z.ZodString>;
|
|
206
|
+
locationRoomNumber: z.ZodOptional<z.ZodString>;
|
|
169
207
|
maxEnrollment: z.ZodNumber;
|
|
170
208
|
currentEnrollment: z.ZodNumber;
|
|
171
209
|
isActive: z.ZodBoolean;
|
|
@@ -189,13 +227,18 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
189
227
|
createdBy?: string | undefined;
|
|
190
228
|
updatedBy?: string | undefined;
|
|
191
229
|
termId?: string | undefined;
|
|
230
|
+
roomNumber?: string | undefined;
|
|
231
|
+
locationId?: string | undefined;
|
|
232
|
+
periodName?: string | undefined;
|
|
192
233
|
coTeacherIds?: string[] | undefined;
|
|
193
234
|
courseCode?: string | undefined;
|
|
194
235
|
primaryTeacherName?: string | undefined;
|
|
195
236
|
courseName?: string | undefined;
|
|
196
237
|
sectionName?: string | undefined;
|
|
197
238
|
roomId?: string | undefined;
|
|
198
|
-
|
|
239
|
+
courseOfferingId?: string | undefined;
|
|
240
|
+
classPeriodId?: string | undefined;
|
|
241
|
+
locationRoomNumber?: string | undefined;
|
|
199
242
|
}, {
|
|
200
243
|
tenantId: string;
|
|
201
244
|
createdAt: string;
|
|
@@ -212,13 +255,18 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
212
255
|
createdBy?: string | undefined;
|
|
213
256
|
updatedBy?: string | undefined;
|
|
214
257
|
termId?: string | undefined;
|
|
258
|
+
roomNumber?: string | undefined;
|
|
259
|
+
locationId?: string | undefined;
|
|
260
|
+
periodName?: string | undefined;
|
|
215
261
|
coTeacherIds?: string[] | undefined;
|
|
216
262
|
courseCode?: string | undefined;
|
|
217
263
|
primaryTeacherName?: string | undefined;
|
|
218
264
|
courseName?: string | undefined;
|
|
219
265
|
sectionName?: string | undefined;
|
|
220
266
|
roomId?: string | undefined;
|
|
221
|
-
|
|
267
|
+
courseOfferingId?: string | undefined;
|
|
268
|
+
classPeriodId?: string | undefined;
|
|
269
|
+
locationRoomNumber?: string | undefined;
|
|
222
270
|
}>, "many">;
|
|
223
271
|
lastEvaluatedKey: z.ZodOptional<z.ZodString>;
|
|
224
272
|
hasMore: z.ZodBoolean;
|
|
@@ -240,13 +288,18 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
240
288
|
createdBy?: string | undefined;
|
|
241
289
|
updatedBy?: string | undefined;
|
|
242
290
|
termId?: string | undefined;
|
|
291
|
+
roomNumber?: string | undefined;
|
|
292
|
+
locationId?: string | undefined;
|
|
293
|
+
periodName?: string | undefined;
|
|
243
294
|
coTeacherIds?: string[] | undefined;
|
|
244
295
|
courseCode?: string | undefined;
|
|
245
296
|
primaryTeacherName?: string | undefined;
|
|
246
297
|
courseName?: string | undefined;
|
|
247
298
|
sectionName?: string | undefined;
|
|
248
299
|
roomId?: string | undefined;
|
|
249
|
-
|
|
300
|
+
courseOfferingId?: string | undefined;
|
|
301
|
+
classPeriodId?: string | undefined;
|
|
302
|
+
locationRoomNumber?: string | undefined;
|
|
250
303
|
}[];
|
|
251
304
|
hasMore: boolean;
|
|
252
305
|
lastEvaluatedKey?: string | undefined;
|
|
@@ -268,13 +321,18 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
268
321
|
createdBy?: string | undefined;
|
|
269
322
|
updatedBy?: string | undefined;
|
|
270
323
|
termId?: string | undefined;
|
|
324
|
+
roomNumber?: string | undefined;
|
|
325
|
+
locationId?: string | undefined;
|
|
326
|
+
periodName?: string | undefined;
|
|
271
327
|
coTeacherIds?: string[] | undefined;
|
|
272
328
|
courseCode?: string | undefined;
|
|
273
329
|
primaryTeacherName?: string | undefined;
|
|
274
330
|
courseName?: string | undefined;
|
|
275
331
|
sectionName?: string | undefined;
|
|
276
332
|
roomId?: string | undefined;
|
|
277
|
-
|
|
333
|
+
courseOfferingId?: string | undefined;
|
|
334
|
+
classPeriodId?: string | undefined;
|
|
335
|
+
locationRoomNumber?: string | undefined;
|
|
278
336
|
}[];
|
|
279
337
|
hasMore: boolean;
|
|
280
338
|
lastEvaluatedKey?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-section.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/academics/course-section.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"course-section.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/academics/course-section.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC9B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAMnE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAMnE,eAAO,MA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).optional(),
|
|
40
40
|
// Physical location
|
|
41
41
|
roomId: zod_1.z.string().uuid().optional(),
|
|
42
|
+
// Ed-Fi Master Schedule references (optional for backward compat)
|
|
43
|
+
courseOfferingId: zod_1.z.string().uuid().optional(),
|
|
44
|
+
classPeriodId: zod_1.z.string().uuid().optional(),
|
|
45
|
+
locationId: zod_1.z.string().uuid().optional(),
|
|
42
46
|
// Enrollment capacity
|
|
43
47
|
maxEnrollment: zod_1.z.number()
|
|
44
48
|
.int()
|
|
@@ -78,6 +82,12 @@ exports.sectionResponseSchema = zod_1.z.object({
|
|
|
78
82
|
// Physical location
|
|
79
83
|
roomId: zod_1.z.string().uuid().optional(),
|
|
80
84
|
roomNumber: zod_1.z.string().optional(),
|
|
85
|
+
// Ed-Fi Master Schedule references
|
|
86
|
+
courseOfferingId: zod_1.z.string().uuid().optional(),
|
|
87
|
+
classPeriodId: zod_1.z.string().uuid().optional(),
|
|
88
|
+
locationId: zod_1.z.string().uuid().optional(),
|
|
89
|
+
periodName: zod_1.z.string().optional(),
|
|
90
|
+
locationRoomNumber: zod_1.z.string().optional(),
|
|
81
91
|
// Enrollment
|
|
82
92
|
maxEnrollment: zod_1.z.number().int(),
|
|
83
93
|
currentEnrollment: zod_1.z.number().int().min(0),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-section.schema.js","sourceRoot":"","sources":["../../../src/schemas/academics/course-section.schema.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,6BAAwB;AACxB,sCAGmB;AAEnB,+CAA+C;AAC/C,wBAAwB;AACxB,+CAA+C;AAElC,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,oDAAoD;IACpD,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAE3B,sEAAsE;IACtE,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAE3B,6CAA6C;IAC7C,cAAc,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Credit: z.ZodDefault<z.ZodBoolean>;
|
|
191
191
|
}, "strip", z.ZodTypeAny, {
|
|
192
192
|
name: string;
|
|
193
|
-
categoryType: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
193
|
+
categoryType: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation";
|
|
194
194
|
weight: number;
|
|
195
195
|
dropLowest: number;
|
|
196
196
|
isExtraCredit: boolean;
|
|
197
197
|
}, {
|
|
198
198
|
name: string;
|
|
199
|
-
categoryType: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
199
|
+
categoryType: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation";
|
|
200
200
|
weight: number;
|
|
201
201
|
dropLowest?: number | undefined;
|
|
202
202
|
isExtraCredit?: boolean | undefined;
|
|
@@ -213,7 +213,7 @@ export declare const createGradeCategorySchema: z.ZodObject<{
|
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
214
|
name: string;
|
|
215
215
|
classroomId: string;
|
|
216
|
-
categoryType: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
216
|
+
categoryType: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation";
|
|
217
217
|
weight: number;
|
|
218
218
|
dropLowest: number;
|
|
219
219
|
isExtraCredit: boolean;
|
|
@@ -221,7 +221,7 @@ export declare const createGradeCategorySchema: z.ZodObject<{
|
|
|
221
221
|
}, {
|
|
222
222
|
name: string;
|
|
223
223
|
classroomId: string;
|
|
224
|
-
categoryType: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
224
|
+
categoryType: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation";
|
|
225
225
|
weight: number;
|
|
226
226
|
dropLowest?: number | undefined;
|
|
227
227
|
isExtraCredit?: boolean | undefined;
|
|
@@ -238,14 +238,14 @@ export declare const updateGradeCategorySchema: z.ZodObject<Omit<{
|
|
|
238
238
|
color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
239
239
|
}, "classroomId">, "strip", z.ZodTypeAny, {
|
|
240
240
|
name?: string | undefined;
|
|
241
|
-
categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
241
|
+
categoryType?: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation" | undefined;
|
|
242
242
|
weight?: number | undefined;
|
|
243
243
|
dropLowest?: number | undefined;
|
|
244
244
|
isExtraCredit?: boolean | undefined;
|
|
245
245
|
color?: string | undefined;
|
|
246
246
|
}, {
|
|
247
247
|
name?: string | undefined;
|
|
248
|
-
categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
248
|
+
categoryType?: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation" | undefined;
|
|
249
249
|
weight?: number | undefined;
|
|
250
250
|
dropLowest?: number | undefined;
|
|
251
251
|
isExtraCredit?: boolean | undefined;
|
|
@@ -744,7 +744,7 @@ export declare const gradeFilterSchema: z.ZodObject<{
|
|
|
744
744
|
classroomId?: string | undefined;
|
|
745
745
|
dateFrom?: string | undefined;
|
|
746
746
|
dateTo?: string | undefined;
|
|
747
|
-
categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
747
|
+
categoryType?: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation" | undefined;
|
|
748
748
|
}, {
|
|
749
749
|
status?: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete" | undefined;
|
|
750
750
|
assignmentId?: string | undefined;
|
|
@@ -753,7 +753,7 @@ export declare const gradeFilterSchema: z.ZodObject<{
|
|
|
753
753
|
classroomId?: string | undefined;
|
|
754
754
|
dateFrom?: string | undefined;
|
|
755
755
|
dateTo?: string | undefined;
|
|
756
|
-
categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
756
|
+
categoryType?: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation" | undefined;
|
|
757
757
|
}>;
|
|
758
758
|
export type GradeFilterDto = z.infer<typeof gradeFilterSchema>;
|
|
759
759
|
export declare const studentGradeSummarySchema: z.ZodObject<{
|
|
@@ -773,7 +773,7 @@ export declare const studentGradeSummarySchema: z.ZodObject<{
|
|
|
773
773
|
percentage: z.ZodOptional<z.ZodNumber>;
|
|
774
774
|
assignmentCount: z.ZodNumber;
|
|
775
775
|
}, "strip", z.ZodTypeAny, {
|
|
776
|
-
categoryType: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
776
|
+
categoryType: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation";
|
|
777
777
|
weight: number;
|
|
778
778
|
categoryId: string;
|
|
779
779
|
categoryName: string;
|
|
@@ -782,7 +782,7 @@ export declare const studentGradeSummarySchema: z.ZodObject<{
|
|
|
782
782
|
assignmentCount: number;
|
|
783
783
|
percentage?: number | undefined;
|
|
784
784
|
}, {
|
|
785
|
-
categoryType: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
785
|
+
categoryType: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation";
|
|
786
786
|
weight: number;
|
|
787
787
|
categoryId: string;
|
|
788
788
|
categoryName: string;
|
|
@@ -809,7 +809,7 @@ export declare const studentGradeSummarySchema: z.ZodObject<{
|
|
|
809
809
|
letterGrade?: string | undefined;
|
|
810
810
|
currentGrade?: number | undefined;
|
|
811
811
|
categoryGrades?: {
|
|
812
|
-
categoryType: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
812
|
+
categoryType: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation";
|
|
813
813
|
weight: number;
|
|
814
814
|
categoryId: string;
|
|
815
815
|
categoryName: string;
|
|
@@ -832,7 +832,7 @@ export declare const studentGradeSummarySchema: z.ZodObject<{
|
|
|
832
832
|
letterGrade?: string | undefined;
|
|
833
833
|
currentGrade?: number | undefined;
|
|
834
834
|
categoryGrades?: {
|
|
835
|
-
categoryType: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "
|
|
835
|
+
categoryType: "other" | "lab" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "presentation";
|
|
836
836
|
weight: number;
|
|
837
837
|
categoryId: string;
|
|
838
838
|
categoryName: string;
|
|
@@ -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"}
|
|
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"}
|
|
@@ -26,4 +26,5 @@ __exportStar(require("./grade.schema"), exports);
|
|
|
26
26
|
__exportStar(require("./assignment.schema"), exports);
|
|
27
27
|
__exportStar(require("./course.schema"), exports);
|
|
28
28
|
__exportStar(require("./course-section.schema"), exports);
|
|
29
|
+
__exportStar(require("./course-offering.schema"), exports);
|
|
29
30
|
//# 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"}
|
|
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"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Class Period Schemas - Identity Service
|
|
3
|
+
*
|
|
4
|
+
* Zod schemas for standalone ClassPeriod entity management.
|
|
5
|
+
* Ed-Fi: ClassPeriod is a top-level entity representing a time block
|
|
6
|
+
* within a school day. Extracted from embedded BellSchedule periods
|
|
7
|
+
* to allow direct referencing by Section, CourseOffering, etc.
|
|
8
|
+
*
|
|
9
|
+
* @see https://api.ed-fi.org/v7.1/docs/swagger/index.html - ClassPeriod
|
|
10
|
+
*/
|
|
11
|
+
import { z } from 'zod';
|
|
12
|
+
/**
|
|
13
|
+
* Period type (aligned with bell-schedule.schema periodType)
|
|
14
|
+
*/
|
|
15
|
+
export declare const classPeriodTypeSchema: z.ZodEnum<["instructional", "homeroom", "lunch", "recess", "passing", "assembly", "advisory", "study_hall", "extracurricular"]>;
|
|
16
|
+
export type ClassPeriodType = z.infer<typeof classPeriodTypeSchema>;
|
|
17
|
+
export declare const createClassPeriodSchema: z.ZodEffects<z.ZodObject<{
|
|
18
|
+
classPeriodName: z.ZodString;
|
|
19
|
+
startTime: z.ZodString;
|
|
20
|
+
endTime: z.ZodString;
|
|
21
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
22
|
+
periodType: z.ZodDefault<z.ZodEnum<["instructional", "homeroom", "lunch", "recess", "passing", "assembly", "advisory", "study_hall", "extracurricular"]>>;
|
|
23
|
+
isAcademic: z.ZodDefault<z.ZodBoolean>;
|
|
24
|
+
description: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
startTime: string;
|
|
27
|
+
endTime: string;
|
|
28
|
+
classPeriodName: string;
|
|
29
|
+
periodType: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular";
|
|
30
|
+
sortOrder: number;
|
|
31
|
+
isAcademic: boolean;
|
|
32
|
+
description?: string | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
startTime: string;
|
|
35
|
+
endTime: string;
|
|
36
|
+
classPeriodName: string;
|
|
37
|
+
description?: string | undefined;
|
|
38
|
+
periodType?: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular" | undefined;
|
|
39
|
+
sortOrder?: number | undefined;
|
|
40
|
+
isAcademic?: boolean | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
startTime: string;
|
|
43
|
+
endTime: string;
|
|
44
|
+
classPeriodName: string;
|
|
45
|
+
periodType: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular";
|
|
46
|
+
sortOrder: number;
|
|
47
|
+
isAcademic: boolean;
|
|
48
|
+
description?: string | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
startTime: string;
|
|
51
|
+
endTime: string;
|
|
52
|
+
classPeriodName: string;
|
|
53
|
+
description?: string | undefined;
|
|
54
|
+
periodType?: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular" | undefined;
|
|
55
|
+
sortOrder?: number | undefined;
|
|
56
|
+
isAcademic?: boolean | undefined;
|
|
57
|
+
}>;
|
|
58
|
+
export type CreateClassPeriodDto = z.infer<typeof createClassPeriodSchema>;
|
|
59
|
+
export declare const updateClassPeriodSchema: z.ZodObject<{
|
|
60
|
+
classPeriodName: z.ZodOptional<z.ZodString>;
|
|
61
|
+
startTime: z.ZodOptional<z.ZodString>;
|
|
62
|
+
endTime: z.ZodOptional<z.ZodString>;
|
|
63
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
periodType: z.ZodOptional<z.ZodEnum<["instructional", "homeroom", "lunch", "recess", "passing", "assembly", "advisory", "study_hall", "extracurricular"]>>;
|
|
65
|
+
isAcademic: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
description: z.ZodOptional<z.ZodString>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
description?: string | undefined;
|
|
69
|
+
startTime?: string | undefined;
|
|
70
|
+
endTime?: string | undefined;
|
|
71
|
+
classPeriodName?: string | undefined;
|
|
72
|
+
periodType?: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular" | undefined;
|
|
73
|
+
sortOrder?: number | undefined;
|
|
74
|
+
isAcademic?: boolean | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
description?: string | undefined;
|
|
77
|
+
startTime?: string | undefined;
|
|
78
|
+
endTime?: string | undefined;
|
|
79
|
+
classPeriodName?: string | undefined;
|
|
80
|
+
periodType?: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular" | undefined;
|
|
81
|
+
sortOrder?: number | undefined;
|
|
82
|
+
isAcademic?: boolean | undefined;
|
|
83
|
+
}>;
|
|
84
|
+
export type UpdateClassPeriodDto = z.infer<typeof updateClassPeriodSchema>;
|
|
85
|
+
export declare const classPeriodResponseSchema: z.ZodObject<{
|
|
86
|
+
periodId: z.ZodString;
|
|
87
|
+
schoolId: z.ZodString;
|
|
88
|
+
tenantId: z.ZodString;
|
|
89
|
+
classPeriodName: z.ZodString;
|
|
90
|
+
startTime: z.ZodString;
|
|
91
|
+
endTime: z.ZodString;
|
|
92
|
+
durationMinutes: z.ZodNumber;
|
|
93
|
+
sortOrder: z.ZodNumber;
|
|
94
|
+
periodType: z.ZodEnum<["instructional", "homeroom", "lunch", "recess", "passing", "assembly", "advisory", "study_hall", "extracurricular"]>;
|
|
95
|
+
isAcademic: z.ZodBoolean;
|
|
96
|
+
description: z.ZodOptional<z.ZodString>;
|
|
97
|
+
createdAt: z.ZodString;
|
|
98
|
+
updatedAt: z.ZodString;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
tenantId: string;
|
|
101
|
+
createdAt: string;
|
|
102
|
+
updatedAt: string;
|
|
103
|
+
schoolId: string;
|
|
104
|
+
startTime: string;
|
|
105
|
+
endTime: string;
|
|
106
|
+
classPeriodName: string;
|
|
107
|
+
periodType: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular";
|
|
108
|
+
durationMinutes: number;
|
|
109
|
+
sortOrder: number;
|
|
110
|
+
isAcademic: boolean;
|
|
111
|
+
periodId: string;
|
|
112
|
+
description?: string | undefined;
|
|
113
|
+
}, {
|
|
114
|
+
tenantId: string;
|
|
115
|
+
createdAt: string;
|
|
116
|
+
updatedAt: string;
|
|
117
|
+
schoolId: string;
|
|
118
|
+
startTime: string;
|
|
119
|
+
endTime: string;
|
|
120
|
+
classPeriodName: string;
|
|
121
|
+
periodType: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular";
|
|
122
|
+
durationMinutes: number;
|
|
123
|
+
sortOrder: number;
|
|
124
|
+
isAcademic: boolean;
|
|
125
|
+
periodId: string;
|
|
126
|
+
description?: string | undefined;
|
|
127
|
+
}>;
|
|
128
|
+
export type ClassPeriodResponseDto = z.infer<typeof classPeriodResponseSchema>;
|
|
129
|
+
export declare const classPeriodListResponseSchema: z.ZodObject<{
|
|
130
|
+
items: z.ZodArray<z.ZodObject<{
|
|
131
|
+
periodId: z.ZodString;
|
|
132
|
+
schoolId: z.ZodString;
|
|
133
|
+
tenantId: z.ZodString;
|
|
134
|
+
classPeriodName: z.ZodString;
|
|
135
|
+
startTime: z.ZodString;
|
|
136
|
+
endTime: z.ZodString;
|
|
137
|
+
durationMinutes: z.ZodNumber;
|
|
138
|
+
sortOrder: z.ZodNumber;
|
|
139
|
+
periodType: z.ZodEnum<["instructional", "homeroom", "lunch", "recess", "passing", "assembly", "advisory", "study_hall", "extracurricular"]>;
|
|
140
|
+
isAcademic: z.ZodBoolean;
|
|
141
|
+
description: z.ZodOptional<z.ZodString>;
|
|
142
|
+
createdAt: z.ZodString;
|
|
143
|
+
updatedAt: z.ZodString;
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
tenantId: string;
|
|
146
|
+
createdAt: string;
|
|
147
|
+
updatedAt: string;
|
|
148
|
+
schoolId: string;
|
|
149
|
+
startTime: string;
|
|
150
|
+
endTime: string;
|
|
151
|
+
classPeriodName: string;
|
|
152
|
+
periodType: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular";
|
|
153
|
+
durationMinutes: number;
|
|
154
|
+
sortOrder: number;
|
|
155
|
+
isAcademic: boolean;
|
|
156
|
+
periodId: string;
|
|
157
|
+
description?: string | undefined;
|
|
158
|
+
}, {
|
|
159
|
+
tenantId: string;
|
|
160
|
+
createdAt: string;
|
|
161
|
+
updatedAt: string;
|
|
162
|
+
schoolId: string;
|
|
163
|
+
startTime: string;
|
|
164
|
+
endTime: string;
|
|
165
|
+
classPeriodName: string;
|
|
166
|
+
periodType: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular";
|
|
167
|
+
durationMinutes: number;
|
|
168
|
+
sortOrder: number;
|
|
169
|
+
isAcademic: boolean;
|
|
170
|
+
periodId: string;
|
|
171
|
+
description?: string | undefined;
|
|
172
|
+
}>, "many">;
|
|
173
|
+
lastEvaluatedKey: z.ZodOptional<z.ZodString>;
|
|
174
|
+
hasMore: z.ZodBoolean;
|
|
175
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
}, "strip", z.ZodTypeAny, {
|
|
177
|
+
items: {
|
|
178
|
+
tenantId: string;
|
|
179
|
+
createdAt: string;
|
|
180
|
+
updatedAt: string;
|
|
181
|
+
schoolId: string;
|
|
182
|
+
startTime: string;
|
|
183
|
+
endTime: string;
|
|
184
|
+
classPeriodName: string;
|
|
185
|
+
periodType: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular";
|
|
186
|
+
durationMinutes: number;
|
|
187
|
+
sortOrder: number;
|
|
188
|
+
isAcademic: boolean;
|
|
189
|
+
periodId: string;
|
|
190
|
+
description?: string | undefined;
|
|
191
|
+
}[];
|
|
192
|
+
hasMore: boolean;
|
|
193
|
+
lastEvaluatedKey?: string | undefined;
|
|
194
|
+
total?: number | undefined;
|
|
195
|
+
}, {
|
|
196
|
+
items: {
|
|
197
|
+
tenantId: string;
|
|
198
|
+
createdAt: string;
|
|
199
|
+
updatedAt: string;
|
|
200
|
+
schoolId: string;
|
|
201
|
+
startTime: string;
|
|
202
|
+
endTime: string;
|
|
203
|
+
classPeriodName: string;
|
|
204
|
+
periodType: "assembly" | "instructional" | "homeroom" | "lunch" | "recess" | "passing" | "advisory" | "study_hall" | "extracurricular";
|
|
205
|
+
durationMinutes: number;
|
|
206
|
+
sortOrder: number;
|
|
207
|
+
isAcademic: boolean;
|
|
208
|
+
periodId: string;
|
|
209
|
+
description?: string | undefined;
|
|
210
|
+
}[];
|
|
211
|
+
hasMore: boolean;
|
|
212
|
+
lastEvaluatedKey?: string | undefined;
|
|
213
|
+
total?: number | undefined;
|
|
214
|
+
}>;
|
|
215
|
+
export type ClassPeriodListResponseDto = z.infer<typeof classPeriodListResponseSchema>;
|
|
216
|
+
//# sourceMappingURL=class-period.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"class-period.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/class-period.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB;;GAEG;AACH,eAAO,MAAM,qBAAqB,iIAUhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAMpE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BnC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAM3E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAM3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBpC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAM/E,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2D,CAAC;AACtG,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|