@laplace.live/internal 1.1.102 → 1.1.104
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 +41 -78
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1175,6 +1175,8 @@ export declare namespace BilibiliInternal {
|
|
|
1175
1175
|
* @deprecated 目前b站 **可能** 不再使用该 API,有停用风险,只有个别活动直播间(特殊背景样式,例如德云色)还会继续用
|
|
1176
1176
|
* 通过 /blanc/21696950 可暂时强制恢复该请求调用
|
|
1177
1177
|
*
|
|
1178
|
+
* @link https://live.bilibili.com/blanc/21696950
|
|
1179
|
+
*
|
|
1178
1180
|
*/
|
|
1179
1181
|
export interface GetInfoByRoom {
|
|
1180
1182
|
/**
|
|
@@ -1192,8 +1194,10 @@ export declare namespace BilibiliInternal {
|
|
|
1192
1194
|
export interface RoomInfoData {
|
|
1193
1195
|
/**
|
|
1194
1196
|
* 由 laplace-workers room-info APi 额外传入的字段,主要给 laplace-chat 控制台使用
|
|
1197
|
+
*
|
|
1198
|
+
* @deprecated Jun 1, 2025 不再魔改官方返回,直接从官方的不知道什么时候加的 room_rank_info 拿
|
|
1195
1199
|
*/
|
|
1196
|
-
perf_info
|
|
1200
|
+
perf_info?: {
|
|
1197
1201
|
/** 高能榜 */
|
|
1198
1202
|
online: number
|
|
1199
1203
|
users: BilibiliInternal.HTTPS.Prod.ContributionRankUser[]
|
|
@@ -1614,29 +1618,11 @@ export declare namespace BilibiliInternal {
|
|
|
1614
1618
|
anchor_rank_entry: null
|
|
1615
1619
|
user_rank_entry: {
|
|
1616
1620
|
user_contribution_rank_entry: {
|
|
1617
|
-
item:
|
|
1618
|
-
uid: number
|
|
1619
|
-
name: string
|
|
1620
|
-
face: string
|
|
1621
|
-
rank: number
|
|
1622
|
-
score: number
|
|
1623
|
-
medal_info: {
|
|
1624
|
-
guard_level: number
|
|
1625
|
-
medal_color_start: number
|
|
1626
|
-
medal_color_end: number
|
|
1627
|
-
medal_color_border: number
|
|
1628
|
-
medal_name: string
|
|
1629
|
-
level: number
|
|
1630
|
-
target_id: number
|
|
1631
|
-
is_light: number
|
|
1632
|
-
} | null
|
|
1633
|
-
guard_level: number
|
|
1634
|
-
wealth_level: number
|
|
1635
|
-
is_mystery: boolean
|
|
1636
|
-
uinfo: Uinfo
|
|
1637
|
-
}[]
|
|
1621
|
+
item: ContributionRankUser[]
|
|
1638
1622
|
count: number
|
|
1639
1623
|
show_max: number
|
|
1624
|
+
count_text: string
|
|
1625
|
+
non_expandable: boolean
|
|
1640
1626
|
}
|
|
1641
1627
|
}
|
|
1642
1628
|
user_rank_tab_list: {
|
|
@@ -1789,8 +1775,18 @@ export declare namespace BilibiliInternal {
|
|
|
1789
1775
|
old_title_css_id: string
|
|
1790
1776
|
title_css_id: string
|
|
1791
1777
|
} | null
|
|
1792
|
-
|
|
1793
|
-
|
|
1778
|
+
/**
|
|
1779
|
+
* - 在 room-info 的 room_rank_info 中会返回 null
|
|
1780
|
+
* - queryContributionRank 中会返回实际值
|
|
1781
|
+
*/
|
|
1782
|
+
guard: {
|
|
1783
|
+
level: number
|
|
1784
|
+
expired_str: string
|
|
1785
|
+
} | null
|
|
1786
|
+
uhead_frame: {
|
|
1787
|
+
id: number
|
|
1788
|
+
frame_img: string
|
|
1789
|
+
} | null
|
|
1794
1790
|
guard_leader: null
|
|
1795
1791
|
}
|
|
1796
1792
|
|
|
@@ -1863,62 +1859,16 @@ export declare namespace BilibiliInternal {
|
|
|
1863
1859
|
rank: number
|
|
1864
1860
|
score: number
|
|
1865
1861
|
medal_info: QueryContributionRankMedalInfo
|
|
1862
|
+
/**
|
|
1863
|
+
* 在 room-info 的 room_rank_info 中永远返回 0 😅
|
|
1864
|
+
*
|
|
1865
|
+
* 但是在 medal_info 中此时会无视观众当前佩戴的粉丝牌,只展示当前直播间所对应的粉丝牌
|
|
1866
|
+
* 因此可以从 medal_info 中判断大航海等级
|
|
1867
|
+
*/
|
|
1866
1868
|
guard_level: number
|
|
1867
1869
|
wealth_level: number
|
|
1868
1870
|
is_mystery: boolean
|
|
1869
|
-
uinfo:
|
|
1870
|
-
uid: number
|
|
1871
|
-
base: {
|
|
1872
|
-
name: string
|
|
1873
|
-
face: string
|
|
1874
|
-
name_color: number
|
|
1875
|
-
is_mystery: boolean
|
|
1876
|
-
risk_ctrl_info: {
|
|
1877
|
-
name: string
|
|
1878
|
-
face: string
|
|
1879
|
-
}
|
|
1880
|
-
origin_info: {
|
|
1881
|
-
name: string
|
|
1882
|
-
face: string
|
|
1883
|
-
}
|
|
1884
|
-
official_info: {
|
|
1885
|
-
role: number
|
|
1886
|
-
title: string
|
|
1887
|
-
desc: string
|
|
1888
|
-
type: number
|
|
1889
|
-
}
|
|
1890
|
-
}
|
|
1891
|
-
medal: {
|
|
1892
|
-
name: string
|
|
1893
|
-
level: number
|
|
1894
|
-
color_start: number
|
|
1895
|
-
color_end: number
|
|
1896
|
-
color_border: number
|
|
1897
|
-
color: number
|
|
1898
|
-
id: number
|
|
1899
|
-
typ: number
|
|
1900
|
-
is_light: number
|
|
1901
|
-
ruid: number
|
|
1902
|
-
guard_level: number
|
|
1903
|
-
score: number
|
|
1904
|
-
guard_icon: string
|
|
1905
|
-
honor_icon: string
|
|
1906
|
-
}
|
|
1907
|
-
wealth: {
|
|
1908
|
-
level: number
|
|
1909
|
-
dm_icon_key: string
|
|
1910
|
-
}
|
|
1911
|
-
title: {
|
|
1912
|
-
old_title_css_id: string
|
|
1913
|
-
title_css_id: string
|
|
1914
|
-
}
|
|
1915
|
-
guard: {
|
|
1916
|
-
level: number
|
|
1917
|
-
expired_str: Date
|
|
1918
|
-
}
|
|
1919
|
-
uhead_frame: null
|
|
1920
|
-
guard_leader: null
|
|
1921
|
-
}
|
|
1871
|
+
uinfo: Uinfo
|
|
1922
1872
|
}
|
|
1923
1873
|
|
|
1924
1874
|
/** 高能中的粉丝牌 */
|
|
@@ -3452,7 +3402,18 @@ export declare namespace BilibiliInternal {
|
|
|
3452
3402
|
is_latest_100honour: number
|
|
3453
3403
|
}
|
|
3454
3404
|
is_followed: boolean
|
|
3405
|
+
/**
|
|
3406
|
+
* @example `bfs/space/dbba57ab872ccd22940d8c812a22655c309c852f.png`
|
|
3407
|
+
*/
|
|
3455
3408
|
top_photo: string
|
|
3409
|
+
/**
|
|
3410
|
+
* @since 2025-06-18
|
|
3411
|
+
*/
|
|
3412
|
+
top_photo_v2: {
|
|
3413
|
+
l_200h_img: string
|
|
3414
|
+
l_img: string
|
|
3415
|
+
sid: number
|
|
3416
|
+
}
|
|
3456
3417
|
theme: {}
|
|
3457
3418
|
sys_notice: {}
|
|
3458
3419
|
live_room: {
|
|
@@ -5181,7 +5142,9 @@ export declare namespace BilibiliInternal {
|
|
|
5181
5142
|
uid: number
|
|
5182
5143
|
base: {
|
|
5183
5144
|
/**
|
|
5184
|
-
*
|
|
5145
|
+
* 匿名时此处 **通常** 会被打码,下列事件包含 UINFO 时此处没打码,完整行为需更多调查
|
|
5146
|
+
*
|
|
5147
|
+
* - `ONLINE_RANK_V2` 没打码
|
|
5185
5148
|
*/
|
|
5186
5149
|
name: string
|
|
5187
5150
|
face: string
|