@ikenxuan/amagi 6.1.3 → 6.2.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 +355 -157
- package/dist/default/index.d.ts +810 -300
- package/dist/default/index.mjs +350 -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$29;
|
|
35
35
|
message: string;
|
|
36
36
|
[property: string]: any;
|
|
37
37
|
};
|
|
38
|
-
type DataData$
|
|
38
|
+
type DataData$29 = {
|
|
39
39
|
elems: Elem[];
|
|
40
40
|
[property: string]: any;
|
|
41
41
|
};
|
|
@@ -1356,7 +1356,7 @@ declare const xiaohongshuApiUrls: {
|
|
|
1356
1356
|
* @param data - 请求参数
|
|
1357
1357
|
* @returns 完整的接口URL
|
|
1358
1358
|
*/
|
|
1359
|
-
emojiList(
|
|
1359
|
+
emojiList(_data: XiaohongshuMethodOptionsWithoutMethodType["EmojiListParams"]): {
|
|
1360
1360
|
apiPath: string;
|
|
1361
1361
|
Url: string;
|
|
1362
1362
|
};
|
|
@@ -1758,12 +1758,12 @@ declare const createErrorResponse: (error: APIErrorType, message: string, code?:
|
|
|
1758
1758
|
//#region src/types/ReturnDataType/Bilibili/ArticleCard/ArticleCard_V0.d.ts
|
|
1759
1759
|
type ArticleCard_V0 = {
|
|
1760
1760
|
code: number;
|
|
1761
|
-
data: DataData$
|
|
1761
|
+
data: DataData$28;
|
|
1762
1762
|
message: string;
|
|
1763
1763
|
ttl: number;
|
|
1764
1764
|
[property: string]: any;
|
|
1765
1765
|
};
|
|
1766
|
-
type DataData$
|
|
1766
|
+
type DataData$28 = {
|
|
1767
1767
|
av2: Av2;
|
|
1768
1768
|
cv1: Cv1;
|
|
1769
1769
|
cv2: Cv2;
|
|
@@ -1786,7 +1786,7 @@ type Av2 = {
|
|
|
1786
1786
|
pubdate: number;
|
|
1787
1787
|
rights: Rights$1;
|
|
1788
1788
|
short_link_v2: string;
|
|
1789
|
-
stat: Stat$
|
|
1789
|
+
stat: Stat$4;
|
|
1790
1790
|
state: number;
|
|
1791
1791
|
tid: number;
|
|
1792
1792
|
title: string;
|
|
@@ -1824,7 +1824,7 @@ type Rights$1 = {
|
|
|
1824
1824
|
ugc_pay_preview: number;
|
|
1825
1825
|
[property: string]: any;
|
|
1826
1826
|
};
|
|
1827
|
-
type Stat$
|
|
1827
|
+
type Stat$4 = {
|
|
1828
1828
|
aid: number;
|
|
1829
1829
|
coin: number;
|
|
1830
1830
|
danmaku: number;
|
|
@@ -1885,9 +1885,9 @@ type Cv1Author = {
|
|
|
1885
1885
|
mid: number;
|
|
1886
1886
|
name: string;
|
|
1887
1887
|
nameplate: PurpleNameplate$1;
|
|
1888
|
-
official_verify: PurpleOfficialVerify$
|
|
1889
|
-
pendant: PurplePendant$
|
|
1890
|
-
vip: PurpleVip$
|
|
1888
|
+
official_verify: PurpleOfficialVerify$7;
|
|
1889
|
+
pendant: PurplePendant$7;
|
|
1890
|
+
vip: PurpleVip$7;
|
|
1891
1891
|
[property: string]: any;
|
|
1892
1892
|
};
|
|
1893
1893
|
type PurpleNameplate$1 = {
|
|
@@ -1899,22 +1899,22 @@ type PurpleNameplate$1 = {
|
|
|
1899
1899
|
nid: number;
|
|
1900
1900
|
[property: string]: any;
|
|
1901
1901
|
};
|
|
1902
|
-
type PurpleOfficialVerify$
|
|
1902
|
+
type PurpleOfficialVerify$7 = {
|
|
1903
1903
|
desc: string;
|
|
1904
1904
|
type: number;
|
|
1905
1905
|
[property: string]: any;
|
|
1906
1906
|
};
|
|
1907
|
-
type PurplePendant$
|
|
1907
|
+
type PurplePendant$7 = {
|
|
1908
1908
|
expire: number;
|
|
1909
1909
|
image: string;
|
|
1910
1910
|
name: string;
|
|
1911
1911
|
pid: number;
|
|
1912
1912
|
[property: string]: any;
|
|
1913
1913
|
};
|
|
1914
|
-
type PurpleVip$
|
|
1914
|
+
type PurpleVip$7 = {
|
|
1915
1915
|
avatar_subscript: number;
|
|
1916
1916
|
due_date: number;
|
|
1917
|
-
label: PurpleLabel$
|
|
1917
|
+
label: PurpleLabel$7;
|
|
1918
1918
|
nickname_color: string;
|
|
1919
1919
|
status: number;
|
|
1920
1920
|
theme_type: number;
|
|
@@ -1922,7 +1922,7 @@ type PurpleVip$6 = {
|
|
|
1922
1922
|
vip_pay_type: number;
|
|
1923
1923
|
[property: string]: any;
|
|
1924
1924
|
};
|
|
1925
|
-
type PurpleLabel$
|
|
1925
|
+
type PurpleLabel$7 = {
|
|
1926
1926
|
label_theme: string;
|
|
1927
1927
|
path: string;
|
|
1928
1928
|
text: string;
|
|
@@ -2024,9 +2024,9 @@ type Cv2Author = {
|
|
|
2024
2024
|
mid: number;
|
|
2025
2025
|
name: string;
|
|
2026
2026
|
nameplate: FluffyNameplate$1;
|
|
2027
|
-
official_verify: FluffyOfficialVerify$
|
|
2028
|
-
pendant: FluffyPendant$
|
|
2029
|
-
vip: FluffyVip$
|
|
2027
|
+
official_verify: FluffyOfficialVerify$7;
|
|
2028
|
+
pendant: FluffyPendant$7;
|
|
2029
|
+
vip: FluffyVip$7;
|
|
2030
2030
|
[property: string]: any;
|
|
2031
2031
|
};
|
|
2032
2032
|
type FluffyNameplate$1 = {
|
|
@@ -2038,22 +2038,22 @@ type FluffyNameplate$1 = {
|
|
|
2038
2038
|
nid: number;
|
|
2039
2039
|
[property: string]: any;
|
|
2040
2040
|
};
|
|
2041
|
-
type FluffyOfficialVerify$
|
|
2041
|
+
type FluffyOfficialVerify$7 = {
|
|
2042
2042
|
desc: string;
|
|
2043
2043
|
type: number;
|
|
2044
2044
|
[property: string]: any;
|
|
2045
2045
|
};
|
|
2046
|
-
type FluffyPendant$
|
|
2046
|
+
type FluffyPendant$7 = {
|
|
2047
2047
|
expire: number;
|
|
2048
2048
|
image: string;
|
|
2049
2049
|
name: string;
|
|
2050
2050
|
pid: number;
|
|
2051
2051
|
[property: string]: any;
|
|
2052
2052
|
};
|
|
2053
|
-
type FluffyVip$
|
|
2053
|
+
type FluffyVip$7 = {
|
|
2054
2054
|
avatar_subscript: number;
|
|
2055
2055
|
due_date: number;
|
|
2056
|
-
label: FluffyLabel$
|
|
2056
|
+
label: FluffyLabel$7;
|
|
2057
2057
|
nickname_color: string;
|
|
2058
2058
|
status: number;
|
|
2059
2059
|
theme_type: number;
|
|
@@ -2061,7 +2061,7 @@ type FluffyVip$6 = {
|
|
|
2061
2061
|
vip_pay_type: number;
|
|
2062
2062
|
[property: string]: any;
|
|
2063
2063
|
};
|
|
2064
|
-
type FluffyLabel$
|
|
2064
|
+
type FluffyLabel$7 = {
|
|
2065
2065
|
label_theme: string;
|
|
2066
2066
|
path: string;
|
|
2067
2067
|
text: string;
|
|
@@ -2125,12 +2125,12 @@ type ArticleCard = ArticleCard_V0;
|
|
|
2125
2125
|
//#region src/types/ReturnDataType/Bilibili/ArticleContent/ArticleContent.d.ts
|
|
2126
2126
|
type ArticleContent_V0 = {
|
|
2127
2127
|
code: number;
|
|
2128
|
-
data: DataData$
|
|
2128
|
+
data: DataData$27;
|
|
2129
2129
|
message: string;
|
|
2130
2130
|
ttl: number;
|
|
2131
2131
|
[property: string]: any;
|
|
2132
2132
|
};
|
|
2133
|
-
type DataData$
|
|
2133
|
+
type DataData$27 = {
|
|
2134
2134
|
act_id: number;
|
|
2135
2135
|
apply_time: string;
|
|
2136
2136
|
authenMark: null;
|
|
@@ -2345,12 +2345,12 @@ type ArticleContent = ArticleContent_V0;
|
|
|
2345
2345
|
//#region src/types/ReturnDataType/Bilibili/ArticleInfo/ArticleInfo_V0.d.ts
|
|
2346
2346
|
type ArticleInfo_V0 = {
|
|
2347
2347
|
code: number;
|
|
2348
|
-
data: DataData$
|
|
2348
|
+
data: DataData$26;
|
|
2349
2349
|
message: string;
|
|
2350
2350
|
ttl: number;
|
|
2351
2351
|
[property: string]: any;
|
|
2352
2352
|
};
|
|
2353
|
-
type DataData$
|
|
2353
|
+
type DataData$26 = {
|
|
2354
2354
|
attention: boolean;
|
|
2355
2355
|
author_name: string;
|
|
2356
2356
|
banner_url: string;
|
|
@@ -3134,12 +3134,12 @@ type BiliEmojiList = BiliEmojiList_V0;
|
|
|
3134
3134
|
//#region src/types/ReturnDataType/Bilibili/BiliCommentReply/BiliCommentReply_V0.d.ts
|
|
3135
3135
|
type BiliCommentReply_V0 = {
|
|
3136
3136
|
code: number;
|
|
3137
|
-
data: DataData$
|
|
3137
|
+
data: DataData$25;
|
|
3138
3138
|
message: string;
|
|
3139
3139
|
ttl: number;
|
|
3140
3140
|
[property: string]: any;
|
|
3141
3141
|
};
|
|
3142
|
-
type DataData$
|
|
3142
|
+
type DataData$25 = {
|
|
3143
3143
|
assist: number;
|
|
3144
3144
|
blacklist: number;
|
|
3145
3145
|
callbacks: {
|
|
@@ -3650,12 +3650,12 @@ type BiliBv2AV = BiliBv2AV_V0;
|
|
|
3650
3650
|
//#region src/types/ReturnDataType/Bilibili/Captcha/ApplyCaptcha/ApplyCaptcha_V0.d.ts
|
|
3651
3651
|
type ApplyCaptcha_V0 = {
|
|
3652
3652
|
code: number;
|
|
3653
|
-
data: DataData$
|
|
3653
|
+
data: DataData$24;
|
|
3654
3654
|
message: string;
|
|
3655
3655
|
ttl: number;
|
|
3656
3656
|
[property: string]: any;
|
|
3657
3657
|
};
|
|
3658
|
-
type DataData$
|
|
3658
|
+
type DataData$24 = {
|
|
3659
3659
|
biliword: null;
|
|
3660
3660
|
geetest: Geetest;
|
|
3661
3661
|
phone: null;
|
|
@@ -3677,12 +3677,12 @@ type ApplyCaptcha = ApplyCaptcha_V0;
|
|
|
3677
3677
|
//#region src/types/ReturnDataType/Bilibili/Captcha/ValidateCaptcha/ValidateCaptcha_V0.d.ts
|
|
3678
3678
|
type ValidateCaptcha_V0 = {
|
|
3679
3679
|
code: number;
|
|
3680
|
-
data: DataData$
|
|
3680
|
+
data: DataData$23;
|
|
3681
3681
|
message: string;
|
|
3682
3682
|
ttl: number;
|
|
3683
3683
|
[property: string]: any;
|
|
3684
3684
|
};
|
|
3685
|
-
type DataData$
|
|
3685
|
+
type DataData$23 = {
|
|
3686
3686
|
grisk_id: string;
|
|
3687
3687
|
is_valid: number;
|
|
3688
3688
|
[property: string]: any;
|
|
@@ -3694,12 +3694,12 @@ type ValidateCaptcha = ValidateCaptcha_V0;
|
|
|
3694
3694
|
//#region src/types/ReturnDataType/Bilibili/ColumnInfo/ColumnInfo_V0.d.ts
|
|
3695
3695
|
type ColumnInfo_V0 = {
|
|
3696
3696
|
code: number;
|
|
3697
|
-
data: DataData$
|
|
3697
|
+
data: DataData$22;
|
|
3698
3698
|
message: string;
|
|
3699
3699
|
ttl: number;
|
|
3700
3700
|
[property: string]: any;
|
|
3701
3701
|
};
|
|
3702
|
-
type DataData$
|
|
3702
|
+
type DataData$22 = {
|
|
3703
3703
|
articles: null;
|
|
3704
3704
|
attention: boolean;
|
|
3705
3705
|
author: Author$9;
|
|
@@ -3805,16 +3805,16 @@ type ColumnInfo = ColumnInfo_V0;
|
|
|
3805
3805
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_ARTICLE/DYNAMIC_TYPE_ARTICLE_V0.d.ts
|
|
3806
3806
|
type DynamicTypeArticle_V0 = {
|
|
3807
3807
|
code: number;
|
|
3808
|
-
data: DataData$
|
|
3808
|
+
data: DataData$21;
|
|
3809
3809
|
message: string;
|
|
3810
3810
|
ttl: number;
|
|
3811
3811
|
[property: string]: any;
|
|
3812
3812
|
};
|
|
3813
|
-
type DataData$
|
|
3814
|
-
item: Item$
|
|
3813
|
+
type DataData$21 = {
|
|
3814
|
+
item: Item$16;
|
|
3815
3815
|
[property: string]: any;
|
|
3816
3816
|
};
|
|
3817
|
-
type Item$
|
|
3817
|
+
type Item$16 = {
|
|
3818
3818
|
basic: Basic$4;
|
|
3819
3819
|
id_str: string;
|
|
3820
3820
|
modules: Modules$4;
|
|
@@ -3840,8 +3840,8 @@ type LikeIcon$4 = {
|
|
|
3840
3840
|
type Modules$4 = {
|
|
3841
3841
|
module_author: ModuleAuthor$4;
|
|
3842
3842
|
module_dynamic: ModuleDynamic$4;
|
|
3843
|
-
module_more: ModuleMore$
|
|
3844
|
-
module_stat: ModuleStat$
|
|
3843
|
+
module_more: ModuleMore$10;
|
|
3844
|
+
module_stat: ModuleStat$10;
|
|
3845
3845
|
[property: string]: any;
|
|
3846
3846
|
};
|
|
3847
3847
|
type ModuleAuthor$4 = {
|
|
@@ -4003,11 +4003,11 @@ type Label$7 = {
|
|
|
4003
4003
|
type ModuleDynamic$4 = {
|
|
4004
4004
|
additional: null;
|
|
4005
4005
|
desc: null;
|
|
4006
|
-
major: Major$
|
|
4006
|
+
major: Major$10;
|
|
4007
4007
|
topic: null;
|
|
4008
4008
|
[property: string]: any;
|
|
4009
4009
|
};
|
|
4010
|
-
type Major$
|
|
4010
|
+
type Major$10 = {
|
|
4011
4011
|
opus: Opus$5;
|
|
4012
4012
|
type: string;
|
|
4013
4013
|
[property: string]: any;
|
|
@@ -4031,32 +4031,32 @@ type RichTextNode$5 = {
|
|
|
4031
4031
|
type?: string;
|
|
4032
4032
|
[property: string]: any;
|
|
4033
4033
|
};
|
|
4034
|
-
type ModuleMore$
|
|
4035
|
-
three_point_items: ThreePointItem$
|
|
4034
|
+
type ModuleMore$10 = {
|
|
4035
|
+
three_point_items: ThreePointItem$10[];
|
|
4036
4036
|
[property: string]: any;
|
|
4037
4037
|
};
|
|
4038
|
-
type ThreePointItem$
|
|
4038
|
+
type ThreePointItem$10 = {
|
|
4039
4039
|
label?: string;
|
|
4040
4040
|
type?: string;
|
|
4041
4041
|
[property: string]: any;
|
|
4042
4042
|
};
|
|
4043
|
-
type ModuleStat$
|
|
4044
|
-
comment: Comment$
|
|
4045
|
-
forward: Forward$
|
|
4046
|
-
like: Like$
|
|
4043
|
+
type ModuleStat$10 = {
|
|
4044
|
+
comment: Comment$12;
|
|
4045
|
+
forward: Forward$10;
|
|
4046
|
+
like: Like$11;
|
|
4047
4047
|
[property: string]: any;
|
|
4048
4048
|
};
|
|
4049
|
-
type Comment$
|
|
4049
|
+
type Comment$12 = {
|
|
4050
4050
|
count: number;
|
|
4051
4051
|
forbidden: boolean;
|
|
4052
4052
|
[property: string]: any;
|
|
4053
4053
|
};
|
|
4054
|
-
type Forward$
|
|
4054
|
+
type Forward$10 = {
|
|
4055
4055
|
count: number;
|
|
4056
4056
|
forbidden: boolean;
|
|
4057
4057
|
[property: string]: any;
|
|
4058
4058
|
};
|
|
4059
|
-
type Like$
|
|
4059
|
+
type Like$11 = {
|
|
4060
4060
|
count: number;
|
|
4061
4061
|
forbidden: boolean;
|
|
4062
4062
|
status: boolean;
|
|
@@ -4069,16 +4069,16 @@ type DynamicTypeArticle = DynamicTypeArticle_V0;
|
|
|
4069
4069
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V0.d.ts
|
|
4070
4070
|
type DynamicTypeAV_V0$1 = {
|
|
4071
4071
|
code: number;
|
|
4072
|
-
data: DataData$
|
|
4072
|
+
data: DataData$20;
|
|
4073
4073
|
message: string;
|
|
4074
4074
|
ttl: number;
|
|
4075
4075
|
[property: string]: any;
|
|
4076
4076
|
};
|
|
4077
|
-
type DataData$
|
|
4078
|
-
item: Item$
|
|
4077
|
+
type DataData$20 = {
|
|
4078
|
+
item: Item$15;
|
|
4079
4079
|
[property: string]: any;
|
|
4080
4080
|
};
|
|
4081
|
-
type Item$
|
|
4081
|
+
type Item$15 = {
|
|
4082
4082
|
basic: Basic$3;
|
|
4083
4083
|
id_str: string;
|
|
4084
4084
|
modules: Modules$3;
|
|
@@ -4103,8 +4103,8 @@ type LikeIcon$3 = {
|
|
|
4103
4103
|
type Modules$3 = {
|
|
4104
4104
|
module_author: ModuleAuthor$3;
|
|
4105
4105
|
module_dynamic: ModuleDynamic$3;
|
|
4106
|
-
module_more: ModuleMore$
|
|
4107
|
-
module_stat: ModuleStat$
|
|
4106
|
+
module_more: ModuleMore$9;
|
|
4107
|
+
module_stat: ModuleStat$9;
|
|
4108
4108
|
[property: string]: any;
|
|
4109
4109
|
};
|
|
4110
4110
|
type ModuleAuthor$3 = {
|
|
@@ -4266,7 +4266,7 @@ type Label$6 = {
|
|
|
4266
4266
|
type ModuleDynamic$3 = {
|
|
4267
4267
|
additional: null;
|
|
4268
4268
|
desc: Desc$6;
|
|
4269
|
-
major: Major$
|
|
4269
|
+
major: Major$9;
|
|
4270
4270
|
topic: null;
|
|
4271
4271
|
[property: string]: any;
|
|
4272
4272
|
};
|
|
@@ -4281,63 +4281,63 @@ type RichTextNode$4 = {
|
|
|
4281
4281
|
type?: string;
|
|
4282
4282
|
[property: string]: any;
|
|
4283
4283
|
};
|
|
4284
|
-
type Major$
|
|
4285
|
-
archive: Archive$
|
|
4284
|
+
type Major$9 = {
|
|
4285
|
+
archive: Archive$3;
|
|
4286
4286
|
type: string;
|
|
4287
4287
|
[property: string]: any;
|
|
4288
4288
|
};
|
|
4289
|
-
type Archive$
|
|
4289
|
+
type Archive$3 = {
|
|
4290
4290
|
aid: string;
|
|
4291
|
-
badge: Badge$
|
|
4291
|
+
badge: Badge$3;
|
|
4292
4292
|
bvid: string;
|
|
4293
4293
|
cover: string;
|
|
4294
4294
|
desc: string;
|
|
4295
4295
|
disable_preview: number;
|
|
4296
4296
|
duration_text: string;
|
|
4297
4297
|
jump_url: string;
|
|
4298
|
-
stat: Stat$
|
|
4298
|
+
stat: Stat$3;
|
|
4299
4299
|
title: string;
|
|
4300
4300
|
type: number;
|
|
4301
4301
|
[property: string]: any;
|
|
4302
4302
|
};
|
|
4303
|
-
type Badge$
|
|
4303
|
+
type Badge$3 = {
|
|
4304
4304
|
bg_color: string;
|
|
4305
4305
|
color: string;
|
|
4306
4306
|
icon_url: null;
|
|
4307
4307
|
text: string;
|
|
4308
4308
|
[property: string]: any;
|
|
4309
4309
|
};
|
|
4310
|
-
type Stat$
|
|
4310
|
+
type Stat$3 = {
|
|
4311
4311
|
danmaku: string;
|
|
4312
4312
|
play: string;
|
|
4313
4313
|
[property: string]: any;
|
|
4314
4314
|
};
|
|
4315
|
-
type ModuleMore$
|
|
4316
|
-
three_point_items: ThreePointItem$
|
|
4315
|
+
type ModuleMore$9 = {
|
|
4316
|
+
three_point_items: ThreePointItem$9[];
|
|
4317
4317
|
[property: string]: any;
|
|
4318
4318
|
};
|
|
4319
|
-
type ThreePointItem$
|
|
4319
|
+
type ThreePointItem$9 = {
|
|
4320
4320
|
label?: string;
|
|
4321
4321
|
type?: string;
|
|
4322
4322
|
[property: string]: any;
|
|
4323
4323
|
};
|
|
4324
|
-
type ModuleStat$
|
|
4325
|
-
comment: Comment$
|
|
4326
|
-
forward: Forward$
|
|
4327
|
-
like: Like$
|
|
4324
|
+
type ModuleStat$9 = {
|
|
4325
|
+
comment: Comment$11;
|
|
4326
|
+
forward: Forward$9;
|
|
4327
|
+
like: Like$10;
|
|
4328
4328
|
[property: string]: any;
|
|
4329
4329
|
};
|
|
4330
|
-
type Comment$
|
|
4330
|
+
type Comment$11 = {
|
|
4331
4331
|
count: number;
|
|
4332
4332
|
forbidden: boolean;
|
|
4333
4333
|
[property: string]: any;
|
|
4334
4334
|
};
|
|
4335
|
-
type Forward$
|
|
4335
|
+
type Forward$9 = {
|
|
4336
4336
|
count: number;
|
|
4337
4337
|
forbidden: boolean;
|
|
4338
4338
|
[property: string]: any;
|
|
4339
4339
|
};
|
|
4340
|
-
type Like$
|
|
4340
|
+
type Like$10 = {
|
|
4341
4341
|
count: number;
|
|
4342
4342
|
forbidden: boolean;
|
|
4343
4343
|
status: boolean;
|
|
@@ -4350,16 +4350,16 @@ type DynamicTypeAV = DynamicTypeAV_V0$1;
|
|
|
4350
4350
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V0.d.ts
|
|
4351
4351
|
type DynamicTypeDraw_V0$1 = {
|
|
4352
4352
|
code: number;
|
|
4353
|
-
data: DataData$
|
|
4353
|
+
data: DataData$19;
|
|
4354
4354
|
message: string;
|
|
4355
4355
|
ttl: number;
|
|
4356
4356
|
[property: string]: any;
|
|
4357
4357
|
};
|
|
4358
|
-
type DataData$
|
|
4359
|
-
item: Item$
|
|
4358
|
+
type DataData$19 = {
|
|
4359
|
+
item: Item$14;
|
|
4360
4360
|
[property: string]: any;
|
|
4361
4361
|
};
|
|
4362
|
-
type Item$
|
|
4362
|
+
type Item$14 = {
|
|
4363
4363
|
basic: Basic$2;
|
|
4364
4364
|
id_str: string;
|
|
4365
4365
|
modules: Modules$2;
|
|
@@ -4385,13 +4385,13 @@ type LikeIcon$2 = {
|
|
|
4385
4385
|
type Modules$2 = {
|
|
4386
4386
|
module_author: ModuleAuthor$2;
|
|
4387
4387
|
module_dynamic: ModuleDynamic$2;
|
|
4388
|
-
module_more: ModuleMore$
|
|
4389
|
-
module_stat: ModuleStat$
|
|
4388
|
+
module_more: ModuleMore$8;
|
|
4389
|
+
module_stat: ModuleStat$8;
|
|
4390
4390
|
[property: string]: any;
|
|
4391
4391
|
};
|
|
4392
4392
|
type ModuleAuthor$2 = {
|
|
4393
4393
|
avatar: Avatar$3;
|
|
4394
|
-
decoration_card: DecorationCard$
|
|
4394
|
+
decoration_card: DecorationCard$7;
|
|
4395
4395
|
face: string;
|
|
4396
4396
|
face_nft: boolean;
|
|
4397
4397
|
following: null;
|
|
@@ -4508,7 +4508,7 @@ type Remote$2 = {
|
|
|
4508
4508
|
url: string;
|
|
4509
4509
|
[property: string]: any;
|
|
4510
4510
|
};
|
|
4511
|
-
type DecorationCard$
|
|
4511
|
+
type DecorationCard$7 = {
|
|
4512
4512
|
big_card_url: string;
|
|
4513
4513
|
card_type: number;
|
|
4514
4514
|
card_type_name: string;
|
|
@@ -4552,18 +4552,643 @@ type Pendant$5 = {
|
|
|
4552
4552
|
pid: number;
|
|
4553
4553
|
[property: string]: any;
|
|
4554
4554
|
};
|
|
4555
|
-
type Vip$5 = {
|
|
4555
|
+
type Vip$5 = {
|
|
4556
|
+
avatar_subscript: number;
|
|
4557
|
+
avatar_subscript_url: string;
|
|
4558
|
+
due_date: number;
|
|
4559
|
+
label: Label$5;
|
|
4560
|
+
nickname_color: string;
|
|
4561
|
+
status: number;
|
|
4562
|
+
theme_type: number;
|
|
4563
|
+
type: number;
|
|
4564
|
+
[property: string]: any;
|
|
4565
|
+
};
|
|
4566
|
+
type Label$5 = {
|
|
4567
|
+
bg_color: string;
|
|
4568
|
+
bg_style: number;
|
|
4569
|
+
border_color: string;
|
|
4570
|
+
img_label_uri_hans: string;
|
|
4571
|
+
img_label_uri_hans_static: string;
|
|
4572
|
+
img_label_uri_hant: string;
|
|
4573
|
+
img_label_uri_hant_static: string;
|
|
4574
|
+
label_theme: string;
|
|
4575
|
+
path: string;
|
|
4576
|
+
text: string;
|
|
4577
|
+
text_color: string;
|
|
4578
|
+
use_img_label: boolean;
|
|
4579
|
+
[property: string]: any;
|
|
4580
|
+
};
|
|
4581
|
+
type ModuleDynamic$2 = {
|
|
4582
|
+
additional: Additional$3;
|
|
4583
|
+
desc: null;
|
|
4584
|
+
major: Major$8;
|
|
4585
|
+
topic: Topic$4;
|
|
4586
|
+
[property: string]: any;
|
|
4587
|
+
};
|
|
4588
|
+
type Additional$3 = {
|
|
4589
|
+
type: string;
|
|
4590
|
+
reserve: Reserve$1;
|
|
4591
|
+
[property: string]: any;
|
|
4592
|
+
};
|
|
4593
|
+
type Reserve$1 = {
|
|
4594
|
+
button: Button$3;
|
|
4595
|
+
desc1: Desc1$1;
|
|
4596
|
+
desc2: Desc2$1;
|
|
4597
|
+
jump_url: string;
|
|
4598
|
+
reserve_total: number;
|
|
4599
|
+
rid: number;
|
|
4600
|
+
state: number;
|
|
4601
|
+
stype: number;
|
|
4602
|
+
title: string;
|
|
4603
|
+
up_mid: number;
|
|
4604
|
+
[property: string]: any;
|
|
4605
|
+
};
|
|
4606
|
+
type Button$3 = {
|
|
4607
|
+
check: Check$1;
|
|
4608
|
+
status: number;
|
|
4609
|
+
type: number;
|
|
4610
|
+
uncheck: Uncheck$1;
|
|
4611
|
+
[property: string]: any;
|
|
4612
|
+
};
|
|
4613
|
+
type Check$1 = {
|
|
4614
|
+
icon_url: string;
|
|
4615
|
+
text: string;
|
|
4616
|
+
[property: string]: any;
|
|
4617
|
+
};
|
|
4618
|
+
type Uncheck$1 = {
|
|
4619
|
+
disable: number;
|
|
4620
|
+
icon_url: string;
|
|
4621
|
+
text: string;
|
|
4622
|
+
toast: string;
|
|
4623
|
+
[property: string]: any;
|
|
4624
|
+
};
|
|
4625
|
+
type Desc1$1 = {
|
|
4626
|
+
style: number;
|
|
4627
|
+
text: string;
|
|
4628
|
+
[property: string]: any;
|
|
4629
|
+
};
|
|
4630
|
+
type Desc2$1 = {
|
|
4631
|
+
style: number;
|
|
4632
|
+
text: string;
|
|
4633
|
+
visible: boolean;
|
|
4634
|
+
[property: string]: any;
|
|
4635
|
+
};
|
|
4636
|
+
type Major$8 = {
|
|
4637
|
+
opus: Opus$4;
|
|
4638
|
+
type: string;
|
|
4639
|
+
[property: string]: any;
|
|
4640
|
+
};
|
|
4641
|
+
type Opus$4 = {
|
|
4642
|
+
fold_action: string[];
|
|
4643
|
+
jump_url: string;
|
|
4644
|
+
pics: Pic$3[];
|
|
4645
|
+
summary: Summary$5;
|
|
4646
|
+
title: null;
|
|
4647
|
+
[property: string]: any;
|
|
4648
|
+
};
|
|
4649
|
+
type Pic$3 = {
|
|
4650
|
+
height?: number;
|
|
4651
|
+
live_url?: null;
|
|
4652
|
+
size?: number;
|
|
4653
|
+
url?: string;
|
|
4654
|
+
width?: number;
|
|
4655
|
+
[property: string]: any;
|
|
4656
|
+
};
|
|
4657
|
+
type Summary$5 = {
|
|
4658
|
+
rich_text_nodes: RichTextNode$3[];
|
|
4659
|
+
text: string;
|
|
4660
|
+
[property: string]: any;
|
|
4661
|
+
};
|
|
4662
|
+
type RichTextNode$3 = {
|
|
4663
|
+
jump_url?: string;
|
|
4664
|
+
orig_text: string;
|
|
4665
|
+
text: string;
|
|
4666
|
+
type: string;
|
|
4667
|
+
[property: string]: any;
|
|
4668
|
+
};
|
|
4669
|
+
type Topic$4 = {
|
|
4670
|
+
id: number;
|
|
4671
|
+
jump_url: string;
|
|
4672
|
+
name: string;
|
|
4673
|
+
[property: string]: any;
|
|
4674
|
+
};
|
|
4675
|
+
type ModuleMore$8 = {
|
|
4676
|
+
three_point_items: ThreePointItem$8[];
|
|
4677
|
+
[property: string]: any;
|
|
4678
|
+
};
|
|
4679
|
+
type ThreePointItem$8 = {
|
|
4680
|
+
label?: string;
|
|
4681
|
+
type?: string;
|
|
4682
|
+
[property: string]: any;
|
|
4683
|
+
};
|
|
4684
|
+
type ModuleStat$8 = {
|
|
4685
|
+
comment: Comment$10;
|
|
4686
|
+
forward: Forward$8;
|
|
4687
|
+
like: Like$9;
|
|
4688
|
+
[property: string]: any;
|
|
4689
|
+
};
|
|
4690
|
+
type Comment$10 = {
|
|
4691
|
+
count: number;
|
|
4692
|
+
forbidden: boolean;
|
|
4693
|
+
[property: string]: any;
|
|
4694
|
+
};
|
|
4695
|
+
type Forward$8 = {
|
|
4696
|
+
count: number;
|
|
4697
|
+
forbidden: boolean;
|
|
4698
|
+
[property: string]: any;
|
|
4699
|
+
};
|
|
4700
|
+
type Like$9 = {
|
|
4701
|
+
count: number;
|
|
4702
|
+
forbidden: boolean;
|
|
4703
|
+
status: boolean;
|
|
4704
|
+
[property: string]: any;
|
|
4705
|
+
};
|
|
4706
|
+
//#endregion
|
|
4707
|
+
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_DRAW/index.d.ts
|
|
4708
|
+
type DynamicTypeDraw = DynamicTypeDraw_V0$1;
|
|
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 = {
|
|
4712
|
+
code: number;
|
|
4713
|
+
data: DataData$18;
|
|
4714
|
+
message: string;
|
|
4715
|
+
ttl: number;
|
|
4716
|
+
[property: string]: any;
|
|
4717
|
+
};
|
|
4718
|
+
type DataData$18 = {
|
|
4719
|
+
item: Item$13;
|
|
4720
|
+
[property: string]: any;
|
|
4721
|
+
};
|
|
4722
|
+
type Item$13 = {
|
|
4723
|
+
basic: ItemBasic$6;
|
|
4724
|
+
id_str: string;
|
|
4725
|
+
modules: ItemModules$6;
|
|
4726
|
+
orig: Orig$5;
|
|
4727
|
+
type: DynamicType.AV;
|
|
4728
|
+
visible: boolean;
|
|
4729
|
+
[property: string]: any;
|
|
4730
|
+
};
|
|
4731
|
+
type ItemBasic$6 = {
|
|
4732
|
+
comment_id_str: string;
|
|
4733
|
+
comment_type: number;
|
|
4734
|
+
editable: boolean;
|
|
4735
|
+
like_icon: PurpleLikeIcon$5;
|
|
4736
|
+
rid_str: string;
|
|
4737
|
+
[property: string]: any;
|
|
4738
|
+
};
|
|
4739
|
+
type PurpleLikeIcon$5 = {
|
|
4740
|
+
action_url: string;
|
|
4741
|
+
end_url: string;
|
|
4742
|
+
id: number;
|
|
4743
|
+
start_url: string;
|
|
4744
|
+
[property: string]: any;
|
|
4745
|
+
};
|
|
4746
|
+
type ItemModules$6 = {
|
|
4747
|
+
module_author: PurpleModuleAuthor$5;
|
|
4748
|
+
module_dynamic: PurpleModuleDynamic$5;
|
|
4749
|
+
module_more: ModuleMore$7;
|
|
4750
|
+
module_stat: ModuleStat$7;
|
|
4751
|
+
[property: string]: any;
|
|
4752
|
+
};
|
|
4753
|
+
type PurpleModuleAuthor$5 = {
|
|
4754
|
+
avatar: PurpleAvatar$5;
|
|
4755
|
+
face: string;
|
|
4756
|
+
face_nft: boolean;
|
|
4757
|
+
following: null;
|
|
4758
|
+
jump_url: string;
|
|
4759
|
+
label: string;
|
|
4760
|
+
mid: number;
|
|
4761
|
+
name: string;
|
|
4762
|
+
official_verify: PurpleOfficialVerify$6;
|
|
4763
|
+
pendant: PurplePendant$6;
|
|
4764
|
+
pub_action: string;
|
|
4765
|
+
pub_location_text: string;
|
|
4766
|
+
pub_time: string;
|
|
4767
|
+
pub_ts: number;
|
|
4768
|
+
type: string;
|
|
4769
|
+
vip: PurpleVip$6;
|
|
4770
|
+
[property: string]: any;
|
|
4771
|
+
};
|
|
4772
|
+
type PurpleAvatar$5 = {
|
|
4773
|
+
container_size: PurpleContainerSize$6;
|
|
4774
|
+
fallback_layers: PurpleFallbackLayers$6;
|
|
4775
|
+
mid: string;
|
|
4776
|
+
[property: string]: any;
|
|
4777
|
+
};
|
|
4778
|
+
type PurpleContainerSize$6 = {
|
|
4779
|
+
height: number;
|
|
4780
|
+
width: number;
|
|
4781
|
+
[property: string]: any;
|
|
4782
|
+
};
|
|
4783
|
+
type PurpleFallbackLayers$6 = {
|
|
4784
|
+
is_critical_group: boolean;
|
|
4785
|
+
layers: PurpleLayer$6[];
|
|
4786
|
+
[property: string]: any;
|
|
4787
|
+
};
|
|
4788
|
+
type PurpleLayer$6 = {
|
|
4789
|
+
general_spec: PurpleGeneralSpec$6;
|
|
4790
|
+
layer_config: PurpleLayerConfig$6;
|
|
4791
|
+
resource: PurpleResource$6;
|
|
4792
|
+
visible: boolean;
|
|
4793
|
+
[property: string]: any;
|
|
4794
|
+
};
|
|
4795
|
+
type PurpleGeneralSpec$6 = {
|
|
4796
|
+
pos_spec: PurplePosSpec$6;
|
|
4797
|
+
render_spec: PurpleRenderSpec$6;
|
|
4798
|
+
size_spec: PurpleSizeSpec$6;
|
|
4799
|
+
[property: string]: any;
|
|
4800
|
+
};
|
|
4801
|
+
type PurplePosSpec$6 = {
|
|
4802
|
+
axis_x: number;
|
|
4803
|
+
axis_y: number;
|
|
4804
|
+
coordinate_pos: number;
|
|
4805
|
+
[property: string]: any;
|
|
4806
|
+
};
|
|
4807
|
+
type PurpleRenderSpec$6 = {
|
|
4808
|
+
opacity: number;
|
|
4809
|
+
[property: string]: any;
|
|
4810
|
+
};
|
|
4811
|
+
type PurpleSizeSpec$6 = {
|
|
4812
|
+
height: number;
|
|
4813
|
+
width: number;
|
|
4814
|
+
[property: string]: any;
|
|
4815
|
+
};
|
|
4816
|
+
type PurpleLayerConfig$6 = {
|
|
4817
|
+
is_critical?: boolean;
|
|
4818
|
+
tags: PurpleTags$6;
|
|
4819
|
+
[property: string]: any;
|
|
4820
|
+
};
|
|
4821
|
+
type PurpleTags$6 = {
|
|
4822
|
+
AVATAR_LAYER?: {
|
|
4823
|
+
[key: string]: any;
|
|
4824
|
+
};
|
|
4825
|
+
GENERAL_CFG: PurpleGENERALCFG$6;
|
|
4826
|
+
ICON_LAYER: {
|
|
4827
|
+
[key: string]: any;
|
|
4828
|
+
};
|
|
4829
|
+
[property: string]: any;
|
|
4830
|
+
};
|
|
4831
|
+
type PurpleGENERALCFG$6 = {
|
|
4832
|
+
config_type: number;
|
|
4833
|
+
general_config: PurpleGeneralConfig$6;
|
|
4834
|
+
[property: string]: any;
|
|
4835
|
+
};
|
|
4836
|
+
type PurpleGeneralConfig$6 = {
|
|
4837
|
+
web_css_style: PurpleWebcssStyle$6;
|
|
4838
|
+
[property: string]: any;
|
|
4839
|
+
};
|
|
4840
|
+
type PurpleWebcssStyle$6 = {
|
|
4841
|
+
'background-color': string;
|
|
4842
|
+
border: string;
|
|
4843
|
+
borderRadius: string;
|
|
4844
|
+
boxSizing: string;
|
|
4845
|
+
[property: string]: any;
|
|
4846
|
+
};
|
|
4847
|
+
type PurpleResource$6 = {
|
|
4848
|
+
res_image: PurpleResImage$6;
|
|
4849
|
+
res_type: number;
|
|
4850
|
+
[property: string]: any;
|
|
4851
|
+
};
|
|
4852
|
+
type PurpleResImage$6 = {
|
|
4853
|
+
image_src: PurpleImageSrc$6;
|
|
4854
|
+
[property: string]: any;
|
|
4855
|
+
};
|
|
4856
|
+
type PurpleImageSrc$6 = {
|
|
4857
|
+
local: number;
|
|
4858
|
+
placeholder?: number;
|
|
4859
|
+
remote?: PurpleRemote$6;
|
|
4860
|
+
src_type: number;
|
|
4861
|
+
[property: string]: any;
|
|
4862
|
+
};
|
|
4863
|
+
type PurpleRemote$6 = {
|
|
4864
|
+
bfs_style: string;
|
|
4865
|
+
url: string;
|
|
4866
|
+
[property: string]: any;
|
|
4867
|
+
};
|
|
4868
|
+
type PurpleOfficialVerify$6 = {
|
|
4869
|
+
desc: string;
|
|
4870
|
+
type: number;
|
|
4871
|
+
[property: string]: any;
|
|
4872
|
+
};
|
|
4873
|
+
type PurplePendant$6 = {
|
|
4874
|
+
expire: number;
|
|
4875
|
+
image: string;
|
|
4876
|
+
image_enhance: string;
|
|
4877
|
+
image_enhance_frame: string;
|
|
4878
|
+
n_pid: number;
|
|
4879
|
+
name: string;
|
|
4880
|
+
pid: number;
|
|
4881
|
+
[property: string]: any;
|
|
4882
|
+
};
|
|
4883
|
+
type PurpleVip$6 = {
|
|
4884
|
+
avatar_subscript: number;
|
|
4885
|
+
avatar_subscript_url: string;
|
|
4886
|
+
due_date: number;
|
|
4887
|
+
label: PurpleLabel$6;
|
|
4888
|
+
nickname_color: string;
|
|
4889
|
+
status: number;
|
|
4890
|
+
theme_type: number;
|
|
4891
|
+
type: number;
|
|
4892
|
+
[property: string]: any;
|
|
4893
|
+
};
|
|
4894
|
+
type PurpleLabel$6 = {
|
|
4895
|
+
bg_color: string;
|
|
4896
|
+
bg_style: number;
|
|
4897
|
+
border_color: string;
|
|
4898
|
+
img_label_uri_hans: string;
|
|
4899
|
+
img_label_uri_hans_static: string;
|
|
4900
|
+
img_label_uri_hant: string;
|
|
4901
|
+
img_label_uri_hant_static: string;
|
|
4902
|
+
label_theme: string;
|
|
4903
|
+
path: string;
|
|
4904
|
+
text: string;
|
|
4905
|
+
text_color: string;
|
|
4906
|
+
use_img_label: boolean;
|
|
4907
|
+
[property: string]: any;
|
|
4908
|
+
};
|
|
4909
|
+
type PurpleModuleDynamic$5 = {
|
|
4910
|
+
additional: null;
|
|
4911
|
+
desc: Desc$5;
|
|
4912
|
+
major: null;
|
|
4913
|
+
topic: Topic$3;
|
|
4914
|
+
[property: string]: any;
|
|
4915
|
+
};
|
|
4916
|
+
type Desc$5 = {
|
|
4917
|
+
rich_text_nodes: RichTextNode$2[];
|
|
4918
|
+
text: string;
|
|
4919
|
+
[property: string]: any;
|
|
4920
|
+
};
|
|
4921
|
+
type RichTextNode$2 = {
|
|
4922
|
+
emoji?: Emoji$5;
|
|
4923
|
+
orig_text: string;
|
|
4924
|
+
rid?: string;
|
|
4925
|
+
text: string;
|
|
4926
|
+
type: string;
|
|
4927
|
+
[property: string]: any;
|
|
4928
|
+
};
|
|
4929
|
+
type Emoji$5 = {
|
|
4930
|
+
icon_url: string;
|
|
4931
|
+
size: number;
|
|
4932
|
+
text: string;
|
|
4933
|
+
type: number;
|
|
4934
|
+
[property: string]: any;
|
|
4935
|
+
};
|
|
4936
|
+
type Topic$3 = {
|
|
4937
|
+
id: number;
|
|
4938
|
+
jump_url: string;
|
|
4939
|
+
name: string;
|
|
4940
|
+
[property: string]: any;
|
|
4941
|
+
};
|
|
4942
|
+
type ModuleMore$7 = {
|
|
4943
|
+
three_point_items: ThreePointItem$7[];
|
|
4944
|
+
[property: string]: any;
|
|
4945
|
+
};
|
|
4946
|
+
type ThreePointItem$7 = {
|
|
4947
|
+
label: string;
|
|
4948
|
+
modal?: Modal$3;
|
|
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;
|
|
4967
|
+
[property: string]: any;
|
|
4968
|
+
};
|
|
4969
|
+
type ModuleStat$7 = {
|
|
4970
|
+
comment: Comment$9;
|
|
4971
|
+
forward: Forward$7;
|
|
4972
|
+
like: Like$8;
|
|
4973
|
+
[property: string]: any;
|
|
4974
|
+
};
|
|
4975
|
+
type Comment$9 = {
|
|
4976
|
+
count: number;
|
|
4977
|
+
forbidden: boolean;
|
|
4978
|
+
[property: string]: any;
|
|
4979
|
+
};
|
|
4980
|
+
type Forward$7 = {
|
|
4981
|
+
count: number;
|
|
4982
|
+
forbidden: boolean;
|
|
4983
|
+
[property: string]: any;
|
|
4984
|
+
};
|
|
4985
|
+
type Like$8 = {
|
|
4986
|
+
count: number;
|
|
4987
|
+
forbidden: boolean;
|
|
4988
|
+
status: boolean;
|
|
4989
|
+
[property: string]: any;
|
|
4990
|
+
};
|
|
4991
|
+
type Orig$5 = {
|
|
4992
|
+
basic: OrigBasic$5;
|
|
4993
|
+
id_str: string;
|
|
4994
|
+
modules: OrigModules$5;
|
|
4995
|
+
type: string;
|
|
4996
|
+
visible: boolean;
|
|
4997
|
+
[property: string]: any;
|
|
4998
|
+
};
|
|
4999
|
+
type OrigBasic$5 = {
|
|
5000
|
+
comment_id_str: string;
|
|
5001
|
+
comment_type: number;
|
|
5002
|
+
like_icon: FluffyLikeIcon$5;
|
|
5003
|
+
rid_str: string;
|
|
5004
|
+
[property: string]: any;
|
|
5005
|
+
};
|
|
5006
|
+
type FluffyLikeIcon$5 = {
|
|
5007
|
+
action_url: string;
|
|
5008
|
+
end_url: string;
|
|
5009
|
+
id: number;
|
|
5010
|
+
start_url: string;
|
|
5011
|
+
[property: string]: any;
|
|
5012
|
+
};
|
|
5013
|
+
type OrigModules$5 = {
|
|
5014
|
+
module_author: FluffyModuleAuthor$5;
|
|
5015
|
+
module_dynamic: FluffyModuleDynamic$5;
|
|
5016
|
+
[property: string]: any;
|
|
5017
|
+
};
|
|
5018
|
+
type FluffyModuleAuthor$5 = {
|
|
5019
|
+
avatar: FluffyAvatar$5;
|
|
5020
|
+
decoration_card: DecorationCard$6;
|
|
5021
|
+
face: string;
|
|
5022
|
+
face_nft: boolean;
|
|
5023
|
+
following: null;
|
|
5024
|
+
jump_url: string;
|
|
5025
|
+
label: string;
|
|
5026
|
+
mid: number;
|
|
5027
|
+
name: string;
|
|
5028
|
+
official_verify: FluffyOfficialVerify$6;
|
|
5029
|
+
pendant: FluffyPendant$6;
|
|
5030
|
+
pub_action: string;
|
|
5031
|
+
pub_time: string;
|
|
5032
|
+
pub_ts: number;
|
|
5033
|
+
type: string;
|
|
5034
|
+
vip: FluffyVip$6;
|
|
5035
|
+
[property: string]: any;
|
|
5036
|
+
};
|
|
5037
|
+
type FluffyAvatar$5 = {
|
|
5038
|
+
container_size: FluffyContainerSize$6;
|
|
5039
|
+
fallback_layers: FluffyFallbackLayers$6;
|
|
5040
|
+
mid: string;
|
|
5041
|
+
[property: string]: any;
|
|
5042
|
+
};
|
|
5043
|
+
type FluffyContainerSize$6 = {
|
|
5044
|
+
height: number;
|
|
5045
|
+
width: number;
|
|
5046
|
+
[property: string]: any;
|
|
5047
|
+
};
|
|
5048
|
+
type FluffyFallbackLayers$6 = {
|
|
5049
|
+
is_critical_group: boolean;
|
|
5050
|
+
layers: FluffyLayer$6[];
|
|
5051
|
+
[property: string]: any;
|
|
5052
|
+
};
|
|
5053
|
+
type FluffyLayer$6 = {
|
|
5054
|
+
general_spec: FluffyGeneralSpec$6;
|
|
5055
|
+
layer_config: FluffyLayerConfig$6;
|
|
5056
|
+
resource: FluffyResource$6;
|
|
5057
|
+
visible: boolean;
|
|
5058
|
+
[property: string]: any;
|
|
5059
|
+
};
|
|
5060
|
+
type FluffyGeneralSpec$6 = {
|
|
5061
|
+
pos_spec: FluffyPosSpec$6;
|
|
5062
|
+
render_spec: FluffyRenderSpec$6;
|
|
5063
|
+
size_spec: FluffySizeSpec$6;
|
|
5064
|
+
[property: string]: any;
|
|
5065
|
+
};
|
|
5066
|
+
type FluffyPosSpec$6 = {
|
|
5067
|
+
axis_x: number;
|
|
5068
|
+
axis_y: number;
|
|
5069
|
+
coordinate_pos: number;
|
|
5070
|
+
[property: string]: any;
|
|
5071
|
+
};
|
|
5072
|
+
type FluffyRenderSpec$6 = {
|
|
5073
|
+
opacity: number;
|
|
5074
|
+
[property: string]: any;
|
|
5075
|
+
};
|
|
5076
|
+
type FluffySizeSpec$6 = {
|
|
5077
|
+
height: number;
|
|
5078
|
+
width: number;
|
|
5079
|
+
[property: string]: any;
|
|
5080
|
+
};
|
|
5081
|
+
type FluffyLayerConfig$6 = {
|
|
5082
|
+
is_critical?: boolean;
|
|
5083
|
+
tags: FluffyTags$6;
|
|
5084
|
+
[property: string]: any;
|
|
5085
|
+
};
|
|
5086
|
+
type FluffyTags$6 = {
|
|
5087
|
+
AVATAR_LAYER?: {
|
|
5088
|
+
[key: string]: any;
|
|
5089
|
+
};
|
|
5090
|
+
GENERAL_CFG: FluffyGENERALCFG$6;
|
|
5091
|
+
ICON_LAYER: {
|
|
5092
|
+
[key: string]: any;
|
|
5093
|
+
};
|
|
5094
|
+
PENDENT_LAYER?: {
|
|
5095
|
+
[key: string]: any;
|
|
5096
|
+
};
|
|
5097
|
+
[property: string]: any;
|
|
5098
|
+
};
|
|
5099
|
+
type FluffyGENERALCFG$6 = {
|
|
5100
|
+
config_type: number;
|
|
5101
|
+
general_config: FluffyGeneralConfig$6;
|
|
5102
|
+
[property: string]: any;
|
|
5103
|
+
};
|
|
5104
|
+
type FluffyGeneralConfig$6 = {
|
|
5105
|
+
web_css_style: FluffyWebcssStyle$6;
|
|
5106
|
+
[property: string]: any;
|
|
5107
|
+
};
|
|
5108
|
+
type FluffyWebcssStyle$6 = {
|
|
5109
|
+
'background-color': string;
|
|
5110
|
+
border: string;
|
|
5111
|
+
borderRadius: string;
|
|
5112
|
+
boxSizing: string;
|
|
5113
|
+
[property: string]: any;
|
|
5114
|
+
};
|
|
5115
|
+
type FluffyResource$6 = {
|
|
5116
|
+
res_image: FluffyResImage$6;
|
|
5117
|
+
res_type: number;
|
|
5118
|
+
[property: string]: any;
|
|
5119
|
+
};
|
|
5120
|
+
type FluffyResImage$6 = {
|
|
5121
|
+
image_src: FluffyImageSrc$6;
|
|
5122
|
+
[property: string]: any;
|
|
5123
|
+
};
|
|
5124
|
+
type FluffyImageSrc$6 = {
|
|
5125
|
+
local: number;
|
|
5126
|
+
placeholder?: number;
|
|
5127
|
+
remote?: FluffyRemote$6;
|
|
5128
|
+
src_type: number;
|
|
5129
|
+
[property: string]: any;
|
|
5130
|
+
};
|
|
5131
|
+
type FluffyRemote$6 = {
|
|
5132
|
+
bfs_style: string;
|
|
5133
|
+
url: string;
|
|
5134
|
+
[property: string]: any;
|
|
5135
|
+
};
|
|
5136
|
+
type DecorationCard$6 = {
|
|
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
|
+
type FluffyOfficialVerify$6 = {
|
|
5166
|
+
desc: string;
|
|
5167
|
+
type: number;
|
|
5168
|
+
[property: string]: any;
|
|
5169
|
+
};
|
|
5170
|
+
type FluffyPendant$6 = {
|
|
5171
|
+
expire: number;
|
|
5172
|
+
image: string;
|
|
5173
|
+
image_enhance: string;
|
|
5174
|
+
image_enhance_frame: string;
|
|
5175
|
+
n_pid: number;
|
|
5176
|
+
name: string;
|
|
5177
|
+
pid: number;
|
|
5178
|
+
[property: string]: any;
|
|
5179
|
+
};
|
|
5180
|
+
type FluffyVip$6 = {
|
|
4556
5181
|
avatar_subscript: number;
|
|
4557
5182
|
avatar_subscript_url: string;
|
|
4558
5183
|
due_date: number;
|
|
4559
|
-
label:
|
|
5184
|
+
label: FluffyLabel$6;
|
|
4560
5185
|
nickname_color: string;
|
|
4561
5186
|
status: number;
|
|
4562
5187
|
theme_type: number;
|
|
4563
5188
|
type: number;
|
|
4564
5189
|
[property: string]: any;
|
|
4565
5190
|
};
|
|
4566
|
-
type
|
|
5191
|
+
type FluffyLabel$6 = {
|
|
4567
5192
|
bg_color: string;
|
|
4568
5193
|
bg_style: number;
|
|
4569
5194
|
border_color: string;
|
|
@@ -4578,137 +5203,47 @@ type Label$5 = {
|
|
|
4578
5203
|
use_img_label: boolean;
|
|
4579
5204
|
[property: string]: any;
|
|
4580
5205
|
};
|
|
4581
|
-
type
|
|
4582
|
-
additional:
|
|
5206
|
+
type FluffyModuleDynamic$5 = {
|
|
5207
|
+
additional: null;
|
|
4583
5208
|
desc: null;
|
|
4584
5209
|
major: Major$7;
|
|
4585
|
-
topic:
|
|
5210
|
+
topic: null;
|
|
4586
5211
|
[property: string]: any;
|
|
4587
5212
|
};
|
|
4588
|
-
type
|
|
5213
|
+
type Major$7 = {
|
|
5214
|
+
archive: Archive$2;
|
|
4589
5215
|
type: string;
|
|
4590
|
-
reserve: Reserve$1;
|
|
4591
5216
|
[property: string]: any;
|
|
4592
5217
|
};
|
|
4593
|
-
type
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
5218
|
+
type Archive$2 = {
|
|
5219
|
+
aid: string;
|
|
5220
|
+
badge: Badge$2;
|
|
5221
|
+
bvid: string;
|
|
5222
|
+
cover: string;
|
|
5223
|
+
desc: string;
|
|
5224
|
+
disable_preview: number;
|
|
5225
|
+
duration_text: string;
|
|
4597
5226
|
jump_url: string;
|
|
4598
|
-
|
|
4599
|
-
rid: number;
|
|
4600
|
-
state: number;
|
|
4601
|
-
stype: number;
|
|
5227
|
+
stat: Stat$2;
|
|
4602
5228
|
title: string;
|
|
4603
|
-
up_mid: number;
|
|
4604
|
-
[property: string]: any;
|
|
4605
|
-
};
|
|
4606
|
-
type Button$3 = {
|
|
4607
|
-
check: Check$1;
|
|
4608
|
-
status: number;
|
|
4609
5229
|
type: number;
|
|
4610
|
-
uncheck: Uncheck$1;
|
|
4611
|
-
[property: string]: any;
|
|
4612
|
-
};
|
|
4613
|
-
type Check$1 = {
|
|
4614
|
-
icon_url: string;
|
|
4615
|
-
text: string;
|
|
4616
|
-
[property: string]: any;
|
|
4617
|
-
};
|
|
4618
|
-
type Uncheck$1 = {
|
|
4619
|
-
disable: number;
|
|
4620
|
-
icon_url: string;
|
|
4621
|
-
text: string;
|
|
4622
|
-
toast: string;
|
|
4623
|
-
[property: string]: any;
|
|
4624
|
-
};
|
|
4625
|
-
type Desc1$1 = {
|
|
4626
|
-
style: number;
|
|
4627
|
-
text: string;
|
|
4628
|
-
[property: string]: any;
|
|
4629
|
-
};
|
|
4630
|
-
type Desc2$1 = {
|
|
4631
|
-
style: number;
|
|
4632
|
-
text: string;
|
|
4633
|
-
visible: boolean;
|
|
4634
|
-
[property: string]: any;
|
|
4635
|
-
};
|
|
4636
|
-
type Major$7 = {
|
|
4637
|
-
opus: Opus$4;
|
|
4638
|
-
type: string;
|
|
4639
|
-
[property: string]: any;
|
|
4640
|
-
};
|
|
4641
|
-
type Opus$4 = {
|
|
4642
|
-
fold_action: string[];
|
|
4643
|
-
jump_url: string;
|
|
4644
|
-
pics: Pic$3[];
|
|
4645
|
-
summary: Summary$5;
|
|
4646
|
-
title: null;
|
|
4647
|
-
[property: string]: any;
|
|
4648
|
-
};
|
|
4649
|
-
type Pic$3 = {
|
|
4650
|
-
height?: number;
|
|
4651
|
-
live_url?: null;
|
|
4652
|
-
size?: number;
|
|
4653
|
-
url?: string;
|
|
4654
|
-
width?: number;
|
|
4655
|
-
[property: string]: any;
|
|
4656
|
-
};
|
|
4657
|
-
type Summary$5 = {
|
|
4658
|
-
rich_text_nodes: RichTextNode$3[];
|
|
4659
|
-
text: string;
|
|
4660
5230
|
[property: string]: any;
|
|
4661
5231
|
};
|
|
4662
|
-
type
|
|
4663
|
-
|
|
4664
|
-
|
|
5232
|
+
type Badge$2 = {
|
|
5233
|
+
bg_color: string;
|
|
5234
|
+
color: string;
|
|
5235
|
+
icon_url: null;
|
|
4665
5236
|
text: string;
|
|
4666
|
-
type: string;
|
|
4667
5237
|
[property: string]: any;
|
|
4668
5238
|
};
|
|
4669
|
-
type
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
name: string;
|
|
4673
|
-
[property: string]: any;
|
|
4674
|
-
};
|
|
4675
|
-
type ModuleMore$7 = {
|
|
4676
|
-
three_point_items: ThreePointItem$7[];
|
|
4677
|
-
[property: string]: any;
|
|
4678
|
-
};
|
|
4679
|
-
type ThreePointItem$7 = {
|
|
4680
|
-
label?: string;
|
|
4681
|
-
type?: string;
|
|
4682
|
-
[property: string]: any;
|
|
4683
|
-
};
|
|
4684
|
-
type ModuleStat$7 = {
|
|
4685
|
-
comment: Comment$9;
|
|
4686
|
-
forward: Forward$7;
|
|
4687
|
-
like: Like$8;
|
|
4688
|
-
[property: string]: any;
|
|
4689
|
-
};
|
|
4690
|
-
type Comment$9 = {
|
|
4691
|
-
count: number;
|
|
4692
|
-
forbidden: boolean;
|
|
4693
|
-
[property: string]: any;
|
|
4694
|
-
};
|
|
4695
|
-
type Forward$7 = {
|
|
4696
|
-
count: number;
|
|
4697
|
-
forbidden: boolean;
|
|
4698
|
-
[property: string]: any;
|
|
4699
|
-
};
|
|
4700
|
-
type Like$8 = {
|
|
4701
|
-
count: number;
|
|
4702
|
-
forbidden: boolean;
|
|
4703
|
-
status: boolean;
|
|
5239
|
+
type Stat$2 = {
|
|
5240
|
+
danmaku: string;
|
|
5241
|
+
play: string;
|
|
4704
5242
|
[property: string]: any;
|
|
4705
5243
|
};
|
|
4706
5244
|
//#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 = {
|
|
5245
|
+
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V1.d.ts
|
|
5246
|
+
type DynamicTypeAV_V1 = {
|
|
4712
5247
|
code: number;
|
|
4713
5248
|
data: DataData$17;
|
|
4714
5249
|
message: string;
|
|
@@ -4731,7 +5266,6 @@ type Item$12 = {
|
|
|
4731
5266
|
type ItemBasic$5 = {
|
|
4732
5267
|
comment_id_str: string;
|
|
4733
5268
|
comment_type: number;
|
|
4734
|
-
editable: boolean;
|
|
4735
5269
|
like_icon: PurpleLikeIcon$4;
|
|
4736
5270
|
rid_str: string;
|
|
4737
5271
|
[property: string]: any;
|
|
@@ -4752,6 +5286,7 @@ type ItemModules$5 = {
|
|
|
4752
5286
|
};
|
|
4753
5287
|
type PurpleModuleAuthor$4 = {
|
|
4754
5288
|
avatar: PurpleAvatar$4;
|
|
5289
|
+
decoration_card: DecorationCard$5;
|
|
4755
5290
|
face: string;
|
|
4756
5291
|
face_nft: boolean;
|
|
4757
5292
|
following: null;
|
|
@@ -4865,6 +5400,21 @@ type PurpleRemote$5 = {
|
|
|
4865
5400
|
url: string;
|
|
4866
5401
|
[property: string]: any;
|
|
4867
5402
|
};
|
|
5403
|
+
type DecorationCard$5 = {
|
|
5404
|
+
big_card_url: string;
|
|
5405
|
+
card_type: number;
|
|
5406
|
+
card_type_name: string;
|
|
5407
|
+
card_url: string;
|
|
5408
|
+
fan: {
|
|
5409
|
+
[key: string]: any;
|
|
5410
|
+
};
|
|
5411
|
+
id: number;
|
|
5412
|
+
image_enhance: string;
|
|
5413
|
+
item_id: number;
|
|
5414
|
+
jump_url: string;
|
|
5415
|
+
name: string;
|
|
5416
|
+
[property: string]: any;
|
|
5417
|
+
};
|
|
4868
5418
|
type PurpleOfficialVerify$5 = {
|
|
4869
5419
|
desc: string;
|
|
4870
5420
|
type: number;
|
|
@@ -4908,62 +5458,43 @@ type PurpleLabel$5 = {
|
|
|
4908
5458
|
};
|
|
4909
5459
|
type PurpleModuleDynamic$4 = {
|
|
4910
5460
|
additional: null;
|
|
4911
|
-
desc:
|
|
5461
|
+
desc: PurpleDesc;
|
|
4912
5462
|
major: null;
|
|
4913
|
-
topic:
|
|
5463
|
+
topic: null;
|
|
4914
5464
|
[property: string]: any;
|
|
4915
5465
|
};
|
|
4916
|
-
type
|
|
4917
|
-
rich_text_nodes:
|
|
5466
|
+
type PurpleDesc = {
|
|
5467
|
+
rich_text_nodes: PurpleRichTextNode[];
|
|
4918
5468
|
text: string;
|
|
4919
5469
|
[property: string]: any;
|
|
4920
5470
|
};
|
|
4921
|
-
type
|
|
5471
|
+
type PurpleRichTextNode = {
|
|
4922
5472
|
emoji?: Emoji$4;
|
|
5473
|
+
jump_url: string;
|
|
4923
5474
|
orig_text: string;
|
|
4924
|
-
|
|
5475
|
+
style: {
|
|
5476
|
+
[key: string]: any;
|
|
5477
|
+
};
|
|
4925
5478
|
text: string;
|
|
4926
5479
|
type: string;
|
|
4927
5480
|
[property: string]: any;
|
|
4928
5481
|
};
|
|
4929
5482
|
type Emoji$4 = {
|
|
4930
5483
|
icon_url: string;
|
|
5484
|
+
id: number;
|
|
5485
|
+
package_id: number;
|
|
4931
5486
|
size: number;
|
|
4932
5487
|
text: string;
|
|
4933
5488
|
type: number;
|
|
4934
5489
|
[property: string]: any;
|
|
4935
5490
|
};
|
|
4936
|
-
type Topic$3 = {
|
|
4937
|
-
id: number;
|
|
4938
|
-
jump_url: string;
|
|
4939
|
-
name: string;
|
|
4940
|
-
[property: string]: any;
|
|
4941
|
-
};
|
|
4942
5491
|
type ModuleMore$6 = {
|
|
4943
5492
|
three_point_items: ThreePointItem$6[];
|
|
4944
5493
|
[property: string]: any;
|
|
4945
5494
|
};
|
|
4946
5495
|
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;
|
|
5496
|
+
label?: string;
|
|
5497
|
+
type?: string;
|
|
4967
5498
|
[property: string]: any;
|
|
4968
5499
|
};
|
|
4969
5500
|
type ModuleStat$6 = {
|
|
@@ -5017,7 +5548,6 @@ type OrigModules$4 = {
|
|
|
5017
5548
|
};
|
|
5018
5549
|
type FluffyModuleAuthor$4 = {
|
|
5019
5550
|
avatar: FluffyAvatar$4;
|
|
5020
|
-
decoration_card: DecorationCard$5;
|
|
5021
5551
|
face: string;
|
|
5022
5552
|
face_nft: boolean;
|
|
5023
5553
|
following: null;
|
|
@@ -5051,10 +5581,10 @@ type FluffyFallbackLayers$5 = {
|
|
|
5051
5581
|
[property: string]: any;
|
|
5052
5582
|
};
|
|
5053
5583
|
type FluffyLayer$5 = {
|
|
5054
|
-
general_spec
|
|
5055
|
-
layer_config
|
|
5056
|
-
resource
|
|
5057
|
-
visible
|
|
5584
|
+
general_spec?: FluffyGeneralSpec$5;
|
|
5585
|
+
layer_config?: FluffyLayerConfig$5;
|
|
5586
|
+
resource?: FluffyResource$5;
|
|
5587
|
+
visible?: boolean;
|
|
5058
5588
|
[property: string]: any;
|
|
5059
5589
|
};
|
|
5060
5590
|
type FluffyGeneralSpec$5 = {
|
|
@@ -5079,21 +5609,15 @@ type FluffySizeSpec$5 = {
|
|
|
5079
5609
|
[property: string]: any;
|
|
5080
5610
|
};
|
|
5081
5611
|
type FluffyLayerConfig$5 = {
|
|
5082
|
-
is_critical
|
|
5612
|
+
is_critical: boolean;
|
|
5083
5613
|
tags: FluffyTags$5;
|
|
5084
5614
|
[property: string]: any;
|
|
5085
5615
|
};
|
|
5086
5616
|
type FluffyTags$5 = {
|
|
5087
|
-
AVATAR_LAYER
|
|
5617
|
+
AVATAR_LAYER: {
|
|
5088
5618
|
[key: string]: any;
|
|
5089
5619
|
};
|
|
5090
5620
|
GENERAL_CFG: FluffyGENERALCFG$5;
|
|
5091
|
-
ICON_LAYER: {
|
|
5092
|
-
[key: string]: any;
|
|
5093
|
-
};
|
|
5094
|
-
PENDENT_LAYER?: {
|
|
5095
|
-
[key: string]: any;
|
|
5096
|
-
};
|
|
5097
5621
|
[property: string]: any;
|
|
5098
5622
|
};
|
|
5099
5623
|
type FluffyGENERALCFG$5 = {
|
|
@@ -5106,10 +5630,7 @@ type FluffyGeneralConfig$5 = {
|
|
|
5106
5630
|
[property: string]: any;
|
|
5107
5631
|
};
|
|
5108
5632
|
type FluffyWebcssStyle$5 = {
|
|
5109
|
-
'background-color': string;
|
|
5110
|
-
border: string;
|
|
5111
5633
|
borderRadius: string;
|
|
5112
|
-
boxSizing: string;
|
|
5113
5634
|
[property: string]: any;
|
|
5114
5635
|
};
|
|
5115
5636
|
type FluffyResource$5 = {
|
|
@@ -5122,9 +5643,8 @@ type FluffyResImage$5 = {
|
|
|
5122
5643
|
[property: string]: any;
|
|
5123
5644
|
};
|
|
5124
5645
|
type FluffyImageSrc$5 = {
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
remote?: FluffyRemote$5;
|
|
5646
|
+
placeholder: number;
|
|
5647
|
+
remote: FluffyRemote$5;
|
|
5128
5648
|
src_type: number;
|
|
5129
5649
|
[property: string]: any;
|
|
5130
5650
|
};
|
|
@@ -5133,35 +5653,6 @@ type FluffyRemote$5 = {
|
|
|
5133
5653
|
url: string;
|
|
5134
5654
|
[property: string]: any;
|
|
5135
5655
|
};
|
|
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
5656
|
type FluffyOfficialVerify$5 = {
|
|
5166
5657
|
desc: string;
|
|
5167
5658
|
type: number;
|
|
@@ -5205,11 +5696,24 @@ type FluffyLabel$5 = {
|
|
|
5205
5696
|
};
|
|
5206
5697
|
type FluffyModuleDynamic$4 = {
|
|
5207
5698
|
additional: null;
|
|
5208
|
-
desc:
|
|
5699
|
+
desc: FluffyDesc;
|
|
5209
5700
|
major: Major$6;
|
|
5210
5701
|
topic: null;
|
|
5211
5702
|
[property: string]: any;
|
|
5212
5703
|
};
|
|
5704
|
+
type FluffyDesc = {
|
|
5705
|
+
rich_text_nodes: FluffyRichTextNode[];
|
|
5706
|
+
text: string;
|
|
5707
|
+
[property: string]: any;
|
|
5708
|
+
};
|
|
5709
|
+
type FluffyRichTextNode = {
|
|
5710
|
+
jump_url: string;
|
|
5711
|
+
orig_text: string;
|
|
5712
|
+
style: null;
|
|
5713
|
+
text: string;
|
|
5714
|
+
type: string;
|
|
5715
|
+
[property: string]: any;
|
|
5716
|
+
};
|
|
5213
5717
|
type Major$6 = {
|
|
5214
5718
|
archive: Archive$1;
|
|
5215
5719
|
type: string;
|
|
@@ -5243,7 +5747,7 @@ type Stat$1 = {
|
|
|
5243
5747
|
};
|
|
5244
5748
|
//#endregion
|
|
5245
5749
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_AV/index.d.ts
|
|
5246
|
-
type DynamicTypeAV$1 = DynamicTypeAV_V0;
|
|
5750
|
+
type DynamicTypeAV$1 = DynamicTypeAV_V0 | DynamicTypeAV_V1;
|
|
5247
5751
|
//#endregion
|
|
5248
5752
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V0.d.ts
|
|
5249
5753
|
type DynamicTypeDraw_V0 = {
|
|
@@ -23699,7 +24203,7 @@ type DySearchInfo = SearchInfoGeneralData | SearchInfoUser | SearchInfoVideo;
|
|
|
23699
24203
|
* 将 methodType 映射到对应的返回数据类型
|
|
23700
24204
|
*/
|
|
23701
24205
|
interface DouyinReturnTypeMap {
|
|
23702
|
-
parseWork: DyVideoWork | DyImageAlbumWork | DySlidesWork | DyImageAlbumWork & ArticleWork;
|
|
24206
|
+
parseWork: DyVideoWork | DyImageAlbumWork | DySlidesWork | (DyImageAlbumWork & ArticleWork);
|
|
23703
24207
|
textWork: ArticleWork;
|
|
23704
24208
|
videoWork: DyVideoWork;
|
|
23705
24209
|
imageAlbumWork: DyImageAlbumWork;
|
|
@@ -25656,14 +26160,14 @@ declare const XiaohongshuFetcherMethods: {
|
|
|
25656
26160
|
readonly SEARCH_NOTES: "searchNotes";
|
|
25657
26161
|
readonly EMOJI_LIST: "fetchEmojiList";
|
|
25658
26162
|
};
|
|
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];
|
|
26163
|
+
type BilibiliInternalMethodKey = (typeof BilibiliInternalMethods)[keyof typeof BilibiliInternalMethods];
|
|
26164
|
+
type BilibiliFetcherMethodKey = (typeof BilibiliFetcherMethods)[keyof typeof BilibiliFetcherMethods];
|
|
26165
|
+
type DouyinInternalMethodKey = (typeof DouyinInternalMethods)[keyof typeof DouyinInternalMethods];
|
|
26166
|
+
type DouyinFetcherMethodKey = (typeof DouyinFetcherMethods)[keyof typeof DouyinFetcherMethods];
|
|
26167
|
+
type KuaishouInternalMethodKey = (typeof KuaishouInternalMethods)[keyof typeof KuaishouInternalMethods];
|
|
26168
|
+
type KuaishouFetcherMethodKey = (typeof KuaishouFetcherMethods)[keyof typeof KuaishouFetcherMethods];
|
|
26169
|
+
type XiaohongshuInternalMethodKey = (typeof XiaohongshuInternalMethods)[keyof typeof XiaohongshuInternalMethods];
|
|
26170
|
+
type XiaohongshuFetcherMethodKey = (typeof XiaohongshuFetcherMethods)[keyof typeof XiaohongshuFetcherMethods];
|
|
25667
26171
|
/** B站:内部中文方法名 -> Fetcher 英文方法名 */
|
|
25668
26172
|
declare const BilibiliMethodToFetcher: Record<BilibiliInternalMethodKey, BilibiliFetcherMethodKey>;
|
|
25669
26173
|
/** 抖音:内部中文方法名 -> Fetcher 英文方法名 */
|
|
@@ -27034,7 +27538,7 @@ interface AmagiEventMap {
|
|
|
27034
27538
|
* 类型安全的事件发射器
|
|
27035
27539
|
* @description 继承自 Node.js EventEmitter,提供泛型约束确保事件名称与数据类型匹配
|
|
27036
27540
|
*/
|
|
27037
|
-
declare class TypedEventEmitter extends EventEmitter {
|
|
27541
|
+
declare class TypedEventEmitter extends EventEmitter$1 {
|
|
27038
27542
|
/**
|
|
27039
27543
|
* 触发事件
|
|
27040
27544
|
* @param event - 事件名称
|
|
@@ -28042,6 +28546,12 @@ declare const kuaishouUtils: kuaishouUtilsModel;
|
|
|
28042
28546
|
*/
|
|
28043
28547
|
declare class xiaohongshuSign {
|
|
28044
28548
|
private static client;
|
|
28549
|
+
/**
|
|
28550
|
+
* 创建包含 web_session 的小红书 Web 端游客 Cookie。
|
|
28551
|
+
*
|
|
28552
|
+
* `requestConfig` 会透传到游客会话初始化请求,可用于配置代理、超时等传输参数。
|
|
28553
|
+
*/
|
|
28554
|
+
static createGuestCookie(requestConfig?: AxiosRequestConfig): Promise<string>;
|
|
28045
28555
|
/**
|
|
28046
28556
|
* 生成GET请求的X-S签名
|
|
28047
28557
|
* @param path - API路径
|
|
@@ -28411,7 +28921,7 @@ declare const DouyinMethodMapping: {
|
|
|
28411
28921
|
readonly 弹幕数据: "fetchDanmakuList";
|
|
28412
28922
|
};
|
|
28413
28923
|
type DouyinMethodKey = keyof typeof DouyinMethodMapping;
|
|
28414
|
-
type DouyinMethodValue = typeof DouyinMethodMapping[DouyinMethodKey];
|
|
28924
|
+
type DouyinMethodValue = (typeof DouyinMethodMapping)[DouyinMethodKey];
|
|
28415
28925
|
declare const BilibiliMethodMapping: {
|
|
28416
28926
|
readonly 单个视频作品数据: "fetchVideoInfo";
|
|
28417
28927
|
readonly 单个视频下载信息数据: "fetchVideoStreamUrl";
|
|
@@ -28442,7 +28952,7 @@ declare const BilibiliMethodMapping: {
|
|
|
28442
28952
|
readonly 验证验证码结果: "validateCaptchaResult";
|
|
28443
28953
|
};
|
|
28444
28954
|
type BilibiliMethodKey = keyof typeof BilibiliMethodMapping;
|
|
28445
|
-
type BilibiliMethodValue = typeof BilibiliMethodMapping[BilibiliMethodKey];
|
|
28955
|
+
type BilibiliMethodValue = (typeof BilibiliMethodMapping)[BilibiliMethodKey];
|
|
28446
28956
|
declare const KuaishouMethodMapping: {
|
|
28447
28957
|
readonly 单个视频作品数据: "fetchVideoWork";
|
|
28448
28958
|
readonly 评论数据: "fetchWorkComments";
|
|
@@ -28452,7 +28962,7 @@ declare const KuaishouMethodMapping: {
|
|
|
28452
28962
|
readonly Emoji数据: "fetchEmojiList";
|
|
28453
28963
|
};
|
|
28454
28964
|
type KuaishouMethodKey = keyof typeof KuaishouMethodMapping;
|
|
28455
|
-
type KuaishouMethodValue = typeof KuaishouMethodMapping[KuaishouMethodKey];
|
|
28965
|
+
type KuaishouMethodValue = (typeof KuaishouMethodMapping)[KuaishouMethodKey];
|
|
28456
28966
|
declare const XiaohongshuMethodMapping: {
|
|
28457
28967
|
readonly 首页推荐数据: "fetchHomeFeed";
|
|
28458
28968
|
readonly 单个笔记数据: "fetchNoteDetail";
|
|
@@ -28463,7 +28973,7 @@ declare const XiaohongshuMethodMapping: {
|
|
|
28463
28973
|
readonly 搜索笔记: "searchNotes";
|
|
28464
28974
|
};
|
|
28465
28975
|
type XiaohongshuMethodKey = keyof typeof XiaohongshuMethodMapping;
|
|
28466
|
-
type XiaohongshuMethodValue = typeof XiaohongshuMethodMapping[XiaohongshuMethodKey];
|
|
28976
|
+
type XiaohongshuMethodValue = (typeof XiaohongshuMethodMapping)[XiaohongshuMethodKey];
|
|
28467
28977
|
/**
|
|
28468
28978
|
* Douyin HTTP API 路由
|
|
28469
28979
|
*
|
|
@@ -28625,5 +29135,5 @@ declare const amagi: typeof Client;
|
|
|
28625
29135
|
* GPL-3.0 Licensed
|
|
28626
29136
|
*/
|
|
28627
29137
|
//#endregion
|
|
28628
|
-
export { APIErrorType, AdditionalType,
|
|
29138
|
+
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, 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
29139
|
//# sourceMappingURL=index.d.mts.map
|