@eeplatform/basic-edu 1.3.10 → 1.3.11
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 +51 -35
- package/dist/index.js +586 -484
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +586 -484
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -81,19 +81,26 @@ declare function useCurriculumController(): {
|
|
|
81
81
|
|
|
82
82
|
type BasicEducEnrForm = {
|
|
83
83
|
_id?: ObjectId;
|
|
84
|
-
region:
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
region: string;
|
|
85
|
+
regionName?: string;
|
|
86
|
+
province?: string;
|
|
87
|
+
cityMunicipality: string;
|
|
88
|
+
division: string;
|
|
89
|
+
divisionName?: string;
|
|
90
|
+
school: string;
|
|
91
|
+
schoolName?: string;
|
|
87
92
|
schoolYear: string;
|
|
88
|
-
|
|
93
|
+
gradeLevel: string;
|
|
94
|
+
returningLearner: boolean;
|
|
89
95
|
learnerInfo: EnrLearnerInfo;
|
|
90
96
|
parentGuardianInfo: EnrParentGuardianInfo;
|
|
91
|
-
|
|
97
|
+
address: AddressInformation;
|
|
92
98
|
returningLearnerInfo?: EnrReturningLearnerInfo;
|
|
93
99
|
seniorHighInfo?: EnrSeniorHighInformation;
|
|
94
|
-
|
|
95
|
-
|
|
100
|
+
alternativeLearningOptions?: string[];
|
|
101
|
+
isCertifiedAndConsented: boolean;
|
|
96
102
|
status?: string;
|
|
103
|
+
remarks?: string;
|
|
97
104
|
rejectionReason?: string;
|
|
98
105
|
createdAt?: Date | string;
|
|
99
106
|
updatedAt?: Date | string;
|
|
@@ -103,29 +110,23 @@ type BasicEducEnrForm = {
|
|
|
103
110
|
deletedBy?: string;
|
|
104
111
|
};
|
|
105
112
|
type EnrLearnerInfo = {
|
|
113
|
+
psaBirthCertificateNo?: string;
|
|
106
114
|
lrn?: string;
|
|
107
115
|
lastName: string;
|
|
108
116
|
firstName: string;
|
|
109
117
|
middleName?: string;
|
|
110
118
|
extensionName?: string;
|
|
111
119
|
birthDate: string;
|
|
112
|
-
sex:
|
|
120
|
+
sex: string;
|
|
113
121
|
age: number;
|
|
114
|
-
placeOfBirth
|
|
115
|
-
municipalityCity: string;
|
|
116
|
-
province?: string;
|
|
117
|
-
country?: string;
|
|
118
|
-
};
|
|
122
|
+
placeOfBirth: string;
|
|
119
123
|
motherTongue?: string;
|
|
120
|
-
hasDisability: boolean;
|
|
121
|
-
disabilityTypes?: DisabilityType[];
|
|
122
|
-
otherDisabilityDetails?: string;
|
|
123
|
-
isIndigenous?: boolean;
|
|
124
|
-
indigenousCommunity?: string;
|
|
125
|
-
is4PsBeneficiary?: boolean;
|
|
126
124
|
fourPsHouseholdId?: string;
|
|
125
|
+
indigenousCommunity?: string;
|
|
126
|
+
withDisability: boolean;
|
|
127
|
+
disabilities?: string[];
|
|
128
|
+
otherDisabilityDetails?: string;
|
|
127
129
|
};
|
|
128
|
-
type DisabilityType = "Visual Impairment (Blind)" | "Visual Impairment (Low Vision)" | "Hearing Impairment" | "Learning Disability" | "Intellectual Disability" | "Autism Spectrum Disorder" | "Emotional-Behavioral Disorder" | "Orthopedic/Physical Handicap" | "Speech/Language Disorder" | "Cerebral Palsy" | "Special Health Problem/Chronic Disease" | "Multiple Disorder" | "Cancer" | "Other";
|
|
129
130
|
type EnrParentGuardianInfo = {
|
|
130
131
|
father?: PersonContact;
|
|
131
132
|
mother?: PersonContact;
|
|
@@ -138,8 +139,8 @@ type PersonContact = {
|
|
|
138
139
|
contactNumber?: string;
|
|
139
140
|
};
|
|
140
141
|
type AddressInformation = {
|
|
141
|
-
|
|
142
|
-
|
|
142
|
+
current: EnrAddress;
|
|
143
|
+
permanent: EnrAddress;
|
|
143
144
|
sameAsCurrent?: boolean;
|
|
144
145
|
};
|
|
145
146
|
type EnrAddress = {
|
|
@@ -166,27 +167,29 @@ type EnrSeniorHighInformation = {
|
|
|
166
167
|
strand: string;
|
|
167
168
|
};
|
|
168
169
|
type EnrLearningModality = "Modular (Print)" | "Modular (Digital)" | "Online" | "Radio-Based Instruction" | "Educational Television" | "Blended" | "Homeschooling";
|
|
169
|
-
type EnrCert = {
|
|
170
|
-
certifiedBy: string;
|
|
171
|
-
date: string;
|
|
172
|
-
consentGiven: boolean;
|
|
173
|
-
};
|
|
174
170
|
declare const schemaEnrollment: Joi.ObjectSchema<any>;
|
|
175
171
|
declare function MEnrollment(value: BasicEducEnrForm): {
|
|
176
172
|
_id: ObjectId | undefined;
|
|
177
|
-
region:
|
|
178
|
-
|
|
179
|
-
|
|
173
|
+
region: string;
|
|
174
|
+
regionName: string;
|
|
175
|
+
province: string;
|
|
176
|
+
cityMunicipality: string;
|
|
177
|
+
division: string;
|
|
178
|
+
divisionName: string;
|
|
179
|
+
school: string;
|
|
180
|
+
schoolName: string;
|
|
180
181
|
schoolYear: string;
|
|
181
|
-
|
|
182
|
+
gradeLevel: string;
|
|
183
|
+
returningLearner: boolean;
|
|
182
184
|
learnerInfo: EnrLearnerInfo;
|
|
183
185
|
parentGuardianInfo: EnrParentGuardianInfo;
|
|
184
|
-
|
|
186
|
+
address: AddressInformation;
|
|
185
187
|
returningLearnerInfo: EnrReturningLearnerInfo | undefined;
|
|
186
188
|
seniorHighInfo: EnrSeniorHighInformation | undefined;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
+
alternativeLearningOptions: string[];
|
|
190
|
+
isCertifiedAndConsented: boolean;
|
|
189
191
|
status: string;
|
|
192
|
+
remarks: string;
|
|
190
193
|
rejectionReason: string;
|
|
191
194
|
createdAt: string | Date;
|
|
192
195
|
updatedAt: string | Date;
|
|
@@ -217,6 +220,19 @@ declare function useEnrollmentRepo(): {
|
|
|
217
220
|
getById: (_id: string | ObjectId) => Promise<BasicEducEnrForm>;
|
|
218
221
|
getByLrn: (lrn: string, schoolYear?: string) => Promise<BasicEducEnrForm | null>;
|
|
219
222
|
deleteById: (_id: string | ObjectId, deletedBy?: string, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
|
|
223
|
+
getByApplicantInfo: ({ school, schoolYear, gradeLevel, firstName, lastName, middleName, birthDate, placeOfBirth, }?: {
|
|
224
|
+
school?: string | undefined;
|
|
225
|
+
schoolYear?: string | undefined;
|
|
226
|
+
gradeLevel?: string | undefined;
|
|
227
|
+
firstName?: string | undefined;
|
|
228
|
+
lastName?: string | undefined;
|
|
229
|
+
middleName?: string | undefined;
|
|
230
|
+
birthDate?: string | undefined;
|
|
231
|
+
placeOfBirth?: string | undefined;
|
|
232
|
+
}) => Promise<{
|
|
233
|
+
accepted: boolean;
|
|
234
|
+
length: number;
|
|
235
|
+
}>;
|
|
220
236
|
getBySchoolAndYear: (school: string | ObjectId, schoolYear: string) => Promise<BasicEducEnrForm[]>;
|
|
221
237
|
};
|
|
222
238
|
|
|
@@ -729,4 +745,4 @@ declare function usePlantillaController(): {
|
|
|
729
745
|
bulkAddPlantillas: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
730
746
|
};
|
|
731
747
|
|
|
732
|
-
export { AddressInformation, BasicEducEnrForm,
|
|
748
|
+
export { AddressInformation, BasicEducEnrForm, EnrAddress, EnrLearnerInfo, EnrLearningModality, EnrParentGuardianInfo, EnrReturningLearnerInfo, EnrSeniorHighInformation, MAsset, MCurriculum, MEnrollment, MGradeLevel, MPlantilla, MStockCard, PersonContact, TAsset, TCurriculum, TCurriculumSubject, TDivision, TGradeLevel, TPlantilla, TRegion, TSchool, TStockCard, modelDivision, modelRegion, modelSchool, schemaAsset, schemaAssetUpdateOption, schemaCurriculum, schemaDivision, schemaDivisionUpdate, schemaEnrollment, schemaGradeLevel, schemaPlantilla, schemaRegion, schemaSchool, schemaSchoolUpdate, schemaStockCard, useAssetController, useAssetRepo, useCurriculumController, useCurriculumRepo, useDivisionController, useDivisionRepo, useDivisionService, useEnrollmentController, useEnrollmentRepo, useEnrollmentService, useGradeLevelController, useGradeLevelRepo, usePlantillaController, usePlantillaRepo, usePlantillaService, useRegionController, useRegionRepo, useSchoolController, useSchoolRepo, useSchoolService, useStockCardController, useStockCardRepository, useStockCardService };
|