@laplace.live/internal 1.3.42 → 1.3.46
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 +1 -1
- package/src/namespaces/laplace.d.ts +30 -1
package/package.json
CHANGED
|
@@ -115,6 +115,25 @@ export declare namespace LaplaceInternal {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
+
/**
|
|
119
|
+
* VTuber 名录列表,由外部数据转换而来
|
|
120
|
+
* /laplace/vtuber-roster
|
|
121
|
+
*/
|
|
122
|
+
export interface VtuberRoster {
|
|
123
|
+
v: 1
|
|
124
|
+
updatedAt: string
|
|
125
|
+
rows: [
|
|
126
|
+
uid: number,
|
|
127
|
+
name: string,
|
|
128
|
+
face: string,
|
|
129
|
+
followers: number,
|
|
130
|
+
guards: number,
|
|
131
|
+
videos: number,
|
|
132
|
+
group: string,
|
|
133
|
+
room: number,
|
|
134
|
+
][]
|
|
135
|
+
}
|
|
136
|
+
|
|
118
137
|
/**
|
|
119
138
|
* 直播间排名列表,由外部 API 聚合而来
|
|
120
139
|
* /laplace/ranking
|
|
@@ -180,9 +199,13 @@ export declare namespace LaplaceInternal {
|
|
|
180
199
|
relation: number
|
|
181
200
|
}
|
|
182
201
|
|
|
183
|
-
/** FollowingV2 (feed attention list) 的数据库扩展,`?history=1` / `?enrich=1`
|
|
202
|
+
/** FollowingV2 (feed attention list) 的数据库扩展,`?history=1` / `?enrich=1` 或上游失败兜底时携带 `laplace` 块 */
|
|
184
203
|
interface FollowingV2ResponseExtended extends BilibiliInternal.HTTPS.Prod.FeedAttentionList {
|
|
185
204
|
laplace?: {
|
|
205
|
+
/** 上游失败时 `data.list` 改用库存列表兜底,`lastFetchedAt` 为其最近一次成功抓取时间(毫秒时间戳);正常返回时无此字段 */
|
|
206
|
+
stale?: {
|
|
207
|
+
lastFetchedAt: number
|
|
208
|
+
}
|
|
186
209
|
/** 曾关注但已取关的用户,按取关观测时间倒序;时间均为观测时间(毫秒时间戳)。`?history=1` 时返回 */
|
|
187
210
|
unfollowed?: Array<{
|
|
188
211
|
uid: number
|
|
@@ -461,6 +484,9 @@ export declare namespace LaplaceInternal {
|
|
|
461
484
|
room: number
|
|
462
485
|
liveFansCount: number
|
|
463
486
|
liveFansMedal: string | null
|
|
487
|
+
followers: number | null
|
|
488
|
+
guards: number | null
|
|
489
|
+
videos: number | null
|
|
464
490
|
avatar: string | null
|
|
465
491
|
/** 2024-12-15T03:44:13.788Z */
|
|
466
492
|
updatedAt: string
|
|
@@ -544,6 +570,9 @@ export declare namespace LaplaceInternal {
|
|
|
544
570
|
liveFansCount: number | null
|
|
545
571
|
liveFansMedal: string | null
|
|
546
572
|
liveStatus: number | null
|
|
573
|
+
followers: number | null
|
|
574
|
+
guards: number | null
|
|
575
|
+
videos: number | null
|
|
547
576
|
/** @deprecated use `guildInfo` instead */
|
|
548
577
|
guild: number | null
|
|
549
578
|
avatar: string | null
|