@nurama/types 1.4.5 → 1.4.6

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 CHANGED
@@ -206,6 +206,14 @@ interface BaseChatMessage {
206
206
  * @format int64
207
207
  */
208
208
  updatedAt?: number;
209
+ /**
210
+ * Whether the message is highlighted, and by whom and when. `highlightedAt`
211
+ * is what the highlights drawer's "new" markers compare against.
212
+ */
213
+ highlighted?: boolean;
214
+ highlightedById?: ObjectId | null;
215
+ /** @format int64 */
216
+ highlightedAt?: number | null;
209
217
  /**
210
218
  * AI authoring role. Null on plain user messages; set when Nu wrote the
211
219
  * row. See packages/types/src/chat-ai.ts for the surrounding topic shape.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurama/types",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Shared TypeScript types for the Nurama ecosystem",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/chat.ts CHANGED
@@ -213,6 +213,14 @@ interface BaseChatMessage {
213
213
  * @format int64
214
214
  */
215
215
  updatedAt?: number;
216
+ /**
217
+ * Whether the message is highlighted, and by whom and when. `highlightedAt`
218
+ * is what the highlights drawer's "new" markers compare against.
219
+ */
220
+ highlighted?: boolean;
221
+ highlightedById?: ObjectId | null;
222
+ /** @format int64 */
223
+ highlightedAt?: number | null;
216
224
  /**
217
225
  * AI authoring role. Null on plain user messages; set when Nu wrote the
218
226
  * row. See packages/types/src/chat-ai.ts for the surrounding topic shape.