@bcc-code/vue-bcc-chat-ui 7.1.7 → 7.1.9
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.d.ts +5 -1
- package/dist/style.css +1 -1
- package/dist/vue-bcc-chat-ui.js +1531 -1494
- package/dist/vue-bcc-chat-ui.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { BaseMessage } from '@cometchat/chat-sdk-javascript';
|
|
|
3
3
|
import { ComponentOptionsMixin } from 'vue';
|
|
4
4
|
import { ComponentProvideOptions } from 'vue';
|
|
5
5
|
import { ComputedRef } from 'vue';
|
|
6
|
+
import { Conversation } from '@cometchat/chat-sdk-javascript';
|
|
6
7
|
import { DefineComponent } from 'vue';
|
|
7
8
|
import { Group } from '@cometchat/chat-sdk-javascript';
|
|
8
9
|
import { MessageReceipt } from '@cometchat/chat-sdk-javascript';
|
|
@@ -94,6 +95,7 @@ declare const chat: {
|
|
|
94
95
|
connecting: ComputedRef<boolean>;
|
|
95
96
|
loggedIn: ComputedRef<boolean>;
|
|
96
97
|
userChats: ComputedRef<UserChatInfo[]>;
|
|
98
|
+
userUid: ComputedRef<string | undefined>;
|
|
97
99
|
connect: typeof connect;
|
|
98
100
|
disconnect: typeof disconnect;
|
|
99
101
|
disconnectAll: typeof disconnectAll;
|
|
@@ -238,7 +240,7 @@ export declare interface ChatConversationItem {
|
|
|
238
240
|
muteSettings?: Date | null;
|
|
239
241
|
tags: string[];
|
|
240
242
|
memberCount?: number;
|
|
241
|
-
source
|
|
243
|
+
source?: Conversation | null;
|
|
242
244
|
}
|
|
243
245
|
|
|
244
246
|
export declare type ChatDeliveryState = "sent" | "queued" | "sending" | "failed";
|
|
@@ -472,8 +474,10 @@ export declare enum LogSeverity {
|
|
|
472
474
|
export declare interface MessageInfo {
|
|
473
475
|
text?: string;
|
|
474
476
|
type: string;
|
|
477
|
+
senderUid: string;
|
|
475
478
|
senderName: string;
|
|
476
479
|
sentAt: Date;
|
|
480
|
+
readAt: Date | undefined;
|
|
477
481
|
messageReceipts?: MessageReceipt[];
|
|
478
482
|
}
|
|
479
483
|
|