@aibrains/shared-types 0.11.0 → 0.12.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.
|
@@ -102,6 +102,7 @@ export declare const sectionResponseSchema: z.ZodObject<{
|
|
|
102
102
|
courseId: z.ZodString;
|
|
103
103
|
courseCode: z.ZodOptional<z.ZodString>;
|
|
104
104
|
courseName: z.ZodOptional<z.ZodString>;
|
|
105
|
+
subjectArea: z.ZodOptional<z.ZodEnum<["mathematics", "english_language_arts", "science", "social_studies", "world_languages", "arts", "physical_education", "technology", "business", "vocational", "other"]>>;
|
|
105
106
|
schoolId: z.ZodString;
|
|
106
107
|
academicYearId: z.ZodString;
|
|
107
108
|
termId: z.ZodOptional<z.ZodString>;
|
|
@@ -143,6 +144,7 @@ export declare const sectionResponseSchema: z.ZodObject<{
|
|
|
143
144
|
roomNumber?: string | undefined;
|
|
144
145
|
locationId?: string | undefined;
|
|
145
146
|
periodName?: string | undefined;
|
|
147
|
+
subjectArea?: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business" | undefined;
|
|
146
148
|
coTeacherIds?: string[] | undefined;
|
|
147
149
|
courseCode?: string | undefined;
|
|
148
150
|
primaryTeacherName?: string | undefined;
|
|
@@ -171,6 +173,7 @@ export declare const sectionResponseSchema: z.ZodObject<{
|
|
|
171
173
|
roomNumber?: string | undefined;
|
|
172
174
|
locationId?: string | undefined;
|
|
173
175
|
periodName?: string | undefined;
|
|
176
|
+
subjectArea?: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business" | undefined;
|
|
174
177
|
coTeacherIds?: string[] | undefined;
|
|
175
178
|
courseCode?: string | undefined;
|
|
176
179
|
primaryTeacherName?: string | undefined;
|
|
@@ -189,6 +192,7 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
189
192
|
courseId: z.ZodString;
|
|
190
193
|
courseCode: z.ZodOptional<z.ZodString>;
|
|
191
194
|
courseName: z.ZodOptional<z.ZodString>;
|
|
195
|
+
subjectArea: z.ZodOptional<z.ZodEnum<["mathematics", "english_language_arts", "science", "social_studies", "world_languages", "arts", "physical_education", "technology", "business", "vocational", "other"]>>;
|
|
192
196
|
schoolId: z.ZodString;
|
|
193
197
|
academicYearId: z.ZodString;
|
|
194
198
|
termId: z.ZodOptional<z.ZodString>;
|
|
@@ -230,6 +234,7 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
230
234
|
roomNumber?: string | undefined;
|
|
231
235
|
locationId?: string | undefined;
|
|
232
236
|
periodName?: string | undefined;
|
|
237
|
+
subjectArea?: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business" | undefined;
|
|
233
238
|
coTeacherIds?: string[] | undefined;
|
|
234
239
|
courseCode?: string | undefined;
|
|
235
240
|
primaryTeacherName?: string | undefined;
|
|
@@ -258,6 +263,7 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
258
263
|
roomNumber?: string | undefined;
|
|
259
264
|
locationId?: string | undefined;
|
|
260
265
|
periodName?: string | undefined;
|
|
266
|
+
subjectArea?: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business" | undefined;
|
|
261
267
|
coTeacherIds?: string[] | undefined;
|
|
262
268
|
courseCode?: string | undefined;
|
|
263
269
|
primaryTeacherName?: string | undefined;
|
|
@@ -291,6 +297,7 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
291
297
|
roomNumber?: string | undefined;
|
|
292
298
|
locationId?: string | undefined;
|
|
293
299
|
periodName?: string | undefined;
|
|
300
|
+
subjectArea?: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business" | undefined;
|
|
294
301
|
coTeacherIds?: string[] | undefined;
|
|
295
302
|
courseCode?: string | undefined;
|
|
296
303
|
primaryTeacherName?: string | undefined;
|
|
@@ -324,6 +331,7 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
324
331
|
roomNumber?: string | undefined;
|
|
325
332
|
locationId?: string | undefined;
|
|
326
333
|
periodName?: string | undefined;
|
|
334
|
+
subjectArea?: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business" | undefined;
|
|
327
335
|
coTeacherIds?: string[] | undefined;
|
|
328
336
|
courseCode?: string | undefined;
|
|
329
337
|
primaryTeacherName?: 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;
|
|
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;AAWxB,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,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDhC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAMvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAuD,CAAC;AAC9F,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAM/E,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,CAAC;AAEH,MAAM,MAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAevC,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"}
|
|
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
exports.sectionRosterResponseSchema = exports.studentSectionResponseSchema = exports.enrollStudentInSectionSchema = exports.sectionFilterSchema = exports.sectionListResponseSchema = exports.sectionResponseSchema = exports.updateSectionSchema = exports.createSectionSchema = void 0;
|
|
19
19
|
const zod_1 = require("zod");
|
|
20
20
|
const common_1 = require("../common");
|
|
21
|
+
const course_schema_1 = require("./course.schema");
|
|
21
22
|
// ============================================
|
|
22
23
|
// Create Section Schema
|
|
23
24
|
// ============================================
|
|
@@ -67,6 +68,7 @@ exports.sectionResponseSchema = zod_1.z.object({
|
|
|
67
68
|
courseId: zod_1.z.string().uuid(),
|
|
68
69
|
courseCode: zod_1.z.string().optional(),
|
|
69
70
|
courseName: zod_1.z.string().optional(),
|
|
71
|
+
subjectArea: course_schema_1.courseSubjectAreaSchema.optional(),
|
|
70
72
|
// School reference
|
|
71
73
|
schoolId: zod_1.z.string().uuid(),
|
|
72
74
|
// Academic session
|
|
@@ -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;
|
|
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;AACnB,mDAA0D;AAE1D,+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,CA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