@kipicore/dbcore 1.1.228 → 1.1.229

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,12 @@ export interface IUserTrip {
12
12
  pickUpNo: Number;
13
13
  dropNo: Number;
14
14
  }
15
+ export interface IStudentFeeService {
16
+ feeTYpeId: String;
17
+ status: COMMAN_STATUS;
18
+ startDate: Date;
19
+ endDate?: Date;
20
+ }
15
21
  export interface IUserInstituteMetaAttributes extends IDefaultAttributes, Document {
16
22
  id: string;
17
23
  entities?: string[];
@@ -46,4 +52,5 @@ export interface IUserInstituteMetaAttributes extends IDefaultAttributes, Docume
46
52
  academicCalendarId?: string;
47
53
  oldId?: string;
48
54
  previousEntities?: string[];
55
+ studentFeeService?: IStudentFeeService[];
49
56
  }
@@ -60,6 +60,12 @@ const userTripSchema = new mongoose_1.Schema({
60
60
  pickUpNo: { type: Number },
61
61
  dropNo: { type: Number },
62
62
  }, { _id: false });
63
+ const studentFeeServiceSchema = new mongoose_1.Schema({
64
+ feeTYpeId: { type: String },
65
+ startDate: { type: Date },
66
+ endDate: { type: Date },
67
+ status: { type: String },
68
+ }, { _id: false });
63
69
  const userInstituteMetaSchema = new mongoose_1.Schema({
64
70
  entities: {
65
71
  type: [{ type: String }],
@@ -183,6 +189,11 @@ const userInstituteMetaSchema = new mongoose_1.Schema({
183
189
  default: [],
184
190
  required: false,
185
191
  },
192
+ studentFeeService: {
193
+ type: [studentFeeServiceSchema],
194
+ default: [],
195
+ required: false,
196
+ },
186
197
  sidNo: {
187
198
  type: String,
188
199
  required: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.228",
3
+ "version": "1.1.229",
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",