@laplace.live/internal 1.3.27 → 1.3.29

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.27",
3
+ "version": "1.3.29",
4
4
  "module": "src/index.d.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1304,6 +1304,20 @@ export declare namespace BilibiliInternal {
1304
1304
  }
1305
1305
  }
1306
1306
 
1307
+ /**
1308
+ * 用户关注列表,只返回 uid,无需登录态且不受隐私设置限制,一次性返回全量(无分页)
1309
+ * @link https://api.vc.bilibili.com/feed/v1/feed/get_attention_list?uid=${uid}
1310
+ */
1311
+ export interface FeedAttentionList {
1312
+ code: number
1313
+ message: string
1314
+ ttl: number
1315
+ data: {
1316
+ /** 关注的 uid 列表,目标用户不存在时为空数组 */
1317
+ list: number[]
1318
+ }
1319
+ }
1320
+
1307
1321
  /**
1308
1322
  * 直播个人信息,只有登录的时候可用
1309
1323
  * @link https://api.live.bilibili.com/xlive/web-ucenter/user/get_user_info
@@ -166,6 +166,18 @@ export declare namespace LaplaceInternal {
166
166
  from: 'cache' | 'origin'
167
167
  }
168
168
 
169
+ /** FollowingV2 (feed attention list) 的数据库扩展,`?history=1` 时携带 `laplace` 块 */
170
+ interface FollowingV2ResponseExtended extends BilibiliInternal.HTTPS.Prod.FeedAttentionList {
171
+ laplace?: {
172
+ /** 曾关注但已取关的用户,按取关观测时间倒序;时间均为观测时间(毫秒时间戳) */
173
+ unfollowed: Array<{
174
+ uid: number
175
+ lastSeenAt: number
176
+ unfollowedAt: number
177
+ }>
178
+ }
179
+ }
180
+
169
181
  /**
170
182
  * 由 vtbs 整理来的直播间开播状态
171
183
  */
@@ -210,7 +222,8 @@ export declare namespace LaplaceInternal {
210
222
  * - `?user=<uid>` — filter to fan suits belonging to this streamer (fan_mid)
211
223
  * - `?publisher=<uid>` — filter by publisher/distributor (`owner`)
212
224
  * - `?withDetails=true` — include `ownerDetails` on each item (joined owner user row)
213
- * - `?assets=archived` — rewrite Bilibili CDN URLs to their archived R2 URLs
225
+ * - `?useCache=all` — serve archived R2 URLs for all Bilibili CDN assets (when mirrored)
226
+ * - `?useCache=video` — serve archived R2 URLs for video assets only; images stay at origin
214
227
  */
215
228
  export interface ListSuits {
216
229
  data: Suit[]
@@ -261,7 +274,8 @@ export declare namespace LaplaceInternal {
261
274
  * - `?pageSize=100` — items per page (1–500, default 100)
262
275
  * - `?all=true` — return every row without pagination; `data` holds everything, `pageSize` equals `total`, `hasMore` is `false`
263
276
  * - `?user=<uid>` — filter to collections whose `relatedUsers` contains this UID
264
- * - `?assets=archived` — rewrite Bilibili CDN URLs to their archived R2 URLs
277
+ * - `?useCache=all` — serve archived R2 URLs for all Bilibili CDN assets (when mirrored)
278
+ * - `?useCache=video` — serve archived R2 URLs for video assets only; images stay at origin
265
279
  */
266
280
  export interface ListCollections {
267
281
  data: Collection[]