@ziggs-ai/contracts 0.28.0 → 0.29.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/chat.d.ts +8 -0
- package/package.json +1 -1
package/dist/chat.d.ts
CHANGED
|
@@ -129,6 +129,14 @@ export interface ChatReadDto {
|
|
|
129
129
|
updatedAt: string | null;
|
|
130
130
|
/** Newest-message snippet. Absent when the chat has no messages. */
|
|
131
131
|
lastMessage?: ChatLastMessage;
|
|
132
|
+
/**
|
|
133
|
+
* The room's first message, so a room named after its opening line can be
|
|
134
|
+
* named before it is opened. Sent by the app's chat list, and absent from
|
|
135
|
+
* reads that do not resolve it. Null when the room has no messages, or when
|
|
136
|
+
* the reader's grant starts after it (a from-now grant never shows a later
|
|
137
|
+
* message in its place).
|
|
138
|
+
*/
|
|
139
|
+
openingMessage?: ChatLastMessage | null;
|
|
132
140
|
/**
|
|
133
141
|
* Unread messages for the reader, capped at 99 so a badge can render "99+".
|
|
134
142
|
* Attached by the list read; absent on reads that do not resolve it.
|
package/package.json
CHANGED