@bcc-code/vue-bcc-chat-ui 1.2.9 → 1.2.11
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/data.d.ts +3 -0
- package/dist/chat/index.d.ts +1 -0
- package/dist/vue-bcc-chat-ui.js +126 -117
- package/package.json +1 -1
- package/src/components/BccChatMessageList.vue +14 -2
package/dist/chat/data.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface UserChatInfo {
|
|
|
5
5
|
name: string;
|
|
6
6
|
unreadMessageCount: number;
|
|
7
7
|
lastMessage: MessageInfo;
|
|
8
|
+
membersCount: number;
|
|
8
9
|
tags: string[];
|
|
9
10
|
}
|
|
10
11
|
export interface MessageInfo {
|
|
@@ -16,11 +17,13 @@ export interface MessageInfo {
|
|
|
16
17
|
export declare const userChats: Ref<UserChatInfo[]>;
|
|
17
18
|
export declare const getGroup: (groupUid: string) => Promise<Group>;
|
|
18
19
|
export declare const clearGroupChatCount: (groupUid: string) => Promise<void>;
|
|
20
|
+
export declare const getGroupOnlineCount: (groupUid: string) => Promise<Object | 0>;
|
|
19
21
|
export declare const getUserChats: () => Promise<Ref<UserChatInfo[]>> | undefined;
|
|
20
22
|
declare const _default: {
|
|
21
23
|
getGroup: (groupUid: string) => Promise<Group>;
|
|
22
24
|
userChats: Ref<UserChatInfo[]>;
|
|
23
25
|
getUserChats: () => Promise<Ref<UserChatInfo[]>> | undefined;
|
|
24
26
|
clearGroupChatCount: (groupUid: string) => Promise<void>;
|
|
27
|
+
getGroupOnlineCount: (groupUid: string) => Promise<Object | 0>;
|
|
25
28
|
};
|
|
26
29
|
export default _default;
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ declare const _default: {
|
|
|
42
42
|
userChats: Ref<import("./data").UserChatInfo[]>;
|
|
43
43
|
getUserChats: () => Promise<Ref<import("./data").UserChatInfo[]>> | undefined;
|
|
44
44
|
clearGroupChatCount: (groupUid: string) => Promise<void>;
|
|
45
|
+
getGroupOnlineCount: (groupUid: string) => Promise<Object | 0>;
|
|
45
46
|
};
|
|
46
47
|
};
|
|
47
48
|
export default _default;
|