@ikenxuan/amagi 6.1.3 → 6.3.0
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/README.md +3 -2
- package/dist/default/index.cjs +399 -157
- package/dist/default/index.d.ts +813 -248
- package/dist/default/index.mjs +394 -152
- package/dist/exports/axios.cjs +2 -2
- package/dist/exports/express.cjs +2 -2
- package/package.json +21 -21
- /package/dist/{chunk-CKQMccvm.cjs → rolldown-runtime-D6vf50IK.cjs} +0 -0
package/dist/default/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from "node:events";
|
|
1
|
+
import { EventEmitter as EventEmitter$1 } from "node:events";
|
|
2
2
|
import zod from "zod";
|
|
3
3
|
import { AxiosRequestConfig, AxiosResponse, RawAxiosResponseHeaders } from "axios";
|
|
4
4
|
import { ChalkInstance } from "chalk";
|
|
@@ -31,11 +31,11 @@ declare const bv2av: (bvid: string) => number;
|
|
|
31
31
|
//#region src/types/ReturnDataType/Bilibili/ProtobufDanmaku/ProtobufDanmaku_V0.d.ts
|
|
32
32
|
type BiliProtobufDanmaku_V0 = {
|
|
33
33
|
code: number;
|
|
34
|
-
data: DataData$
|
|
34
|
+
data: DataData$30;
|
|
35
35
|
message: string;
|
|
36
36
|
[property: string]: any;
|
|
37
37
|
};
|
|
38
|
-
type DataData$
|
|
38
|
+
type DataData$30 = {
|
|
39
39
|
elems: Elem[];
|
|
40
40
|
[property: string]: any;
|
|
41
41
|
};
|
|
@@ -143,7 +143,7 @@ interface BilibiliMethodOptionsMap {
|
|
|
143
143
|
};
|
|
144
144
|
/** 获取用户相关数据 */
|
|
145
145
|
UserParams: {
|
|
146
|
-
methodType: 'userCard' | 'userDynamicList' | 'uploaderTotalViews' | 'userSpaceInfo'; /** UP主UID */
|
|
146
|
+
methodType: 'userCard' | 'userDynamicList' | 'userLiveStatus' | 'uploaderTotalViews' | 'userSpaceInfo'; /** UP主UID */
|
|
147
147
|
host_mid: number;
|
|
148
148
|
};
|
|
149
149
|
/** 获取动态数据 */
|
|
@@ -331,6 +331,7 @@ type BilibiliMethodOptMap = {
|
|
|
331
331
|
commentReplies: BilibiliMethodOptionsMap['CommentReplyParams'];
|
|
332
332
|
userCard: BilibiliMethodOptionsMap['UserParams'];
|
|
333
333
|
userDynamicList: BilibiliMethodOptionsMap['UserParams'];
|
|
334
|
+
userLiveStatus: BilibiliMethodOptionsMap['UserParams'];
|
|
334
335
|
userSpaceInfo: BilibiliMethodOptionsMap['UserParams'];
|
|
335
336
|
uploaderTotalViews: BilibiliMethodOptionsMap['UserParams'];
|
|
336
337
|
emojiList: BilibiliMethodOptionsMap['EmojiParams'];
|
|
@@ -452,24 +453,31 @@ declare const BilibiliValidationSchemas: {
|
|
|
452
453
|
number?: number;
|
|
453
454
|
}, unknown>>;
|
|
454
455
|
readonly userCard: zod.ZodType<{
|
|
455
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
456
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
456
457
|
host_mid: number;
|
|
457
458
|
}, unknown, zod.core.$ZodTypeInternals<{
|
|
458
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
459
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
459
460
|
host_mid: number;
|
|
460
461
|
}, unknown>>;
|
|
461
462
|
readonly userDynamicList: zod.ZodType<{
|
|
462
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
463
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
464
|
+
host_mid: number;
|
|
465
|
+
}, unknown, zod.core.$ZodTypeInternals<{
|
|
466
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
467
|
+
host_mid: number;
|
|
468
|
+
}, unknown>>;
|
|
469
|
+
readonly userLiveStatus: zod.ZodType<{
|
|
470
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
463
471
|
host_mid: number;
|
|
464
472
|
}, unknown, zod.core.$ZodTypeInternals<{
|
|
465
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
473
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
466
474
|
host_mid: number;
|
|
467
475
|
}, unknown>>;
|
|
468
476
|
readonly userSpaceInfo: zod.ZodType<{
|
|
469
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
477
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
470
478
|
host_mid: number;
|
|
471
479
|
}, unknown, zod.core.$ZodTypeInternals<{
|
|
472
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
480
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
473
481
|
host_mid: number;
|
|
474
482
|
}, unknown>>;
|
|
475
483
|
readonly emojiList: zod.ZodType<{
|
|
@@ -541,10 +549,10 @@ declare const BilibiliValidationSchemas: {
|
|
|
541
549
|
qrcode_key: string;
|
|
542
550
|
}, unknown>>;
|
|
543
551
|
readonly uploaderTotalViews: zod.ZodType<{
|
|
544
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
552
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
545
553
|
host_mid: number;
|
|
546
554
|
}, unknown, zod.core.$ZodTypeInternals<{
|
|
547
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
555
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
548
556
|
host_mid: number;
|
|
549
557
|
}, unknown>>;
|
|
550
558
|
readonly avToBv: zod.ZodType<{
|
|
@@ -631,6 +639,7 @@ declare const BilibiliMethodRoutes: {
|
|
|
631
639
|
readonly commentReplies: "/fetch_comment_reply";
|
|
632
640
|
readonly userCard: "/fetch_user_profile";
|
|
633
641
|
readonly userDynamicList: "/fetch_user_dynamic";
|
|
642
|
+
readonly userLiveStatus: "/fetch_user_live_status";
|
|
634
643
|
readonly userSpaceInfo: "/fetch_user_space_info";
|
|
635
644
|
readonly emojiList: "/fetch_emoji_list";
|
|
636
645
|
readonly bangumiInfo: "/fetch_bangumi_video_info";
|
|
@@ -1356,7 +1365,7 @@ declare const xiaohongshuApiUrls: {
|
|
|
1356
1365
|
* @param data - 请求参数
|
|
1357
1366
|
* @returns 完整的接口URL
|
|
1358
1367
|
*/
|
|
1359
|
-
emojiList(
|
|
1368
|
+
emojiList(_data: XiaohongshuMethodOptionsWithoutMethodType["EmojiListParams"]): {
|
|
1360
1369
|
apiPath: string;
|
|
1361
1370
|
Url: string;
|
|
1362
1371
|
};
|
|
@@ -1758,12 +1767,12 @@ declare const createErrorResponse: (error: APIErrorType, message: string, code?:
|
|
|
1758
1767
|
//#region src/types/ReturnDataType/Bilibili/ArticleCard/ArticleCard_V0.d.ts
|
|
1759
1768
|
type ArticleCard_V0 = {
|
|
1760
1769
|
code: number;
|
|
1761
|
-
data: DataData$
|
|
1770
|
+
data: DataData$29;
|
|
1762
1771
|
message: string;
|
|
1763
1772
|
ttl: number;
|
|
1764
1773
|
[property: string]: any;
|
|
1765
1774
|
};
|
|
1766
|
-
type DataData$
|
|
1775
|
+
type DataData$29 = {
|
|
1767
1776
|
av2: Av2;
|
|
1768
1777
|
cv1: Cv1;
|
|
1769
1778
|
cv2: Cv2;
|
|
@@ -1786,7 +1795,7 @@ type Av2 = {
|
|
|
1786
1795
|
pubdate: number;
|
|
1787
1796
|
rights: Rights$1;
|
|
1788
1797
|
short_link_v2: string;
|
|
1789
|
-
stat: Stat$
|
|
1798
|
+
stat: Stat$4;
|
|
1790
1799
|
state: number;
|
|
1791
1800
|
tid: number;
|
|
1792
1801
|
title: string;
|
|
@@ -1824,7 +1833,7 @@ type Rights$1 = {
|
|
|
1824
1833
|
ugc_pay_preview: number;
|
|
1825
1834
|
[property: string]: any;
|
|
1826
1835
|
};
|
|
1827
|
-
type Stat$
|
|
1836
|
+
type Stat$4 = {
|
|
1828
1837
|
aid: number;
|
|
1829
1838
|
coin: number;
|
|
1830
1839
|
danmaku: number;
|
|
@@ -1885,9 +1894,9 @@ type Cv1Author = {
|
|
|
1885
1894
|
mid: number;
|
|
1886
1895
|
name: string;
|
|
1887
1896
|
nameplate: PurpleNameplate$1;
|
|
1888
|
-
official_verify: PurpleOfficialVerify$
|
|
1889
|
-
pendant: PurplePendant$
|
|
1890
|
-
vip: PurpleVip$
|
|
1897
|
+
official_verify: PurpleOfficialVerify$7;
|
|
1898
|
+
pendant: PurplePendant$7;
|
|
1899
|
+
vip: PurpleVip$7;
|
|
1891
1900
|
[property: string]: any;
|
|
1892
1901
|
};
|
|
1893
1902
|
type PurpleNameplate$1 = {
|
|
@@ -1899,22 +1908,22 @@ type PurpleNameplate$1 = {
|
|
|
1899
1908
|
nid: number;
|
|
1900
1909
|
[property: string]: any;
|
|
1901
1910
|
};
|
|
1902
|
-
type PurpleOfficialVerify$
|
|
1911
|
+
type PurpleOfficialVerify$7 = {
|
|
1903
1912
|
desc: string;
|
|
1904
1913
|
type: number;
|
|
1905
1914
|
[property: string]: any;
|
|
1906
1915
|
};
|
|
1907
|
-
type PurplePendant$
|
|
1916
|
+
type PurplePendant$7 = {
|
|
1908
1917
|
expire: number;
|
|
1909
1918
|
image: string;
|
|
1910
1919
|
name: string;
|
|
1911
1920
|
pid: number;
|
|
1912
1921
|
[property: string]: any;
|
|
1913
1922
|
};
|
|
1914
|
-
type PurpleVip$
|
|
1923
|
+
type PurpleVip$7 = {
|
|
1915
1924
|
avatar_subscript: number;
|
|
1916
1925
|
due_date: number;
|
|
1917
|
-
label: PurpleLabel$
|
|
1926
|
+
label: PurpleLabel$7;
|
|
1918
1927
|
nickname_color: string;
|
|
1919
1928
|
status: number;
|
|
1920
1929
|
theme_type: number;
|
|
@@ -1922,7 +1931,7 @@ type PurpleVip$6 = {
|
|
|
1922
1931
|
vip_pay_type: number;
|
|
1923
1932
|
[property: string]: any;
|
|
1924
1933
|
};
|
|
1925
|
-
type PurpleLabel$
|
|
1934
|
+
type PurpleLabel$7 = {
|
|
1926
1935
|
label_theme: string;
|
|
1927
1936
|
path: string;
|
|
1928
1937
|
text: string;
|
|
@@ -2024,9 +2033,9 @@ type Cv2Author = {
|
|
|
2024
2033
|
mid: number;
|
|
2025
2034
|
name: string;
|
|
2026
2035
|
nameplate: FluffyNameplate$1;
|
|
2027
|
-
official_verify: FluffyOfficialVerify$
|
|
2028
|
-
pendant: FluffyPendant$
|
|
2029
|
-
vip: FluffyVip$
|
|
2036
|
+
official_verify: FluffyOfficialVerify$7;
|
|
2037
|
+
pendant: FluffyPendant$7;
|
|
2038
|
+
vip: FluffyVip$7;
|
|
2030
2039
|
[property: string]: any;
|
|
2031
2040
|
};
|
|
2032
2041
|
type FluffyNameplate$1 = {
|
|
@@ -2038,22 +2047,22 @@ type FluffyNameplate$1 = {
|
|
|
2038
2047
|
nid: number;
|
|
2039
2048
|
[property: string]: any;
|
|
2040
2049
|
};
|
|
2041
|
-
type FluffyOfficialVerify$
|
|
2050
|
+
type FluffyOfficialVerify$7 = {
|
|
2042
2051
|
desc: string;
|
|
2043
2052
|
type: number;
|
|
2044
2053
|
[property: string]: any;
|
|
2045
2054
|
};
|
|
2046
|
-
type FluffyPendant$
|
|
2055
|
+
type FluffyPendant$7 = {
|
|
2047
2056
|
expire: number;
|
|
2048
2057
|
image: string;
|
|
2049
2058
|
name: string;
|
|
2050
2059
|
pid: number;
|
|
2051
2060
|
[property: string]: any;
|
|
2052
2061
|
};
|
|
2053
|
-
type FluffyVip$
|
|
2062
|
+
type FluffyVip$7 = {
|
|
2054
2063
|
avatar_subscript: number;
|
|
2055
2064
|
due_date: number;
|
|
2056
|
-
label: FluffyLabel$
|
|
2065
|
+
label: FluffyLabel$7;
|
|
2057
2066
|
nickname_color: string;
|
|
2058
2067
|
status: number;
|
|
2059
2068
|
theme_type: number;
|
|
@@ -2061,7 +2070,7 @@ type FluffyVip$6 = {
|
|
|
2061
2070
|
vip_pay_type: number;
|
|
2062
2071
|
[property: string]: any;
|
|
2063
2072
|
};
|
|
2064
|
-
type FluffyLabel$
|
|
2073
|
+
type FluffyLabel$7 = {
|
|
2065
2074
|
label_theme: string;
|
|
2066
2075
|
path: string;
|
|
2067
2076
|
text: string;
|
|
@@ -2125,12 +2134,12 @@ type ArticleCard = ArticleCard_V0;
|
|
|
2125
2134
|
//#region src/types/ReturnDataType/Bilibili/ArticleContent/ArticleContent.d.ts
|
|
2126
2135
|
type ArticleContent_V0 = {
|
|
2127
2136
|
code: number;
|
|
2128
|
-
data: DataData$
|
|
2137
|
+
data: DataData$28;
|
|
2129
2138
|
message: string;
|
|
2130
2139
|
ttl: number;
|
|
2131
2140
|
[property: string]: any;
|
|
2132
2141
|
};
|
|
2133
|
-
type DataData$
|
|
2142
|
+
type DataData$28 = {
|
|
2134
2143
|
act_id: number;
|
|
2135
2144
|
apply_time: string;
|
|
2136
2145
|
authenMark: null;
|
|
@@ -2345,12 +2354,12 @@ type ArticleContent = ArticleContent_V0;
|
|
|
2345
2354
|
//#region src/types/ReturnDataType/Bilibili/ArticleInfo/ArticleInfo_V0.d.ts
|
|
2346
2355
|
type ArticleInfo_V0 = {
|
|
2347
2356
|
code: number;
|
|
2348
|
-
data: DataData$
|
|
2357
|
+
data: DataData$27;
|
|
2349
2358
|
message: string;
|
|
2350
2359
|
ttl: number;
|
|
2351
2360
|
[property: string]: any;
|
|
2352
2361
|
};
|
|
2353
|
-
type DataData$
|
|
2362
|
+
type DataData$27 = {
|
|
2354
2363
|
attention: boolean;
|
|
2355
2364
|
author_name: string;
|
|
2356
2365
|
banner_url: string;
|
|
@@ -3134,12 +3143,12 @@ type BiliEmojiList = BiliEmojiList_V0;
|
|
|
3134
3143
|
//#region src/types/ReturnDataType/Bilibili/BiliCommentReply/BiliCommentReply_V0.d.ts
|
|
3135
3144
|
type BiliCommentReply_V0 = {
|
|
3136
3145
|
code: number;
|
|
3137
|
-
data: DataData$
|
|
3146
|
+
data: DataData$26;
|
|
3138
3147
|
message: string;
|
|
3139
3148
|
ttl: number;
|
|
3140
3149
|
[property: string]: any;
|
|
3141
3150
|
};
|
|
3142
|
-
type DataData$
|
|
3151
|
+
type DataData$26 = {
|
|
3143
3152
|
assist: number;
|
|
3144
3153
|
blacklist: number;
|
|
3145
3154
|
callbacks: {
|
|
@@ -3650,12 +3659,12 @@ type BiliBv2AV = BiliBv2AV_V0;
|
|
|
3650
3659
|
//#region src/types/ReturnDataType/Bilibili/Captcha/ApplyCaptcha/ApplyCaptcha_V0.d.ts
|
|
3651
3660
|
type ApplyCaptcha_V0 = {
|
|
3652
3661
|
code: number;
|
|
3653
|
-
data: DataData$
|
|
3662
|
+
data: DataData$25;
|
|
3654
3663
|
message: string;
|
|
3655
3664
|
ttl: number;
|
|
3656
3665
|
[property: string]: any;
|
|
3657
3666
|
};
|
|
3658
|
-
type DataData$
|
|
3667
|
+
type DataData$25 = {
|
|
3659
3668
|
biliword: null;
|
|
3660
3669
|
geetest: Geetest;
|
|
3661
3670
|
phone: null;
|
|
@@ -3677,12 +3686,12 @@ type ApplyCaptcha = ApplyCaptcha_V0;
|
|
|
3677
3686
|
//#region src/types/ReturnDataType/Bilibili/Captcha/ValidateCaptcha/ValidateCaptcha_V0.d.ts
|
|
3678
3687
|
type ValidateCaptcha_V0 = {
|
|
3679
3688
|
code: number;
|
|
3680
|
-
data: DataData$
|
|
3689
|
+
data: DataData$24;
|
|
3681
3690
|
message: string;
|
|
3682
3691
|
ttl: number;
|
|
3683
3692
|
[property: string]: any;
|
|
3684
3693
|
};
|
|
3685
|
-
type DataData$
|
|
3694
|
+
type DataData$24 = {
|
|
3686
3695
|
grisk_id: string;
|
|
3687
3696
|
is_valid: number;
|
|
3688
3697
|
[property: string]: any;
|
|
@@ -3694,12 +3703,12 @@ type ValidateCaptcha = ValidateCaptcha_V0;
|
|
|
3694
3703
|
//#region src/types/ReturnDataType/Bilibili/ColumnInfo/ColumnInfo_V0.d.ts
|
|
3695
3704
|
type ColumnInfo_V0 = {
|
|
3696
3705
|
code: number;
|
|
3697
|
-
data: DataData$
|
|
3706
|
+
data: DataData$23;
|
|
3698
3707
|
message: string;
|
|
3699
3708
|
ttl: number;
|
|
3700
3709
|
[property: string]: any;
|
|
3701
3710
|
};
|
|
3702
|
-
type DataData$
|
|
3711
|
+
type DataData$23 = {
|
|
3703
3712
|
articles: null;
|
|
3704
3713
|
attention: boolean;
|
|
3705
3714
|
author: Author$9;
|
|
@@ -3805,16 +3814,16 @@ type ColumnInfo = ColumnInfo_V0;
|
|
|
3805
3814
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_ARTICLE/DYNAMIC_TYPE_ARTICLE_V0.d.ts
|
|
3806
3815
|
type DynamicTypeArticle_V0 = {
|
|
3807
3816
|
code: number;
|
|
3808
|
-
data: DataData$
|
|
3817
|
+
data: DataData$22;
|
|
3809
3818
|
message: string;
|
|
3810
3819
|
ttl: number;
|
|
3811
3820
|
[property: string]: any;
|
|
3812
3821
|
};
|
|
3813
|
-
type DataData$
|
|
3814
|
-
item: Item$
|
|
3822
|
+
type DataData$22 = {
|
|
3823
|
+
item: Item$16;
|
|
3815
3824
|
[property: string]: any;
|
|
3816
3825
|
};
|
|
3817
|
-
type Item$
|
|
3826
|
+
type Item$16 = {
|
|
3818
3827
|
basic: Basic$4;
|
|
3819
3828
|
id_str: string;
|
|
3820
3829
|
modules: Modules$4;
|
|
@@ -3840,8 +3849,8 @@ type LikeIcon$4 = {
|
|
|
3840
3849
|
type Modules$4 = {
|
|
3841
3850
|
module_author: ModuleAuthor$4;
|
|
3842
3851
|
module_dynamic: ModuleDynamic$4;
|
|
3843
|
-
module_more: ModuleMore$
|
|
3844
|
-
module_stat: ModuleStat$
|
|
3852
|
+
module_more: ModuleMore$10;
|
|
3853
|
+
module_stat: ModuleStat$10;
|
|
3845
3854
|
[property: string]: any;
|
|
3846
3855
|
};
|
|
3847
3856
|
type ModuleAuthor$4 = {
|
|
@@ -4003,11 +4012,11 @@ type Label$7 = {
|
|
|
4003
4012
|
type ModuleDynamic$4 = {
|
|
4004
4013
|
additional: null;
|
|
4005
4014
|
desc: null;
|
|
4006
|
-
major: Major$
|
|
4015
|
+
major: Major$10;
|
|
4007
4016
|
topic: null;
|
|
4008
4017
|
[property: string]: any;
|
|
4009
4018
|
};
|
|
4010
|
-
type Major$
|
|
4019
|
+
type Major$10 = {
|
|
4011
4020
|
opus: Opus$5;
|
|
4012
4021
|
type: string;
|
|
4013
4022
|
[property: string]: any;
|
|
@@ -4031,32 +4040,32 @@ type RichTextNode$5 = {
|
|
|
4031
4040
|
type?: string;
|
|
4032
4041
|
[property: string]: any;
|
|
4033
4042
|
};
|
|
4034
|
-
type ModuleMore$
|
|
4035
|
-
three_point_items: ThreePointItem$
|
|
4043
|
+
type ModuleMore$10 = {
|
|
4044
|
+
three_point_items: ThreePointItem$10[];
|
|
4036
4045
|
[property: string]: any;
|
|
4037
4046
|
};
|
|
4038
|
-
type ThreePointItem$
|
|
4047
|
+
type ThreePointItem$10 = {
|
|
4039
4048
|
label?: string;
|
|
4040
4049
|
type?: string;
|
|
4041
4050
|
[property: string]: any;
|
|
4042
4051
|
};
|
|
4043
|
-
type ModuleStat$
|
|
4044
|
-
comment: Comment$
|
|
4045
|
-
forward: Forward$
|
|
4046
|
-
like: Like$
|
|
4052
|
+
type ModuleStat$10 = {
|
|
4053
|
+
comment: Comment$12;
|
|
4054
|
+
forward: Forward$10;
|
|
4055
|
+
like: Like$11;
|
|
4047
4056
|
[property: string]: any;
|
|
4048
4057
|
};
|
|
4049
|
-
type Comment$
|
|
4058
|
+
type Comment$12 = {
|
|
4050
4059
|
count: number;
|
|
4051
4060
|
forbidden: boolean;
|
|
4052
4061
|
[property: string]: any;
|
|
4053
4062
|
};
|
|
4054
|
-
type Forward$
|
|
4063
|
+
type Forward$10 = {
|
|
4055
4064
|
count: number;
|
|
4056
4065
|
forbidden: boolean;
|
|
4057
4066
|
[property: string]: any;
|
|
4058
4067
|
};
|
|
4059
|
-
type Like$
|
|
4068
|
+
type Like$11 = {
|
|
4060
4069
|
count: number;
|
|
4061
4070
|
forbidden: boolean;
|
|
4062
4071
|
status: boolean;
|
|
@@ -4069,16 +4078,16 @@ type DynamicTypeArticle = DynamicTypeArticle_V0;
|
|
|
4069
4078
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V0.d.ts
|
|
4070
4079
|
type DynamicTypeAV_V0$1 = {
|
|
4071
4080
|
code: number;
|
|
4072
|
-
data: DataData$
|
|
4081
|
+
data: DataData$21;
|
|
4073
4082
|
message: string;
|
|
4074
4083
|
ttl: number;
|
|
4075
4084
|
[property: string]: any;
|
|
4076
4085
|
};
|
|
4077
|
-
type DataData$
|
|
4078
|
-
item: Item$
|
|
4086
|
+
type DataData$21 = {
|
|
4087
|
+
item: Item$15;
|
|
4079
4088
|
[property: string]: any;
|
|
4080
4089
|
};
|
|
4081
|
-
type Item$
|
|
4090
|
+
type Item$15 = {
|
|
4082
4091
|
basic: Basic$3;
|
|
4083
4092
|
id_str: string;
|
|
4084
4093
|
modules: Modules$3;
|
|
@@ -4103,8 +4112,8 @@ type LikeIcon$3 = {
|
|
|
4103
4112
|
type Modules$3 = {
|
|
4104
4113
|
module_author: ModuleAuthor$3;
|
|
4105
4114
|
module_dynamic: ModuleDynamic$3;
|
|
4106
|
-
module_more: ModuleMore$
|
|
4107
|
-
module_stat: ModuleStat$
|
|
4115
|
+
module_more: ModuleMore$9;
|
|
4116
|
+
module_stat: ModuleStat$9;
|
|
4108
4117
|
[property: string]: any;
|
|
4109
4118
|
};
|
|
4110
4119
|
type ModuleAuthor$3 = {
|
|
@@ -4266,7 +4275,7 @@ type Label$6 = {
|
|
|
4266
4275
|
type ModuleDynamic$3 = {
|
|
4267
4276
|
additional: null;
|
|
4268
4277
|
desc: Desc$6;
|
|
4269
|
-
major: Major$
|
|
4278
|
+
major: Major$9;
|
|
4270
4279
|
topic: null;
|
|
4271
4280
|
[property: string]: any;
|
|
4272
4281
|
};
|
|
@@ -4281,63 +4290,63 @@ type RichTextNode$4 = {
|
|
|
4281
4290
|
type?: string;
|
|
4282
4291
|
[property: string]: any;
|
|
4283
4292
|
};
|
|
4284
|
-
type Major$
|
|
4285
|
-
archive: Archive$
|
|
4293
|
+
type Major$9 = {
|
|
4294
|
+
archive: Archive$3;
|
|
4286
4295
|
type: string;
|
|
4287
4296
|
[property: string]: any;
|
|
4288
4297
|
};
|
|
4289
|
-
type Archive$
|
|
4298
|
+
type Archive$3 = {
|
|
4290
4299
|
aid: string;
|
|
4291
|
-
badge: Badge$
|
|
4300
|
+
badge: Badge$3;
|
|
4292
4301
|
bvid: string;
|
|
4293
4302
|
cover: string;
|
|
4294
4303
|
desc: string;
|
|
4295
4304
|
disable_preview: number;
|
|
4296
4305
|
duration_text: string;
|
|
4297
4306
|
jump_url: string;
|
|
4298
|
-
stat: Stat$
|
|
4307
|
+
stat: Stat$3;
|
|
4299
4308
|
title: string;
|
|
4300
4309
|
type: number;
|
|
4301
4310
|
[property: string]: any;
|
|
4302
4311
|
};
|
|
4303
|
-
type Badge$
|
|
4312
|
+
type Badge$3 = {
|
|
4304
4313
|
bg_color: string;
|
|
4305
4314
|
color: string;
|
|
4306
4315
|
icon_url: null;
|
|
4307
4316
|
text: string;
|
|
4308
4317
|
[property: string]: any;
|
|
4309
4318
|
};
|
|
4310
|
-
type Stat$
|
|
4319
|
+
type Stat$3 = {
|
|
4311
4320
|
danmaku: string;
|
|
4312
4321
|
play: string;
|
|
4313
4322
|
[property: string]: any;
|
|
4314
4323
|
};
|
|
4315
|
-
type ModuleMore$
|
|
4316
|
-
three_point_items: ThreePointItem$
|
|
4324
|
+
type ModuleMore$9 = {
|
|
4325
|
+
three_point_items: ThreePointItem$9[];
|
|
4317
4326
|
[property: string]: any;
|
|
4318
4327
|
};
|
|
4319
|
-
type ThreePointItem$
|
|
4328
|
+
type ThreePointItem$9 = {
|
|
4320
4329
|
label?: string;
|
|
4321
4330
|
type?: string;
|
|
4322
4331
|
[property: string]: any;
|
|
4323
4332
|
};
|
|
4324
|
-
type ModuleStat$
|
|
4325
|
-
comment: Comment$
|
|
4326
|
-
forward: Forward$
|
|
4327
|
-
like: Like$
|
|
4333
|
+
type ModuleStat$9 = {
|
|
4334
|
+
comment: Comment$11;
|
|
4335
|
+
forward: Forward$9;
|
|
4336
|
+
like: Like$10;
|
|
4328
4337
|
[property: string]: any;
|
|
4329
4338
|
};
|
|
4330
|
-
type Comment$
|
|
4339
|
+
type Comment$11 = {
|
|
4331
4340
|
count: number;
|
|
4332
4341
|
forbidden: boolean;
|
|
4333
4342
|
[property: string]: any;
|
|
4334
4343
|
};
|
|
4335
|
-
type Forward$
|
|
4344
|
+
type Forward$9 = {
|
|
4336
4345
|
count: number;
|
|
4337
4346
|
forbidden: boolean;
|
|
4338
4347
|
[property: string]: any;
|
|
4339
4348
|
};
|
|
4340
|
-
type Like$
|
|
4349
|
+
type Like$10 = {
|
|
4341
4350
|
count: number;
|
|
4342
4351
|
forbidden: boolean;
|
|
4343
4352
|
status: boolean;
|
|
@@ -4350,16 +4359,16 @@ type DynamicTypeAV = DynamicTypeAV_V0$1;
|
|
|
4350
4359
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V0.d.ts
|
|
4351
4360
|
type DynamicTypeDraw_V0$1 = {
|
|
4352
4361
|
code: number;
|
|
4353
|
-
data: DataData$
|
|
4362
|
+
data: DataData$20;
|
|
4354
4363
|
message: string;
|
|
4355
4364
|
ttl: number;
|
|
4356
4365
|
[property: string]: any;
|
|
4357
4366
|
};
|
|
4358
|
-
type DataData$
|
|
4359
|
-
item: Item$
|
|
4367
|
+
type DataData$20 = {
|
|
4368
|
+
item: Item$14;
|
|
4360
4369
|
[property: string]: any;
|
|
4361
4370
|
};
|
|
4362
|
-
type Item$
|
|
4371
|
+
type Item$14 = {
|
|
4363
4372
|
basic: Basic$2;
|
|
4364
4373
|
id_str: string;
|
|
4365
4374
|
modules: Modules$2;
|
|
@@ -4385,13 +4394,13 @@ type LikeIcon$2 = {
|
|
|
4385
4394
|
type Modules$2 = {
|
|
4386
4395
|
module_author: ModuleAuthor$2;
|
|
4387
4396
|
module_dynamic: ModuleDynamic$2;
|
|
4388
|
-
module_more: ModuleMore$
|
|
4389
|
-
module_stat: ModuleStat$
|
|
4397
|
+
module_more: ModuleMore$8;
|
|
4398
|
+
module_stat: ModuleStat$8;
|
|
4390
4399
|
[property: string]: any;
|
|
4391
4400
|
};
|
|
4392
4401
|
type ModuleAuthor$2 = {
|
|
4393
4402
|
avatar: Avatar$3;
|
|
4394
|
-
decoration_card: DecorationCard$
|
|
4403
|
+
decoration_card: DecorationCard$7;
|
|
4395
4404
|
face: string;
|
|
4396
4405
|
face_nft: boolean;
|
|
4397
4406
|
following: null;
|
|
@@ -4508,7 +4517,7 @@ type Remote$2 = {
|
|
|
4508
4517
|
url: string;
|
|
4509
4518
|
[property: string]: any;
|
|
4510
4519
|
};
|
|
4511
|
-
type DecorationCard$
|
|
4520
|
+
type DecorationCard$7 = {
|
|
4512
4521
|
big_card_url: string;
|
|
4513
4522
|
card_type: number;
|
|
4514
4523
|
card_type_name: string;
|
|
@@ -4581,7 +4590,7 @@ type Label$5 = {
|
|
|
4581
4590
|
type ModuleDynamic$2 = {
|
|
4582
4591
|
additional: Additional$3;
|
|
4583
4592
|
desc: null;
|
|
4584
|
-
major: Major$
|
|
4593
|
+
major: Major$8;
|
|
4585
4594
|
topic: Topic$4;
|
|
4586
4595
|
[property: string]: any;
|
|
4587
4596
|
};
|
|
@@ -4633,7 +4642,7 @@ type Desc2$1 = {
|
|
|
4633
4642
|
visible: boolean;
|
|
4634
4643
|
[property: string]: any;
|
|
4635
4644
|
};
|
|
4636
|
-
type Major$
|
|
4645
|
+
type Major$8 = {
|
|
4637
4646
|
opus: Opus$4;
|
|
4638
4647
|
type: string;
|
|
4639
4648
|
[property: string]: any;
|
|
@@ -4659,63 +4668,598 @@ type Summary$5 = {
|
|
|
4659
4668
|
text: string;
|
|
4660
4669
|
[property: string]: any;
|
|
4661
4670
|
};
|
|
4662
|
-
type RichTextNode$3 = {
|
|
4663
|
-
jump_url?: string;
|
|
4664
|
-
orig_text: string;
|
|
4665
|
-
text: string;
|
|
4666
|
-
type: string;
|
|
4671
|
+
type RichTextNode$3 = {
|
|
4672
|
+
jump_url?: string;
|
|
4673
|
+
orig_text: string;
|
|
4674
|
+
text: string;
|
|
4675
|
+
type: string;
|
|
4676
|
+
[property: string]: any;
|
|
4677
|
+
};
|
|
4678
|
+
type Topic$4 = {
|
|
4679
|
+
id: number;
|
|
4680
|
+
jump_url: string;
|
|
4681
|
+
name: string;
|
|
4682
|
+
[property: string]: any;
|
|
4683
|
+
};
|
|
4684
|
+
type ModuleMore$8 = {
|
|
4685
|
+
three_point_items: ThreePointItem$8[];
|
|
4686
|
+
[property: string]: any;
|
|
4687
|
+
};
|
|
4688
|
+
type ThreePointItem$8 = {
|
|
4689
|
+
label?: string;
|
|
4690
|
+
type?: string;
|
|
4691
|
+
[property: string]: any;
|
|
4692
|
+
};
|
|
4693
|
+
type ModuleStat$8 = {
|
|
4694
|
+
comment: Comment$10;
|
|
4695
|
+
forward: Forward$8;
|
|
4696
|
+
like: Like$9;
|
|
4697
|
+
[property: string]: any;
|
|
4698
|
+
};
|
|
4699
|
+
type Comment$10 = {
|
|
4700
|
+
count: number;
|
|
4701
|
+
forbidden: boolean;
|
|
4702
|
+
[property: string]: any;
|
|
4703
|
+
};
|
|
4704
|
+
type Forward$8 = {
|
|
4705
|
+
count: number;
|
|
4706
|
+
forbidden: boolean;
|
|
4707
|
+
[property: string]: any;
|
|
4708
|
+
};
|
|
4709
|
+
type Like$9 = {
|
|
4710
|
+
count: number;
|
|
4711
|
+
forbidden: boolean;
|
|
4712
|
+
status: boolean;
|
|
4713
|
+
[property: string]: any;
|
|
4714
|
+
};
|
|
4715
|
+
//#endregion
|
|
4716
|
+
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_DRAW/index.d.ts
|
|
4717
|
+
type DynamicTypeDraw = DynamicTypeDraw_V0$1;
|
|
4718
|
+
//#endregion
|
|
4719
|
+
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V0.d.ts
|
|
4720
|
+
type DynamicTypeAV_V0 = {
|
|
4721
|
+
code: number;
|
|
4722
|
+
data: DataData$19;
|
|
4723
|
+
message: string;
|
|
4724
|
+
ttl: number;
|
|
4725
|
+
[property: string]: any;
|
|
4726
|
+
};
|
|
4727
|
+
type DataData$19 = {
|
|
4728
|
+
item: Item$13;
|
|
4729
|
+
[property: string]: any;
|
|
4730
|
+
};
|
|
4731
|
+
type Item$13 = {
|
|
4732
|
+
basic: ItemBasic$6;
|
|
4733
|
+
id_str: string;
|
|
4734
|
+
modules: ItemModules$6;
|
|
4735
|
+
orig: Orig$5;
|
|
4736
|
+
type: DynamicType.AV;
|
|
4737
|
+
visible: boolean;
|
|
4738
|
+
[property: string]: any;
|
|
4739
|
+
};
|
|
4740
|
+
type ItemBasic$6 = {
|
|
4741
|
+
comment_id_str: string;
|
|
4742
|
+
comment_type: number;
|
|
4743
|
+
editable: boolean;
|
|
4744
|
+
like_icon: PurpleLikeIcon$5;
|
|
4745
|
+
rid_str: string;
|
|
4746
|
+
[property: string]: any;
|
|
4747
|
+
};
|
|
4748
|
+
type PurpleLikeIcon$5 = {
|
|
4749
|
+
action_url: string;
|
|
4750
|
+
end_url: string;
|
|
4751
|
+
id: number;
|
|
4752
|
+
start_url: string;
|
|
4753
|
+
[property: string]: any;
|
|
4754
|
+
};
|
|
4755
|
+
type ItemModules$6 = {
|
|
4756
|
+
module_author: PurpleModuleAuthor$5;
|
|
4757
|
+
module_dynamic: PurpleModuleDynamic$5;
|
|
4758
|
+
module_more: ModuleMore$7;
|
|
4759
|
+
module_stat: ModuleStat$7;
|
|
4760
|
+
[property: string]: any;
|
|
4761
|
+
};
|
|
4762
|
+
type PurpleModuleAuthor$5 = {
|
|
4763
|
+
avatar: PurpleAvatar$5;
|
|
4764
|
+
face: string;
|
|
4765
|
+
face_nft: boolean;
|
|
4766
|
+
following: null;
|
|
4767
|
+
jump_url: string;
|
|
4768
|
+
label: string;
|
|
4769
|
+
mid: number;
|
|
4770
|
+
name: string;
|
|
4771
|
+
official_verify: PurpleOfficialVerify$6;
|
|
4772
|
+
pendant: PurplePendant$6;
|
|
4773
|
+
pub_action: string;
|
|
4774
|
+
pub_location_text: string;
|
|
4775
|
+
pub_time: string;
|
|
4776
|
+
pub_ts: number;
|
|
4777
|
+
type: string;
|
|
4778
|
+
vip: PurpleVip$6;
|
|
4779
|
+
[property: string]: any;
|
|
4780
|
+
};
|
|
4781
|
+
type PurpleAvatar$5 = {
|
|
4782
|
+
container_size: PurpleContainerSize$6;
|
|
4783
|
+
fallback_layers: PurpleFallbackLayers$6;
|
|
4784
|
+
mid: string;
|
|
4785
|
+
[property: string]: any;
|
|
4786
|
+
};
|
|
4787
|
+
type PurpleContainerSize$6 = {
|
|
4788
|
+
height: number;
|
|
4789
|
+
width: number;
|
|
4790
|
+
[property: string]: any;
|
|
4791
|
+
};
|
|
4792
|
+
type PurpleFallbackLayers$6 = {
|
|
4793
|
+
is_critical_group: boolean;
|
|
4794
|
+
layers: PurpleLayer$6[];
|
|
4795
|
+
[property: string]: any;
|
|
4796
|
+
};
|
|
4797
|
+
type PurpleLayer$6 = {
|
|
4798
|
+
general_spec: PurpleGeneralSpec$6;
|
|
4799
|
+
layer_config: PurpleLayerConfig$6;
|
|
4800
|
+
resource: PurpleResource$6;
|
|
4801
|
+
visible: boolean;
|
|
4802
|
+
[property: string]: any;
|
|
4803
|
+
};
|
|
4804
|
+
type PurpleGeneralSpec$6 = {
|
|
4805
|
+
pos_spec: PurplePosSpec$6;
|
|
4806
|
+
render_spec: PurpleRenderSpec$6;
|
|
4807
|
+
size_spec: PurpleSizeSpec$6;
|
|
4808
|
+
[property: string]: any;
|
|
4809
|
+
};
|
|
4810
|
+
type PurplePosSpec$6 = {
|
|
4811
|
+
axis_x: number;
|
|
4812
|
+
axis_y: number;
|
|
4813
|
+
coordinate_pos: number;
|
|
4814
|
+
[property: string]: any;
|
|
4815
|
+
};
|
|
4816
|
+
type PurpleRenderSpec$6 = {
|
|
4817
|
+
opacity: number;
|
|
4818
|
+
[property: string]: any;
|
|
4819
|
+
};
|
|
4820
|
+
type PurpleSizeSpec$6 = {
|
|
4821
|
+
height: number;
|
|
4822
|
+
width: number;
|
|
4823
|
+
[property: string]: any;
|
|
4824
|
+
};
|
|
4825
|
+
type PurpleLayerConfig$6 = {
|
|
4826
|
+
is_critical?: boolean;
|
|
4827
|
+
tags: PurpleTags$6;
|
|
4828
|
+
[property: string]: any;
|
|
4829
|
+
};
|
|
4830
|
+
type PurpleTags$6 = {
|
|
4831
|
+
AVATAR_LAYER?: {
|
|
4832
|
+
[key: string]: any;
|
|
4833
|
+
};
|
|
4834
|
+
GENERAL_CFG: PurpleGENERALCFG$6;
|
|
4835
|
+
ICON_LAYER: {
|
|
4836
|
+
[key: string]: any;
|
|
4837
|
+
};
|
|
4838
|
+
[property: string]: any;
|
|
4839
|
+
};
|
|
4840
|
+
type PurpleGENERALCFG$6 = {
|
|
4841
|
+
config_type: number;
|
|
4842
|
+
general_config: PurpleGeneralConfig$6;
|
|
4843
|
+
[property: string]: any;
|
|
4844
|
+
};
|
|
4845
|
+
type PurpleGeneralConfig$6 = {
|
|
4846
|
+
web_css_style: PurpleWebcssStyle$6;
|
|
4847
|
+
[property: string]: any;
|
|
4848
|
+
};
|
|
4849
|
+
type PurpleWebcssStyle$6 = {
|
|
4850
|
+
'background-color': string;
|
|
4851
|
+
border: string;
|
|
4852
|
+
borderRadius: string;
|
|
4853
|
+
boxSizing: string;
|
|
4854
|
+
[property: string]: any;
|
|
4855
|
+
};
|
|
4856
|
+
type PurpleResource$6 = {
|
|
4857
|
+
res_image: PurpleResImage$6;
|
|
4858
|
+
res_type: number;
|
|
4859
|
+
[property: string]: any;
|
|
4860
|
+
};
|
|
4861
|
+
type PurpleResImage$6 = {
|
|
4862
|
+
image_src: PurpleImageSrc$6;
|
|
4863
|
+
[property: string]: any;
|
|
4864
|
+
};
|
|
4865
|
+
type PurpleImageSrc$6 = {
|
|
4866
|
+
local: number;
|
|
4867
|
+
placeholder?: number;
|
|
4868
|
+
remote?: PurpleRemote$6;
|
|
4869
|
+
src_type: number;
|
|
4870
|
+
[property: string]: any;
|
|
4871
|
+
};
|
|
4872
|
+
type PurpleRemote$6 = {
|
|
4873
|
+
bfs_style: string;
|
|
4874
|
+
url: string;
|
|
4875
|
+
[property: string]: any;
|
|
4876
|
+
};
|
|
4877
|
+
type PurpleOfficialVerify$6 = {
|
|
4878
|
+
desc: string;
|
|
4879
|
+
type: number;
|
|
4880
|
+
[property: string]: any;
|
|
4881
|
+
};
|
|
4882
|
+
type PurplePendant$6 = {
|
|
4883
|
+
expire: number;
|
|
4884
|
+
image: string;
|
|
4885
|
+
image_enhance: string;
|
|
4886
|
+
image_enhance_frame: string;
|
|
4887
|
+
n_pid: number;
|
|
4888
|
+
name: string;
|
|
4889
|
+
pid: number;
|
|
4890
|
+
[property: string]: any;
|
|
4891
|
+
};
|
|
4892
|
+
type PurpleVip$6 = {
|
|
4893
|
+
avatar_subscript: number;
|
|
4894
|
+
avatar_subscript_url: string;
|
|
4895
|
+
due_date: number;
|
|
4896
|
+
label: PurpleLabel$6;
|
|
4897
|
+
nickname_color: string;
|
|
4898
|
+
status: number;
|
|
4899
|
+
theme_type: number;
|
|
4900
|
+
type: number;
|
|
4901
|
+
[property: string]: any;
|
|
4902
|
+
};
|
|
4903
|
+
type PurpleLabel$6 = {
|
|
4904
|
+
bg_color: string;
|
|
4905
|
+
bg_style: number;
|
|
4906
|
+
border_color: string;
|
|
4907
|
+
img_label_uri_hans: string;
|
|
4908
|
+
img_label_uri_hans_static: string;
|
|
4909
|
+
img_label_uri_hant: string;
|
|
4910
|
+
img_label_uri_hant_static: string;
|
|
4911
|
+
label_theme: string;
|
|
4912
|
+
path: string;
|
|
4913
|
+
text: string;
|
|
4914
|
+
text_color: string;
|
|
4915
|
+
use_img_label: boolean;
|
|
4916
|
+
[property: string]: any;
|
|
4917
|
+
};
|
|
4918
|
+
type PurpleModuleDynamic$5 = {
|
|
4919
|
+
additional: null;
|
|
4920
|
+
desc: Desc$5;
|
|
4921
|
+
major: null;
|
|
4922
|
+
topic: Topic$3;
|
|
4923
|
+
[property: string]: any;
|
|
4924
|
+
};
|
|
4925
|
+
type Desc$5 = {
|
|
4926
|
+
rich_text_nodes: RichTextNode$2[];
|
|
4927
|
+
text: string;
|
|
4928
|
+
[property: string]: any;
|
|
4929
|
+
};
|
|
4930
|
+
type RichTextNode$2 = {
|
|
4931
|
+
emoji?: Emoji$5;
|
|
4932
|
+
orig_text: string;
|
|
4933
|
+
rid?: string;
|
|
4934
|
+
text: string;
|
|
4935
|
+
type: string;
|
|
4936
|
+
[property: string]: any;
|
|
4937
|
+
};
|
|
4938
|
+
type Emoji$5 = {
|
|
4939
|
+
icon_url: string;
|
|
4940
|
+
size: number;
|
|
4941
|
+
text: string;
|
|
4942
|
+
type: number;
|
|
4943
|
+
[property: string]: any;
|
|
4944
|
+
};
|
|
4945
|
+
type Topic$3 = {
|
|
4946
|
+
id: number;
|
|
4947
|
+
jump_url: string;
|
|
4948
|
+
name: string;
|
|
4949
|
+
[property: string]: any;
|
|
4950
|
+
};
|
|
4951
|
+
type ModuleMore$7 = {
|
|
4952
|
+
three_point_items: ThreePointItem$7[];
|
|
4953
|
+
[property: string]: any;
|
|
4954
|
+
};
|
|
4955
|
+
type ThreePointItem$7 = {
|
|
4956
|
+
label: string;
|
|
4957
|
+
modal?: Modal$3;
|
|
4958
|
+
params: Params$3;
|
|
4959
|
+
type: string;
|
|
4960
|
+
[property: string]: any;
|
|
4961
|
+
};
|
|
4962
|
+
type Modal$3 = {
|
|
4963
|
+
cancel: string;
|
|
4964
|
+
confirm: string;
|
|
4965
|
+
content: string;
|
|
4966
|
+
title: string;
|
|
4967
|
+
[property: string]: any;
|
|
4968
|
+
};
|
|
4969
|
+
type Params$3 = {
|
|
4970
|
+
dyn_id_str: string;
|
|
4971
|
+
dyn_type: number;
|
|
4972
|
+
dynamic_id?: string;
|
|
4973
|
+
rid_str: string;
|
|
4974
|
+
status?: number;
|
|
4975
|
+
type?: number;
|
|
4976
|
+
[property: string]: any;
|
|
4977
|
+
};
|
|
4978
|
+
type ModuleStat$7 = {
|
|
4979
|
+
comment: Comment$9;
|
|
4980
|
+
forward: Forward$7;
|
|
4981
|
+
like: Like$8;
|
|
4982
|
+
[property: string]: any;
|
|
4983
|
+
};
|
|
4984
|
+
type Comment$9 = {
|
|
4985
|
+
count: number;
|
|
4986
|
+
forbidden: boolean;
|
|
4987
|
+
[property: string]: any;
|
|
4988
|
+
};
|
|
4989
|
+
type Forward$7 = {
|
|
4990
|
+
count: number;
|
|
4991
|
+
forbidden: boolean;
|
|
4992
|
+
[property: string]: any;
|
|
4993
|
+
};
|
|
4994
|
+
type Like$8 = {
|
|
4995
|
+
count: number;
|
|
4996
|
+
forbidden: boolean;
|
|
4997
|
+
status: boolean;
|
|
4998
|
+
[property: string]: any;
|
|
4999
|
+
};
|
|
5000
|
+
type Orig$5 = {
|
|
5001
|
+
basic: OrigBasic$5;
|
|
5002
|
+
id_str: string;
|
|
5003
|
+
modules: OrigModules$5;
|
|
5004
|
+
type: string;
|
|
5005
|
+
visible: boolean;
|
|
5006
|
+
[property: string]: any;
|
|
5007
|
+
};
|
|
5008
|
+
type OrigBasic$5 = {
|
|
5009
|
+
comment_id_str: string;
|
|
5010
|
+
comment_type: number;
|
|
5011
|
+
like_icon: FluffyLikeIcon$5;
|
|
5012
|
+
rid_str: string;
|
|
5013
|
+
[property: string]: any;
|
|
5014
|
+
};
|
|
5015
|
+
type FluffyLikeIcon$5 = {
|
|
5016
|
+
action_url: string;
|
|
5017
|
+
end_url: string;
|
|
5018
|
+
id: number;
|
|
5019
|
+
start_url: string;
|
|
5020
|
+
[property: string]: any;
|
|
5021
|
+
};
|
|
5022
|
+
type OrigModules$5 = {
|
|
5023
|
+
module_author: FluffyModuleAuthor$5;
|
|
5024
|
+
module_dynamic: FluffyModuleDynamic$5;
|
|
5025
|
+
[property: string]: any;
|
|
5026
|
+
};
|
|
5027
|
+
type FluffyModuleAuthor$5 = {
|
|
5028
|
+
avatar: FluffyAvatar$5;
|
|
5029
|
+
decoration_card: DecorationCard$6;
|
|
5030
|
+
face: string;
|
|
5031
|
+
face_nft: boolean;
|
|
5032
|
+
following: null;
|
|
5033
|
+
jump_url: string;
|
|
5034
|
+
label: string;
|
|
5035
|
+
mid: number;
|
|
5036
|
+
name: string;
|
|
5037
|
+
official_verify: FluffyOfficialVerify$6;
|
|
5038
|
+
pendant: FluffyPendant$6;
|
|
5039
|
+
pub_action: string;
|
|
5040
|
+
pub_time: string;
|
|
5041
|
+
pub_ts: number;
|
|
5042
|
+
type: string;
|
|
5043
|
+
vip: FluffyVip$6;
|
|
5044
|
+
[property: string]: any;
|
|
5045
|
+
};
|
|
5046
|
+
type FluffyAvatar$5 = {
|
|
5047
|
+
container_size: FluffyContainerSize$6;
|
|
5048
|
+
fallback_layers: FluffyFallbackLayers$6;
|
|
5049
|
+
mid: string;
|
|
5050
|
+
[property: string]: any;
|
|
5051
|
+
};
|
|
5052
|
+
type FluffyContainerSize$6 = {
|
|
5053
|
+
height: number;
|
|
5054
|
+
width: number;
|
|
5055
|
+
[property: string]: any;
|
|
5056
|
+
};
|
|
5057
|
+
type FluffyFallbackLayers$6 = {
|
|
5058
|
+
is_critical_group: boolean;
|
|
5059
|
+
layers: FluffyLayer$6[];
|
|
5060
|
+
[property: string]: any;
|
|
5061
|
+
};
|
|
5062
|
+
type FluffyLayer$6 = {
|
|
5063
|
+
general_spec: FluffyGeneralSpec$6;
|
|
5064
|
+
layer_config: FluffyLayerConfig$6;
|
|
5065
|
+
resource: FluffyResource$6;
|
|
5066
|
+
visible: boolean;
|
|
5067
|
+
[property: string]: any;
|
|
5068
|
+
};
|
|
5069
|
+
type FluffyGeneralSpec$6 = {
|
|
5070
|
+
pos_spec: FluffyPosSpec$6;
|
|
5071
|
+
render_spec: FluffyRenderSpec$6;
|
|
5072
|
+
size_spec: FluffySizeSpec$6;
|
|
5073
|
+
[property: string]: any;
|
|
5074
|
+
};
|
|
5075
|
+
type FluffyPosSpec$6 = {
|
|
5076
|
+
axis_x: number;
|
|
5077
|
+
axis_y: number;
|
|
5078
|
+
coordinate_pos: number;
|
|
5079
|
+
[property: string]: any;
|
|
5080
|
+
};
|
|
5081
|
+
type FluffyRenderSpec$6 = {
|
|
5082
|
+
opacity: number;
|
|
5083
|
+
[property: string]: any;
|
|
5084
|
+
};
|
|
5085
|
+
type FluffySizeSpec$6 = {
|
|
5086
|
+
height: number;
|
|
5087
|
+
width: number;
|
|
5088
|
+
[property: string]: any;
|
|
5089
|
+
};
|
|
5090
|
+
type FluffyLayerConfig$6 = {
|
|
5091
|
+
is_critical?: boolean;
|
|
5092
|
+
tags: FluffyTags$6;
|
|
5093
|
+
[property: string]: any;
|
|
5094
|
+
};
|
|
5095
|
+
type FluffyTags$6 = {
|
|
5096
|
+
AVATAR_LAYER?: {
|
|
5097
|
+
[key: string]: any;
|
|
5098
|
+
};
|
|
5099
|
+
GENERAL_CFG: FluffyGENERALCFG$6;
|
|
5100
|
+
ICON_LAYER: {
|
|
5101
|
+
[key: string]: any;
|
|
5102
|
+
};
|
|
5103
|
+
PENDENT_LAYER?: {
|
|
5104
|
+
[key: string]: any;
|
|
5105
|
+
};
|
|
5106
|
+
[property: string]: any;
|
|
5107
|
+
};
|
|
5108
|
+
type FluffyGENERALCFG$6 = {
|
|
5109
|
+
config_type: number;
|
|
5110
|
+
general_config: FluffyGeneralConfig$6;
|
|
5111
|
+
[property: string]: any;
|
|
5112
|
+
};
|
|
5113
|
+
type FluffyGeneralConfig$6 = {
|
|
5114
|
+
web_css_style: FluffyWebcssStyle$6;
|
|
5115
|
+
[property: string]: any;
|
|
5116
|
+
};
|
|
5117
|
+
type FluffyWebcssStyle$6 = {
|
|
5118
|
+
'background-color': string;
|
|
5119
|
+
border: string;
|
|
5120
|
+
borderRadius: string;
|
|
5121
|
+
boxSizing: string;
|
|
5122
|
+
[property: string]: any;
|
|
5123
|
+
};
|
|
5124
|
+
type FluffyResource$6 = {
|
|
5125
|
+
res_image: FluffyResImage$6;
|
|
5126
|
+
res_type: number;
|
|
5127
|
+
[property: string]: any;
|
|
5128
|
+
};
|
|
5129
|
+
type FluffyResImage$6 = {
|
|
5130
|
+
image_src: FluffyImageSrc$6;
|
|
5131
|
+
[property: string]: any;
|
|
5132
|
+
};
|
|
5133
|
+
type FluffyImageSrc$6 = {
|
|
5134
|
+
local: number;
|
|
5135
|
+
placeholder?: number;
|
|
5136
|
+
remote?: FluffyRemote$6;
|
|
5137
|
+
src_type: number;
|
|
5138
|
+
[property: string]: any;
|
|
5139
|
+
};
|
|
5140
|
+
type FluffyRemote$6 = {
|
|
5141
|
+
bfs_style: string;
|
|
5142
|
+
url: string;
|
|
5143
|
+
[property: string]: any;
|
|
5144
|
+
};
|
|
5145
|
+
type DecorationCard$6 = {
|
|
5146
|
+
big_card_url: string;
|
|
5147
|
+
card_type: number;
|
|
5148
|
+
card_type_name: string;
|
|
5149
|
+
card_url: string;
|
|
5150
|
+
fan: Fan$5;
|
|
5151
|
+
id: number;
|
|
5152
|
+
image_enhance: string;
|
|
5153
|
+
item_id: number;
|
|
5154
|
+
jump_url: string;
|
|
5155
|
+
name: string;
|
|
5156
|
+
[property: string]: any;
|
|
5157
|
+
};
|
|
5158
|
+
type Fan$5 = {
|
|
5159
|
+
color: string;
|
|
5160
|
+
color_format: ColorFormat$5;
|
|
5161
|
+
is_fan: number;
|
|
5162
|
+
name: string;
|
|
5163
|
+
num_desc: string;
|
|
5164
|
+
number: number;
|
|
5165
|
+
[property: string]: any;
|
|
5166
|
+
};
|
|
5167
|
+
type ColorFormat$5 = {
|
|
5168
|
+
colors: string[];
|
|
5169
|
+
end_point: string;
|
|
5170
|
+
gradients: number[];
|
|
5171
|
+
start_point: string;
|
|
5172
|
+
[property: string]: any;
|
|
5173
|
+
};
|
|
5174
|
+
type FluffyOfficialVerify$6 = {
|
|
5175
|
+
desc: string;
|
|
5176
|
+
type: number;
|
|
5177
|
+
[property: string]: any;
|
|
5178
|
+
};
|
|
5179
|
+
type FluffyPendant$6 = {
|
|
5180
|
+
expire: number;
|
|
5181
|
+
image: string;
|
|
5182
|
+
image_enhance: string;
|
|
5183
|
+
image_enhance_frame: string;
|
|
5184
|
+
n_pid: number;
|
|
5185
|
+
name: string;
|
|
5186
|
+
pid: number;
|
|
4667
5187
|
[property: string]: any;
|
|
4668
5188
|
};
|
|
4669
|
-
type
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
5189
|
+
type FluffyVip$6 = {
|
|
5190
|
+
avatar_subscript: number;
|
|
5191
|
+
avatar_subscript_url: string;
|
|
5192
|
+
due_date: number;
|
|
5193
|
+
label: FluffyLabel$6;
|
|
5194
|
+
nickname_color: string;
|
|
5195
|
+
status: number;
|
|
5196
|
+
theme_type: number;
|
|
5197
|
+
type: number;
|
|
4673
5198
|
[property: string]: any;
|
|
4674
5199
|
};
|
|
4675
|
-
type
|
|
4676
|
-
|
|
5200
|
+
type FluffyLabel$6 = {
|
|
5201
|
+
bg_color: string;
|
|
5202
|
+
bg_style: number;
|
|
5203
|
+
border_color: string;
|
|
5204
|
+
img_label_uri_hans: string;
|
|
5205
|
+
img_label_uri_hans_static: string;
|
|
5206
|
+
img_label_uri_hant: string;
|
|
5207
|
+
img_label_uri_hant_static: string;
|
|
5208
|
+
label_theme: string;
|
|
5209
|
+
path: string;
|
|
5210
|
+
text: string;
|
|
5211
|
+
text_color: string;
|
|
5212
|
+
use_img_label: boolean;
|
|
4677
5213
|
[property: string]: any;
|
|
4678
5214
|
};
|
|
4679
|
-
type
|
|
4680
|
-
|
|
4681
|
-
|
|
5215
|
+
type FluffyModuleDynamic$5 = {
|
|
5216
|
+
additional: null;
|
|
5217
|
+
desc: null;
|
|
5218
|
+
major: Major$7;
|
|
5219
|
+
topic: null;
|
|
4682
5220
|
[property: string]: any;
|
|
4683
5221
|
};
|
|
4684
|
-
type
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
like: Like$8;
|
|
5222
|
+
type Major$7 = {
|
|
5223
|
+
archive: Archive$2;
|
|
5224
|
+
type: string;
|
|
4688
5225
|
[property: string]: any;
|
|
4689
5226
|
};
|
|
4690
|
-
type
|
|
4691
|
-
|
|
4692
|
-
|
|
5227
|
+
type Archive$2 = {
|
|
5228
|
+
aid: string;
|
|
5229
|
+
badge: Badge$2;
|
|
5230
|
+
bvid: string;
|
|
5231
|
+
cover: string;
|
|
5232
|
+
desc: string;
|
|
5233
|
+
disable_preview: number;
|
|
5234
|
+
duration_text: string;
|
|
5235
|
+
jump_url: string;
|
|
5236
|
+
stat: Stat$2;
|
|
5237
|
+
title: string;
|
|
5238
|
+
type: number;
|
|
4693
5239
|
[property: string]: any;
|
|
4694
5240
|
};
|
|
4695
|
-
type
|
|
4696
|
-
|
|
4697
|
-
|
|
5241
|
+
type Badge$2 = {
|
|
5242
|
+
bg_color: string;
|
|
5243
|
+
color: string;
|
|
5244
|
+
icon_url: null;
|
|
5245
|
+
text: string;
|
|
4698
5246
|
[property: string]: any;
|
|
4699
5247
|
};
|
|
4700
|
-
type
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
status: boolean;
|
|
5248
|
+
type Stat$2 = {
|
|
5249
|
+
danmaku: string;
|
|
5250
|
+
play: string;
|
|
4704
5251
|
[property: string]: any;
|
|
4705
5252
|
};
|
|
4706
5253
|
//#endregion
|
|
4707
|
-
//#region src/types/ReturnDataType/Bilibili/Dynamic/
|
|
4708
|
-
type
|
|
4709
|
-
//#endregion
|
|
4710
|
-
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V0.d.ts
|
|
4711
|
-
type DynamicTypeAV_V0 = {
|
|
5254
|
+
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V1.d.ts
|
|
5255
|
+
type DynamicTypeAV_V1 = {
|
|
4712
5256
|
code: number;
|
|
4713
|
-
data: DataData$
|
|
5257
|
+
data: DataData$18;
|
|
4714
5258
|
message: string;
|
|
4715
5259
|
ttl: number;
|
|
4716
5260
|
[property: string]: any;
|
|
4717
5261
|
};
|
|
4718
|
-
type DataData$
|
|
5262
|
+
type DataData$18 = {
|
|
4719
5263
|
item: Item$12;
|
|
4720
5264
|
[property: string]: any;
|
|
4721
5265
|
};
|
|
@@ -4731,7 +5275,6 @@ type Item$12 = {
|
|
|
4731
5275
|
type ItemBasic$5 = {
|
|
4732
5276
|
comment_id_str: string;
|
|
4733
5277
|
comment_type: number;
|
|
4734
|
-
editable: boolean;
|
|
4735
5278
|
like_icon: PurpleLikeIcon$4;
|
|
4736
5279
|
rid_str: string;
|
|
4737
5280
|
[property: string]: any;
|
|
@@ -4752,6 +5295,7 @@ type ItemModules$5 = {
|
|
|
4752
5295
|
};
|
|
4753
5296
|
type PurpleModuleAuthor$4 = {
|
|
4754
5297
|
avatar: PurpleAvatar$4;
|
|
5298
|
+
decoration_card: DecorationCard$5;
|
|
4755
5299
|
face: string;
|
|
4756
5300
|
face_nft: boolean;
|
|
4757
5301
|
following: null;
|
|
@@ -4865,6 +5409,21 @@ type PurpleRemote$5 = {
|
|
|
4865
5409
|
url: string;
|
|
4866
5410
|
[property: string]: any;
|
|
4867
5411
|
};
|
|
5412
|
+
type DecorationCard$5 = {
|
|
5413
|
+
big_card_url: string;
|
|
5414
|
+
card_type: number;
|
|
5415
|
+
card_type_name: string;
|
|
5416
|
+
card_url: string;
|
|
5417
|
+
fan: {
|
|
5418
|
+
[key: string]: any;
|
|
5419
|
+
};
|
|
5420
|
+
id: number;
|
|
5421
|
+
image_enhance: string;
|
|
5422
|
+
item_id: number;
|
|
5423
|
+
jump_url: string;
|
|
5424
|
+
name: string;
|
|
5425
|
+
[property: string]: any;
|
|
5426
|
+
};
|
|
4868
5427
|
type PurpleOfficialVerify$5 = {
|
|
4869
5428
|
desc: string;
|
|
4870
5429
|
type: number;
|
|
@@ -4908,62 +5467,43 @@ type PurpleLabel$5 = {
|
|
|
4908
5467
|
};
|
|
4909
5468
|
type PurpleModuleDynamic$4 = {
|
|
4910
5469
|
additional: null;
|
|
4911
|
-
desc:
|
|
5470
|
+
desc: PurpleDesc;
|
|
4912
5471
|
major: null;
|
|
4913
|
-
topic:
|
|
5472
|
+
topic: null;
|
|
4914
5473
|
[property: string]: any;
|
|
4915
5474
|
};
|
|
4916
|
-
type
|
|
4917
|
-
rich_text_nodes:
|
|
5475
|
+
type PurpleDesc = {
|
|
5476
|
+
rich_text_nodes: PurpleRichTextNode[];
|
|
4918
5477
|
text: string;
|
|
4919
5478
|
[property: string]: any;
|
|
4920
5479
|
};
|
|
4921
|
-
type
|
|
5480
|
+
type PurpleRichTextNode = {
|
|
4922
5481
|
emoji?: Emoji$4;
|
|
5482
|
+
jump_url: string;
|
|
4923
5483
|
orig_text: string;
|
|
4924
|
-
|
|
5484
|
+
style: {
|
|
5485
|
+
[key: string]: any;
|
|
5486
|
+
};
|
|
4925
5487
|
text: string;
|
|
4926
5488
|
type: string;
|
|
4927
5489
|
[property: string]: any;
|
|
4928
5490
|
};
|
|
4929
5491
|
type Emoji$4 = {
|
|
4930
5492
|
icon_url: string;
|
|
5493
|
+
id: number;
|
|
5494
|
+
package_id: number;
|
|
4931
5495
|
size: number;
|
|
4932
5496
|
text: string;
|
|
4933
5497
|
type: number;
|
|
4934
5498
|
[property: string]: any;
|
|
4935
5499
|
};
|
|
4936
|
-
type Topic$3 = {
|
|
4937
|
-
id: number;
|
|
4938
|
-
jump_url: string;
|
|
4939
|
-
name: string;
|
|
4940
|
-
[property: string]: any;
|
|
4941
|
-
};
|
|
4942
5500
|
type ModuleMore$6 = {
|
|
4943
5501
|
three_point_items: ThreePointItem$6[];
|
|
4944
5502
|
[property: string]: any;
|
|
4945
5503
|
};
|
|
4946
5504
|
type ThreePointItem$6 = {
|
|
4947
|
-
label
|
|
4948
|
-
|
|
4949
|
-
params: Params$3;
|
|
4950
|
-
type: string;
|
|
4951
|
-
[property: string]: any;
|
|
4952
|
-
};
|
|
4953
|
-
type Modal$3 = {
|
|
4954
|
-
cancel: string;
|
|
4955
|
-
confirm: string;
|
|
4956
|
-
content: string;
|
|
4957
|
-
title: string;
|
|
4958
|
-
[property: string]: any;
|
|
4959
|
-
};
|
|
4960
|
-
type Params$3 = {
|
|
4961
|
-
dyn_id_str: string;
|
|
4962
|
-
dyn_type: number;
|
|
4963
|
-
dynamic_id?: string;
|
|
4964
|
-
rid_str: string;
|
|
4965
|
-
status?: number;
|
|
4966
|
-
type?: number;
|
|
5505
|
+
label?: string;
|
|
5506
|
+
type?: string;
|
|
4967
5507
|
[property: string]: any;
|
|
4968
5508
|
};
|
|
4969
5509
|
type ModuleStat$6 = {
|
|
@@ -5017,7 +5557,6 @@ type OrigModules$4 = {
|
|
|
5017
5557
|
};
|
|
5018
5558
|
type FluffyModuleAuthor$4 = {
|
|
5019
5559
|
avatar: FluffyAvatar$4;
|
|
5020
|
-
decoration_card: DecorationCard$5;
|
|
5021
5560
|
face: string;
|
|
5022
5561
|
face_nft: boolean;
|
|
5023
5562
|
following: null;
|
|
@@ -5051,10 +5590,10 @@ type FluffyFallbackLayers$5 = {
|
|
|
5051
5590
|
[property: string]: any;
|
|
5052
5591
|
};
|
|
5053
5592
|
type FluffyLayer$5 = {
|
|
5054
|
-
general_spec
|
|
5055
|
-
layer_config
|
|
5056
|
-
resource
|
|
5057
|
-
visible
|
|
5593
|
+
general_spec?: FluffyGeneralSpec$5;
|
|
5594
|
+
layer_config?: FluffyLayerConfig$5;
|
|
5595
|
+
resource?: FluffyResource$5;
|
|
5596
|
+
visible?: boolean;
|
|
5058
5597
|
[property: string]: any;
|
|
5059
5598
|
};
|
|
5060
5599
|
type FluffyGeneralSpec$5 = {
|
|
@@ -5079,21 +5618,15 @@ type FluffySizeSpec$5 = {
|
|
|
5079
5618
|
[property: string]: any;
|
|
5080
5619
|
};
|
|
5081
5620
|
type FluffyLayerConfig$5 = {
|
|
5082
|
-
is_critical
|
|
5621
|
+
is_critical: boolean;
|
|
5083
5622
|
tags: FluffyTags$5;
|
|
5084
5623
|
[property: string]: any;
|
|
5085
5624
|
};
|
|
5086
5625
|
type FluffyTags$5 = {
|
|
5087
|
-
AVATAR_LAYER
|
|
5626
|
+
AVATAR_LAYER: {
|
|
5088
5627
|
[key: string]: any;
|
|
5089
5628
|
};
|
|
5090
5629
|
GENERAL_CFG: FluffyGENERALCFG$5;
|
|
5091
|
-
ICON_LAYER: {
|
|
5092
|
-
[key: string]: any;
|
|
5093
|
-
};
|
|
5094
|
-
PENDENT_LAYER?: {
|
|
5095
|
-
[key: string]: any;
|
|
5096
|
-
};
|
|
5097
5630
|
[property: string]: any;
|
|
5098
5631
|
};
|
|
5099
5632
|
type FluffyGENERALCFG$5 = {
|
|
@@ -5106,10 +5639,7 @@ type FluffyGeneralConfig$5 = {
|
|
|
5106
5639
|
[property: string]: any;
|
|
5107
5640
|
};
|
|
5108
5641
|
type FluffyWebcssStyle$5 = {
|
|
5109
|
-
'background-color': string;
|
|
5110
|
-
border: string;
|
|
5111
5642
|
borderRadius: string;
|
|
5112
|
-
boxSizing: string;
|
|
5113
5643
|
[property: string]: any;
|
|
5114
5644
|
};
|
|
5115
5645
|
type FluffyResource$5 = {
|
|
@@ -5122,9 +5652,8 @@ type FluffyResImage$5 = {
|
|
|
5122
5652
|
[property: string]: any;
|
|
5123
5653
|
};
|
|
5124
5654
|
type FluffyImageSrc$5 = {
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
remote?: FluffyRemote$5;
|
|
5655
|
+
placeholder: number;
|
|
5656
|
+
remote: FluffyRemote$5;
|
|
5128
5657
|
src_type: number;
|
|
5129
5658
|
[property: string]: any;
|
|
5130
5659
|
};
|
|
@@ -5133,35 +5662,6 @@ type FluffyRemote$5 = {
|
|
|
5133
5662
|
url: string;
|
|
5134
5663
|
[property: string]: any;
|
|
5135
5664
|
};
|
|
5136
|
-
type DecorationCard$5 = {
|
|
5137
|
-
big_card_url: string;
|
|
5138
|
-
card_type: number;
|
|
5139
|
-
card_type_name: string;
|
|
5140
|
-
card_url: string;
|
|
5141
|
-
fan: Fan$5;
|
|
5142
|
-
id: number;
|
|
5143
|
-
image_enhance: string;
|
|
5144
|
-
item_id: number;
|
|
5145
|
-
jump_url: string;
|
|
5146
|
-
name: string;
|
|
5147
|
-
[property: string]: any;
|
|
5148
|
-
};
|
|
5149
|
-
type Fan$5 = {
|
|
5150
|
-
color: string;
|
|
5151
|
-
color_format: ColorFormat$5;
|
|
5152
|
-
is_fan: number;
|
|
5153
|
-
name: string;
|
|
5154
|
-
num_desc: string;
|
|
5155
|
-
number: number;
|
|
5156
|
-
[property: string]: any;
|
|
5157
|
-
};
|
|
5158
|
-
type ColorFormat$5 = {
|
|
5159
|
-
colors: string[];
|
|
5160
|
-
end_point: string;
|
|
5161
|
-
gradients: number[];
|
|
5162
|
-
start_point: string;
|
|
5163
|
-
[property: string]: any;
|
|
5164
|
-
};
|
|
5165
5665
|
type FluffyOfficialVerify$5 = {
|
|
5166
5666
|
desc: string;
|
|
5167
5667
|
type: number;
|
|
@@ -5205,11 +5705,24 @@ type FluffyLabel$5 = {
|
|
|
5205
5705
|
};
|
|
5206
5706
|
type FluffyModuleDynamic$4 = {
|
|
5207
5707
|
additional: null;
|
|
5208
|
-
desc:
|
|
5708
|
+
desc: FluffyDesc;
|
|
5209
5709
|
major: Major$6;
|
|
5210
5710
|
topic: null;
|
|
5211
5711
|
[property: string]: any;
|
|
5212
5712
|
};
|
|
5713
|
+
type FluffyDesc = {
|
|
5714
|
+
rich_text_nodes: FluffyRichTextNode[];
|
|
5715
|
+
text: string;
|
|
5716
|
+
[property: string]: any;
|
|
5717
|
+
};
|
|
5718
|
+
type FluffyRichTextNode = {
|
|
5719
|
+
jump_url: string;
|
|
5720
|
+
orig_text: string;
|
|
5721
|
+
style: null;
|
|
5722
|
+
text: string;
|
|
5723
|
+
type: string;
|
|
5724
|
+
[property: string]: any;
|
|
5725
|
+
};
|
|
5213
5726
|
type Major$6 = {
|
|
5214
5727
|
archive: Archive$1;
|
|
5215
5728
|
type: string;
|
|
@@ -5243,17 +5756,17 @@ type Stat$1 = {
|
|
|
5243
5756
|
};
|
|
5244
5757
|
//#endregion
|
|
5245
5758
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_AV/index.d.ts
|
|
5246
|
-
type DynamicTypeAV$1 = DynamicTypeAV_V0;
|
|
5759
|
+
type DynamicTypeAV$1 = DynamicTypeAV_V0 | DynamicTypeAV_V1;
|
|
5247
5760
|
//#endregion
|
|
5248
5761
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V0.d.ts
|
|
5249
5762
|
type DynamicTypeDraw_V0 = {
|
|
5250
5763
|
code: number;
|
|
5251
|
-
data: DataData$
|
|
5764
|
+
data: DataData$17;
|
|
5252
5765
|
message: string;
|
|
5253
5766
|
ttl: number;
|
|
5254
5767
|
[property: string]: any;
|
|
5255
5768
|
};
|
|
5256
|
-
type DataData$
|
|
5769
|
+
type DataData$17 = {
|
|
5257
5770
|
item: Item$11;
|
|
5258
5771
|
[property: string]: any;
|
|
5259
5772
|
};
|
|
@@ -5786,12 +6299,12 @@ type SummaryRichTextNode$2 = {
|
|
|
5786
6299
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V1.d.ts
|
|
5787
6300
|
type DynamicTypeDraw_V1 = {
|
|
5788
6301
|
code: number;
|
|
5789
|
-
data: DataData$
|
|
6302
|
+
data: DataData$16;
|
|
5790
6303
|
message: string;
|
|
5791
6304
|
ttl: number;
|
|
5792
6305
|
[property: string]: any;
|
|
5793
6306
|
};
|
|
5794
|
-
type DataData$
|
|
6307
|
+
type DataData$16 = {
|
|
5795
6308
|
item: Item$10;
|
|
5796
6309
|
[property: string]: any;
|
|
5797
6310
|
};
|
|
@@ -6327,12 +6840,12 @@ type DynamicTypeDraw$1 = DynamicTypeDraw_V0 | DynamicTypeDraw_V1;
|
|
|
6327
6840
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_LIVE_RCMD/DYNAMIC_TYPE_LIVE_RCMD_V0.d.ts
|
|
6328
6841
|
type DynamicTypeLiveRcmd_V0$1 = {
|
|
6329
6842
|
code: number;
|
|
6330
|
-
data: DataData$
|
|
6843
|
+
data: DataData$15;
|
|
6331
6844
|
message: string;
|
|
6332
6845
|
ttl: number;
|
|
6333
6846
|
[property: string]: any;
|
|
6334
6847
|
};
|
|
6335
|
-
type DataData$
|
|
6848
|
+
type DataData$15 = {
|
|
6336
6849
|
item: Item$9;
|
|
6337
6850
|
[property: string]: any;
|
|
6338
6851
|
};
|
|
@@ -6811,12 +7324,12 @@ type DynamicTypeLiveRcmd$1 = DynamicTypeLiveRcmd_V0$1;
|
|
|
6811
7324
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_WORD/DYNAMIC_TYPE_WORD_V0.d.ts
|
|
6812
7325
|
type DynamicTypeWord_V0$1 = {
|
|
6813
7326
|
code: number;
|
|
6814
|
-
data: DataData$
|
|
7327
|
+
data: DataData$14;
|
|
6815
7328
|
message: string;
|
|
6816
7329
|
ttl: number;
|
|
6817
7330
|
[property: string]: any;
|
|
6818
7331
|
};
|
|
6819
|
-
type DataData$
|
|
7332
|
+
type DataData$14 = {
|
|
6820
7333
|
item: Item$8;
|
|
6821
7334
|
[property: string]: any;
|
|
6822
7335
|
};
|
|
@@ -7409,7 +7922,7 @@ type OriginalDynamicItemMap = {
|
|
|
7409
7922
|
};
|
|
7410
7923
|
type ItemBasic = DynamicTypeWord$1['data']['item']['basic'] | DynamicTypeLiveRcmd$1['data']['item']['basic'] | DynamicTypeDraw$1['data']['item']['basic'] | DynamicTypeAV$1['data']['item']['basic'];
|
|
7411
7924
|
type ItemModules = DynamicTypeWord$1['data']['item']['modules'] | DynamicTypeLiveRcmd$1['data']['item']['modules'] | DynamicTypeDraw$1['data']['item']['modules'] | DynamicTypeAV$1['data']['item']['modules'];
|
|
7412
|
-
type DataData$
|
|
7925
|
+
type DataData$13<T extends keyof OriginalDynamicItemMap> = {
|
|
7413
7926
|
item: {
|
|
7414
7927
|
basic: ItemBasic;
|
|
7415
7928
|
id_str: string;
|
|
@@ -7423,7 +7936,7 @@ type DataData$12<T extends keyof OriginalDynamicItemMap> = {
|
|
|
7423
7936
|
};
|
|
7424
7937
|
type DynamicTypeForward<T extends keyof OriginalDynamicItemMap> = {
|
|
7425
7938
|
code: number;
|
|
7426
|
-
data: DataData$
|
|
7939
|
+
data: DataData$13<T>;
|
|
7427
7940
|
message: string;
|
|
7428
7941
|
ttl: number;
|
|
7429
7942
|
[property: string]: any;
|
|
@@ -7433,12 +7946,12 @@ type DynamicTypeForwardUnion = DynamicTypeForward<DynamicType.AV> | DynamicTypeF
|
|
|
7433
7946
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_LIVE_RCMD/DYNAMIC_TYPE_LIVE_RCMD_V0.d.ts
|
|
7434
7947
|
type DynamicTypeLiveRcmd_V0 = {
|
|
7435
7948
|
code: number;
|
|
7436
|
-
data: DataData$
|
|
7949
|
+
data: DataData$12;
|
|
7437
7950
|
message: string;
|
|
7438
7951
|
ttl: number;
|
|
7439
7952
|
[property: string]: any;
|
|
7440
7953
|
};
|
|
7441
|
-
type DataData$
|
|
7954
|
+
type DataData$12 = {
|
|
7442
7955
|
item: Item$7;
|
|
7443
7956
|
[property: string]: any;
|
|
7444
7957
|
};
|
|
@@ -7713,12 +8226,12 @@ type DynamicTypeLiveRcmd = DynamicTypeLiveRcmd_V0;
|
|
|
7713
8226
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_WORD/DYNAMIC_TYPE_WORD_V0.d.ts
|
|
7714
8227
|
type DynamicTypeWord_V0 = {
|
|
7715
8228
|
code: number;
|
|
7716
|
-
data: DataData$
|
|
8229
|
+
data: DataData$11;
|
|
7717
8230
|
message: string;
|
|
7718
8231
|
ttl: number;
|
|
7719
8232
|
[property: string]: any;
|
|
7720
8233
|
};
|
|
7721
|
-
type DataData$
|
|
8234
|
+
type DataData$11 = {
|
|
7722
8235
|
item: Item$6;
|
|
7723
8236
|
[property: string]: any;
|
|
7724
8237
|
};
|
|
@@ -8126,12 +8639,12 @@ type DynamicTypeItemMap$1 = {
|
|
|
8126
8639
|
[DynamicType.FORWARD]: DynamicTypeForwardUnion['data']['item'];
|
|
8127
8640
|
[DynamicType.ARTICLE]: DynamicTypeArticle['data']['item'];
|
|
8128
8641
|
};
|
|
8129
|
-
type DataData$
|
|
8642
|
+
type DataData$10<T extends DynamicType> = {
|
|
8130
8643
|
item: DynamicTypeItemMap$1[T];
|
|
8131
8644
|
};
|
|
8132
8645
|
type BiliDynamicInfo<T extends DynamicType> = {
|
|
8133
8646
|
code: number;
|
|
8134
|
-
data: DataData$
|
|
8647
|
+
data: DataData$10<T>;
|
|
8135
8648
|
message: string;
|
|
8136
8649
|
ttl: number;
|
|
8137
8650
|
[property: string]: any;
|
|
@@ -8455,7 +8968,7 @@ type BiliOneWork = BiliOneWork_V0;
|
|
|
8455
8968
|
//#region src/types/ReturnDataType/Bilibili/UserDynamic/index.d.ts
|
|
8456
8969
|
type BiliUserDynamic = {
|
|
8457
8970
|
code: number;
|
|
8458
|
-
data: DataData$
|
|
8971
|
+
data: DataData$9;
|
|
8459
8972
|
message: string;
|
|
8460
8973
|
ttl: number;
|
|
8461
8974
|
[property: string]: any;
|
|
@@ -8474,7 +8987,7 @@ type DynamicTypeItemMap = {
|
|
|
8474
8987
|
[DynamicType.FORWARD]: ForwardItem;
|
|
8475
8988
|
[DynamicType.ARTICLE]: ArticleItem;
|
|
8476
8989
|
};
|
|
8477
|
-
type DataData$
|
|
8990
|
+
type DataData$9<T extends DynamicType = DynamicType> = {
|
|
8478
8991
|
has_more: boolean;
|
|
8479
8992
|
items: DynamicTypeItemMap[T][];
|
|
8480
8993
|
offset: string;
|
|
@@ -8511,6 +9024,32 @@ type Article = {
|
|
|
8511
9024
|
//#region src/types/ReturnDataType/Bilibili/UserFullView/index.d.ts
|
|
8512
9025
|
type BiliUserFullView = BiliUserFullView_V0;
|
|
8513
9026
|
//#endregion
|
|
9027
|
+
//#region src/types/ReturnDataType/Bilibili/UserLiveStatus/UserLiveStatus_V0.d.ts
|
|
9028
|
+
type BiliUserLiveStatus_V0 = {
|
|
9029
|
+
code: number;
|
|
9030
|
+
data: DataData$8;
|
|
9031
|
+
message: string;
|
|
9032
|
+
ttl: number;
|
|
9033
|
+
[property: string]: any;
|
|
9034
|
+
};
|
|
9035
|
+
type DataData$8 = {
|
|
9036
|
+
broadcast_type: number;
|
|
9037
|
+
cover: string;
|
|
9038
|
+
link: string;
|
|
9039
|
+
liveStatus: number;
|
|
9040
|
+
online: number;
|
|
9041
|
+
online_hidden: number;
|
|
9042
|
+
roomid: number;
|
|
9043
|
+
roomStatus: number;
|
|
9044
|
+
roundStatus: number;
|
|
9045
|
+
title: string;
|
|
9046
|
+
url: string;
|
|
9047
|
+
[property: string]: any;
|
|
9048
|
+
};
|
|
9049
|
+
//#endregion
|
|
9050
|
+
//#region src/types/ReturnDataType/Bilibili/UserLiveStatus/index.d.ts
|
|
9051
|
+
type BiliUserLiveStatus = BiliUserLiveStatus_V0;
|
|
9052
|
+
//#endregion
|
|
8514
9053
|
//#region src/types/ReturnDataType/Bilibili/UserProfile/UserProfile_V0.d.ts
|
|
8515
9054
|
type BiliUserProfile_V0 = {
|
|
8516
9055
|
code: number;
|
|
@@ -10998,6 +11537,7 @@ interface BilibiliReturnTypeMap {
|
|
|
10998
11537
|
commentReplies: BiliCommentReply;
|
|
10999
11538
|
userCard: BiliUserProfile;
|
|
11000
11539
|
userDynamicList: BiliUserDynamic;
|
|
11540
|
+
userLiveStatus: BiliUserLiveStatus;
|
|
11001
11541
|
userSpaceInfo: UserSpaceInfo;
|
|
11002
11542
|
emojiList: BiliEmojiList;
|
|
11003
11543
|
bangumiInfo: BiliBangumiVideoInfo;
|
|
@@ -23699,7 +24239,7 @@ type DySearchInfo = SearchInfoGeneralData | SearchInfoUser | SearchInfoVideo;
|
|
|
23699
24239
|
* 将 methodType 映射到对应的返回数据类型
|
|
23700
24240
|
*/
|
|
23701
24241
|
interface DouyinReturnTypeMap {
|
|
23702
|
-
parseWork: DyVideoWork | DyImageAlbumWork | DySlidesWork | DyImageAlbumWork & ArticleWork;
|
|
24242
|
+
parseWork: DyVideoWork | DyImageAlbumWork | DySlidesWork | (DyImageAlbumWork & ArticleWork);
|
|
23703
24243
|
textWork: ArticleWork;
|
|
23704
24244
|
videoWork: DyVideoWork;
|
|
23705
24245
|
imageAlbumWork: DyImageAlbumWork;
|
|
@@ -25527,6 +26067,7 @@ declare const BilibiliInternalMethods: {
|
|
|
25527
26067
|
readonly COMMENT_REPLIES: "指定评论的回复";
|
|
25528
26068
|
readonly USER_CARD: "用户主页数据";
|
|
25529
26069
|
readonly USER_DYNAMICS: "用户主页动态列表数据";
|
|
26070
|
+
readonly USER_LIVE_STATUS: "用户直播状态";
|
|
25530
26071
|
readonly USER_SPACE_INFO: "用户空间详细信息";
|
|
25531
26072
|
readonly USER_TOTAL_VIEWS: "获取UP主总播放量";
|
|
25532
26073
|
readonly DYNAMIC_DETAIL: "动态详情数据";
|
|
@@ -25557,6 +26098,7 @@ declare const BilibiliFetcherMethods: {
|
|
|
25557
26098
|
readonly COMMENT_REPLIES: "fetchCommentReplies";
|
|
25558
26099
|
readonly USER_CARD: "fetchUserCard";
|
|
25559
26100
|
readonly USER_DYNAMICS: "fetchUserDynamicList";
|
|
26101
|
+
readonly USER_LIVE_STATUS: "fetchUserLiveStatus";
|
|
25560
26102
|
readonly USER_SPACE_INFO: "fetchUserSpaceInfo";
|
|
25561
26103
|
readonly USER_TOTAL_VIEWS: "fetchUploaderTotalViews";
|
|
25562
26104
|
readonly DYNAMIC_DETAIL: "fetchDynamicDetail";
|
|
@@ -25656,14 +26198,14 @@ declare const XiaohongshuFetcherMethods: {
|
|
|
25656
26198
|
readonly SEARCH_NOTES: "searchNotes";
|
|
25657
26199
|
readonly EMOJI_LIST: "fetchEmojiList";
|
|
25658
26200
|
};
|
|
25659
|
-
type BilibiliInternalMethodKey = typeof BilibiliInternalMethods[keyof typeof BilibiliInternalMethods];
|
|
25660
|
-
type BilibiliFetcherMethodKey = typeof BilibiliFetcherMethods[keyof typeof BilibiliFetcherMethods];
|
|
25661
|
-
type DouyinInternalMethodKey = typeof DouyinInternalMethods[keyof typeof DouyinInternalMethods];
|
|
25662
|
-
type DouyinFetcherMethodKey = typeof DouyinFetcherMethods[keyof typeof DouyinFetcherMethods];
|
|
25663
|
-
type KuaishouInternalMethodKey = typeof KuaishouInternalMethods[keyof typeof KuaishouInternalMethods];
|
|
25664
|
-
type KuaishouFetcherMethodKey = typeof KuaishouFetcherMethods[keyof typeof KuaishouFetcherMethods];
|
|
25665
|
-
type XiaohongshuInternalMethodKey = typeof XiaohongshuInternalMethods[keyof typeof XiaohongshuInternalMethods];
|
|
25666
|
-
type XiaohongshuFetcherMethodKey = typeof XiaohongshuFetcherMethods[keyof typeof XiaohongshuFetcherMethods];
|
|
26201
|
+
type BilibiliInternalMethodKey = (typeof BilibiliInternalMethods)[keyof typeof BilibiliInternalMethods];
|
|
26202
|
+
type BilibiliFetcherMethodKey = (typeof BilibiliFetcherMethods)[keyof typeof BilibiliFetcherMethods];
|
|
26203
|
+
type DouyinInternalMethodKey = (typeof DouyinInternalMethods)[keyof typeof DouyinInternalMethods];
|
|
26204
|
+
type DouyinFetcherMethodKey = (typeof DouyinFetcherMethods)[keyof typeof DouyinFetcherMethods];
|
|
26205
|
+
type KuaishouInternalMethodKey = (typeof KuaishouInternalMethods)[keyof typeof KuaishouInternalMethods];
|
|
26206
|
+
type KuaishouFetcherMethodKey = (typeof KuaishouFetcherMethods)[keyof typeof KuaishouFetcherMethods];
|
|
26207
|
+
type XiaohongshuInternalMethodKey = (typeof XiaohongshuInternalMethods)[keyof typeof XiaohongshuInternalMethods];
|
|
26208
|
+
type XiaohongshuFetcherMethodKey = (typeof XiaohongshuFetcherMethods)[keyof typeof XiaohongshuFetcherMethods];
|
|
25667
26209
|
/** B站:内部中文方法名 -> Fetcher 英文方法名 */
|
|
25668
26210
|
declare const BilibiliMethodToFetcher: Record<BilibiliInternalMethodKey, BilibiliFetcherMethodKey>;
|
|
25669
26211
|
/** 抖音:内部中文方法名 -> Fetcher 英文方法名 */
|
|
@@ -25692,6 +26234,7 @@ declare const MethodMaps: {
|
|
|
25692
26234
|
readonly COMMENT_REPLIES: "指定评论的回复";
|
|
25693
26235
|
readonly USER_CARD: "用户主页数据";
|
|
25694
26236
|
readonly USER_DYNAMICS: "用户主页动态列表数据";
|
|
26237
|
+
readonly USER_LIVE_STATUS: "用户直播状态";
|
|
25695
26238
|
readonly USER_SPACE_INFO: "用户空间详细信息";
|
|
25696
26239
|
readonly USER_TOTAL_VIEWS: "获取UP主总播放量";
|
|
25697
26240
|
readonly DYNAMIC_DETAIL: "动态详情数据";
|
|
@@ -25721,6 +26264,7 @@ declare const MethodMaps: {
|
|
|
25721
26264
|
readonly COMMENT_REPLIES: "fetchCommentReplies";
|
|
25722
26265
|
readonly USER_CARD: "fetchUserCard";
|
|
25723
26266
|
readonly USER_DYNAMICS: "fetchUserDynamicList";
|
|
26267
|
+
readonly USER_LIVE_STATUS: "fetchUserLiveStatus";
|
|
25724
26268
|
readonly USER_SPACE_INFO: "fetchUserSpaceInfo";
|
|
25725
26269
|
readonly USER_TOTAL_VIEWS: "fetchUploaderTotalViews";
|
|
25726
26270
|
readonly DYNAMIC_DETAIL: "fetchDynamicDetail";
|
|
@@ -25922,6 +26466,13 @@ declare class BilibiliAPI {
|
|
|
25922
26466
|
getDynamicCard(data: BilibiliMethodOptionsWithoutMethodType['DynamicParams']): string;
|
|
25923
26467
|
/** 获取用户名片信息 */
|
|
25924
26468
|
getUserCard(data: BilibiliMethodOptionsWithoutMethodType['UserParams']): string;
|
|
26469
|
+
/**
|
|
26470
|
+
* 按用户 UID 获取直播状态。
|
|
26471
|
+
*
|
|
26472
|
+
* @remarks
|
|
26473
|
+
* 该接口直接返回用户当前直播状态,不依赖空间动态中的直播推荐卡片。
|
|
26474
|
+
*/
|
|
26475
|
+
getUserLiveStatus(data: BilibiliMethodOptionsWithoutMethodType['UserParams']): string;
|
|
25925
26476
|
/** 获取直播间信息 */
|
|
25926
26477
|
getLiveRoomInfo(data: BilibiliMethodOptionsWithoutMethodType['LiveRoomParams']): string;
|
|
25927
26478
|
/** 获取直播间初始化信息 */
|
|
@@ -26121,6 +26672,10 @@ interface IBilibiliFetcher {
|
|
|
26121
26672
|
* 获取B站用户动态列表
|
|
26122
26673
|
*/
|
|
26123
26674
|
fetchUserDynamicList: MethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userDynamicList']>;
|
|
26675
|
+
/**
|
|
26676
|
+
* 按用户 UID 获取B站直播状态
|
|
26677
|
+
*/
|
|
26678
|
+
fetchUserLiveStatus: MethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userLiveStatus']>;
|
|
26124
26679
|
/**
|
|
26125
26680
|
* 获取B站用户空间详细信息
|
|
26126
26681
|
*/
|
|
@@ -26659,6 +27214,8 @@ interface IBoundBilibiliFetcher {
|
|
|
26659
27214
|
fetchUserCard: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userCard']>;
|
|
26660
27215
|
/** 获取B站用户动态列表 */
|
|
26661
27216
|
fetchUserDynamicList: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userDynamicList']>;
|
|
27217
|
+
/** 按用户 UID 获取B站直播状态 */
|
|
27218
|
+
fetchUserLiveStatus: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userLiveStatus']>;
|
|
26662
27219
|
/** 获取B站用户空间详细信息 */
|
|
26663
27220
|
fetchUserSpaceInfo: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userSpaceInfo']>;
|
|
26664
27221
|
/** 获取B站 UP 主总播放量 */
|
|
@@ -27034,7 +27591,7 @@ interface AmagiEventMap {
|
|
|
27034
27591
|
* 类型安全的事件发射器
|
|
27035
27592
|
* @description 继承自 Node.js EventEmitter,提供泛型约束确保事件名称与数据类型匹配
|
|
27036
27593
|
*/
|
|
27037
|
-
declare class TypedEventEmitter extends EventEmitter {
|
|
27594
|
+
declare class TypedEventEmitter extends EventEmitter$1 {
|
|
27038
27595
|
/**
|
|
27039
27596
|
* 触发事件
|
|
27040
27597
|
* @param event - 事件名称
|
|
@@ -28042,6 +28599,12 @@ declare const kuaishouUtils: kuaishouUtilsModel;
|
|
|
28042
28599
|
*/
|
|
28043
28600
|
declare class xiaohongshuSign {
|
|
28044
28601
|
private static client;
|
|
28602
|
+
/**
|
|
28603
|
+
* 创建包含 web_session 的小红书 Web 端游客 Cookie。
|
|
28604
|
+
*
|
|
28605
|
+
* `requestConfig` 会透传到游客会话初始化请求,可用于配置代理、超时等传输参数。
|
|
28606
|
+
*/
|
|
28607
|
+
static createGuestCookie(requestConfig?: AxiosRequestConfig): Promise<string>;
|
|
28045
28608
|
/**
|
|
28046
28609
|
* 生成GET请求的X-S签名
|
|
28047
28610
|
* @param path - API路径
|
|
@@ -28411,7 +28974,7 @@ declare const DouyinMethodMapping: {
|
|
|
28411
28974
|
readonly 弹幕数据: "fetchDanmakuList";
|
|
28412
28975
|
};
|
|
28413
28976
|
type DouyinMethodKey = keyof typeof DouyinMethodMapping;
|
|
28414
|
-
type DouyinMethodValue = typeof DouyinMethodMapping[DouyinMethodKey];
|
|
28977
|
+
type DouyinMethodValue = (typeof DouyinMethodMapping)[DouyinMethodKey];
|
|
28415
28978
|
declare const BilibiliMethodMapping: {
|
|
28416
28979
|
readonly 单个视频作品数据: "fetchVideoInfo";
|
|
28417
28980
|
readonly 单个视频下载信息数据: "fetchVideoStreamUrl";
|
|
@@ -28420,6 +28983,7 @@ declare const BilibiliMethodMapping: {
|
|
|
28420
28983
|
readonly 指定评论的回复: "fetchCommentReplies";
|
|
28421
28984
|
readonly 用户主页数据: "fetchUserCard";
|
|
28422
28985
|
readonly 用户主页动态列表数据: "fetchUserDynamicList";
|
|
28986
|
+
readonly 用户直播状态: "fetchUserLiveStatus";
|
|
28423
28987
|
readonly 用户空间详细信息: "fetchUserSpaceInfo";
|
|
28424
28988
|
readonly 获取UP主总播放量: "fetchUploaderTotalViews";
|
|
28425
28989
|
readonly 动态详情数据: "fetchDynamicDetail";
|
|
@@ -28442,7 +29006,7 @@ declare const BilibiliMethodMapping: {
|
|
|
28442
29006
|
readonly 验证验证码结果: "validateCaptchaResult";
|
|
28443
29007
|
};
|
|
28444
29008
|
type BilibiliMethodKey = keyof typeof BilibiliMethodMapping;
|
|
28445
|
-
type BilibiliMethodValue = typeof BilibiliMethodMapping[BilibiliMethodKey];
|
|
29009
|
+
type BilibiliMethodValue = (typeof BilibiliMethodMapping)[BilibiliMethodKey];
|
|
28446
29010
|
declare const KuaishouMethodMapping: {
|
|
28447
29011
|
readonly 单个视频作品数据: "fetchVideoWork";
|
|
28448
29012
|
readonly 评论数据: "fetchWorkComments";
|
|
@@ -28452,7 +29016,7 @@ declare const KuaishouMethodMapping: {
|
|
|
28452
29016
|
readonly Emoji数据: "fetchEmojiList";
|
|
28453
29017
|
};
|
|
28454
29018
|
type KuaishouMethodKey = keyof typeof KuaishouMethodMapping;
|
|
28455
|
-
type KuaishouMethodValue = typeof KuaishouMethodMapping[KuaishouMethodKey];
|
|
29019
|
+
type KuaishouMethodValue = (typeof KuaishouMethodMapping)[KuaishouMethodKey];
|
|
28456
29020
|
declare const XiaohongshuMethodMapping: {
|
|
28457
29021
|
readonly 首页推荐数据: "fetchHomeFeed";
|
|
28458
29022
|
readonly 单个笔记数据: "fetchNoteDetail";
|
|
@@ -28463,7 +29027,7 @@ declare const XiaohongshuMethodMapping: {
|
|
|
28463
29027
|
readonly 搜索笔记: "searchNotes";
|
|
28464
29028
|
};
|
|
28465
29029
|
type XiaohongshuMethodKey = keyof typeof XiaohongshuMethodMapping;
|
|
28466
|
-
type XiaohongshuMethodValue = typeof XiaohongshuMethodMapping[XiaohongshuMethodKey];
|
|
29030
|
+
type XiaohongshuMethodValue = (typeof XiaohongshuMethodMapping)[XiaohongshuMethodKey];
|
|
28467
29031
|
/**
|
|
28468
29032
|
* Douyin HTTP API 路由
|
|
28469
29033
|
*
|
|
@@ -28505,6 +29069,7 @@ declare const BilibiliApiRoutes: {
|
|
|
28505
29069
|
readonly commentReplies: "/comment-replies";
|
|
28506
29070
|
readonly userCard: "/user";
|
|
28507
29071
|
readonly userDynamicList: "/user/dynamics";
|
|
29072
|
+
readonly userLiveStatus: "/user/live-status";
|
|
28508
29073
|
readonly userSpaceInfo: "/user/space";
|
|
28509
29074
|
readonly uploaderTotalViews: "/user/total-views";
|
|
28510
29075
|
readonly dynamicDetail: "/dynamic";
|
|
@@ -28625,5 +29190,5 @@ declare const amagi: typeof Client;
|
|
|
28625
29190
|
* GPL-3.0 Licensed
|
|
28626
29191
|
*/
|
|
28627
29192
|
//#endregion
|
|
28628
|
-
export { APIErrorType, AdditionalType,
|
|
29193
|
+
export { APIErrorType, AdditionalType, AmagiEventMap, AmagiEventType, type ApiEndpoint, ApiError, ApiErrorEventData, ApiResponse, ApiSuccessEventData, ArticleCard, ArticleContent, ArticleInfo, ArticleWork, BaseRequestOptions, BaseResponse, BiliAv2Bv, BiliBangumiVideoInfo, BiliBangumiVideoPlayurlIsLogin, BiliBangumiVideoPlayurlNoLogin, BiliBiliVideoPlayurlNoLogin, BiliBv2AV, BiliCheckQrcode, BiliCommentReply, BiliDynamicCard, BiliDynamicInfo, BiliDynamicInfoUnion, BiliEmojiList, BiliLiveRoomDef, BiliLiveRoomDetail, BiliNewLoginQrcode, BiliOneWork, BiliProtobufDanmaku, BiliUserDynamic, BiliUserFullView, BiliUserLiveStatus, BiliUserProfile, BiliVideoPlayurlIsLogin, BiliWorkComments, BilibiliApiRoutes, type BilibiliApplyCaptchaOptions, BilibiliApplyCaptchaParamsSchema, type BilibiliArticleCardOptions, BilibiliArticleCardParamsSchema, BilibiliArticleInfoParamsSchema, type BilibiliArticleOptions, BilibiliArticleParamsSchema, type BilibiliAv2BvOptions, BilibiliAv2BvParamsSchema, type BilibiliBangumiInfoOptions, BilibiliBangumiInfoParamsSchema, type BilibiliBangumiStreamOptions, BilibiliBangumiStreamParamsSchema, type BilibiliBv2AvOptions, BilibiliBv2AvParamsSchema, BilibiliColumnInfoParamsSchema, BilibiliCommentParamsSchema, type BilibiliCommentRepliesOptions, BilibiliCommentReplyParamsSchema, type BilibiliCommentsOptions, type BilibiliDanmakuOptions, BilibiliDanmakuParamsSchema, BilibiliDataOptions, BilibiliDataOptionsMap, type BilibiliDynamicOptions, BilibiliDynamicParamsSchema, BilibiliEmojiParamsSchema, type BilibiliFetcher, BilibiliFetcherMethodKey, BilibiliFetcherMethods, BilibiliInternalMethodKey, BilibiliInternalMethods, BilibiliLiveParamsSchema, type BilibiliLiveRoomOptions, BilibiliLoginParamsSchema, type BilibiliMethodKey, BilibiliMethodMapping, BilibiliMethodOptMap, BilibiliMethodOptionsMap, BilibiliMethodRoutes, BilibiliMethodToFetcher, BilibiliMethodType, type BilibiliMethodValue, BilibiliQrcodeParamsSchema, type BilibiliQrcodeStatusOptions, BilibiliQrcodeStatusParamsSchema, BilibiliReturnTypeMap, type BilibiliUserOptions, BilibiliUserParamsSchema, type BilibiliValidateCaptchaOptions, BilibiliValidateCaptchaParamsSchema, BilibiliValidationSchemas, BilibiliVideoDownloadParamsSchema, type BilibiliVideoInfoOptions, BilibiliVideoParamsSchema, type BilibiliVideoStreamOptions, BoundBilibiliApi, type BoundBilibiliFetcher, BoundDouyinApi, type BoundDouyinFetcher, BoundKuaishouApi, type BoundKuaishouFetcher, BoundXiaohongshuApi, type BoundXiaohongshuFetcher, ColumnInfo, CommentReply, CommentType, ConditionalReturnType, CookieConfig, CreateApp, DouyinApiRoutes, DouyinCommentParamsSchema, type DouyinCommentRepliesOptions, DouyinCommentReplyParamsSchema, type DouyinCommentsOptions, type DouyinDanmakuOptions, DouyinDanmakuParamsSchema, DouyinDataOptions, DouyinDataOptionsMap, DouyinEmojiListParamsSchema, DouyinEmojiProParamsSchema, type DouyinFetcher, DouyinFetcherMethodKey, DouyinFetcherMethods, DouyinHotWordsParamsSchema, DouyinInternalMethodKey, DouyinInternalMethods, type DouyinLiveRoomOptions, DouyinLiveRoomParamsSchema, type DouyinMethodKey, DouyinMethodMapping, DouyinMethodOptMap, DouyinMethodOptionsMap, DouyinMethodRoutes, DouyinMethodToFetcher, DouyinMethodType, type DouyinMethodValue, type DouyinMusicOptions, DouyinMusicParamsSchema, type DouyinQrcodeOptions, DouyinQrcodeParamsSchema, DouyinReturnTypeMap, type DouyinSearchOptions, DouyinSearchParamsSchema, type DouyinSuggestWordsOptions, type DouyinUserListOptions, DouyinUserListParamsSchema, type DouyinUserOptions, DouyinUserParamsSchema, DouyinValidationSchemas, type DouyinWorkOptions, DouyinWorkParamsSchema, DyDanmakuList, DyEmojiList, DyEmojiProList, DyImageAlbumWork, DyMusicWork, DySearchInfo, DySlidesWork, DySuggestWords, DyUserInfo, DyUserLiveVideos, DyUserPostVideos, DyVideoWork, DyWorkComments, DynamicType, DynamicTypeAV, DynamicTypeArticle, DynamicTypeDraw, DynamicTypeForward, DynamicTypeForwardUnion, DynamicTypeLiveRcmd, DynamicTypeWord, ErrorResult, ExtractTypeMode, FetcherConfig, HomeFeed, type HttpMethod, HttpRequestEventData, HttpResponseEventData, type IBilibiliFetcher, type IBoundBilibiliFetcher, type IBoundDouyinFetcher, type IBoundKuaishouFetcher, type IBoundXiaohongshuFetcher, type IDouyinFetcher, type IKuaishouFetcher, type IXiaohongshuFetcher, type KsBannedStatus, KsEmojiList, KsLiveRoomInfo, KsOneWork, type KsUserHomeWork, KsUserProfile, type KsUserProfileCounts, type KsUserProfileGameInfo, type KsUserProfileLiveInfo, type KsUserProfileSensitiveInfo, type KsUserProfileUserInfo, KsUserWorkList, type KsVerifiedStatus, KsWorkComments, KuaishouApiRoutes, KuaishouCommentParamsSchema, type KuaishouCommentsOptions, KuaishouDataOptions, KuaishouDataOptionsMap, KuaishouEmojiParamsSchema, type KuaishouFetcher, KuaishouFetcherMethodKey, KuaishouFetcherMethods, type KuaishouGraphqlRequest, KuaishouInternalMethodKey, KuaishouInternalMethods, type KuaishouLiveApiRequest, type KuaishouLiveRoomInfoOptions, KuaishouLiveRoomInfoParamsSchema, type KuaishouMethodKey, KuaishouMethodMapping, KuaishouMethodOptMap, KuaishouMethodOptionsMap, KuaishouMethodRoutes, KuaishouMethodToFetcher, KuaishouMethodType, type KuaishouMethodValue, KuaishouReturnTypeMap, type KuaishouUserProfileOptions, KuaishouUserProfileParamsSchema, type KuaishouUserWorkListOptions, KuaishouUserWorkListParamsSchema, KuaishouValidationSchemas, KuaishouVideoParamsSchema, type KuaishouVideoWorkOptions, LogEventData, MajorType, MethodMaps, NetworkErrorEventData, NetworkRetryEventData, type NetworksConfigType, NoteComments, OmitMethodType, OneNote, Options, type Platform, RequestConfig, Result, SearchInfoGeneralData, SearchInfoUser, SearchInfoVideo, SearchNotes, SuccessResult, TypeControl, TypeMode, ValidationError, XiaohongshuApiRoutes, type XiaohongshuCommentsOptions, XiaohongshuDataOptions, XiaohongshuDataOptionsMap, XiaohongshuEmojiList, type XiaohongshuFetcher, XiaohongshuFetcherMethodKey, XiaohongshuFetcherMethods, type XiaohongshuHomeFeedOptions, XiaohongshuInternalMethodKey, XiaohongshuInternalMethods, type XiaohongshuMethodKey, XiaohongshuMethodMapping, XiaohongshuMethodOptMap, XiaohongshuMethodOptionsMap, XiaohongshuMethodRoutes, XiaohongshuMethodToFetcher, XiaohongshuMethodType, type XiaohongshuMethodValue, type XiaohongshuNoteDetailOptions, XiaohongshuReturnTypeMap, type XiaohongshuSearchNotesOptions, type XiaohongshuUserNotesOptions, XiaohongshuUserProfile, type XiaohongshuUserProfileOptions, XiaohongshuValidationSchemas, amagi, amagiClient, amagiEvents, av2bv, bilibili, bilibiliApiUrls, bilibiliErrorCodeMap, bilibiliFetcher, bilibiliUtils, bv2av, createAmagiClient, createBilibiliRoutes, createBilibiliRoutes as registerBilibiliRoutes, createBoundBilibiliApi, createBoundBilibiliFetcher, createBoundDouyinApi, createBoundDouyinFetcher, createBoundKuaishouApi, createBoundKuaishouFetcher, createBoundXiaohongshuApi, createBoundXiaohongshuFetcher, createDouyinRoutes, createDouyinRoutes as registerDouyinRoutes, createErrorResponse, createKuaishouRoutes, createKuaishouRoutes as registerKuaishouRoutes, createSuccessResponse, createXiaohongshuRoutes, createXiaohongshuRoutes as registerXiaohongshuRoutes, Client as default, douyin, douyinApiUrls, douyinFetcher, douyinSign, douyinUtils, emitApiError, emitApiSuccess, emitHttpRequest, emitHttpResponse, emitLog, emitLogDebug, emitLogError, emitLogInfo, emitLogMark, emitLogWarn, emitNetworkError, emitNetworkRetry, fetchData, fetchResponse, getApiRoute, getBilibiliData, getDouyinData, getEnglishMethodName, getHeadersAndData, getKuaishouData, handleError, httpLogger, initLogger, isNetworkErrorResult, kuaishou, kuaishouApiUrls, kuaishouFetcher, kuaishouSign, kuaishouUtils, logMiddleware, logger, parseDmSegMobileReply, qtparam, toFetcherMethod, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validateXiaohongshuParams, wbi_sign, xiaohongshu, xiaohongshuApiUrls, xiaohongshuFetcher, xiaohongshuSign, xiaohongshuUtils };
|
|
28629
29194
|
//# sourceMappingURL=index.d.mts.map
|