@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 +12 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +470 -371
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +435 -331
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
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
|
|
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
|
-
|
|
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(): {
|