@medipha/chat 1.0.51 → 1.0.52
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/features/files/file-attachment.d.ts +4 -1
- package/dist/features/tags/tag-filter-dropdown.d.ts +25 -0
- package/dist/features/tags/tag-filter.d.ts +4 -0
- package/dist/features/tags/tag-form-dialog.d.ts +10 -0
- package/dist/features/tags/tag-manager-modal.d.ts +6 -0
- package/dist/features/tags/tag-quick-picker.d.ts +12 -0
- package/dist/index.cjs +66 -66
- package/dist/index.js +11018 -10051
- package/dist/pages/Setting/archive/archive-file-list.d.ts +2 -1
- package/dist/pages/Setting/archive/archive-media-grid.d.ts +2 -1
- package/dist/pages/Setting/archive/archive-view.d.ts +2 -1
- package/dist/pages/conversation/conversation-header/conversation-header.d.ts +3 -2
- package/dist/pages/sidebar/sidbar-conversation-list/conversation-list-row.d.ts +19 -0
- package/dist/pages/sidebar/sidbar-conversation-list/conversation-more-menu.d.ts +14 -0
- package/dist/pages/sidebar/sidbar-conversation-list/sidbar-conversation-list.d.ts +7 -2
- package/dist/pages/sidebar/sidebar-filter/sidebar-filter.d.ts +4 -1
- package/dist/shared/components/conversation-tag-label.d.ts +13 -0
- package/dist/store/conversationsStore.d.ts +4 -1
- package/dist/store/tagsStore.d.ts +16 -0
- package/dist/styles.css +1 -1
- package/dist/utils/chat.d.ts +6 -0
- package/package.json +2 -2
package/dist/utils/chat.d.ts
CHANGED
|
@@ -233,8 +233,14 @@ export interface Conversation {
|
|
|
233
233
|
/** GROUP only; null for DIRECT. The server always fills the defaults in, so an absent
|
|
234
234
|
* value here means the conversation payload predates group settings, not "unset". */
|
|
235
235
|
settings?: GroupSettings | null;
|
|
236
|
+
tag?: ConversationTag | null;
|
|
236
237
|
[key: string]: unknown;
|
|
237
238
|
}
|
|
239
|
+
export interface ConversationTag {
|
|
240
|
+
id: string;
|
|
241
|
+
name: string;
|
|
242
|
+
color: string;
|
|
243
|
+
}
|
|
238
244
|
export type GroupMessagePermission = 'ALL_MEMBERS' | 'OWNER_ONLY';
|
|
239
245
|
export interface GroupSettings {
|
|
240
246
|
messagePermission: GroupMessagePermission;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipha/chat",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.52",
|
|
4
4
|
"description": "Embeddable Medic-ERP chat module for React applications.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"uuid": "^11.0.5",
|
|
60
60
|
"yet-another-react-lightbox": "^3.32.2",
|
|
61
61
|
"zustand": "^5.0.8",
|
|
62
|
-
"@medipha/chat-core": "1.0.
|
|
62
|
+
"@medipha/chat-core": "1.0.23"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@eslint/js": "^10.0.1",
|