@kipicore/dbcore 1.1.236 → 1.1.237

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.
@@ -12,6 +12,7 @@ export interface ITrustInformation {
12
12
  address2: string;
13
13
  pinCode: string;
14
14
  taluka?: string;
15
+ district?: string;
15
16
  country: number;
16
17
  state: number;
17
18
  city: number;
@@ -28,6 +29,7 @@ export interface ICorrespondentInformation {
28
29
  area: string;
29
30
  pinCode: string;
30
31
  taluka?: string;
32
+ district?: string;
31
33
  country: number;
32
34
  state: number;
33
35
  city: number;
@@ -47,6 +49,7 @@ export interface ITrustiesInformation {
47
49
  area: string;
48
50
  pinCode: string;
49
51
  taluka?: string;
52
+ district?: string;
50
53
  country: number;
51
54
  state: number;
52
55
  city: number;
@@ -89,6 +92,8 @@ export interface ISchoolInformation {
89
92
  mobile: string[];
90
93
  fax: string;
91
94
  country: number;
95
+ taluka?: string;
96
+ district?: string;
92
97
  svsName: string;
93
98
  qdcName: string;
94
99
  schoolStartYear: Date;
@@ -63,6 +63,14 @@ const schoolInformationSchema = new mongoose_1.Schema({
63
63
  type: Number,
64
64
  required: false,
65
65
  },
66
+ taluka: {
67
+ type: String,
68
+ required: false,
69
+ },
70
+ district: {
71
+ type: String,
72
+ required: false,
73
+ },
66
74
  fax: {
67
75
  type: String,
68
76
  required: false,
@@ -159,15 +167,19 @@ const trustInformationSchema = new mongoose_1.Schema({
159
167
  type: String,
160
168
  required: false,
161
169
  },
162
- address2: {
170
+ district: {
163
171
  type: String,
164
172
  required: false,
165
173
  },
166
- pinCode: {
174
+ taluka: {
167
175
  type: String,
168
176
  required: false,
169
177
  },
170
- taluka: {
178
+ address2: {
179
+ type: String,
180
+ required: false,
181
+ },
182
+ pinCode: {
171
183
  type: String,
172
184
  required: false,
173
185
  },
@@ -229,6 +241,10 @@ const correspondentInformationSchema = new mongoose_1.Schema({
229
241
  type: String,
230
242
  required: false,
231
243
  },
244
+ district: {
245
+ type: String,
246
+ required: false,
247
+ },
232
248
  address2: {
233
249
  type: String,
234
250
  required: false,
@@ -312,6 +328,10 @@ const trustiesInformationSchema = new mongoose_1.Schema({
312
328
  type: String,
313
329
  required: false,
314
330
  },
331
+ district: {
332
+ type: String,
333
+ required: false,
334
+ },
315
335
  pinCode: {
316
336
  type: String,
317
337
  required: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.236",
3
+ "version": "1.1.237",
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",