@objectstack/service-messaging 11.1.0 → 11.3.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 +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1756,6 +1756,7 @@ declare const InboxMessage: Omit<{
|
|
|
1756
1756
|
summary: string;
|
|
1757
1757
|
type?: string | undefined;
|
|
1758
1758
|
}[] | undefined;
|
|
1759
|
+
nameField?: string | undefined;
|
|
1759
1760
|
displayNameField?: string | undefined;
|
|
1760
1761
|
recordName?: {
|
|
1761
1762
|
type: "text" | "autonumber";
|
|
@@ -2228,6 +2229,7 @@ declare const InboxMessage: Omit<{
|
|
|
2228
2229
|
readonly pluralLabel: "Inbox Messages";
|
|
2229
2230
|
readonly icon: "inbox";
|
|
2230
2231
|
readonly description: "User-facing in-app notification rows materialized by the inbox messaging channel.";
|
|
2232
|
+
readonly nameField: "title";
|
|
2231
2233
|
readonly titleFormat: "{title}";
|
|
2232
2234
|
readonly compactLayout: ["title", "user_id", "severity", "created_at"];
|
|
2233
2235
|
readonly listViews: {
|
|
@@ -4331,6 +4333,7 @@ declare const NotificationReceipt: Omit<{
|
|
|
4331
4333
|
summary: string;
|
|
4332
4334
|
type?: string | undefined;
|
|
4333
4335
|
}[] | undefined;
|
|
4336
|
+
nameField?: string | undefined;
|
|
4334
4337
|
displayNameField?: string | undefined;
|
|
4335
4338
|
recordName?: {
|
|
4336
4339
|
type: "text" | "autonumber";
|
|
@@ -6536,6 +6539,7 @@ declare const NotificationDelivery: Omit<{
|
|
|
6536
6539
|
summary: string;
|
|
6537
6540
|
type?: string | undefined;
|
|
6538
6541
|
}[] | undefined;
|
|
6542
|
+
nameField?: string | undefined;
|
|
6539
6543
|
displayNameField?: string | undefined;
|
|
6540
6544
|
recordName?: {
|
|
6541
6545
|
type: "text" | "autonumber";
|
|
@@ -10315,6 +10319,7 @@ declare const NotificationPreference: Omit<{
|
|
|
10315
10319
|
summary: string;
|
|
10316
10320
|
type?: string | undefined;
|
|
10317
10321
|
}[] | undefined;
|
|
10322
|
+
nameField?: string | undefined;
|
|
10318
10323
|
displayNameField?: string | undefined;
|
|
10319
10324
|
recordName?: {
|
|
10320
10325
|
type: "text" | "autonumber";
|
|
@@ -12694,6 +12699,7 @@ declare const NotificationSubscription: Omit<{
|
|
|
12694
12699
|
summary: string;
|
|
12695
12700
|
type?: string | undefined;
|
|
12696
12701
|
}[] | undefined;
|
|
12702
|
+
nameField?: string | undefined;
|
|
12697
12703
|
displayNameField?: string | undefined;
|
|
12698
12704
|
recordName?: {
|
|
12699
12705
|
type: "text" | "autonumber";
|
|
@@ -14376,6 +14382,7 @@ declare const NotificationTemplate: Omit<{
|
|
|
14376
14382
|
summary: string;
|
|
14377
14383
|
type?: string | undefined;
|
|
14378
14384
|
}[] | undefined;
|
|
14385
|
+
nameField?: string | undefined;
|
|
14379
14386
|
displayNameField?: string | undefined;
|
|
14380
14387
|
recordName?: {
|
|
14381
14388
|
type: "text" | "autonumber";
|
|
@@ -17110,6 +17117,7 @@ declare const HttpDelivery: Omit<{
|
|
|
17110
17117
|
summary: string;
|
|
17111
17118
|
type?: string | undefined;
|
|
17112
17119
|
}[] | undefined;
|
|
17120
|
+
nameField?: string | undefined;
|
|
17113
17121
|
displayNameField?: string | undefined;
|
|
17114
17122
|
recordName?: {
|
|
17115
17123
|
type: "text" | "autonumber";
|
|
@@ -17591,6 +17599,7 @@ declare const HttpDelivery: Omit<{
|
|
|
17591
17599
|
};
|
|
17592
17600
|
readonly description: "Durable outbox row for one outbound-HTTP attempt (ADR-0018). Managed by @objectstack/service-messaging; do not write directly.";
|
|
17593
17601
|
readonly displayNameField: "id";
|
|
17602
|
+
readonly nameField: "id";
|
|
17594
17603
|
readonly titleFormat: "{label} → {url}";
|
|
17595
17604
|
readonly compactLayout: ["source", "url", "status", "attempts", "next_retry_at"];
|
|
17596
17605
|
readonly listViews: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1756,6 +1756,7 @@ declare const InboxMessage: Omit<{
|
|
|
1756
1756
|
summary: string;
|
|
1757
1757
|
type?: string | undefined;
|
|
1758
1758
|
}[] | undefined;
|
|
1759
|
+
nameField?: string | undefined;
|
|
1759
1760
|
displayNameField?: string | undefined;
|
|
1760
1761
|
recordName?: {
|
|
1761
1762
|
type: "text" | "autonumber";
|
|
@@ -2228,6 +2229,7 @@ declare const InboxMessage: Omit<{
|
|
|
2228
2229
|
readonly pluralLabel: "Inbox Messages";
|
|
2229
2230
|
readonly icon: "inbox";
|
|
2230
2231
|
readonly description: "User-facing in-app notification rows materialized by the inbox messaging channel.";
|
|
2232
|
+
readonly nameField: "title";
|
|
2231
2233
|
readonly titleFormat: "{title}";
|
|
2232
2234
|
readonly compactLayout: ["title", "user_id", "severity", "created_at"];
|
|
2233
2235
|
readonly listViews: {
|
|
@@ -4331,6 +4333,7 @@ declare const NotificationReceipt: Omit<{
|
|
|
4331
4333
|
summary: string;
|
|
4332
4334
|
type?: string | undefined;
|
|
4333
4335
|
}[] | undefined;
|
|
4336
|
+
nameField?: string | undefined;
|
|
4334
4337
|
displayNameField?: string | undefined;
|
|
4335
4338
|
recordName?: {
|
|
4336
4339
|
type: "text" | "autonumber";
|
|
@@ -6536,6 +6539,7 @@ declare const NotificationDelivery: Omit<{
|
|
|
6536
6539
|
summary: string;
|
|
6537
6540
|
type?: string | undefined;
|
|
6538
6541
|
}[] | undefined;
|
|
6542
|
+
nameField?: string | undefined;
|
|
6539
6543
|
displayNameField?: string | undefined;
|
|
6540
6544
|
recordName?: {
|
|
6541
6545
|
type: "text" | "autonumber";
|
|
@@ -10315,6 +10319,7 @@ declare const NotificationPreference: Omit<{
|
|
|
10315
10319
|
summary: string;
|
|
10316
10320
|
type?: string | undefined;
|
|
10317
10321
|
}[] | undefined;
|
|
10322
|
+
nameField?: string | undefined;
|
|
10318
10323
|
displayNameField?: string | undefined;
|
|
10319
10324
|
recordName?: {
|
|
10320
10325
|
type: "text" | "autonumber";
|
|
@@ -12694,6 +12699,7 @@ declare const NotificationSubscription: Omit<{
|
|
|
12694
12699
|
summary: string;
|
|
12695
12700
|
type?: string | undefined;
|
|
12696
12701
|
}[] | undefined;
|
|
12702
|
+
nameField?: string | undefined;
|
|
12697
12703
|
displayNameField?: string | undefined;
|
|
12698
12704
|
recordName?: {
|
|
12699
12705
|
type: "text" | "autonumber";
|
|
@@ -14376,6 +14382,7 @@ declare const NotificationTemplate: Omit<{
|
|
|
14376
14382
|
summary: string;
|
|
14377
14383
|
type?: string | undefined;
|
|
14378
14384
|
}[] | undefined;
|
|
14385
|
+
nameField?: string | undefined;
|
|
14379
14386
|
displayNameField?: string | undefined;
|
|
14380
14387
|
recordName?: {
|
|
14381
14388
|
type: "text" | "autonumber";
|
|
@@ -17110,6 +17117,7 @@ declare const HttpDelivery: Omit<{
|
|
|
17110
17117
|
summary: string;
|
|
17111
17118
|
type?: string | undefined;
|
|
17112
17119
|
}[] | undefined;
|
|
17120
|
+
nameField?: string | undefined;
|
|
17113
17121
|
displayNameField?: string | undefined;
|
|
17114
17122
|
recordName?: {
|
|
17115
17123
|
type: "text" | "autonumber";
|
|
@@ -17591,6 +17599,7 @@ declare const HttpDelivery: Omit<{
|
|
|
17591
17599
|
};
|
|
17592
17600
|
readonly description: "Durable outbox row for one outbound-HTTP attempt (ADR-0018). Managed by @objectstack/service-messaging; do not write directly.";
|
|
17593
17601
|
readonly displayNameField: "id";
|
|
17602
|
+
readonly nameField: "id";
|
|
17594
17603
|
readonly titleFormat: "{label} → {url}";
|
|
17595
17604
|
readonly compactLayout: ["source", "url", "status", "attempts", "next_retry_at"];
|
|
17596
17605
|
readonly listViews: {
|
package/dist/index.js
CHANGED
|
@@ -1114,6 +1114,8 @@ var HttpDelivery = ObjectSchema.create({
|
|
|
1114
1114
|
userActions: { create: false, edit: false, delete: false, import: false },
|
|
1115
1115
|
description: "Durable outbox row for one outbound-HTTP attempt (ADR-0018). Managed by @objectstack/service-messaging; do not write directly.",
|
|
1116
1116
|
displayNameField: "id",
|
|
1117
|
+
nameField: "id",
|
|
1118
|
+
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
1117
1119
|
titleFormat: "{label} \u2192 {url}",
|
|
1118
1120
|
compactLayout: ["source", "url", "status", "attempts", "next_retry_at"],
|
|
1119
1121
|
listViews: {
|
|
@@ -2105,6 +2107,8 @@ var InboxMessage = ObjectSchema2.create({
|
|
|
2105
2107
|
pluralLabel: "Inbox Messages",
|
|
2106
2108
|
icon: "inbox",
|
|
2107
2109
|
description: "User-facing in-app notification rows materialized by the inbox messaging channel.",
|
|
2110
|
+
nameField: "title",
|
|
2111
|
+
// [ADR-0079] canonical primary-title pointer (single-field titleFormat)
|
|
2108
2112
|
titleFormat: "{title}",
|
|
2109
2113
|
compactLayout: ["title", "user_id", "severity", "created_at"],
|
|
2110
2114
|
listViews: {
|