@eeplatform/basic-edu 1.3.1 → 1.3.3

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,17 @@
1
1
  # @eeplatform/basic-edu
2
2
 
3
+ ## 1.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 9b4cca8: Update dependencies
8
+
9
+ ## 1.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - e594e5c: Division mgmt - revise name update
14
+
3
15
  ## 1.3.1
4
16
 
5
17
  ### 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(): {
@@ -471,8 +472,8 @@ type TSchool = {
471
472
  barangay?: string;
472
473
  cityMunicipality?: string;
473
474
  province?: string;
474
- provincePSGC?: number;
475
- cityMunicipalityPSGC?: number;
475
+ provincePSGC?: string;
476
+ cityMunicipalityPSGC?: string;
476
477
  postalCode?: string;
477
478
  contactNumber?: string;
478
479
  email?: string;
@@ -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(): {