@objectstack/service-messaging 11.9.0 → 12.0.0
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/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +790 -1007
- package/dist/index.d.ts +790 -1007
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1117,7 +1117,7 @@ var HttpDelivery = ObjectSchema.create({
|
|
|
1117
1117
|
nameField: "id",
|
|
1118
1118
|
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
1119
1119
|
titleFormat: "{label} \u2192 {url}",
|
|
1120
|
-
|
|
1120
|
+
highlightFields: ["source", "url", "status", "attempts", "next_retry_at"],
|
|
1121
1121
|
listViews: {
|
|
1122
1122
|
recent: {
|
|
1123
1123
|
type: "grid",
|
|
@@ -2110,7 +2110,7 @@ var InboxMessage = ObjectSchema2.create({
|
|
|
2110
2110
|
nameField: "title",
|
|
2111
2111
|
// [ADR-0079] canonical primary-title pointer (single-field titleFormat)
|
|
2112
2112
|
titleFormat: "{title}",
|
|
2113
|
-
|
|
2113
|
+
highlightFields: ["title", "user_id", "severity", "created_at"],
|
|
2114
2114
|
listViews: {
|
|
2115
2115
|
mine: {
|
|
2116
2116
|
type: "grid",
|
|
@@ -2184,7 +2184,7 @@ var NotificationReceipt = ObjectSchema3.create({
|
|
|
2184
2184
|
managedBy: "system",
|
|
2185
2185
|
description: "Per-recipient \xD7 channel receipt; the source of truth for notification read-state.",
|
|
2186
2186
|
titleFormat: "{state}",
|
|
2187
|
-
|
|
2187
|
+
highlightFields: ["notification_id", "user_id", "channel", "state", "at"],
|
|
2188
2188
|
fields: {
|
|
2189
2189
|
id: Field3.text({
|
|
2190
2190
|
label: "Receipt ID",
|
|
@@ -2244,7 +2244,7 @@ var NotificationDelivery = ObjectSchema4.create({
|
|
|
2244
2244
|
managedBy: "system",
|
|
2245
2245
|
description: "Durable per-recipient \xD7 channel delivery outbox (ADR-0030 Layer 4).",
|
|
2246
2246
|
titleFormat: "{channel} \u2192 {recipient_id}",
|
|
2247
|
-
|
|
2247
|
+
highlightFields: ["notification_id", "recipient_id", "channel", "status", "attempts"],
|
|
2248
2248
|
fields: {
|
|
2249
2249
|
id: Field4.text({ label: "Delivery ID", required: true, readonly: true }),
|
|
2250
2250
|
notification_id: Field4.text({
|
|
@@ -2313,7 +2313,7 @@ var NotificationPreference = ObjectSchema5.create({
|
|
|
2313
2313
|
managedBy: "system",
|
|
2314
2314
|
description: "Per-user \xD7 topic \xD7 channel notification toggle (mute/allow), with admin-global defaults.",
|
|
2315
2315
|
titleFormat: "{user_id} \xB7 {topic} \xB7 {channel}",
|
|
2316
|
-
|
|
2316
|
+
highlightFields: ["user_id", "topic", "channel", "enabled", "digest"],
|
|
2317
2317
|
fields: {
|
|
2318
2318
|
id: Field5.text({ label: "Preference ID", required: true, readonly: true }),
|
|
2319
2319
|
user_id: Field5.text({
|
|
@@ -2371,7 +2371,7 @@ var NotificationSubscription = ObjectSchema6.create({
|
|
|
2371
2371
|
managedBy: "system",
|
|
2372
2372
|
description: "Standing subscription of a principal (role/team/user) to a notification topic.",
|
|
2373
2373
|
titleFormat: "{principal} \xB7 {topic}",
|
|
2374
|
-
|
|
2374
|
+
highlightFields: ["topic", "principal", "enabled", "created_at"],
|
|
2375
2375
|
fields: {
|
|
2376
2376
|
id: Field6.text({ label: "Subscription ID", required: true, readonly: true }),
|
|
2377
2377
|
topic: Field6.text({
|
|
@@ -2410,7 +2410,7 @@ var NotificationTemplate = ObjectSchema7.create({
|
|
|
2410
2410
|
managedBy: "system",
|
|
2411
2411
|
description: "Per (topic \xD7 channel \xD7 locale) render template for notifications.",
|
|
2412
2412
|
titleFormat: "{topic} \xB7 {channel} \xB7 {locale}",
|
|
2413
|
-
|
|
2413
|
+
highlightFields: ["topic", "channel", "locale", "is_active"],
|
|
2414
2414
|
fields: {
|
|
2415
2415
|
id: Field7.text({ label: "Template ID", required: true, readonly: true }),
|
|
2416
2416
|
topic: Field7.text({ label: "Topic", required: true, searchable: true }),
|