joye-backend-utility 8.0.2 → 8.0.4

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.
@@ -37,6 +37,10 @@ const Platform = new mongoose_1.Schema({
37
37
  type: Array,
38
38
  required: false,
39
39
  },
40
+ allowedFeatures: {
41
+ type: Array,
42
+ required: false,
43
+ },
40
44
  // Sample data
41
45
  /* aiModels: {
42
46
  "brew": "claude-sonnet-4-20250514",
@@ -218,9 +218,12 @@ const User = new mongoose_1.Schema({
218
218
  index: true,
219
219
  },
220
220
  });
221
- User.index({ employeeId: 1 }, {
222
- unique: true,
223
- });
221
+ // User.index(
222
+ // { employeeId: 1 },
223
+ // {
224
+ // unique: true,
225
+ // },
226
+ // );
224
227
  User.index({ botDetails: 1, preferredTimezone: -1 }, {
225
228
  unique: false,
226
229
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "8.0.2",
3
+ "version": "8.0.4",
4
4
  "description": "Joye backend utility for db functions and common functions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",