@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 CHANGED
@@ -1188,7 +1188,7 @@ var HttpDelivery = import_data.ObjectSchema.create({
1188
1188
  nameField: "id",
1189
1189
  // [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
1190
1190
  titleFormat: "{label} \u2192 {url}",
1191
- compactLayout: ["source", "url", "status", "attempts", "next_retry_at"],
1191
+ highlightFields: ["source", "url", "status", "attempts", "next_retry_at"],
1192
1192
  listViews: {
1193
1193
  recent: {
1194
1194
  type: "grid",
@@ -2181,7 +2181,7 @@ var InboxMessage = import_data2.ObjectSchema.create({
2181
2181
  nameField: "title",
2182
2182
  // [ADR-0079] canonical primary-title pointer (single-field titleFormat)
2183
2183
  titleFormat: "{title}",
2184
- compactLayout: ["title", "user_id", "severity", "created_at"],
2184
+ highlightFields: ["title", "user_id", "severity", "created_at"],
2185
2185
  listViews: {
2186
2186
  mine: {
2187
2187
  type: "grid",
@@ -2255,7 +2255,7 @@ var NotificationReceipt = import_data3.ObjectSchema.create({
2255
2255
  managedBy: "system",
2256
2256
  description: "Per-recipient \xD7 channel receipt; the source of truth for notification read-state.",
2257
2257
  titleFormat: "{state}",
2258
- compactLayout: ["notification_id", "user_id", "channel", "state", "at"],
2258
+ highlightFields: ["notification_id", "user_id", "channel", "state", "at"],
2259
2259
  fields: {
2260
2260
  id: import_data3.Field.text({
2261
2261
  label: "Receipt ID",
@@ -2315,7 +2315,7 @@ var NotificationDelivery = import_data4.ObjectSchema.create({
2315
2315
  managedBy: "system",
2316
2316
  description: "Durable per-recipient \xD7 channel delivery outbox (ADR-0030 Layer 4).",
2317
2317
  titleFormat: "{channel} \u2192 {recipient_id}",
2318
- compactLayout: ["notification_id", "recipient_id", "channel", "status", "attempts"],
2318
+ highlightFields: ["notification_id", "recipient_id", "channel", "status", "attempts"],
2319
2319
  fields: {
2320
2320
  id: import_data4.Field.text({ label: "Delivery ID", required: true, readonly: true }),
2321
2321
  notification_id: import_data4.Field.text({
@@ -2384,7 +2384,7 @@ var NotificationPreference = import_data5.ObjectSchema.create({
2384
2384
  managedBy: "system",
2385
2385
  description: "Per-user \xD7 topic \xD7 channel notification toggle (mute/allow), with admin-global defaults.",
2386
2386
  titleFormat: "{user_id} \xB7 {topic} \xB7 {channel}",
2387
- compactLayout: ["user_id", "topic", "channel", "enabled", "digest"],
2387
+ highlightFields: ["user_id", "topic", "channel", "enabled", "digest"],
2388
2388
  fields: {
2389
2389
  id: import_data5.Field.text({ label: "Preference ID", required: true, readonly: true }),
2390
2390
  user_id: import_data5.Field.text({
@@ -2442,7 +2442,7 @@ var NotificationSubscription = import_data6.ObjectSchema.create({
2442
2442
  managedBy: "system",
2443
2443
  description: "Standing subscription of a principal (role/team/user) to a notification topic.",
2444
2444
  titleFormat: "{principal} \xB7 {topic}",
2445
- compactLayout: ["topic", "principal", "enabled", "created_at"],
2445
+ highlightFields: ["topic", "principal", "enabled", "created_at"],
2446
2446
  fields: {
2447
2447
  id: import_data6.Field.text({ label: "Subscription ID", required: true, readonly: true }),
2448
2448
  topic: import_data6.Field.text({
@@ -2481,7 +2481,7 @@ var NotificationTemplate = import_data7.ObjectSchema.create({
2481
2481
  managedBy: "system",
2482
2482
  description: "Per (topic \xD7 channel \xD7 locale) render template for notifications.",
2483
2483
  titleFormat: "{topic} \xB7 {channel} \xB7 {locale}",
2484
- compactLayout: ["topic", "channel", "locale", "is_active"],
2484
+ highlightFields: ["topic", "channel", "locale", "is_active"],
2485
2485
  fields: {
2486
2486
  id: import_data7.Field.text({ label: "Template ID", required: true, readonly: true }),
2487
2487
  topic: import_data7.Field.text({ label: "Topic", required: true, searchable: true }),