@aibrains/shared-types 0.8.0 → 0.9.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.
@@ -395,6 +395,7 @@ export declare const attendanceListResponseSchema: z.ZodObject<{
395
395
  export type AttendanceListResponseDto = z.infer<typeof attendanceListResponseSchema>;
396
396
  export declare const bulkAttendanceRecordSchema: z.ZodObject<{
397
397
  studentId: z.ZodString;
398
+ studentName: z.ZodOptional<z.ZodString>;
398
399
  status: z.ZodEnum<["present", "absent", "tardy", "excused", "late", "early_departure", "half_day", "remote"]>;
399
400
  checkInTime: z.ZodOptional<z.ZodString>;
400
401
  minutesLate: z.ZodOptional<z.ZodNumber>;
@@ -405,12 +406,14 @@ export declare const bulkAttendanceRecordSchema: z.ZodObject<{
405
406
  notes?: string | undefined;
406
407
  checkInTime?: string | undefined;
407
408
  minutesLate?: number | undefined;
409
+ studentName?: string | undefined;
408
410
  }, {
409
411
  status: "half_day" | "present" | "absent" | "late" | "excused" | "tardy" | "early_departure" | "remote";
410
412
  studentId: string;
411
413
  notes?: string | undefined;
412
414
  checkInTime?: string | undefined;
413
415
  minutesLate?: number | undefined;
416
+ studentName?: string | undefined;
414
417
  }>;
415
418
  export type BulkAttendanceRecordDto = z.infer<typeof bulkAttendanceRecordSchema>;
416
419
  export declare const bulkAttendanceSchema: z.ZodObject<{
@@ -421,6 +424,7 @@ export declare const bulkAttendanceSchema: z.ZodObject<{
421
424
  attendanceType: z.ZodDefault<z.ZodEnum<["daily", "period", "event"]>>;
422
425
  records: z.ZodArray<z.ZodObject<{
423
426
  studentId: z.ZodString;
427
+ studentName: z.ZodOptional<z.ZodString>;
424
428
  status: z.ZodEnum<["present", "absent", "tardy", "excused", "late", "early_departure", "half_day", "remote"]>;
425
429
  checkInTime: z.ZodOptional<z.ZodString>;
426
430
  minutesLate: z.ZodOptional<z.ZodNumber>;
@@ -431,12 +435,14 @@ export declare const bulkAttendanceSchema: z.ZodObject<{
431
435
  notes?: string | undefined;
432
436
  checkInTime?: string | undefined;
433
437
  minutesLate?: number | undefined;
438
+ studentName?: string | undefined;
434
439
  }, {
435
440
  status: "half_day" | "present" | "absent" | "late" | "excused" | "tardy" | "early_departure" | "remote";
436
441
  studentId: string;
437
442
  notes?: string | undefined;
438
443
  checkInTime?: string | undefined;
439
444
  minutesLate?: number | undefined;
445
+ studentName?: string | undefined;
440
446
  }>, "many">;
441
447
  }, "strip", z.ZodTypeAny, {
442
448
  date: string;
@@ -448,6 +454,7 @@ export declare const bulkAttendanceSchema: z.ZodObject<{
448
454
  notes?: string | undefined;
449
455
  checkInTime?: string | undefined;
450
456
  minutesLate?: number | undefined;
457
+ studentName?: string | undefined;
451
458
  }[];
452
459
  periodNumber?: number | undefined;
453
460
  classroomId?: string | undefined;
@@ -460,6 +467,7 @@ export declare const bulkAttendanceSchema: z.ZodObject<{
460
467
  notes?: string | undefined;
461
468
  checkInTime?: string | undefined;
462
469
  minutesLate?: number | undefined;
470
+ studentName?: string | undefined;
463
471
  }[];
464
472
  periodNumber?: number | undefined;
465
473
  classroomId?: string | undefined;
@@ -590,11 +598,13 @@ export declare const dailyAttendanceSummarySchema: z.ZodObject<{
590
598
  date: z.ZodEffects<z.ZodString, string, string>;
591
599
  schoolId: z.ZodString;
592
600
  totalStudents: z.ZodNumber;
601
+ totalRecorded: z.ZodOptional<z.ZodNumber>;
593
602
  present: z.ZodNumber;
594
603
  absent: z.ZodNumber;
595
604
  late: z.ZodNumber;
596
605
  excused: z.ZodNumber;
597
606
  halfDay: z.ZodNumber;
607
+ remote: z.ZodOptional<z.ZodNumber>;
598
608
  attendanceRate: z.ZodNumber;
599
609
  byGradeLevel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
600
610
  total: z.ZodNumber;
@@ -622,6 +632,8 @@ export declare const dailyAttendanceSummarySchema: z.ZodObject<{
622
632
  attendanceRate: number;
623
633
  totalStudents: number;
624
634
  halfDay: number;
635
+ remote?: number | undefined;
636
+ totalRecorded?: number | undefined;
625
637
  byGradeLevel?: Record<string, {
626
638
  total: number;
627
639
  present: number;
@@ -638,6 +650,8 @@ export declare const dailyAttendanceSummarySchema: z.ZodObject<{
638
650
  attendanceRate: number;
639
651
  totalStudents: number;
640
652
  halfDay: number;
653
+ remote?: number | undefined;
654
+ totalRecorded?: number | undefined;
641
655
  byGradeLevel?: Record<string, {
642
656
  total: number;
643
657
  present: number;
@@ -759,4 +773,410 @@ export declare const dailyAttendanceReportSchema: z.ZodObject<{
759
773
  }> | undefined;
760
774
  }>;
761
775
  export type DailyAttendanceReportDto = z.infer<typeof dailyAttendanceReportSchema>;
776
+ export declare const attendanceOverviewResponseSchema: z.ZodObject<{
777
+ todaySummary: z.ZodObject<z.objectUtil.extendShape<{
778
+ date: z.ZodEffects<z.ZodString, string, string>;
779
+ schoolId: z.ZodString;
780
+ totalStudents: z.ZodNumber;
781
+ totalRecorded: z.ZodOptional<z.ZodNumber>;
782
+ present: z.ZodNumber;
783
+ absent: z.ZodNumber;
784
+ late: z.ZodNumber;
785
+ excused: z.ZodNumber;
786
+ halfDay: z.ZodNumber;
787
+ remote: z.ZodOptional<z.ZodNumber>;
788
+ attendanceRate: z.ZodNumber;
789
+ byGradeLevel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
790
+ total: z.ZodNumber;
791
+ present: z.ZodNumber;
792
+ absent: z.ZodNumber;
793
+ rate: z.ZodNumber;
794
+ }, "strip", z.ZodTypeAny, {
795
+ total: number;
796
+ present: number;
797
+ absent: number;
798
+ rate: number;
799
+ }, {
800
+ total: number;
801
+ present: number;
802
+ absent: number;
803
+ rate: number;
804
+ }>>>;
805
+ }, {
806
+ totalRecorded: z.ZodNumber;
807
+ remote: z.ZodOptional<z.ZodNumber>;
808
+ }>, "strip", z.ZodTypeAny, {
809
+ date: string;
810
+ schoolId: string;
811
+ present: number;
812
+ absent: number;
813
+ late: number;
814
+ excused: number;
815
+ attendanceRate: number;
816
+ totalStudents: number;
817
+ totalRecorded: number;
818
+ halfDay: number;
819
+ remote?: number | undefined;
820
+ byGradeLevel?: Record<string, {
821
+ total: number;
822
+ present: number;
823
+ absent: number;
824
+ rate: number;
825
+ }> | undefined;
826
+ }, {
827
+ date: string;
828
+ schoolId: string;
829
+ present: number;
830
+ absent: number;
831
+ late: number;
832
+ excused: number;
833
+ attendanceRate: number;
834
+ totalStudents: number;
835
+ totalRecorded: number;
836
+ halfDay: number;
837
+ remote?: number | undefined;
838
+ byGradeLevel?: Record<string, {
839
+ total: number;
840
+ present: number;
841
+ absent: number;
842
+ rate: number;
843
+ }> | undefined;
844
+ }>;
845
+ sectionCompletion: z.ZodObject<{
846
+ totalSections: z.ZodNumber;
847
+ sectionsWithAttendance: z.ZodNumber;
848
+ sections: z.ZodArray<z.ZodObject<{
849
+ sectionId: z.ZodString;
850
+ sectionNumber: z.ZodString;
851
+ courseName: z.ZodString;
852
+ studentCount: z.ZodNumber;
853
+ recordedCount: z.ZodNumber;
854
+ isComplete: z.ZodBoolean;
855
+ }, "strip", z.ZodTypeAny, {
856
+ studentCount: number;
857
+ sectionId: string;
858
+ sectionNumber: string;
859
+ courseName: string;
860
+ recordedCount: number;
861
+ isComplete: boolean;
862
+ }, {
863
+ studentCount: number;
864
+ sectionId: string;
865
+ sectionNumber: string;
866
+ courseName: string;
867
+ recordedCount: number;
868
+ isComplete: boolean;
869
+ }>, "many">;
870
+ }, "strip", z.ZodTypeAny, {
871
+ totalSections: number;
872
+ sectionsWithAttendance: number;
873
+ sections: {
874
+ studentCount: number;
875
+ sectionId: string;
876
+ sectionNumber: string;
877
+ courseName: string;
878
+ recordedCount: number;
879
+ isComplete: boolean;
880
+ }[];
881
+ }, {
882
+ totalSections: number;
883
+ sectionsWithAttendance: number;
884
+ sections: {
885
+ studentCount: number;
886
+ sectionId: string;
887
+ sectionNumber: string;
888
+ courseName: string;
889
+ recordedCount: number;
890
+ isComplete: boolean;
891
+ }[];
892
+ }>;
893
+ trend: z.ZodArray<z.ZodObject<{
894
+ date: z.ZodEffects<z.ZodString, string, string>;
895
+ schoolId: z.ZodString;
896
+ totalStudents: z.ZodNumber;
897
+ totalRecorded: z.ZodOptional<z.ZodNumber>;
898
+ present: z.ZodNumber;
899
+ absent: z.ZodNumber;
900
+ late: z.ZodNumber;
901
+ excused: z.ZodNumber;
902
+ halfDay: z.ZodNumber;
903
+ remote: z.ZodOptional<z.ZodNumber>;
904
+ attendanceRate: z.ZodNumber;
905
+ byGradeLevel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
906
+ total: z.ZodNumber;
907
+ present: z.ZodNumber;
908
+ absent: z.ZodNumber;
909
+ rate: z.ZodNumber;
910
+ }, "strip", z.ZodTypeAny, {
911
+ total: number;
912
+ present: number;
913
+ absent: number;
914
+ rate: number;
915
+ }, {
916
+ total: number;
917
+ present: number;
918
+ absent: number;
919
+ rate: number;
920
+ }>>>;
921
+ }, "strip", z.ZodTypeAny, {
922
+ date: string;
923
+ schoolId: string;
924
+ present: number;
925
+ absent: number;
926
+ late: number;
927
+ excused: number;
928
+ attendanceRate: number;
929
+ totalStudents: number;
930
+ halfDay: number;
931
+ remote?: number | undefined;
932
+ totalRecorded?: number | undefined;
933
+ byGradeLevel?: Record<string, {
934
+ total: number;
935
+ present: number;
936
+ absent: number;
937
+ rate: number;
938
+ }> | undefined;
939
+ }, {
940
+ date: string;
941
+ schoolId: string;
942
+ present: number;
943
+ absent: number;
944
+ late: number;
945
+ excused: number;
946
+ attendanceRate: number;
947
+ totalStudents: number;
948
+ halfDay: number;
949
+ remote?: number | undefined;
950
+ totalRecorded?: number | undefined;
951
+ byGradeLevel?: Record<string, {
952
+ total: number;
953
+ present: number;
954
+ absent: number;
955
+ rate: number;
956
+ }> | undefined;
957
+ }>, "many">;
958
+ periodAverages: z.ZodObject<{
959
+ last7Days: z.ZodNumber;
960
+ last30Days: z.ZodNumber;
961
+ academicYear: z.ZodNumber;
962
+ }, "strip", z.ZodTypeAny, {
963
+ last7Days: number;
964
+ last30Days: number;
965
+ academicYear: number;
966
+ }, {
967
+ last7Days: number;
968
+ last30Days: number;
969
+ academicYear: number;
970
+ }>;
971
+ atRiskStudents: z.ZodArray<z.ZodObject<{
972
+ studentId: z.ZodString;
973
+ studentName: z.ZodString;
974
+ gradeLevel: z.ZodOptional<z.ZodString>;
975
+ attendanceRate: z.ZodNumber;
976
+ totalDays: z.ZodNumber;
977
+ absentDays: z.ZodNumber;
978
+ trend: z.ZodEnum<["improving", "declining", "stable"]>;
979
+ }, "strip", z.ZodTypeAny, {
980
+ totalDays: number;
981
+ studentId: string;
982
+ attendanceRate: number;
983
+ studentName: string;
984
+ absentDays: number;
985
+ trend: "improving" | "declining" | "stable";
986
+ gradeLevel?: string | undefined;
987
+ }, {
988
+ totalDays: number;
989
+ studentId: string;
990
+ attendanceRate: number;
991
+ studentName: string;
992
+ absentDays: number;
993
+ trend: "improving" | "declining" | "stable";
994
+ gradeLevel?: string | undefined;
995
+ }>, "many">;
996
+ totalAtRiskCount: z.ZodNumber;
997
+ absenceBreakdown: z.ZodObject<{
998
+ unexcused: z.ZodNumber;
999
+ excused: z.ZodNumber;
1000
+ late: z.ZodNumber;
1001
+ halfDay: z.ZodNumber;
1002
+ remote: z.ZodNumber;
1003
+ }, "strip", z.ZodTypeAny, {
1004
+ late: number;
1005
+ excused: number;
1006
+ remote: number;
1007
+ halfDay: number;
1008
+ unexcused: number;
1009
+ }, {
1010
+ late: number;
1011
+ excused: number;
1012
+ remote: number;
1013
+ halfDay: number;
1014
+ unexcused: number;
1015
+ }>;
1016
+ dayOfWeekPattern: z.ZodRecord<z.ZodString, z.ZodObject<{
1017
+ avgRate: z.ZodNumber;
1018
+ avgAbsent: z.ZodNumber;
1019
+ }, "strip", z.ZodTypeAny, {
1020
+ avgRate: number;
1021
+ avgAbsent: number;
1022
+ }, {
1023
+ avgRate: number;
1024
+ avgAbsent: number;
1025
+ }>>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ todaySummary: {
1028
+ date: string;
1029
+ schoolId: string;
1030
+ present: number;
1031
+ absent: number;
1032
+ late: number;
1033
+ excused: number;
1034
+ attendanceRate: number;
1035
+ totalStudents: number;
1036
+ totalRecorded: number;
1037
+ halfDay: number;
1038
+ remote?: number | undefined;
1039
+ byGradeLevel?: Record<string, {
1040
+ total: number;
1041
+ present: number;
1042
+ absent: number;
1043
+ rate: number;
1044
+ }> | undefined;
1045
+ };
1046
+ sectionCompletion: {
1047
+ totalSections: number;
1048
+ sectionsWithAttendance: number;
1049
+ sections: {
1050
+ studentCount: number;
1051
+ sectionId: string;
1052
+ sectionNumber: string;
1053
+ courseName: string;
1054
+ recordedCount: number;
1055
+ isComplete: boolean;
1056
+ }[];
1057
+ };
1058
+ trend: {
1059
+ date: string;
1060
+ schoolId: string;
1061
+ present: number;
1062
+ absent: number;
1063
+ late: number;
1064
+ excused: number;
1065
+ attendanceRate: number;
1066
+ totalStudents: number;
1067
+ halfDay: number;
1068
+ remote?: number | undefined;
1069
+ totalRecorded?: number | undefined;
1070
+ byGradeLevel?: Record<string, {
1071
+ total: number;
1072
+ present: number;
1073
+ absent: number;
1074
+ rate: number;
1075
+ }> | undefined;
1076
+ }[];
1077
+ periodAverages: {
1078
+ last7Days: number;
1079
+ last30Days: number;
1080
+ academicYear: number;
1081
+ };
1082
+ atRiskStudents: {
1083
+ totalDays: number;
1084
+ studentId: string;
1085
+ attendanceRate: number;
1086
+ studentName: string;
1087
+ absentDays: number;
1088
+ trend: "improving" | "declining" | "stable";
1089
+ gradeLevel?: string | undefined;
1090
+ }[];
1091
+ totalAtRiskCount: number;
1092
+ absenceBreakdown: {
1093
+ late: number;
1094
+ excused: number;
1095
+ remote: number;
1096
+ halfDay: number;
1097
+ unexcused: number;
1098
+ };
1099
+ dayOfWeekPattern: Record<string, {
1100
+ avgRate: number;
1101
+ avgAbsent: number;
1102
+ }>;
1103
+ }, {
1104
+ todaySummary: {
1105
+ date: string;
1106
+ schoolId: string;
1107
+ present: number;
1108
+ absent: number;
1109
+ late: number;
1110
+ excused: number;
1111
+ attendanceRate: number;
1112
+ totalStudents: number;
1113
+ totalRecorded: number;
1114
+ halfDay: number;
1115
+ remote?: number | undefined;
1116
+ byGradeLevel?: Record<string, {
1117
+ total: number;
1118
+ present: number;
1119
+ absent: number;
1120
+ rate: number;
1121
+ }> | undefined;
1122
+ };
1123
+ sectionCompletion: {
1124
+ totalSections: number;
1125
+ sectionsWithAttendance: number;
1126
+ sections: {
1127
+ studentCount: number;
1128
+ sectionId: string;
1129
+ sectionNumber: string;
1130
+ courseName: string;
1131
+ recordedCount: number;
1132
+ isComplete: boolean;
1133
+ }[];
1134
+ };
1135
+ trend: {
1136
+ date: string;
1137
+ schoolId: string;
1138
+ present: number;
1139
+ absent: number;
1140
+ late: number;
1141
+ excused: number;
1142
+ attendanceRate: number;
1143
+ totalStudents: number;
1144
+ halfDay: number;
1145
+ remote?: number | undefined;
1146
+ totalRecorded?: number | undefined;
1147
+ byGradeLevel?: Record<string, {
1148
+ total: number;
1149
+ present: number;
1150
+ absent: number;
1151
+ rate: number;
1152
+ }> | undefined;
1153
+ }[];
1154
+ periodAverages: {
1155
+ last7Days: number;
1156
+ last30Days: number;
1157
+ academicYear: number;
1158
+ };
1159
+ atRiskStudents: {
1160
+ totalDays: number;
1161
+ studentId: string;
1162
+ attendanceRate: number;
1163
+ studentName: string;
1164
+ absentDays: number;
1165
+ trend: "improving" | "declining" | "stable";
1166
+ gradeLevel?: string | undefined;
1167
+ }[];
1168
+ totalAtRiskCount: number;
1169
+ absenceBreakdown: {
1170
+ late: number;
1171
+ excused: number;
1172
+ remote: number;
1173
+ halfDay: number;
1174
+ unexcused: number;
1175
+ };
1176
+ dayOfWeekPattern: Record<string, {
1177
+ avgRate: number;
1178
+ avgAbsent: number;
1179
+ }>;
1180
+ }>;
1181
+ export type AttendanceOverviewResponseDto = z.infer<typeof attendanceOverviewResponseSchema>;
762
1182
  //# sourceMappingURL=attendance.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4C3C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
@@ -5,7 +5,7 @@
5
5
  * Zod schemas for attendance management DTOs.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.dailyAttendanceReportSchema = exports.studentAttendanceSummarySchema = exports.dailyAttendanceSummarySchema = exports.bulkAttendanceResponseSchema = exports.attendanceSummarySchema = exports.attendanceFilterSchema = exports.bulkAttendanceSchema = exports.bulkAttendanceRecordSchema = exports.attendanceListResponseSchema = exports.attendanceResponseSchema = exports.updateAttendanceSchema = exports.createAttendanceSchema = exports.excuseTypeSchema = exports.attendanceTypeSchema = exports.attendanceStatusSchema = void 0;
8
+ exports.attendanceOverviewResponseSchema = exports.dailyAttendanceReportSchema = exports.studentAttendanceSummarySchema = exports.dailyAttendanceSummarySchema = exports.bulkAttendanceResponseSchema = exports.attendanceSummarySchema = exports.attendanceFilterSchema = exports.bulkAttendanceSchema = exports.bulkAttendanceRecordSchema = exports.attendanceListResponseSchema = exports.attendanceResponseSchema = exports.updateAttendanceSchema = exports.createAttendanceSchema = exports.excuseTypeSchema = exports.attendanceTypeSchema = exports.attendanceStatusSchema = void 0;
9
9
  const zod_1 = require("zod");
10
10
  const common_1 = require("../common");
11
11
  // ============================================
@@ -126,6 +126,7 @@ exports.attendanceListResponseSchema = (0, common_1.createPaginatedResponseSchem
126
126
  // ============================================
127
127
  exports.bulkAttendanceRecordSchema = zod_1.z.object({
128
128
  studentId: zod_1.z.string().uuid(),
129
+ studentName: zod_1.z.string().optional(),
129
130
  status: exports.attendanceStatusSchema,
130
131
  checkInTime: common_1.timeSchema.optional(),
131
132
  minutesLate: zod_1.z.number().int().min(0).max(480).optional(),
@@ -195,11 +196,13 @@ exports.dailyAttendanceSummarySchema = zod_1.z.object({
195
196
  date: common_1.dateSchema,
196
197
  schoolId: zod_1.z.string().uuid(),
197
198
  totalStudents: zod_1.z.number().int().min(0),
199
+ totalRecorded: zod_1.z.number().int().min(0).optional(),
198
200
  present: zod_1.z.number().int().min(0),
199
201
  absent: zod_1.z.number().int().min(0),
200
202
  late: zod_1.z.number().int().min(0),
201
203
  excused: zod_1.z.number().int().min(0),
202
204
  halfDay: zod_1.z.number().int().min(0),
205
+ remote: zod_1.z.number().int().min(0).optional(),
203
206
  attendanceRate: zod_1.z.number().min(0).max(100),
204
207
  byGradeLevel: zod_1.z.record(zod_1.z.string(), zod_1.z.object({
205
208
  total: zod_1.z.number().int().min(0),
@@ -247,4 +250,52 @@ exports.dailyAttendanceReportSchema = zod_1.z.object({
247
250
  rate: zod_1.z.number().min(0).max(100),
248
251
  })).optional(),
249
252
  });
253
+ // ============================================
254
+ // Attendance Overview Response Schema (Task 1.9)
255
+ // ============================================
256
+ exports.attendanceOverviewResponseSchema = zod_1.z.object({
257
+ todaySummary: exports.dailyAttendanceSummarySchema.extend({
258
+ totalRecorded: zod_1.z.number().int().min(0),
259
+ remote: zod_1.z.number().int().min(0).optional(),
260
+ }),
261
+ sectionCompletion: zod_1.z.object({
262
+ totalSections: zod_1.z.number().int().min(0),
263
+ sectionsWithAttendance: zod_1.z.number().int().min(0),
264
+ sections: zod_1.z.array(zod_1.z.object({
265
+ sectionId: zod_1.z.string(),
266
+ sectionNumber: zod_1.z.string(),
267
+ courseName: zod_1.z.string(),
268
+ studentCount: zod_1.z.number().int().min(0),
269
+ recordedCount: zod_1.z.number().int().min(0),
270
+ isComplete: zod_1.z.boolean(),
271
+ })),
272
+ }),
273
+ trend: zod_1.z.array(exports.dailyAttendanceSummarySchema),
274
+ periodAverages: zod_1.z.object({
275
+ last7Days: zod_1.z.number().min(0).max(100),
276
+ last30Days: zod_1.z.number().min(0).max(100),
277
+ academicYear: zod_1.z.number().min(0).max(100),
278
+ }),
279
+ atRiskStudents: zod_1.z.array(zod_1.z.object({
280
+ studentId: zod_1.z.string(),
281
+ studentName: zod_1.z.string(),
282
+ gradeLevel: zod_1.z.string().optional(),
283
+ attendanceRate: zod_1.z.number().min(0).max(100),
284
+ totalDays: zod_1.z.number().int().min(0),
285
+ absentDays: zod_1.z.number().int().min(0),
286
+ trend: zod_1.z.enum(['improving', 'declining', 'stable']),
287
+ })),
288
+ totalAtRiskCount: zod_1.z.number().int().min(0),
289
+ absenceBreakdown: zod_1.z.object({
290
+ unexcused: zod_1.z.number().int().min(0),
291
+ excused: zod_1.z.number().int().min(0),
292
+ late: zod_1.z.number().int().min(0),
293
+ halfDay: zod_1.z.number().int().min(0),
294
+ remote: zod_1.z.number().int().min(0),
295
+ }),
296
+ dayOfWeekPattern: zod_1.z.record(zod_1.z.string(), zod_1.z.object({
297
+ avgRate: zod_1.z.number().min(0).max(100),
298
+ avgAbsent: zod_1.z.number().min(0),
299
+ })),
300
+ });
250
301
  //# sourceMappingURL=attendance.schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"attendance.schema.js","sourceRoot":"","sources":["../../../src/schemas/academics/attendance.schema.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,6BAAwB;AACxB,sCAKmB;AAEnB,+CAA+C;AAC/C,QAAQ;AACR,+CAA+C;AAElC,QAAA,sBAAsB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC3C,SAAS;IACT,QAAQ;IACR,OAAO;IACP,SAAS;IACT,MAAM;IACN,iBAAiB;IACjB,UAAU;IACV,QAAQ;CACT,CAAC,CAAC;AAGU,QAAA,oBAAoB,GAAG,OAAC,CAAC,IAAI,CAAC;IACzC,OAAO;IACP,QAAQ;IACR,OAAO;CACR,CAAC,CAAC;AAGU,QAAA,gBAAgB,GAAG,OAAC,CAAC,IAAI,CAAC;IACrC,SAAS;IACT,kBAAkB;IAClB,WAAW;IACX,iBAAiB;IACjB,SAAS;IACT,gBAAgB;IAChB,OAAO;CACR,CAAC,CAAC;AAGH,+C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G,CAAC,CAAC,CAAC;KAC7B,CAAC,CAAC;CACJ,CAAC,CAAC"}
@@ -32,8 +32,8 @@ export declare const createSectionSchema: z.ZodObject<{
32
32
  schoolId: string;
33
33
  academicYearId: string;
34
34
  primaryTeacherId: string;
35
- courseId: string;
36
35
  sectionNumber: string;
36
+ courseId: string;
37
37
  maxEnrollment: number;
38
38
  termId?: string | undefined;
39
39
  locationId?: string | undefined;
@@ -46,8 +46,8 @@ export declare const createSectionSchema: z.ZodObject<{
46
46
  schoolId: string;
47
47
  academicYearId: string;
48
48
  primaryTeacherId: string;
49
- courseId: string;
50
49
  sectionNumber: string;
50
+ courseId: string;
51
51
  maxEnrollment: number;
52
52
  termId?: string | undefined;
53
53
  locationId?: string | undefined;
@@ -133,9 +133,9 @@ export declare const sectionResponseSchema: z.ZodObject<{
133
133
  academicYearId: string;
134
134
  currentEnrollment: number;
135
135
  primaryTeacherId: string;
136
- courseId: string;
137
136
  sectionId: string;
138
137
  sectionNumber: string;
138
+ courseId: string;
139
139
  maxEnrollment: number;
140
140
  createdBy?: string | undefined;
141
141
  updatedBy?: string | undefined;
@@ -161,9 +161,9 @@ export declare const sectionResponseSchema: z.ZodObject<{
161
161
  academicYearId: string;
162
162
  currentEnrollment: number;
163
163
  primaryTeacherId: string;
164
- courseId: string;
165
164
  sectionId: string;
166
165
  sectionNumber: string;
166
+ courseId: string;
167
167
  maxEnrollment: number;
168
168
  createdBy?: string | undefined;
169
169
  updatedBy?: string | undefined;
@@ -220,9 +220,9 @@ export declare const sectionListResponseSchema: z.ZodObject<{
220
220
  academicYearId: string;
221
221
  currentEnrollment: number;
222
222
  primaryTeacherId: string;
223
- courseId: string;
224
223
  sectionId: string;
225
224
  sectionNumber: string;
225
+ courseId: string;
226
226
  maxEnrollment: number;
227
227
  createdBy?: string | undefined;
228
228
  updatedBy?: string | undefined;
@@ -248,9 +248,9 @@ export declare const sectionListResponseSchema: z.ZodObject<{
248
248
  academicYearId: string;
249
249
  currentEnrollment: number;
250
250
  primaryTeacherId: string;
251
- courseId: string;
252
251
  sectionId: string;
253
252
  sectionNumber: string;
253
+ courseId: string;
254
254
  maxEnrollment: number;
255
255
  createdBy?: string | undefined;
256
256
  updatedBy?: string | undefined;
@@ -281,9 +281,9 @@ export declare const sectionListResponseSchema: z.ZodObject<{
281
281
  academicYearId: string;
282
282
  currentEnrollment: number;
283
283
  primaryTeacherId: string;
284
- courseId: string;
285
284
  sectionId: string;
286
285
  sectionNumber: string;
286
+ courseId: string;
287
287
  maxEnrollment: number;
288
288
  createdBy?: string | undefined;
289
289
  updatedBy?: string | undefined;
@@ -314,9 +314,9 @@ export declare const sectionListResponseSchema: z.ZodObject<{
314
314
  academicYearId: string;
315
315
  currentEnrollment: number;
316
316
  primaryTeacherId: string;
317
- courseId: string;
318
317
  sectionId: string;
319
318
  sectionNumber: string;
319
+ courseId: string;
320
320
  maxEnrollment: number;
321
321
  createdBy?: string | undefined;
322
322
  updatedBy?: string | undefined;
@@ -441,8 +441,8 @@ export declare const sectionRosterResponseSchema: z.ZodObject<{
441
441
  enrolledBy?: string | undefined;
442
442
  }[];
443
443
  totalCount: number;
444
- courseName?: string | undefined;
445
444
  sectionNumber?: string | undefined;
445
+ courseName?: string | undefined;
446
446
  }, {
447
447
  sectionId: string;
448
448
  students: {
@@ -455,8 +455,8 @@ export declare const sectionRosterResponseSchema: z.ZodObject<{
455
455
  enrolledBy?: string | undefined;
456
456
  }[];
457
457
  totalCount: number;
458
- courseName?: string | undefined;
459
458
  sectionNumber?: string | undefined;
459
+ courseName?: string | undefined;
460
460
  }>;
461
461
  export type SectionRosterResponseDto = z.infer<typeof sectionRosterResponseSchema>;
462
462
  //# sourceMappingURL=course-section.schema.d.ts.map
@@ -419,8 +419,8 @@ export declare const courseResponseSchema: z.ZodObject<{
419
419
  subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
420
420
  courseCode: string;
421
421
  credits: number;
422
- courseId: string;
423
422
  courseName: string;
423
+ courseId: string;
424
424
  courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
425
425
  typicalDuration: "semester" | "quarter" | "trimester" | "year";
426
426
  createdBy?: string | undefined;
@@ -460,8 +460,8 @@ export declare const courseResponseSchema: z.ZodObject<{
460
460
  subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
461
461
  courseCode: string;
462
462
  credits: number;
463
- courseId: string;
464
463
  courseName: string;
464
+ courseId: string;
465
465
  courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
466
466
  typicalDuration: "semester" | "quarter" | "trimester" | "year";
467
467
  createdBy?: string | undefined;
@@ -573,8 +573,8 @@ export declare const courseListResponseSchema: z.ZodObject<{
573
573
  subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
574
574
  courseCode: string;
575
575
  credits: number;
576
- courseId: string;
577
576
  courseName: string;
577
+ courseId: string;
578
578
  courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
579
579
  typicalDuration: "semester" | "quarter" | "trimester" | "year";
580
580
  createdBy?: string | undefined;
@@ -614,8 +614,8 @@ export declare const courseListResponseSchema: z.ZodObject<{
614
614
  subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
615
615
  courseCode: string;
616
616
  credits: number;
617
- courseId: string;
618
617
  courseName: string;
618
+ courseId: string;
619
619
  courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
620
620
  typicalDuration: "semester" | "quarter" | "trimester" | "year";
621
621
  createdBy?: string | undefined;
@@ -660,8 +660,8 @@ export declare const courseListResponseSchema: z.ZodObject<{
660
660
  subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
661
661
  courseCode: string;
662
662
  credits: number;
663
- courseId: string;
664
663
  courseName: string;
664
+ courseId: string;
665
665
  courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
666
666
  typicalDuration: "semester" | "quarter" | "trimester" | "year";
667
667
  createdBy?: string | undefined;
@@ -706,8 +706,8 @@ export declare const courseListResponseSchema: z.ZodObject<{
706
706
  subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
707
707
  courseCode: string;
708
708
  credits: number;
709
- courseId: string;
710
709
  courseName: string;
710
+ courseId: string;
711
711
  courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
712
712
  typicalDuration: "semester" | "quarter" | "trimester" | "year";
713
713
  createdBy?: string | undefined;
@@ -808,6 +808,7 @@ export declare const studentGradeSummarySchema: z.ZodObject<{
808
808
  assignmentsTotal: number;
809
809
  missingAssignments: number;
810
810
  lateAssignments: number;
811
+ trend?: "improving" | "declining" | "stable" | undefined;
811
812
  letterGrade?: string | undefined;
812
813
  currentGrade?: number | undefined;
813
814
  categoryGrades?: {
@@ -820,7 +821,6 @@ export declare const studentGradeSummarySchema: z.ZodObject<{
820
821
  assignmentCount: number;
821
822
  percentage?: number | undefined;
822
823
  }[] | undefined;
823
- trend?: "improving" | "declining" | "stable" | undefined;
824
824
  previousGrade?: number | undefined;
825
825
  }, {
826
826
  studentId: string;
@@ -831,6 +831,7 @@ export declare const studentGradeSummarySchema: z.ZodObject<{
831
831
  assignmentsTotal: number;
832
832
  missingAssignments: number;
833
833
  lateAssignments: number;
834
+ trend?: "improving" | "declining" | "stable" | undefined;
834
835
  letterGrade?: string | undefined;
835
836
  currentGrade?: number | undefined;
836
837
  categoryGrades?: {
@@ -843,7 +844,6 @@ export declare const studentGradeSummarySchema: z.ZodObject<{
843
844
  assignmentCount: number;
844
845
  percentage?: number | undefined;
845
846
  }[] | undefined;
846
- trend?: "improving" | "declining" | "stable" | undefined;
847
847
  previousGrade?: number | undefined;
848
848
  }>;
849
849
  export type StudentGradeSummaryDto = z.infer<typeof studentGradeSummarySchema>;
@@ -1138,6 +1138,8 @@ export declare const courseGradeResponseSchema: z.ZodObject<{
1138
1138
  }[] | undefined;
1139
1139
  credits?: number | undefined;
1140
1140
  studentName?: string | undefined;
1141
+ sectionId?: string | undefined;
1142
+ courseName?: string | undefined;
1141
1143
  letterGrade?: string | undefined;
1142
1144
  categoryGrades?: {
1143
1145
  percentage: number;
@@ -1149,8 +1151,6 @@ export declare const courseGradeResponseSchema: z.ZodObject<{
1149
1151
  letterGrade?: string | undefined;
1150
1152
  }[] | undefined;
1151
1153
  gpaPoints?: number | undefined;
1152
- courseName?: string | undefined;
1153
- sectionId?: string | undefined;
1154
1154
  numericGrade?: number | undefined;
1155
1155
  isPassFail?: boolean | undefined;
1156
1156
  isPassing?: boolean | undefined;
@@ -1191,6 +1191,8 @@ export declare const courseGradeResponseSchema: z.ZodObject<{
1191
1191
  }[] | undefined;
1192
1192
  credits?: number | undefined;
1193
1193
  studentName?: string | undefined;
1194
+ sectionId?: string | undefined;
1195
+ courseName?: string | undefined;
1194
1196
  letterGrade?: string | undefined;
1195
1197
  categoryGrades?: {
1196
1198
  percentage: number;
@@ -1202,8 +1204,6 @@ export declare const courseGradeResponseSchema: z.ZodObject<{
1202
1204
  letterGrade?: string | undefined;
1203
1205
  }[] | undefined;
1204
1206
  gpaPoints?: number | undefined;
1205
- courseName?: string | undefined;
1206
- sectionId?: string | undefined;
1207
1207
  numericGrade?: number | undefined;
1208
1208
  isPassFail?: boolean | undefined;
1209
1209
  isPassing?: boolean | undefined;
@@ -1287,8 +1287,8 @@ export declare const recordAssignmentGradeSchema: z.ZodObject<{
1287
1287
  };
1288
1288
  courseId: string;
1289
1289
  studentName?: string | undefined;
1290
- courseName?: string | undefined;
1291
1290
  sectionId?: string | undefined;
1291
+ courseName?: string | undefined;
1292
1292
  }, {
1293
1293
  schoolId: string;
1294
1294
  termId: string;
@@ -1311,8 +1311,8 @@ export declare const recordAssignmentGradeSchema: z.ZodObject<{
1311
1311
  };
1312
1312
  courseId: string;
1313
1313
  studentName?: string | undefined;
1314
- courseName?: string | undefined;
1315
1314
  sectionId?: string | undefined;
1315
+ courseName?: string | undefined;
1316
1316
  }>;
1317
1317
  export type RecordAssignmentGradeDto = z.infer<typeof recordAssignmentGradeSchema>;
1318
1318
  /**
@@ -1389,6 +1389,7 @@ export declare const bulkRecordGradeSchema: z.ZodObject<{
1389
1389
  }[];
1390
1390
  academicYearId: string;
1391
1391
  teacherId: string;
1392
+ sectionId: string;
1392
1393
  assignment: {
1393
1394
  assignmentName: string;
1394
1395
  possiblePoints: number;
@@ -1400,7 +1401,6 @@ export declare const bulkRecordGradeSchema: z.ZodObject<{
1400
1401
  dueDate?: string | undefined;
1401
1402
  };
1402
1403
  courseId: string;
1403
- sectionId: string;
1404
1404
  courseName?: string | undefined;
1405
1405
  }, {
1406
1406
  schoolId: string;
@@ -1415,6 +1415,7 @@ export declare const bulkRecordGradeSchema: z.ZodObject<{
1415
1415
  }[];
1416
1416
  academicYearId: string;
1417
1417
  teacherId: string;
1418
+ sectionId: string;
1418
1419
  assignment: {
1419
1420
  assignmentName: string;
1420
1421
  possiblePoints: number;
@@ -1426,7 +1427,6 @@ export declare const bulkRecordGradeSchema: z.ZodObject<{
1426
1427
  dueDate?: string | undefined;
1427
1428
  };
1428
1429
  courseId: string;
1429
- sectionId: string;
1430
1430
  courseName?: string | undefined;
1431
1431
  }>;
1432
1432
  export type BulkRecordGradeDto = z.infer<typeof bulkRecordGradeSchema>;
@@ -1459,16 +1459,16 @@ export declare const gradeOverviewResponseSchema: z.ZodObject<{
1459
1459
  passRate: z.ZodNumber;
1460
1460
  }, "strip", z.ZodTypeAny, {
1461
1461
  studentCount: number;
1462
- courseId: string;
1463
1462
  courseName: string;
1463
+ courseId: string;
1464
1464
  passRate: number;
1465
1465
  sectionCount: number;
1466
1466
  avgGrade: number;
1467
1467
  avgGpa: number;
1468
1468
  }, {
1469
1469
  studentCount: number;
1470
- courseId: string;
1471
1470
  courseName: string;
1471
+ courseId: string;
1472
1472
  passRate: number;
1473
1473
  sectionCount: number;
1474
1474
  avgGrade: number;
@@ -1484,16 +1484,16 @@ export declare const gradeOverviewResponseSchema: z.ZodObject<{
1484
1484
  }, "strip", z.ZodTypeAny, {
1485
1485
  studentId: string;
1486
1486
  studentName: string;
1487
+ courseName: string;
1487
1488
  letterGrade: string | null;
1488
1489
  courseId: string;
1489
- courseName: string;
1490
1490
  numericGrade: number;
1491
1491
  }, {
1492
1492
  studentId: string;
1493
1493
  studentName: string;
1494
+ courseName: string;
1494
1495
  letterGrade: string | null;
1495
1496
  courseId: string;
1496
- courseName: string;
1497
1497
  numericGrade: number;
1498
1498
  }>, "many">;
1499
1499
  totalSections: z.ZodNumber;
@@ -1589,6 +1589,15 @@ export declare const gradeOverviewResponseSchema: z.ZodObject<{
1589
1589
  avgScore: number;
1590
1590
  }>, "many">>;
1591
1591
  }, "strip", z.ZodTypeAny, {
1592
+ totalSections: number;
1593
+ atRiskStudents: {
1594
+ studentId: string;
1595
+ studentName: string;
1596
+ courseName: string;
1597
+ letterGrade: string | null;
1598
+ courseId: string;
1599
+ numericGrade: number;
1600
+ }[];
1592
1601
  totalStudentsGraded: number;
1593
1602
  averageGpa: number;
1594
1603
  averageGrade: number;
@@ -1600,22 +1609,13 @@ export declare const gradeOverviewResponseSchema: z.ZodObject<{
1600
1609
  }[];
1601
1610
  coursePerformance: {
1602
1611
  studentCount: number;
1603
- courseId: string;
1604
1612
  courseName: string;
1613
+ courseId: string;
1605
1614
  passRate: number;
1606
1615
  sectionCount: number;
1607
1616
  avgGrade: number;
1608
1617
  avgGpa: number;
1609
1618
  }[];
1610
- atRiskStudents: {
1611
- studentId: string;
1612
- studentName: string;
1613
- letterGrade: string | null;
1614
- courseId: string;
1615
- courseName: string;
1616
- numericGrade: number;
1617
- }[];
1618
- totalSections: number;
1619
1619
  sectionsWithGrades: number;
1620
1620
  assessmentBreakdown?: {
1621
1621
  formative: {
@@ -1644,6 +1644,15 @@ export declare const gradeOverviewResponseSchema: z.ZodObject<{
1644
1644
  avgScore: number;
1645
1645
  }[] | undefined;
1646
1646
  }, {
1647
+ totalSections: number;
1648
+ atRiskStudents: {
1649
+ studentId: string;
1650
+ studentName: string;
1651
+ courseName: string;
1652
+ letterGrade: string | null;
1653
+ courseId: string;
1654
+ numericGrade: number;
1655
+ }[];
1647
1656
  totalStudentsGraded: number;
1648
1657
  averageGpa: number;
1649
1658
  averageGrade: number;
@@ -1655,22 +1664,13 @@ export declare const gradeOverviewResponseSchema: z.ZodObject<{
1655
1664
  }[];
1656
1665
  coursePerformance: {
1657
1666
  studentCount: number;
1658
- courseId: string;
1659
1667
  courseName: string;
1668
+ courseId: string;
1660
1669
  passRate: number;
1661
1670
  sectionCount: number;
1662
1671
  avgGrade: number;
1663
1672
  avgGpa: number;
1664
1673
  }[];
1665
- atRiskStudents: {
1666
- studentId: string;
1667
- studentName: string;
1668
- letterGrade: string | null;
1669
- courseId: string;
1670
- courseName: string;
1671
- numericGrade: number;
1672
- }[];
1673
- totalSections: number;
1674
1674
  sectionsWithGrades: number;
1675
1675
  assessmentBreakdown?: {
1676
1676
  formative: {
@@ -1894,6 +1894,8 @@ export declare const sectionGradebookResponseSchema: z.ZodObject<{
1894
1894
  }[] | undefined;
1895
1895
  credits?: number | undefined;
1896
1896
  studentName?: string | undefined;
1897
+ sectionId?: string | undefined;
1898
+ courseName?: string | undefined;
1897
1899
  letterGrade?: string | undefined;
1898
1900
  categoryGrades?: {
1899
1901
  percentage: number;
@@ -1905,8 +1907,6 @@ export declare const sectionGradebookResponseSchema: z.ZodObject<{
1905
1907
  letterGrade?: string | undefined;
1906
1908
  }[] | undefined;
1907
1909
  gpaPoints?: number | undefined;
1908
- courseName?: string | undefined;
1909
- sectionId?: string | undefined;
1910
1910
  numericGrade?: number | undefined;
1911
1911
  isPassFail?: boolean | undefined;
1912
1912
  isPassing?: boolean | undefined;
@@ -1947,6 +1947,8 @@ export declare const sectionGradebookResponseSchema: z.ZodObject<{
1947
1947
  }[] | undefined;
1948
1948
  credits?: number | undefined;
1949
1949
  studentName?: string | undefined;
1950
+ sectionId?: string | undefined;
1951
+ courseName?: string | undefined;
1950
1952
  letterGrade?: string | undefined;
1951
1953
  categoryGrades?: {
1952
1954
  percentage: number;
@@ -1958,8 +1960,6 @@ export declare const sectionGradebookResponseSchema: z.ZodObject<{
1958
1960
  letterGrade?: string | undefined;
1959
1961
  }[] | undefined;
1960
1962
  gpaPoints?: number | undefined;
1961
- courseName?: string | undefined;
1962
- sectionId?: string | undefined;
1963
1963
  numericGrade?: number | undefined;
1964
1964
  isPassFail?: boolean | undefined;
1965
1965
  isPassing?: boolean | undefined;
@@ -2003,6 +2003,8 @@ export declare const sectionGradebookResponseSchema: z.ZodObject<{
2003
2003
  }[] | undefined;
2004
2004
  credits?: number | undefined;
2005
2005
  studentName?: string | undefined;
2006
+ sectionId?: string | undefined;
2007
+ courseName?: string | undefined;
2006
2008
  letterGrade?: string | undefined;
2007
2009
  categoryGrades?: {
2008
2010
  percentage: number;
@@ -2014,8 +2016,6 @@ export declare const sectionGradebookResponseSchema: z.ZodObject<{
2014
2016
  letterGrade?: string | undefined;
2015
2017
  }[] | undefined;
2016
2018
  gpaPoints?: number | undefined;
2017
- courseName?: string | undefined;
2018
- sectionId?: string | undefined;
2019
2019
  numericGrade?: number | undefined;
2020
2020
  isPassFail?: boolean | undefined;
2021
2021
  isPassing?: boolean | undefined;
@@ -2060,6 +2060,8 @@ export declare const sectionGradebookResponseSchema: z.ZodObject<{
2060
2060
  }[] | undefined;
2061
2061
  credits?: number | undefined;
2062
2062
  studentName?: string | undefined;
2063
+ sectionId?: string | undefined;
2064
+ courseName?: string | undefined;
2063
2065
  letterGrade?: string | undefined;
2064
2066
  categoryGrades?: {
2065
2067
  percentage: number;
@@ -2071,8 +2073,6 @@ export declare const sectionGradebookResponseSchema: z.ZodObject<{
2071
2073
  letterGrade?: string | undefined;
2072
2074
  }[] | undefined;
2073
2075
  gpaPoints?: number | undefined;
2074
- courseName?: string | undefined;
2075
- sectionId?: string | undefined;
2076
2076
  numericGrade?: number | undefined;
2077
2077
  isPassFail?: boolean | undefined;
2078
2078
  isPassing?: boolean | undefined;
@@ -2228,6 +2228,8 @@ export declare const studentGradesResponseSchema: z.ZodObject<{
2228
2228
  }[] | undefined;
2229
2229
  credits?: number | undefined;
2230
2230
  studentName?: string | undefined;
2231
+ sectionId?: string | undefined;
2232
+ courseName?: string | undefined;
2231
2233
  letterGrade?: string | undefined;
2232
2234
  categoryGrades?: {
2233
2235
  percentage: number;
@@ -2239,8 +2241,6 @@ export declare const studentGradesResponseSchema: z.ZodObject<{
2239
2241
  letterGrade?: string | undefined;
2240
2242
  }[] | undefined;
2241
2243
  gpaPoints?: number | undefined;
2242
- courseName?: string | undefined;
2243
- sectionId?: string | undefined;
2244
2244
  numericGrade?: number | undefined;
2245
2245
  isPassFail?: boolean | undefined;
2246
2246
  isPassing?: boolean | undefined;
@@ -2281,6 +2281,8 @@ export declare const studentGradesResponseSchema: z.ZodObject<{
2281
2281
  }[] | undefined;
2282
2282
  credits?: number | undefined;
2283
2283
  studentName?: string | undefined;
2284
+ sectionId?: string | undefined;
2285
+ courseName?: string | undefined;
2284
2286
  letterGrade?: string | undefined;
2285
2287
  categoryGrades?: {
2286
2288
  percentage: number;
@@ -2292,8 +2294,6 @@ export declare const studentGradesResponseSchema: z.ZodObject<{
2292
2294
  letterGrade?: string | undefined;
2293
2295
  }[] | undefined;
2294
2296
  gpaPoints?: number | undefined;
2295
- courseName?: string | undefined;
2296
- sectionId?: string | undefined;
2297
2297
  numericGrade?: number | undefined;
2298
2298
  isPassFail?: boolean | undefined;
2299
2299
  isPassing?: boolean | undefined;
@@ -2349,6 +2349,8 @@ export declare const studentGradesResponseSchema: z.ZodObject<{
2349
2349
  }[] | undefined;
2350
2350
  credits?: number | undefined;
2351
2351
  studentName?: string | undefined;
2352
+ sectionId?: string | undefined;
2353
+ courseName?: string | undefined;
2352
2354
  letterGrade?: string | undefined;
2353
2355
  categoryGrades?: {
2354
2356
  percentage: number;
@@ -2360,8 +2362,6 @@ export declare const studentGradesResponseSchema: z.ZodObject<{
2360
2362
  letterGrade?: string | undefined;
2361
2363
  }[] | undefined;
2362
2364
  gpaPoints?: number | undefined;
2363
- courseName?: string | undefined;
2364
- sectionId?: string | undefined;
2365
2365
  numericGrade?: number | undefined;
2366
2366
  isPassFail?: boolean | undefined;
2367
2367
  isPassing?: boolean | undefined;
@@ -2410,6 +2410,8 @@ export declare const studentGradesResponseSchema: z.ZodObject<{
2410
2410
  }[] | undefined;
2411
2411
  credits?: number | undefined;
2412
2412
  studentName?: string | undefined;
2413
+ sectionId?: string | undefined;
2414
+ courseName?: string | undefined;
2413
2415
  letterGrade?: string | undefined;
2414
2416
  categoryGrades?: {
2415
2417
  percentage: number;
@@ -2421,8 +2423,6 @@ export declare const studentGradesResponseSchema: z.ZodObject<{
2421
2423
  letterGrade?: string | undefined;
2422
2424
  }[] | undefined;
2423
2425
  gpaPoints?: number | undefined;
2424
- courseName?: string | undefined;
2425
- sectionId?: string | undefined;
2426
2426
  numericGrade?: number | undefined;
2427
2427
  isPassFail?: boolean | undefined;
2428
2428
  isPassing?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibrains/shared-types",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Shared Zod schemas, TypeScript types, and validators for Education data models.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",