@aibrains/shared-types 0.4.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/enrollment/enrollment.schema.d.ts +8 -8
- package/dist/schemas/identity/academic-session.schema.d.ts +186 -0
- package/dist/schemas/identity/academic-session.schema.d.ts.map +1 -0
- package/dist/schemas/identity/academic-session.schema.js +70 -0
- package/dist/schemas/identity/academic-session.schema.js.map +1 -0
- package/dist/schemas/identity/academic-year.schema.d.ts +14 -0
- package/dist/schemas/identity/academic-year.schema.d.ts.map +1 -1
- package/dist/schemas/identity/academic-year.schema.js +3 -0
- package/dist/schemas/identity/academic-year.schema.js.map +1 -1
- package/dist/schemas/identity/calendar-date.schema.d.ts +30 -8
- package/dist/schemas/identity/calendar-date.schema.d.ts.map +1 -1
- package/dist/schemas/identity/calendar-date.schema.js +4 -0
- package/dist/schemas/identity/calendar-date.schema.js.map +1 -1
- package/dist/schemas/identity/calendar.schema.d.ts +155 -0
- package/dist/schemas/identity/calendar.schema.d.ts.map +1 -0
- package/dist/schemas/identity/calendar.schema.js +69 -0
- package/dist/schemas/identity/calendar.schema.js.map +1 -0
- 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 +4 -0
- package/dist/schemas/identity/index.d.ts.map +1 -1
- package/dist/schemas/identity/index.js +5 -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":"AAA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M,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAMnE,eAAO,MAAM,4BAA4B;;;;;;EAEvC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAErF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;EAMvC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAErF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMtC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -39,6 +39,10 @@ exports.createSectionSchema = zod_1.z.object({
|
|
|
39
39
|
coTeacherIds: zod_1.z.array(zod_1.z.string().uuid()).max(5).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,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAEpC,8CAA8C;IAC9C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;SACtB,GAAG,CAAC,CAAC,EAAE,4BAA4B,CAAC;SACpC,GAAG,CAAC,EAAE,EAAE,8CAA8C,CAAC;IAC1D,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAE3C,sDAAsD;IACtD,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAE1D,oBAAoB;IACp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E,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,UAAU,EAAE,sBAAa;IACzB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC;AAIU,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,oCAA4B,CAAC;IAC/C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACpC,CAAC,CAAC"}
|
|
@@ -190,13 +190,13 @@ export declare const gradeCategorySchema: z.ZodObject<{
|
|
|
190
190
|
isExtraCredit: 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"}
|
|
@@ -2270,6 +2270,7 @@ export declare const createEnrollmentSchema: z.ZodObject<{
|
|
|
2270
2270
|
primarySchool: boolean;
|
|
2271
2271
|
repeatGradeIndicator: boolean;
|
|
2272
2272
|
notes?: string | undefined;
|
|
2273
|
+
calendarCode?: string | undefined;
|
|
2273
2274
|
homeroomId?: string | undefined;
|
|
2274
2275
|
sectionId?: string | undefined;
|
|
2275
2276
|
expectedGraduationDate?: string | undefined;
|
|
@@ -2280,7 +2281,6 @@ export declare const createEnrollmentSchema: z.ZodObject<{
|
|
|
2280
2281
|
entryTypeDescriptor?: string | undefined;
|
|
2281
2282
|
enrollmentTypeDescriptor?: string | undefined;
|
|
2282
2283
|
residencyStatusDescriptor?: string | undefined;
|
|
2283
|
-
calendarCode?: string | undefined;
|
|
2284
2284
|
}, {
|
|
2285
2285
|
schoolId: string;
|
|
2286
2286
|
academicYearId: string;
|
|
@@ -2289,6 +2289,7 @@ export declare const createEnrollmentSchema: z.ZodObject<{
|
|
|
2289
2289
|
gradeLevel: string;
|
|
2290
2290
|
fullTimeEquivalency?: number | undefined;
|
|
2291
2291
|
notes?: string | undefined;
|
|
2292
|
+
calendarCode?: string | undefined;
|
|
2292
2293
|
homeroomId?: string | undefined;
|
|
2293
2294
|
sectionId?: string | undefined;
|
|
2294
2295
|
enrollmentType?: "new" | "transfer" | "returning" | "re_enrollment" | undefined;
|
|
@@ -2302,7 +2303,6 @@ export declare const createEnrollmentSchema: z.ZodObject<{
|
|
|
2302
2303
|
residencyStatusDescriptor?: string | undefined;
|
|
2303
2304
|
primarySchool?: boolean | undefined;
|
|
2304
2305
|
repeatGradeIndicator?: boolean | undefined;
|
|
2305
|
-
calendarCode?: string | undefined;
|
|
2306
2306
|
}>;
|
|
2307
2307
|
export type CreateEnrollmentDto = z.infer<typeof createEnrollmentSchema>;
|
|
2308
2308
|
export declare const updateEnrollmentStatusSchema: z.ZodObject<{
|
|
@@ -2392,6 +2392,7 @@ export declare const enrollmentResponseSchema: z.ZodObject<{
|
|
|
2392
2392
|
schoolName?: string | undefined;
|
|
2393
2393
|
fullTimeEquivalency?: number | undefined;
|
|
2394
2394
|
notes?: string | undefined;
|
|
2395
|
+
calendarCode?: string | undefined;
|
|
2395
2396
|
academicYearName?: string | undefined;
|
|
2396
2397
|
homeroomId?: string | undefined;
|
|
2397
2398
|
homeroomName?: string | undefined;
|
|
@@ -2408,7 +2409,6 @@ export declare const enrollmentResponseSchema: z.ZodObject<{
|
|
|
2408
2409
|
residencyStatusDescriptor?: string | undefined;
|
|
2409
2410
|
primarySchool?: boolean | undefined;
|
|
2410
2411
|
repeatGradeIndicator?: boolean | undefined;
|
|
2411
|
-
calendarCode?: string | undefined;
|
|
2412
2412
|
actualGraduationDate?: string | undefined;
|
|
2413
2413
|
exitWithdrawTypeDescriptor?: string | undefined;
|
|
2414
2414
|
}, {
|
|
@@ -2428,6 +2428,7 @@ export declare const enrollmentResponseSchema: z.ZodObject<{
|
|
|
2428
2428
|
schoolName?: string | undefined;
|
|
2429
2429
|
fullTimeEquivalency?: number | undefined;
|
|
2430
2430
|
notes?: string | undefined;
|
|
2431
|
+
calendarCode?: string | undefined;
|
|
2431
2432
|
academicYearName?: string | undefined;
|
|
2432
2433
|
homeroomId?: string | undefined;
|
|
2433
2434
|
homeroomName?: string | undefined;
|
|
@@ -2444,7 +2445,6 @@ export declare const enrollmentResponseSchema: z.ZodObject<{
|
|
|
2444
2445
|
residencyStatusDescriptor?: string | undefined;
|
|
2445
2446
|
primarySchool?: boolean | undefined;
|
|
2446
2447
|
repeatGradeIndicator?: boolean | undefined;
|
|
2447
|
-
calendarCode?: string | undefined;
|
|
2448
2448
|
actualGraduationDate?: string | undefined;
|
|
2449
2449
|
exitWithdrawTypeDescriptor?: string | undefined;
|
|
2450
2450
|
}>;
|
|
@@ -2503,6 +2503,7 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
|
|
|
2503
2503
|
schoolName?: string | undefined;
|
|
2504
2504
|
fullTimeEquivalency?: number | undefined;
|
|
2505
2505
|
notes?: string | undefined;
|
|
2506
|
+
calendarCode?: string | undefined;
|
|
2506
2507
|
academicYearName?: string | undefined;
|
|
2507
2508
|
homeroomId?: string | undefined;
|
|
2508
2509
|
homeroomName?: string | undefined;
|
|
@@ -2519,7 +2520,6 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
|
|
|
2519
2520
|
residencyStatusDescriptor?: string | undefined;
|
|
2520
2521
|
primarySchool?: boolean | undefined;
|
|
2521
2522
|
repeatGradeIndicator?: boolean | undefined;
|
|
2522
|
-
calendarCode?: string | undefined;
|
|
2523
2523
|
actualGraduationDate?: string | undefined;
|
|
2524
2524
|
exitWithdrawTypeDescriptor?: string | undefined;
|
|
2525
2525
|
}, {
|
|
@@ -2539,6 +2539,7 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
|
|
|
2539
2539
|
schoolName?: string | undefined;
|
|
2540
2540
|
fullTimeEquivalency?: number | undefined;
|
|
2541
2541
|
notes?: string | undefined;
|
|
2542
|
+
calendarCode?: string | undefined;
|
|
2542
2543
|
academicYearName?: string | undefined;
|
|
2543
2544
|
homeroomId?: string | undefined;
|
|
2544
2545
|
homeroomName?: string | undefined;
|
|
@@ -2555,7 +2556,6 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
|
|
|
2555
2556
|
residencyStatusDescriptor?: string | undefined;
|
|
2556
2557
|
primarySchool?: boolean | undefined;
|
|
2557
2558
|
repeatGradeIndicator?: boolean | undefined;
|
|
2558
|
-
calendarCode?: string | undefined;
|
|
2559
2559
|
actualGraduationDate?: string | undefined;
|
|
2560
2560
|
exitWithdrawTypeDescriptor?: string | undefined;
|
|
2561
2561
|
}>, "many">;
|
|
@@ -2580,6 +2580,7 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
|
|
|
2580
2580
|
schoolName?: string | undefined;
|
|
2581
2581
|
fullTimeEquivalency?: number | undefined;
|
|
2582
2582
|
notes?: string | undefined;
|
|
2583
|
+
calendarCode?: string | undefined;
|
|
2583
2584
|
academicYearName?: string | undefined;
|
|
2584
2585
|
homeroomId?: string | undefined;
|
|
2585
2586
|
homeroomName?: string | undefined;
|
|
@@ -2596,7 +2597,6 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
|
|
|
2596
2597
|
residencyStatusDescriptor?: string | undefined;
|
|
2597
2598
|
primarySchool?: boolean | undefined;
|
|
2598
2599
|
repeatGradeIndicator?: boolean | undefined;
|
|
2599
|
-
calendarCode?: string | undefined;
|
|
2600
2600
|
actualGraduationDate?: string | undefined;
|
|
2601
2601
|
exitWithdrawTypeDescriptor?: string | undefined;
|
|
2602
2602
|
}[];
|
|
@@ -2621,6 +2621,7 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
|
|
|
2621
2621
|
schoolName?: string | undefined;
|
|
2622
2622
|
fullTimeEquivalency?: number | undefined;
|
|
2623
2623
|
notes?: string | undefined;
|
|
2624
|
+
calendarCode?: string | undefined;
|
|
2624
2625
|
academicYearName?: string | undefined;
|
|
2625
2626
|
homeroomId?: string | undefined;
|
|
2626
2627
|
homeroomName?: string | undefined;
|
|
@@ -2637,7 +2638,6 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
|
|
|
2637
2638
|
residencyStatusDescriptor?: string | undefined;
|
|
2638
2639
|
primarySchool?: boolean | undefined;
|
|
2639
2640
|
repeatGradeIndicator?: boolean | undefined;
|
|
2640
|
-
calendarCode?: string | undefined;
|
|
2641
2641
|
actualGraduationDate?: string | undefined;
|
|
2642
2642
|
exitWithdrawTypeDescriptor?: string | undefined;
|
|
2643
2643
|
}[];
|