@kipicore/dbcore 1.1.68 → 1.1.70

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.
@@ -24,7 +24,8 @@ export declare enum USER_SUCCESS_MESSAGES {
24
24
  TEACHER_ADDED_SUCCESS = "Teacher file processed successfully",
25
25
  STUDENT_ADDED_SUCCESS = "Student file processed successfully",
26
26
  USER_DATA_WITH_PARENTS_UPDATE_SUCCESS = "User data with parents updated successfully",
27
- SWITCH_USER_SUCCESS = "User switched successfully"
27
+ SWITCH_USER_SUCCESS = "User switched successfully",
28
+ GET_BIRTHDAY_LIST = "User Birthday list retrieved successfully"
28
29
  }
29
30
  export declare enum BANNER_SUCCESS_MESSAGES {
30
31
  CREATE_SUCCESS = "Banner created successfully",
@@ -31,6 +31,7 @@ var USER_SUCCESS_MESSAGES;
31
31
  USER_SUCCESS_MESSAGES["STUDENT_ADDED_SUCCESS"] = "Student file processed successfully";
32
32
  USER_SUCCESS_MESSAGES["USER_DATA_WITH_PARENTS_UPDATE_SUCCESS"] = "User data with parents updated successfully";
33
33
  USER_SUCCESS_MESSAGES["SWITCH_USER_SUCCESS"] = "User switched successfully";
34
+ USER_SUCCESS_MESSAGES["GET_BIRTHDAY_LIST"] = "User Birthday list retrieved successfully";
34
35
  })(USER_SUCCESS_MESSAGES || (exports.USER_SUCCESS_MESSAGES = USER_SUCCESS_MESSAGES = {}));
35
36
  var BANNER_SUCCESS_MESSAGES;
36
37
  (function (BANNER_SUCCESS_MESSAGES) {
@@ -23,7 +23,7 @@ const up = async (queryInterface, Sequelize) => {
23
23
  field: 'institute_id',
24
24
  allowNull: true,
25
25
  },
26
- entityIdId: {
26
+ entityId: {
27
27
  type: Sequelize.UUID,
28
28
  field: 'entity_id',
29
29
  allowNull: true,
@@ -49,7 +49,7 @@ const up = async (queryInterface, Sequelize) => {
49
49
  allowNull: true,
50
50
  },
51
51
  instituteId: {
52
- type: DataTypes.UUID,
52
+ type: Sequelize.UUID,
53
53
  field: 'institute_id',
54
54
  allowNull: true,
55
55
  },
@@ -130,7 +130,7 @@ const up = async (queryInterface, Sequelize) => {
130
130
  allowNull: true,
131
131
  },
132
132
  instituteId: {
133
- type: DataTypes.UUID,
133
+ type: Sequelize.UUID,
134
134
  field: 'institute_id',
135
135
  allowNull: true,
136
136
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.68",
3
+ "version": "1.1.70",
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",