@tolinax/ayoune-interfaces 2026.51.0 → 2026.52.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.
@@ -34,4 +34,16 @@ export interface IInternalChatMessage extends IDefaultFields {
34
34
  bookmarks: IBookmark[];
35
35
  attachments: IAttachment[];
36
36
  actions: IChatAction[];
37
+ /**
38
+ * Avatar-carrying sender snapshot for the chat bubble header. Mirrors
39
+ * the notification sender shape so the shared rendering widgets treat
40
+ * chat + notification senders identically. `_sender` remains the
41
+ * canonical ObjectId reference.
42
+ */
43
+ sender?: {
44
+ _userId?: ObjectId;
45
+ name?: string;
46
+ avatar?: string;
47
+ email?: string;
48
+ };
37
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2026.51.0",
3
+ "version": "2026.52.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",