|
1 | | -import { Subject } from "types"; |
| 1 | +import { Subject } from 'types'; |
2 | 2 |
|
3 | 3 | const empthNurseryResult: Subject[] = [ |
4 | 4 | { |
5 | | - subjectName: "English", |
| 5 | + subjectName: 'English', |
6 | 6 | results: { theory: null, fullMarks: 100, other: null }, |
7 | 7 | }, |
8 | 8 | { |
9 | | - subjectName: "Hindi", |
| 9 | + subjectName: 'Hindi', |
10 | 10 | results: { theory: null, fullMarks: 100, other: null }, |
11 | 11 | }, |
12 | 12 | { |
13 | | - subjectName: "Maths", |
| 13 | + subjectName: 'Maths', |
14 | 14 | results: { theory: null, fullMarks: 100, other: null }, |
15 | 15 | }, |
16 | 16 | ]; |
17 | 17 | const empthLkgResult: Subject[] = [ |
18 | 18 | { |
19 | | - subjectName: "English", |
| 19 | + subjectName: 'English', |
20 | 20 | results: { theory: null, fullMarks: 100, other: null }, |
21 | 21 | }, |
22 | 22 | { |
23 | | - subjectName: "Hindi", |
| 23 | + subjectName: 'Hindi', |
24 | 24 | results: { theory: null, fullMarks: 100, other: null }, |
25 | 25 | }, |
26 | 26 | { |
27 | | - subjectName: "Maths", |
28 | | - results: { theory: null, fullMarks: 100, other: null }, |
29 | | - }, |
30 | | - { |
31 | | - subjectName: "G.K.", |
| 27 | + subjectName: 'Maths', |
32 | 28 | results: { theory: null, fullMarks: 100, other: null }, |
33 | 29 | }, |
| 30 | + // { |
| 31 | + // subjectName: "G.K.", |
| 32 | + // results: { theory: null, fullMarks: 100, other: null }, |
| 33 | + // }, |
34 | 34 | ]; |
35 | 35 |
|
36 | 36 | const empthUkgResult: Subject[] = [ |
37 | 37 | { |
38 | | - subjectName: "English", |
| 38 | + subjectName: 'English', |
39 | 39 | results: { theory: null, fullMarks: 100, other: null }, |
40 | 40 | }, |
41 | 41 | { |
42 | | - subjectName: "Hindi", |
| 42 | + subjectName: 'Hindi', |
43 | 43 | results: { theory: null, fullMarks: 100, other: null }, |
44 | 44 | }, |
45 | 45 | { |
46 | | - subjectName: "Maths", |
| 46 | + subjectName: 'Maths', |
47 | 47 | results: { theory: null, fullMarks: 100, other: null }, |
48 | 48 | }, |
49 | 49 | { |
50 | | - subjectName: "G.K.", |
| 50 | + subjectName: 'G.K.', |
51 | 51 | results: { theory: null, fullMarks: 100, other: null }, |
52 | 52 | }, |
53 | 53 | ]; |
54 | 54 |
|
55 | 55 | const empthClassSeniorResult: Subject[] = [ |
56 | 56 | { |
57 | | - subjectName: "English", |
| 57 | + subjectName: 'English', |
58 | 58 | results: { theory: null, fullMarks: 100, other: null }, |
59 | 59 | }, |
60 | 60 | { |
61 | | - subjectName: "Hindi", |
| 61 | + subjectName: 'Hindi', |
62 | 62 | results: { theory: null, fullMarks: 100, other: null }, |
63 | 63 | }, |
64 | 64 | { |
65 | | - subjectName: "Maths", |
| 65 | + subjectName: 'Maths', |
66 | 66 | results: { theory: null, fullMarks: 100, other: null }, |
67 | 67 | }, |
68 | 68 | { |
69 | | - subjectName: "Science", |
| 69 | + subjectName: 'Science', |
70 | 70 | results: { theory: null, fullMarks: 100, other: null }, |
71 | 71 | }, |
72 | 72 | { |
73 | | - subjectName: "Social Science", |
| 73 | + subjectName: 'Social Science', |
74 | 74 | results: { theory: null, fullMarks: 100, other: null }, |
75 | 75 | }, |
76 | 76 | { |
77 | | - subjectName: "GK", |
| 77 | + subjectName: 'GK', |
78 | 78 | results: { theory: null, fullMarks: 100, other: null }, |
79 | 79 | }, |
80 | 80 | { |
81 | | - subjectName: "Computer", |
| 81 | + subjectName: 'Computer', |
82 | 82 | results: { theory: null, fullMarks: 100, other: null }, |
83 | 83 | }, |
84 | 84 | ]; |
85 | 85 | export function createEmptyResultBasedOnClass(currentClass: string) { |
86 | 86 | switch (currentClass) { |
87 | | - case "Nur.": |
| 87 | + case 'Nur.': |
88 | 88 | return empthNurseryResult; |
89 | | - case "L.K.G": |
| 89 | + case 'L.K.G': |
90 | 90 | return empthLkgResult; |
91 | | - case "U.K.G": |
| 91 | + case 'U.K.G': |
92 | 92 | return empthUkgResult; |
93 | 93 | default: |
94 | 94 | return empthClassSeniorResult; |
|
0 commit comments