@rongcloud/engine 5.8.2-enterprise-alpha.12 → 5.8.2-enterprise-alpha.14
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/index.d.ts +11 -3
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5048,7 +5048,7 @@ interface IEngine {
|
|
|
5048
5048
|
/**
|
|
5049
5049
|
* 设置消息内容
|
|
5050
5050
|
*/
|
|
5051
|
-
setMessageContent(messageId: number, content: any, messageType: string): Promise<ErrorCode>;
|
|
5051
|
+
setMessageContent(messageId: number, content: any, messageType: string, searchWord: string): Promise<ErrorCode>;
|
|
5052
5052
|
/**
|
|
5053
5053
|
* 设置消息搜索字段
|
|
5054
5054
|
*/
|
|
@@ -6733,7 +6733,7 @@ declare class APIContext {
|
|
|
6733
6733
|
/**
|
|
6734
6734
|
* 设置消息内容
|
|
6735
6735
|
*/
|
|
6736
|
-
setMessageContent(messageId: number, content: any, messageType: string): Promise<ErrorCode>;
|
|
6736
|
+
setMessageContent(messageId: number, content: any, messageType: string, searchWord: string): Promise<ErrorCode>;
|
|
6737
6737
|
/**
|
|
6738
6738
|
* 设置消息搜索字段
|
|
6739
6739
|
*/
|
|
@@ -6842,6 +6842,10 @@ declare class APIContext {
|
|
|
6842
6842
|
testProxy(proxy: IProxy, testHost: string): Promise<IResponse>;
|
|
6843
6843
|
initAndOpenDatabase(userId: string): Promise<IAsyncRes<void>>;
|
|
6844
6844
|
closeDatabase(): Promise<IAsyncRes<void>>;
|
|
6845
|
+
getMessagesByMessageTypeFromConversationTypes(targetIds: string[] | null, channelIds: string[] | null, objectName: string[] | null, keyWord: string | null, timestamp: number, desc: 0 | 1, count: number, conversationTypes: ConversationType[] | null): Promise<IAsyncRes<{
|
|
6846
|
+
list: IReceivedMessage[];
|
|
6847
|
+
hasMore: boolean;
|
|
6848
|
+
}>>;
|
|
6845
6849
|
}
|
|
6846
6850
|
|
|
6847
6851
|
declare class PluginContext {
|
|
@@ -7769,7 +7773,7 @@ declare abstract class AEngine {
|
|
|
7769
7773
|
/**
|
|
7770
7774
|
* 设置消息内容
|
|
7771
7775
|
*/
|
|
7772
|
-
abstract setMessageContent(messageId: number, content: any, messageType: string): Promise<ErrorCode>;
|
|
7776
|
+
abstract setMessageContent(messageId: number, content: any, messageType: string, searchWord: string): Promise<ErrorCode>;
|
|
7773
7777
|
/**
|
|
7774
7778
|
* 设置消息搜索字段
|
|
7775
7779
|
*/
|
|
@@ -7963,6 +7967,10 @@ declare abstract class AEngine {
|
|
|
7963
7967
|
abstract setNetwork(data: INetwork, isUnPrintLog?: boolean): void;
|
|
7964
7968
|
abstract initAndOpenDatabase(userId: string): Promise<IAsyncRes<void>>;
|
|
7965
7969
|
abstract closeDatabase(): Promise<IAsyncRes<void>>;
|
|
7970
|
+
abstract getMessagesByMessageTypeFromConversationTypes(targetIds: string[] | null, channelIds: string[] | null, objectName: string[] | null, keyWord: string | null, timestamp: number, desc: 0 | 1, count: number, conversationTypes: ConversationType[] | null): IPromiseResult<{
|
|
7971
|
+
list: IReceivedMessage[];
|
|
7972
|
+
hasMore: boolean;
|
|
7973
|
+
}>;
|
|
7966
7974
|
}
|
|
7967
7975
|
|
|
7968
7976
|
interface IUrlCenterInitOption {
|