@rongcloud/engine 5.24.0 → 5.24.1

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 CHANGED
@@ -6069,7 +6069,7 @@ interface IChatroomListenerData {
6069
6069
  */
6070
6070
  userChange?: IChatroomUserChangeInfo;
6071
6071
  /**
6072
- * 聊天室销毁
6072
+ * 聊天室销毁事件,值为销毁的聊天室 ID
6073
6073
  */
6074
6074
  chatroomDestroyed?: string;
6075
6075
  /**
@@ -9715,18 +9715,26 @@ declare type LogReader = (startTime: number, endTime: number, level: LogL, realt
9715
9715
  }>;
9716
9716
  declare type LogWriter = (data: ILogData) => void;
9717
9717
  /**
9718
- * @hidden
9718
+ * 日志存储代理类
9719
9719
  */
9720
9720
  declare class LogDBProxy {
9721
9721
  #private;
9722
+ /**
9723
+ * @hidden
9724
+ * @param reader 日志读取实现
9725
+ * @param writer 日志写入实现
9726
+ */
9727
+ constructor(reader: LogReader, writer: LogWriter);
9722
9728
  /**
9723
9729
  * 仅供内部使用,谨慎调用
9730
+ * @hidden
9724
9731
  */
9725
9732
  read(startTime: number, endTime: number, level: LogL, realtimeReport: boolean, tableName?: string): Promise<{
9726
9733
  logs: ILogData[];
9727
9734
  }>;
9728
9735
  /**
9729
9736
  * 仅供内部使用,谨慎调用
9737
+ * @hidden
9730
9738
  */
9731
9739
  write(data: ILogData): void | Promise<void>;
9732
9740
  /**
@@ -9739,7 +9747,6 @@ declare class LogDBProxy {
9739
9747
  setLogWriter(writer: LogWriter): this;
9740
9748
  }
9741
9749
  /**
9742
- * @hidden
9743
9750
  * 创建一个默认的日志代理
9744
9751
  */
9745
9752
  declare function createLogDBProxy(): LogDBProxy;