@eeplatform/basic-edu 1.10.26 → 1.10.28
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 +9 -20
- package/dist/index.js +8978 -9351
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9152 -9525
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @eeplatform/basic-edu
|
|
2
2
|
|
|
3
|
+
## 1.10.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 930f525: Remove generateEnrollmentData; update model
|
|
8
|
+
|
|
9
|
+
## 1.10.27
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 3d7ecf7: Relax enrollment contact validation rules
|
|
14
|
+
|
|
3
15
|
## 1.10.26
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -262,7 +262,14 @@ type TLearnerInfo = {
|
|
|
262
262
|
birthDate: string;
|
|
263
263
|
sex: string;
|
|
264
264
|
age: number;
|
|
265
|
-
placeOfBirth:
|
|
265
|
+
placeOfBirth: {
|
|
266
|
+
region: string;
|
|
267
|
+
regionName: string;
|
|
268
|
+
province: string;
|
|
269
|
+
provinceName: string;
|
|
270
|
+
cityMunicipality: string;
|
|
271
|
+
cityMunicipalityName: string;
|
|
272
|
+
};
|
|
266
273
|
motherTongue?: string;
|
|
267
274
|
fourPsHouseholdId?: string;
|
|
268
275
|
indigenousCommunity?: string;
|
|
@@ -368,7 +375,7 @@ declare function useEnrollmentRepo(): {
|
|
|
368
375
|
pages: number;
|
|
369
376
|
pageRange: string;
|
|
370
377
|
}>;
|
|
371
|
-
getByApplicantInfo: ({ school, schoolYear, gradeLevel, firstName, lastName, middleName, birthDate,
|
|
378
|
+
getByApplicantInfo: ({ school, schoolYear, gradeLevel, firstName, lastName, middleName, birthDate, }?: {
|
|
372
379
|
school?: string | undefined;
|
|
373
380
|
schoolYear?: string | undefined;
|
|
374
381
|
gradeLevel?: string | undefined;
|
|
@@ -376,7 +383,6 @@ declare function useEnrollmentRepo(): {
|
|
|
376
383
|
lastName?: string | undefined;
|
|
377
384
|
middleName?: string | undefined;
|
|
378
385
|
birthDate?: string | undefined;
|
|
379
|
-
placeOfBirth?: string | undefined;
|
|
380
386
|
}) => Promise<{
|
|
381
387
|
accepted: boolean;
|
|
382
388
|
length: number;
|
|
@@ -393,22 +399,6 @@ declare function useEnrollmentService(): {
|
|
|
393
399
|
}>;
|
|
394
400
|
updateStatusById: (_id: string, status: string) => Promise<string>;
|
|
395
401
|
updateStatusWithId: (_id: string, status: string) => Promise<string>;
|
|
396
|
-
generateEnrollmentData: (payload: {
|
|
397
|
-
school: string;
|
|
398
|
-
schoolYear: string;
|
|
399
|
-
gradeLevel: string;
|
|
400
|
-
specialProgram?: string;
|
|
401
|
-
numberOfApplications: number;
|
|
402
|
-
track?: string;
|
|
403
|
-
strand?: string;
|
|
404
|
-
}) => Promise<{
|
|
405
|
-
message: string;
|
|
406
|
-
createdEnrollments: {
|
|
407
|
-
message: string;
|
|
408
|
-
id: bson.ObjectId;
|
|
409
|
-
}[];
|
|
410
|
-
totalCreated: number;
|
|
411
|
-
}>;
|
|
412
402
|
};
|
|
413
403
|
|
|
414
404
|
declare function useEnrollmentController(): {
|
|
@@ -416,7 +406,6 @@ declare function useEnrollmentController(): {
|
|
|
416
406
|
getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
417
407
|
updateStatusById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
418
408
|
updateStatusWithId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
419
|
-
generateEnrollmentData: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
420
409
|
};
|
|
421
410
|
|
|
422
411
|
type TGradeLevel = {
|