@smartytalent/openai-tools 0.7.5 → 0.7.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.
- package/dist/tools.json +9 -0
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -22057,6 +22057,15 @@
|
|
|
22057
22057
|
"description": "Color theme for the notification avatar",
|
|
22058
22058
|
"default": "primary"
|
|
22059
22059
|
},
|
|
22060
|
+
"messageKey": {
|
|
22061
|
+
"type": "string",
|
|
22062
|
+
"description": "Identifier of the message to render, e.g. `user.pendingApproval`. The bell looks it up in the client's own dictionaries and substitutes messageParams, so the sentence is produced in whatever language the reader has set AT DISPLAY TIME - switching language re-renders the whole history, and adding a platform language needs no backend change and no migration of stored rows. Same shape the mobile platforms use natively (APNs loc-key/loc-args, FCM loc_key/loc_args). Absent on producers that have not migrated yet; `title`/`subtitle` remain the English fallback, so a client that does not recognise a key must fall back to them rather than render nothing."
|
|
22063
|
+
},
|
|
22064
|
+
"messageParams": {
|
|
22065
|
+
"type": "object",
|
|
22066
|
+
"additionalProperties": true,
|
|
22067
|
+
"description": "Variable parts of the message, substituted into the dictionary entry for messageKey - e.g. {name, email} for `user.pendingApproval`. Names must match what the client dictionary expects: a mismatch surfaces as an untranslated placeholder, so the agreed keys and parameter names belong in the FE task, not in tribal memory."
|
|
22068
|
+
},
|
|
22060
22069
|
"created": {
|
|
22061
22070
|
"type": "string",
|
|
22062
22071
|
"format": "date-time",
|