@eeplatform/basic-edu 1.3.0 → 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,17 @@
1
1
  # @eeplatform/basic-edu
2
2
 
3
+ ## 1.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e594e5c: Division mgmt - revise name update
8
+
9
+ ## 1.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - cdc678a: Update dependencies
14
+
3
15
  ## 1.3.0
4
16
 
5
17
  ### Minor 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(): {
@@ -469,8 +470,10 @@ type TSchool = {
469
470
  principalName?: string;
470
471
  street?: string;
471
472
  barangay?: string;
472
- city?: string;
473
+ cityMunicipality?: string;
473
474
  province?: string;
475
+ provincePSGC?: number;
476
+ cityMunicipalityPSGC?: number;
474
477
  postalCode?: string;
475
478
  contactNumber?: string;
476
479
  email?: string;
@@ -510,6 +513,7 @@ declare function useSchoolRepo(): {
510
513
  deleteById: (_id: string | ObjectId) => Promise<string>;
511
514
  getByName: (name: string) => Promise<TSchool>;
512
515
  delCachedData: () => void;
516
+ updateDivisionNameByDivision: (division: string | ObjectId, name: string, session?: ClientSession) => Promise<string>;
513
517
  };
514
518
 
515
519
  declare function useSchoolService(): {