@kipicore/dbcore 1.1.314 → 1.1.316

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) {
@@ -4,3 +4,55 @@ export interface TUpdateExamGroupDataParams {
4
4
  academicCalenderId?: string | null;
5
5
  instituteId?: string | null;
6
6
  }
7
+ export type ReportCard = {
8
+ school: School;
9
+ exam: Exam;
10
+ student: Student;
11
+ subjects: Subject[];
12
+ summary: Summary;
13
+ teacher: Teacher;
14
+ remarks: string;
15
+ };
16
+ export type School = {
17
+ name: string;
18
+ medium: string;
19
+ academicYear: string;
20
+ schoolCode: string;
21
+ affiliationNo: string;
22
+ address: string[];
23
+ logo: string;
24
+ seal: string;
25
+ };
26
+ export type Exam = {
27
+ title: string;
28
+ type: string;
29
+ date: string;
30
+ };
31
+ export type Student = {
32
+ name: string;
33
+ grNo: string;
34
+ standard: string;
35
+ division: string;
36
+ rollNo: string;
37
+ uidNo: string;
38
+ };
39
+ export type Subject = {
40
+ name: string;
41
+ total: number;
42
+ pass: number;
43
+ obtained: number;
44
+ grade: string;
45
+ };
46
+ export type Summary = {
47
+ totalMarks: number;
48
+ passMarks: number;
49
+ obtainedMarks: number;
50
+ percentage: number;
51
+ overallGrade: string;
52
+ rank: number;
53
+ result: string;
54
+ };
55
+ export type Teacher = {
56
+ classTeacher: string;
57
+ principal: string;
58
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.314",
3
+ "version": "1.1.316",
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",