@kipicore/dbcore 1.1.229 → 1.1.231

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.
@@ -8,15 +8,16 @@ export interface IUserInstituteMetaSlots {
8
8
  presentEndTime: number;
9
9
  }
10
10
  export interface IUserTrip {
11
- tripId: String;
11
+ tripId: string;
12
12
  pickUpNo: Number;
13
13
  dropNo: Number;
14
14
  }
15
15
  export interface IStudentFeeService {
16
- feeTYpeId: String;
16
+ feeTypeId: string;
17
17
  status: COMMAN_STATUS;
18
18
  startDate: Date;
19
19
  endDate?: Date;
20
+ isRequired?: boolean;
20
21
  }
21
22
  export interface IUserInstituteMetaAttributes extends IDefaultAttributes, Document {
22
23
  id: string;
@@ -61,10 +61,11 @@ const userTripSchema = new mongoose_1.Schema({
61
61
  dropNo: { type: Number },
62
62
  }, { _id: false });
63
63
  const studentFeeServiceSchema = new mongoose_1.Schema({
64
- feeTYpeId: { type: String },
64
+ feeTypeId: { type: String },
65
65
  startDate: { type: Date },
66
66
  endDate: { type: Date },
67
67
  status: { type: String },
68
+ isRequired: { type: Boolean, default: false },
68
69
  }, { _id: false });
69
70
  const userInstituteMetaSchema = new mongoose_1.Schema({
70
71
  entities: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.229",
3
+ "version": "1.1.231",
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",