@laplace.live/internal 1.3.17 → 1.3.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.3.17",
3
+ "version": "1.3.19",
4
4
  "module": "src/index.d.ts",
5
5
  "exports": {
6
6
  ".": "./src/index.d.ts",
@@ -2032,7 +2032,10 @@ export declare namespace BilibiliInternal {
2032
2032
  }
2033
2033
  list: LiveGuardsV2List[]
2034
2034
  top3: LiveGuardsV2List[]
2035
- my_follow_info: {
2035
+ /**
2036
+ * 当前请求 API 的用户信息,为了保障隐私,workers 处理时会去掉此字段,因此标记为 optional
2037
+ */
2038
+ my_follow_info?: {
2036
2039
  accompany_days: number
2037
2040
  auto_renew: number
2038
2041
  renew_remind: {
@@ -2045,7 +2048,10 @@ export declare namespace BilibiliInternal {
2045
2048
  uinfo: LiveGuardsV2Uinfo
2046
2049
  expired_time: string
2047
2050
  }
2048
- guard_warn: {
2051
+ /**
2052
+ * 当前请求 API 的用户的大航海到期信息,为了保障隐私,workers 处理时会去掉此字段,因此标记为 optional
2053
+ */
2054
+ guard_warn?: {
2049
2055
  is_warn: number
2050
2056
  warn: string
2051
2057
  expired: number
@@ -6843,19 +6849,25 @@ export declare namespace BilibiliInternal {
6843
6849
  data: {
6844
6850
  /**
6845
6851
  * 禁言类型:
6852
+ * - `all` 主播对全部用户开启了禁言
6846
6853
  * - `level` 用户等级(已退出历史舞台)
6847
6854
  * - `wealth` 荣耀等级
6848
6855
  * - `medal` 粉丝勋章等级
6849
- * - `member` 全员
6856
+ * - `member` 主播对除房管外的用户开启了禁言
6857
+ * - `follow` 非本房粉丝的用户开启了禁言
6858
+ */
6859
+ type: 'all' | 'level' | 'wealth' | 'medal' | 'member' | 'follow'
6860
+ /**
6861
+ * - 1:
6850
6862
  */
6851
- type: 'level' | 'wealth' | 'medal' | 'member'
6852
6863
  level: number
6853
6864
  /**
6854
6865
  * 禁言时长,`-1` 时为永久禁言,unix 时间戳时为限时禁言
6855
6866
  */
6856
6867
  second: number
6857
6868
  /**
6858
- * ie. '[系统]: 主播对荣耀等级1级以下的用户开启了禁言'
6869
+ * @example '[系统]: 主播对荣耀等级1级以下的用户开启了禁言'
6870
+ * @example "[系统]: 主播对非本房粉丝的用户开启了禁言"
6859
6871
  */
6860
6872
  msg: string
6861
6873
  }
@@ -6873,7 +6885,9 @@ export declare namespace BilibiliInternal {
6873
6885
  level: number
6874
6886
  /** 通常为 0 */
6875
6887
  second: number
6876
- /** `'[系统]: 主播取消了房间禁言'` */
6888
+ /**
6889
+ * @example `'[系统]: 主播取消了房间禁言'`
6890
+ */
6877
6891
  msg: string
6878
6892
  }
6879
6893
  }