@eeplatform/basic-edu 1.3.1 → 1.3.2

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eeplatform/basic-edu
2
2
 
3
+ ## 1.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e594e5c: Division mgmt - revise name update
8
+
3
9
  ## 1.3.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -403,7 +403,7 @@ declare function useRegionController(): {
403
403
 
404
404
  type TDivision = {
405
405
  _id?: ObjectId;
406
- name?: string;
406
+ name: string;
407
407
  region?: ObjectId;
408
408
  regionName?: string;
409
409
  superintendent?: ObjectId;
@@ -445,6 +445,7 @@ declare function useDivisionRepo(): {
445
445
 
446
446
  declare function useDivisionService(): {
447
447
  add: (value: TDivision) => Promise<string>;
448
+ updateById: (id: string, value: TDivision) => Promise<string>;
448
449
  };
449
450
 
450
451
  declare function useDivisionController(): {
@@ -512,6 +513,7 @@ declare function useSchoolRepo(): {
512
513
  deleteById: (_id: string | ObjectId) => Promise<string>;
513
514
  getByName: (name: string) => Promise<TSchool>;
514
515
  delCachedData: () => void;
516
+ updateDivisionNameByDivision: (division: string | ObjectId, name: string, session?: ClientSession) => Promise<string>;
515
517
  };
516
518
 
517
519
  declare function useSchoolService(): {