@bcc-code/vue-bcc-chat-ui 5.0.0 → 5.1.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.
- package/dist/chat/data.d.ts +2 -0
- package/dist/chat/index.d.ts +2 -0
- package/dist/chat/types.d.ts +6 -0
- package/dist/vue-bcc-chat-ui.js +22833 -22849
- package/dist/vue-bcc-chat-ui.js.map +1 -1
- package/package.json +1 -1
package/dist/chat/data.d.ts
CHANGED
|
@@ -12,3 +12,5 @@ export declare function scrollToMessage(messageId: string): void;
|
|
|
12
12
|
export declare function getSenderDisplayName(message: BaseMessage | undefined, group?: Ref<Group | undefined>): any;
|
|
13
13
|
export declare function getMessageTextPreview(message?: BaseMessage, showEmoji?: boolean, showAttachmentName?: boolean): string;
|
|
14
14
|
export declare function proxyImage(imageUrl: string): string;
|
|
15
|
+
export declare function getMutedUntil(chatUid: string): Promise<Date | null>;
|
|
16
|
+
export declare function muteChat(chatUid: string, mutedUntil: Date | null): Promise<Date | null>;
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -435,6 +435,8 @@ declare const _default: {
|
|
|
435
435
|
getSenderDisplayName(message: import('@cometchat/chat-sdk-javascript').BaseMessage | undefined, group?: Ref<import('@cometchat/chat-sdk-javascript').Group | undefined>): any;
|
|
436
436
|
getMessageTextPreview(message?: import('@cometchat/chat-sdk-javascript').BaseMessage, showEmoji?: boolean, showAttachmentName?: boolean): string;
|
|
437
437
|
proxyImage(imageUrl: string): string;
|
|
438
|
+
getMutedUntil(chatUid: string): Promise<Date | null>;
|
|
439
|
+
muteChat(chatUid: string, mutedUntil: Date | null): Promise<Date | null>;
|
|
438
440
|
userChats: Ref<import('./types').UserChatInfo[]>;
|
|
439
441
|
install: typeof install;
|
|
440
442
|
updateGetGroupMessages: typeof updateGetGroupMessages;
|
package/dist/chat/types.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export interface UserChatInfo {
|
|
|
54
54
|
lastMessage: MessageInfo;
|
|
55
55
|
membersCount: number;
|
|
56
56
|
tags: string[];
|
|
57
|
+
muteSettings?: Date | null;
|
|
57
58
|
}
|
|
58
59
|
export interface MessageInfo {
|
|
59
60
|
text?: string;
|
|
@@ -93,3 +94,8 @@ export interface SearchedItems {
|
|
|
93
94
|
conversations: Conversation[];
|
|
94
95
|
messages: Message[];
|
|
95
96
|
}
|
|
97
|
+
export interface ParticipantSettings {
|
|
98
|
+
chatUid: string;
|
|
99
|
+
personUid: string;
|
|
100
|
+
mutedUntil: Date | null;
|
|
101
|
+
}
|