@kipicore/dbcore 1.1.689 → 1.1.690

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.
@@ -11,6 +11,7 @@ export interface IUserAcademyMetaAttributes extends IDefaultAttributes, Document
11
11
  joiningDate?: Date;
12
12
  endTime?: Date;
13
13
  rollNumber?: string;
14
+ designation?: string;
14
15
  additionalField?: object;
15
16
  isActive: COMMAN_STATUS;
16
17
  }
@@ -62,6 +62,7 @@ export interface IUserInstituteMetaAttributes extends IDefaultAttributes, Docume
62
62
  isFeeCollectionCreated: boolean;
63
63
  designationId?: string;
64
64
  studentProfileImage?: string;
65
+ selectedSportsIds?: string[];
65
66
  }
66
67
  export interface IUserWiseData {
67
68
  userId: string;
@@ -70,6 +70,10 @@ const userAcademyMetaSchema = new mongoose_1.Schema({
70
70
  type: String,
71
71
  required: false,
72
72
  },
73
+ designation: {
74
+ type: String,
75
+ required: false,
76
+ },
73
77
  additionalField: {
74
78
  type: Object,
75
79
  },
@@ -244,6 +244,10 @@ const userInstituteMetaSchema = new mongoose_1.Schema({
244
244
  },
245
245
  studentProfileImage: {
246
246
  type: String,
247
+ },
248
+ selectedSportsIds: {
249
+ type: [String],
250
+ default: [],
247
251
  }
248
252
  }, {
249
253
  timestamps: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.689",
3
+ "version": "1.1.690",
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",