joye-backend-utility 5.1.36 → 5.1.37

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.
@@ -68,5 +68,17 @@ const OrganizationUserAttrPermission = new mongoose_1.Schema({
68
68
  required: false,
69
69
  enum: ['start', 'pro', 'premium'],
70
70
  },
71
+ aiModels: {
72
+ type: Object,
73
+ required: false,
74
+ },
75
+ // Sample data
76
+ /* aiModels: Object
77
+ {
78
+ brew: "claude-sonnet-4-20250514",
79
+ mindfulMin: "claude-3-5-haiku-20241022",
80
+ byb: "claude-3-5-haiku-20241022",
81
+ quickJL: "claude-sonnet-4-20250514",
82
+ } */
71
83
  });
72
84
  exports.OrganizationUserAttrPermissionSchema = OrganizationUserAttrPermission;
@@ -24,5 +24,17 @@ const Platform = new mongoose_1.Schema({
24
24
  type: String,
25
25
  required: false,
26
26
  },
27
+ aiModels: {
28
+ type: Object,
29
+ required: false,
30
+ },
31
+ // Sample data
32
+ /* aiModels: Object
33
+ {
34
+ brew: "claude-sonnet-4-20250514",
35
+ mindfulMin: "claude-3-5-haiku-20241022",
36
+ byb: "claude-3-5-haiku-20241022",
37
+ quickJL: "claude-sonnet-4-20250514",
38
+ } */
27
39
  });
28
40
  exports.PlatformSchema = Platform;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "5.1.36",
3
+ "version": "5.1.37",
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",