@eeplatform/basic-edu 1.10.5 → 1.10.7
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/CHANGELOG.md +13 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2284 -2271
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2295 -2282
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @eeplatform/basic-edu
|
|
2
2
|
|
|
3
|
+
## 1.10.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6ea7dc0: Section management - fix, removed section subject generation
|
|
8
|
+
- d4e399c: Section management - fix section generation
|
|
9
|
+
|
|
10
|
+
## 1.10.6
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 3a09cd5: Enrollment management - fix update status
|
|
15
|
+
|
|
3
16
|
## 1.10.5
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1045,6 +1045,7 @@ declare function useSectionRepo(): {
|
|
|
1045
1045
|
addStudentToSection: (_id: string | ObjectId, studentId: string, session?: ClientSession) => Promise<string>;
|
|
1046
1046
|
removeStudentFromSection: (_id: string | ObjectId, studentId: string, session?: ClientSession) => Promise<string>;
|
|
1047
1047
|
deleteById: (_id: string | ObjectId) => Promise<string>;
|
|
1048
|
+
updateSizeById: (_id: string | ObjectId, size: number, session?: ClientSession) => Promise<string>;
|
|
1048
1049
|
};
|
|
1049
1050
|
|
|
1050
1051
|
declare function useSectionController(): {
|
|
@@ -1067,6 +1068,7 @@ type TSectionStudent = {
|
|
|
1067
1068
|
school: ObjectId | string;
|
|
1068
1069
|
schoolName?: string;
|
|
1069
1070
|
section: ObjectId | string;
|
|
1071
|
+
sectionName?: string;
|
|
1070
1072
|
student: string | ObjectId;
|
|
1071
1073
|
studentName: string;
|
|
1072
1074
|
gradeLevel?: string;
|
|
@@ -1100,6 +1102,10 @@ declare function useSectionStudentRepo(): {
|
|
|
1100
1102
|
gradeLevel?: string;
|
|
1101
1103
|
student: string | ObjectId;
|
|
1102
1104
|
}) => Promise<mongodb.WithId<bson.Document> | TSectionStudent | null>;
|
|
1105
|
+
updateSectionById: (_id: ObjectId | string, options: {
|
|
1106
|
+
section: string | ObjectId;
|
|
1107
|
+
sectionName: string;
|
|
1108
|
+
}, session?: ClientSession) => Promise<string>;
|
|
1103
1109
|
};
|
|
1104
1110
|
|
|
1105
1111
|
declare function useSectionStudentController(): {
|