@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 +6 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +436 -377
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +395 -336
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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(): {
|
|
@@ -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(): {
|