joye-backend-utility 8.2.5 → 8.2.6

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.
@@ -72,6 +72,14 @@ const OrganizationUserAttrPermission = new mongoose_1.Schema({
72
72
  type: Object,
73
73
  required: false,
74
74
  },
75
+ /**
76
+ * Tenant crisis contacts as HTML (strong, links, tel:, mailto:).
77
+ * Used before platform safetyContacts, then the Joye master-data default.
78
+ */
79
+ safetyContacts: {
80
+ type: String,
81
+ required: false,
82
+ },
75
83
  // Sample data
76
84
  /* aiModels: {
77
85
  "brew": "claude-sonnet-4-20250514",
@@ -41,6 +41,13 @@ const Platform = new mongoose_1.Schema({
41
41
  type: Array,
42
42
  required: false,
43
43
  },
44
+ /**
45
+ * Platform crisis contacts as HTML. Used when the tenant has no safetyContacts.
46
+ */
47
+ safetyContacts: {
48
+ type: String,
49
+ required: false,
50
+ },
44
51
  // Sample data
45
52
  /* aiModels: {
46
53
  "brew": "claude-sonnet-4-20250514",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "8.2.5",
3
+ "version": "8.2.6",
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",