@objectstack/service-messaging 11.9.0 → 11.10.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.d.cts CHANGED
@@ -1767,7 +1767,6 @@ declare const InboxMessage: Omit<{
1767
1767
  } | undefined;
1768
1768
  } | undefined;
1769
1769
  highlightFields?: string[] | undefined;
1770
- compactLayout?: string[] | undefined;
1771
1770
  stageField?: string | false | undefined;
1772
1771
  listViews?: Record<string, {
1773
1772
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -2214,7 +2213,7 @@ declare const InboxMessage: Omit<{
2214
2213
  readonly description: "User-facing in-app notification rows materialized by the inbox messaging channel.";
2215
2214
  readonly nameField: "title";
2216
2215
  readonly titleFormat: "{title}";
2217
- readonly compactLayout: ["title", "user_id", "severity", "created_at"];
2216
+ readonly highlightFields: ["title", "user_id", "severity", "created_at"];
2218
2217
  readonly listViews: {
2219
2218
  readonly mine: {
2220
2219
  readonly type: "grid";
@@ -4327,7 +4326,6 @@ declare const NotificationReceipt: Omit<{
4327
4326
  } | undefined;
4328
4327
  } | undefined;
4329
4328
  highlightFields?: string[] | undefined;
4330
- compactLayout?: string[] | undefined;
4331
4329
  stageField?: string | false | undefined;
4332
4330
  listViews?: Record<string, {
4333
4331
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -4775,7 +4773,7 @@ declare const NotificationReceipt: Omit<{
4775
4773
  readonly managedBy: "system";
4776
4774
  readonly description: "Per-recipient × channel receipt; the source of truth for notification read-state.";
4777
4775
  readonly titleFormat: "{state}";
4778
- readonly compactLayout: ["notification_id", "user_id", "channel", "state", "at"];
4776
+ readonly highlightFields: ["notification_id", "user_id", "channel", "state", "at"];
4779
4777
  readonly fields: {
4780
4778
  readonly id: {
4781
4779
  readonly readonly?: boolean | undefined;
@@ -6516,7 +6514,6 @@ declare const NotificationDelivery: Omit<{
6516
6514
  } | undefined;
6517
6515
  } | undefined;
6518
6516
  highlightFields?: string[] | undefined;
6519
- compactLayout?: string[] | undefined;
6520
6517
  stageField?: string | false | undefined;
6521
6518
  listViews?: Record<string, {
6522
6519
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -6964,7 +6961,7 @@ declare const NotificationDelivery: Omit<{
6964
6961
  readonly managedBy: "system";
6965
6962
  readonly description: "Durable per-recipient × channel delivery outbox (ADR-0030 Layer 4).";
6966
6963
  readonly titleFormat: "{channel} → {recipient_id}";
6967
- readonly compactLayout: ["notification_id", "recipient_id", "channel", "status", "attempts"];
6964
+ readonly highlightFields: ["notification_id", "recipient_id", "channel", "status", "attempts"];
6968
6965
  readonly fields: {
6969
6966
  readonly id: {
6970
6967
  readonly readonly?: boolean | undefined;
@@ -10279,7 +10276,6 @@ declare const NotificationPreference: Omit<{
10279
10276
  } | undefined;
10280
10277
  } | undefined;
10281
10278
  highlightFields?: string[] | undefined;
10282
- compactLayout?: string[] | undefined;
10283
10279
  stageField?: string | false | undefined;
10284
10280
  listViews?: Record<string, {
10285
10281
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -10727,7 +10723,7 @@ declare const NotificationPreference: Omit<{
10727
10723
  readonly managedBy: "system";
10728
10724
  readonly description: "Per-user × topic × channel notification toggle (mute/allow), with admin-global defaults.";
10729
10725
  readonly titleFormat: "{user_id} · {topic} · {channel}";
10730
- readonly compactLayout: ["user_id", "topic", "channel", "enabled", "digest"];
10726
+ readonly highlightFields: ["user_id", "topic", "channel", "enabled", "digest"];
10731
10727
  readonly fields: {
10732
10728
  readonly id: {
10733
10729
  readonly readonly?: boolean | undefined;
@@ -12642,7 +12638,6 @@ declare const NotificationSubscription: Omit<{
12642
12638
  } | undefined;
12643
12639
  } | undefined;
12644
12640
  highlightFields?: string[] | undefined;
12645
- compactLayout?: string[] | undefined;
12646
12641
  stageField?: string | false | undefined;
12647
12642
  listViews?: Record<string, {
12648
12643
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -13090,7 +13085,7 @@ declare const NotificationSubscription: Omit<{
13090
13085
  readonly managedBy: "system";
13091
13086
  readonly description: "Standing subscription of a principal (role/team/user) to a notification topic.";
13092
13087
  readonly titleFormat: "{principal} · {topic}";
13093
- readonly compactLayout: ["topic", "principal", "enabled", "created_at"];
13088
+ readonly highlightFields: ["topic", "principal", "enabled", "created_at"];
13094
13089
  readonly fields: {
13095
13090
  readonly id: {
13096
13091
  readonly readonly?: boolean | undefined;
@@ -14308,7 +14303,6 @@ declare const NotificationTemplate: Omit<{
14308
14303
  } | undefined;
14309
14304
  } | undefined;
14310
14305
  highlightFields?: string[] | undefined;
14311
- compactLayout?: string[] | undefined;
14312
14306
  stageField?: string | false | undefined;
14313
14307
  listViews?: Record<string, {
14314
14308
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -14756,7 +14750,7 @@ declare const NotificationTemplate: Omit<{
14756
14750
  readonly managedBy: "system";
14757
14751
  readonly description: "Per (topic × channel × locale) render template for notifications.";
14758
14752
  readonly titleFormat: "{topic} · {channel} · {locale}";
14759
- readonly compactLayout: ["topic", "channel", "locale", "is_active"];
14753
+ readonly highlightFields: ["topic", "channel", "locale", "is_active"];
14760
14754
  readonly fields: {
14761
14755
  readonly id: {
14762
14756
  readonly readonly?: boolean | undefined;
@@ -17026,7 +17020,6 @@ declare const HttpDelivery: Omit<{
17026
17020
  } | undefined;
17027
17021
  } | undefined;
17028
17022
  highlightFields?: string[] | undefined;
17029
- compactLayout?: string[] | undefined;
17030
17023
  stageField?: string | false | undefined;
17031
17024
  listViews?: Record<string, {
17032
17025
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -17482,7 +17475,7 @@ declare const HttpDelivery: Omit<{
17482
17475
  readonly displayNameField: "id";
17483
17476
  readonly nameField: "id";
17484
17477
  readonly titleFormat: "{label} → {url}";
17485
- readonly compactLayout: ["source", "url", "status", "attempts", "next_retry_at"];
17478
+ readonly highlightFields: ["source", "url", "status", "attempts", "next_retry_at"];
17486
17479
  readonly listViews: {
17487
17480
  readonly recent: {
17488
17481
  readonly type: "grid";
package/dist/index.d.ts CHANGED
@@ -1767,7 +1767,6 @@ declare const InboxMessage: Omit<{
1767
1767
  } | undefined;
1768
1768
  } | undefined;
1769
1769
  highlightFields?: string[] | undefined;
1770
- compactLayout?: string[] | undefined;
1771
1770
  stageField?: string | false | undefined;
1772
1771
  listViews?: Record<string, {
1773
1772
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -2214,7 +2213,7 @@ declare const InboxMessage: Omit<{
2214
2213
  readonly description: "User-facing in-app notification rows materialized by the inbox messaging channel.";
2215
2214
  readonly nameField: "title";
2216
2215
  readonly titleFormat: "{title}";
2217
- readonly compactLayout: ["title", "user_id", "severity", "created_at"];
2216
+ readonly highlightFields: ["title", "user_id", "severity", "created_at"];
2218
2217
  readonly listViews: {
2219
2218
  readonly mine: {
2220
2219
  readonly type: "grid";
@@ -4327,7 +4326,6 @@ declare const NotificationReceipt: Omit<{
4327
4326
  } | undefined;
4328
4327
  } | undefined;
4329
4328
  highlightFields?: string[] | undefined;
4330
- compactLayout?: string[] | undefined;
4331
4329
  stageField?: string | false | undefined;
4332
4330
  listViews?: Record<string, {
4333
4331
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -4775,7 +4773,7 @@ declare const NotificationReceipt: Omit<{
4775
4773
  readonly managedBy: "system";
4776
4774
  readonly description: "Per-recipient × channel receipt; the source of truth for notification read-state.";
4777
4775
  readonly titleFormat: "{state}";
4778
- readonly compactLayout: ["notification_id", "user_id", "channel", "state", "at"];
4776
+ readonly highlightFields: ["notification_id", "user_id", "channel", "state", "at"];
4779
4777
  readonly fields: {
4780
4778
  readonly id: {
4781
4779
  readonly readonly?: boolean | undefined;
@@ -6516,7 +6514,6 @@ declare const NotificationDelivery: Omit<{
6516
6514
  } | undefined;
6517
6515
  } | undefined;
6518
6516
  highlightFields?: string[] | undefined;
6519
- compactLayout?: string[] | undefined;
6520
6517
  stageField?: string | false | undefined;
6521
6518
  listViews?: Record<string, {
6522
6519
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -6964,7 +6961,7 @@ declare const NotificationDelivery: Omit<{
6964
6961
  readonly managedBy: "system";
6965
6962
  readonly description: "Durable per-recipient × channel delivery outbox (ADR-0030 Layer 4).";
6966
6963
  readonly titleFormat: "{channel} → {recipient_id}";
6967
- readonly compactLayout: ["notification_id", "recipient_id", "channel", "status", "attempts"];
6964
+ readonly highlightFields: ["notification_id", "recipient_id", "channel", "status", "attempts"];
6968
6965
  readonly fields: {
6969
6966
  readonly id: {
6970
6967
  readonly readonly?: boolean | undefined;
@@ -10279,7 +10276,6 @@ declare const NotificationPreference: Omit<{
10279
10276
  } | undefined;
10280
10277
  } | undefined;
10281
10278
  highlightFields?: string[] | undefined;
10282
- compactLayout?: string[] | undefined;
10283
10279
  stageField?: string | false | undefined;
10284
10280
  listViews?: Record<string, {
10285
10281
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -10727,7 +10723,7 @@ declare const NotificationPreference: Omit<{
10727
10723
  readonly managedBy: "system";
10728
10724
  readonly description: "Per-user × topic × channel notification toggle (mute/allow), with admin-global defaults.";
10729
10725
  readonly titleFormat: "{user_id} · {topic} · {channel}";
10730
- readonly compactLayout: ["user_id", "topic", "channel", "enabled", "digest"];
10726
+ readonly highlightFields: ["user_id", "topic", "channel", "enabled", "digest"];
10731
10727
  readonly fields: {
10732
10728
  readonly id: {
10733
10729
  readonly readonly?: boolean | undefined;
@@ -12642,7 +12638,6 @@ declare const NotificationSubscription: Omit<{
12642
12638
  } | undefined;
12643
12639
  } | undefined;
12644
12640
  highlightFields?: string[] | undefined;
12645
- compactLayout?: string[] | undefined;
12646
12641
  stageField?: string | false | undefined;
12647
12642
  listViews?: Record<string, {
12648
12643
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -13090,7 +13085,7 @@ declare const NotificationSubscription: Omit<{
13090
13085
  readonly managedBy: "system";
13091
13086
  readonly description: "Standing subscription of a principal (role/team/user) to a notification topic.";
13092
13087
  readonly titleFormat: "{principal} · {topic}";
13093
- readonly compactLayout: ["topic", "principal", "enabled", "created_at"];
13088
+ readonly highlightFields: ["topic", "principal", "enabled", "created_at"];
13094
13089
  readonly fields: {
13095
13090
  readonly id: {
13096
13091
  readonly readonly?: boolean | undefined;
@@ -14308,7 +14303,6 @@ declare const NotificationTemplate: Omit<{
14308
14303
  } | undefined;
14309
14304
  } | undefined;
14310
14305
  highlightFields?: string[] | undefined;
14311
- compactLayout?: string[] | undefined;
14312
14306
  stageField?: string | false | undefined;
14313
14307
  listViews?: Record<string, {
14314
14308
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -14756,7 +14750,7 @@ declare const NotificationTemplate: Omit<{
14756
14750
  readonly managedBy: "system";
14757
14751
  readonly description: "Per (topic × channel × locale) render template for notifications.";
14758
14752
  readonly titleFormat: "{topic} · {channel} · {locale}";
14759
- readonly compactLayout: ["topic", "channel", "locale", "is_active"];
14753
+ readonly highlightFields: ["topic", "channel", "locale", "is_active"];
14760
14754
  readonly fields: {
14761
14755
  readonly id: {
14762
14756
  readonly readonly?: boolean | undefined;
@@ -17026,7 +17020,6 @@ declare const HttpDelivery: Omit<{
17026
17020
  } | undefined;
17027
17021
  } | undefined;
17028
17022
  highlightFields?: string[] | undefined;
17029
- compactLayout?: string[] | undefined;
17030
17023
  stageField?: string | false | undefined;
17031
17024
  listViews?: Record<string, {
17032
17025
  type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
@@ -17482,7 +17475,7 @@ declare const HttpDelivery: Omit<{
17482
17475
  readonly displayNameField: "id";
17483
17476
  readonly nameField: "id";
17484
17477
  readonly titleFormat: "{label} → {url}";
17485
- readonly compactLayout: ["source", "url", "status", "attempts", "next_retry_at"];
17478
+ readonly highlightFields: ["source", "url", "status", "attempts", "next_retry_at"];
17486
17479
  readonly listViews: {
17487
17480
  readonly recent: {
17488
17481
  readonly type: "grid";
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
- compactLayout: ["source", "url", "status", "attempts", "next_retry_at"],
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
- compactLayout: ["title", "user_id", "severity", "created_at"],
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
- compactLayout: ["notification_id", "user_id", "channel", "state", "at"],
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
- compactLayout: ["notification_id", "recipient_id", "channel", "status", "attempts"],
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
- compactLayout: ["user_id", "topic", "channel", "enabled", "digest"],
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
- compactLayout: ["topic", "principal", "enabled", "created_at"],
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
- compactLayout: ["topic", "channel", "locale", "is_active"],
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 }),