@rongcloud/imlib-next 5.10.3 → 5.10.4

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
@@ -629,7 +629,22 @@ declare enum Events {
629
629
  * 我的用户信息变更通知
630
630
  * @since 5.10.1
631
631
  */
632
- OWN_USER_PROFILE_CHANGED = "OWN_USER_PROFILE_CHANGED"
632
+ OWN_USER_PROFILE_CHANGED = "OWN_USER_PROFILE_CHANGED",
633
+ /**
634
+ * 数据库将开始升级
635
+ * @since 5.10.3
636
+ */
637
+ DATABASE_UPGRADE_WILL_START = "DATABASE_UPGRADE_WILL_START",
638
+ /**
639
+ * 数据库升级中
640
+ * @since 5.10.3
641
+ */
642
+ DATABASE_UPGRADING = "DATABASE_UPGRADING",
643
+ /**
644
+ * 数据库升级完成
645
+ * @since 5.10.3
646
+ */
647
+ DATABASE_UPGRADE_DID_COMPLETE = "DATABASE_UPGRADE_DID_COMPLETE"
633
648
  }
634
649
  /**
635
650
  * 消息审核状态
@@ -1291,6 +1306,9 @@ declare type EventListeners = {
1291
1306
  [Events.SUBSCRIBED_RELATION_CHANGE]: (data: ISubscribeRelationInfo[]) => void;
1292
1307
  [Events.SYNC_SUBSCRIBED_USER_STATUS_FINISHED]: (type: SubscribeType) => void;
1293
1308
  [Events.OWN_USER_PROFILE_CHANGED]: (data: IUserProfileInfo) => void;
1309
+ [Events.DATABASE_UPGRADE_WILL_START]: () => void;
1310
+ [Events.DATABASE_UPGRADING]: (progress: number) => void;
1311
+ [Events.DATABASE_UPGRADE_DID_COMPLETE]: (code: ErrorCode) => void;
1294
1312
  };
1295
1313
 
1296
1314
  /**