@kipicore/dbcore 1.1.315 → 1.1.317

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.
@@ -690,7 +690,8 @@ export declare enum PDF_TEMPLATES {
690
690
  MOST_REGULAR_STUDENT_OF_SCHOOL = "mostRegularStudentOfSchool",
691
691
  MOST_REGULAR_STUDENT_OF_STANDARD = "mostRegularStudentOfStandard",
692
692
  MOST_IRR_REGULAR_STUDENT_OF_SCHOOL = "mostIrrRegularStudentOfSchool",
693
- MOST_IRR_REGULAR_STUDENT_OF_STANDARD = "mostIrrRegularStudentOfStandard"
693
+ MOST_IRR_REGULAR_STUDENT_OF_STANDARD = "mostIrrRegularStudentOfStandard",
694
+ GROUP_EXAM_RESULT = "groupExamResult"
694
695
  }
695
696
  export declare enum EMAIL_SUBJECTS {
696
697
  CREATE_GUARDIAN_VERIFICATION = "Verification Of Guardian Request",
@@ -838,6 +838,7 @@ var PDF_TEMPLATES;
838
838
  PDF_TEMPLATES["MOST_REGULAR_STUDENT_OF_STANDARD"] = "mostRegularStudentOfStandard";
839
839
  PDF_TEMPLATES["MOST_IRR_REGULAR_STUDENT_OF_SCHOOL"] = "mostIrrRegularStudentOfSchool";
840
840
  PDF_TEMPLATES["MOST_IRR_REGULAR_STUDENT_OF_STANDARD"] = "mostIrrRegularStudentOfStandard";
841
+ PDF_TEMPLATES["GROUP_EXAM_RESULT"] = "groupExamResult";
841
842
  })(PDF_TEMPLATES || (exports.PDF_TEMPLATES = PDF_TEMPLATES = {}));
842
843
  var EMAIL_SUBJECTS;
843
844
  (function (EMAIL_SUBJECTS) {
@@ -520,7 +520,7 @@ const fromSnakeCaseToNormalText = (input) => {
520
520
  return '';
521
521
  return input
522
522
  .toLowerCase()
523
- .split('_')
523
+ .split(/[_\s]+/) // split by underscore or space
524
524
  .map(word => word.charAt(0).toUpperCase() + word.slice(1))
525
525
  .join(' ');
526
526
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.315",
3
+ "version": "1.1.317",
4
4
  "description": "Reusable DB core package with Postgres, MongoDB, models, services, interfaces, and types",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",