@kipicore/dbcore 1.1.352 → 1.1.353

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.
@@ -17,15 +17,11 @@ export interface IUserSchoolInfo {
17
17
  firstName: string;
18
18
  lastName: string;
19
19
  middleName: string;
20
- email: string;
21
20
  dob: string;
22
21
  birthPlace?: string;
23
22
  gender?: string;
24
23
  fatherName?: string;
25
24
  motherName?: string;
26
- aadharCard?: string;
27
- bloodGroup?: string;
28
- panCard?: string;
29
25
  category?: CATEGORY;
30
26
  nationality?: NATIONALITY;
31
27
  religionCaste?: RELIGION_CASTE;
@@ -109,33 +109,41 @@ exports.UserSchoolInfoSchema = new mongoose_1.Schema({
109
109
  type: String,
110
110
  required: false,
111
111
  },
112
- bloodGroup: {
112
+ // bloodGroup: {
113
+ // type: String,
114
+ // required: false,
115
+ // },
116
+ // aadharCard: {
117
+ // type: String,
118
+ // default: null,
119
+ // require: false,
120
+ // },
121
+ // panCard: {
122
+ // type: String,
123
+ // default: null,
124
+ // require: false,
125
+ // },
126
+ category: {
113
127
  type: String,
128
+ // enum: Object.values(CATEGORY),
114
129
  required: false,
115
130
  },
116
- aadharCard: {
117
- type: String,
118
- default: null,
119
- require: false,
120
- },
121
- panCard: {
131
+ nationality: {
122
132
  type: String,
123
- default: null,
124
- require: false,
133
+ // enum: Object.values(NATIONALITY),
134
+ required: false,
125
135
  },
126
- category: {
136
+ religionCaste: {
127
137
  type: String,
128
- enum: Object.values(app_1.CATEGORY),
138
+ // enum: Object.values(RELIGION_CASTE),
129
139
  required: false,
130
140
  },
131
- nationality: {
141
+ fatherName: {
132
142
  type: String,
133
- enum: Object.values(app_1.NATIONALITY),
134
143
  required: false,
135
144
  },
136
- religionCaste: {
145
+ motherName: {
137
146
  type: String,
138
- enum: Object.values(app_1.RELIGION_CASTE),
139
147
  required: false,
140
148
  },
141
149
  caste: {
@@ -12,7 +12,7 @@ export type ReportCard = {
12
12
  summary: Summary;
13
13
  teacher: Teacher;
14
14
  remarks: string;
15
- titles: Record<string, string>;
15
+ titles?: Record<string, string>;
16
16
  };
17
17
  export type School = {
18
18
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.352",
3
+ "version": "1.1.353",
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",