@eeplatform/basic-edu 1.10.27 → 1.10.29
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 +21 -20
- package/dist/index.js +9009 -9326
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9186 -9503
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -246,6 +246,7 @@ type TEnrollment = TLearner & {
|
|
|
246
246
|
applyToSpecialProgram?: boolean;
|
|
247
247
|
specialProgram?: string | ObjectId;
|
|
248
248
|
specialProgramName?: string;
|
|
249
|
+
specialProgramMajor?: string;
|
|
249
250
|
gwa?: number;
|
|
250
251
|
subjects?: {
|
|
251
252
|
title: string;
|
|
@@ -262,7 +263,14 @@ type TLearnerInfo = {
|
|
|
262
263
|
birthDate: string;
|
|
263
264
|
sex: string;
|
|
264
265
|
age: number;
|
|
265
|
-
placeOfBirth:
|
|
266
|
+
placeOfBirth: {
|
|
267
|
+
region: string;
|
|
268
|
+
regionName: string;
|
|
269
|
+
province: string;
|
|
270
|
+
provinceName: string;
|
|
271
|
+
cityMunicipality: string;
|
|
272
|
+
cityMunicipalityName: string;
|
|
273
|
+
};
|
|
266
274
|
motherTongue?: string;
|
|
267
275
|
fourPsHouseholdId?: string;
|
|
268
276
|
indigenousCommunity?: string;
|
|
@@ -291,8 +299,13 @@ type TAddress = {
|
|
|
291
299
|
streetName?: string;
|
|
292
300
|
sitio?: string;
|
|
293
301
|
barangay: string;
|
|
302
|
+
barangayName?: string;
|
|
294
303
|
municipalityCity: string;
|
|
304
|
+
municipalityCityName?: string;
|
|
295
305
|
province: string;
|
|
306
|
+
provinceName?: string;
|
|
307
|
+
region?: string;
|
|
308
|
+
regionName?: string;
|
|
296
309
|
country?: string;
|
|
297
310
|
zipCode?: string;
|
|
298
311
|
};
|
|
@@ -327,6 +340,7 @@ declare function MLearner(value: TEnrollment): {
|
|
|
327
340
|
gradeLevel: string;
|
|
328
341
|
specialProgram: string | ObjectId | undefined;
|
|
329
342
|
specialProgramName: string;
|
|
343
|
+
specialProgramMajor: string;
|
|
330
344
|
gwa: number;
|
|
331
345
|
subjects: {
|
|
332
346
|
title: string;
|
|
@@ -368,7 +382,7 @@ declare function useEnrollmentRepo(): {
|
|
|
368
382
|
pages: number;
|
|
369
383
|
pageRange: string;
|
|
370
384
|
}>;
|
|
371
|
-
getByApplicantInfo: ({ school, schoolYear, gradeLevel, firstName, lastName, middleName, birthDate,
|
|
385
|
+
getByApplicantInfo: ({ school, schoolYear, gradeLevel, firstName, lastName, middleName, birthDate, }?: {
|
|
372
386
|
school?: string | undefined;
|
|
373
387
|
schoolYear?: string | undefined;
|
|
374
388
|
gradeLevel?: string | undefined;
|
|
@@ -376,7 +390,6 @@ declare function useEnrollmentRepo(): {
|
|
|
376
390
|
lastName?: string | undefined;
|
|
377
391
|
middleName?: string | undefined;
|
|
378
392
|
birthDate?: string | undefined;
|
|
379
|
-
placeOfBirth?: string | undefined;
|
|
380
393
|
}) => Promise<{
|
|
381
394
|
accepted: boolean;
|
|
382
395
|
length: number;
|
|
@@ -393,22 +406,6 @@ declare function useEnrollmentService(): {
|
|
|
393
406
|
}>;
|
|
394
407
|
updateStatusById: (_id: string, status: string) => Promise<string>;
|
|
395
408
|
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
409
|
};
|
|
413
410
|
|
|
414
411
|
declare function useEnrollmentController(): {
|
|
@@ -416,7 +413,6 @@ declare function useEnrollmentController(): {
|
|
|
416
413
|
getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
417
414
|
updateStatusById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
418
415
|
updateStatusWithId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
419
|
-
generateEnrollmentData: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
420
416
|
};
|
|
421
417
|
|
|
422
418
|
type TGradeLevel = {
|
|
@@ -1622,6 +1618,10 @@ type TProgram = {
|
|
|
1622
1618
|
title: string;
|
|
1623
1619
|
grade: number;
|
|
1624
1620
|
}[];
|
|
1621
|
+
majors?: {
|
|
1622
|
+
title: string;
|
|
1623
|
+
value: string;
|
|
1624
|
+
}[];
|
|
1625
1625
|
description?: string;
|
|
1626
1626
|
status: string;
|
|
1627
1627
|
createdAt?: string | Date;
|
|
@@ -1679,6 +1679,7 @@ type TProgramScreening = {
|
|
|
1679
1679
|
specialProgram: string | ObjectId;
|
|
1680
1680
|
specialProgramName?: string;
|
|
1681
1681
|
specialProgramCode?: string;
|
|
1682
|
+
specialProgramMajor?: string;
|
|
1682
1683
|
applicant: string | ObjectId;
|
|
1683
1684
|
applicantName?: string;
|
|
1684
1685
|
gwa?: number;
|