karin-plugin-kkk 2.40.2 → 2.41.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/CHANGELOG.md +19 -0
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/amagi.d.mts +182 -65
- package/lib/core_chunk/main.js +335 -92
- package/lib/karin-plugin-kkk.css +32 -49
- package/package.json +2 -2
|
@@ -217,11 +217,11 @@ declare const bv2av: (bvid: string) => number;
|
|
|
217
217
|
//#region src/types/ReturnDataType/Bilibili/ProtobufDanmaku/ProtobufDanmaku_V0.d.ts
|
|
218
218
|
type BiliProtobufDanmaku_V0 = {
|
|
219
219
|
code: number;
|
|
220
|
-
data: DataData$
|
|
220
|
+
data: DataData$30;
|
|
221
221
|
message: string;
|
|
222
222
|
[property: string]: any;
|
|
223
223
|
};
|
|
224
|
-
type DataData$
|
|
224
|
+
type DataData$30 = {
|
|
225
225
|
elems: Elem[];
|
|
226
226
|
[property: string]: any;
|
|
227
227
|
};
|
|
@@ -338,7 +338,7 @@ interface BilibiliMethodOptionsMap {
|
|
|
338
338
|
};
|
|
339
339
|
/** 获取用户相关数据 */
|
|
340
340
|
UserParams: {
|
|
341
|
-
methodType: 'userCard' | 'userDynamicList' | 'uploaderTotalViews' | 'userSpaceInfo';
|
|
341
|
+
methodType: 'userCard' | 'userDynamicList' | 'userLiveStatus' | 'uploaderTotalViews' | 'userSpaceInfo';
|
|
342
342
|
/** UP主UID */
|
|
343
343
|
host_mid: number;
|
|
344
344
|
};
|
|
@@ -544,6 +544,7 @@ type BilibiliMethodOptMap = {
|
|
|
544
544
|
commentReplies: BilibiliMethodOptionsMap['CommentReplyParams'];
|
|
545
545
|
userCard: BilibiliMethodOptionsMap['UserParams'];
|
|
546
546
|
userDynamicList: BilibiliMethodOptionsMap['UserParams'];
|
|
547
|
+
userLiveStatus: BilibiliMethodOptionsMap['UserParams'];
|
|
547
548
|
userSpaceInfo: BilibiliMethodOptionsMap['UserParams'];
|
|
548
549
|
uploaderTotalViews: BilibiliMethodOptionsMap['UserParams'];
|
|
549
550
|
emojiList: BilibiliMethodOptionsMap['EmojiParams'];
|
|
@@ -665,24 +666,31 @@ declare const BilibiliValidationSchemas: {
|
|
|
665
666
|
number?: number;
|
|
666
667
|
}, unknown>>;
|
|
667
668
|
readonly userCard: zod.ZodType<{
|
|
668
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
669
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
669
670
|
host_mid: number;
|
|
670
671
|
}, unknown, zod.core.$ZodTypeInternals<{
|
|
671
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
672
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
672
673
|
host_mid: number;
|
|
673
674
|
}, unknown>>;
|
|
674
675
|
readonly userDynamicList: zod.ZodType<{
|
|
675
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
676
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
677
|
+
host_mid: number;
|
|
678
|
+
}, unknown, zod.core.$ZodTypeInternals<{
|
|
679
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
680
|
+
host_mid: number;
|
|
681
|
+
}, unknown>>;
|
|
682
|
+
readonly userLiveStatus: zod.ZodType<{
|
|
683
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
676
684
|
host_mid: number;
|
|
677
685
|
}, unknown, zod.core.$ZodTypeInternals<{
|
|
678
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
686
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
679
687
|
host_mid: number;
|
|
680
688
|
}, unknown>>;
|
|
681
689
|
readonly userSpaceInfo: zod.ZodType<{
|
|
682
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
690
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
683
691
|
host_mid: number;
|
|
684
692
|
}, unknown, zod.core.$ZodTypeInternals<{
|
|
685
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
693
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
686
694
|
host_mid: number;
|
|
687
695
|
}, unknown>>;
|
|
688
696
|
readonly emojiList: zod.ZodType<{
|
|
@@ -754,10 +762,10 @@ declare const BilibiliValidationSchemas: {
|
|
|
754
762
|
qrcode_key: string;
|
|
755
763
|
}, unknown>>;
|
|
756
764
|
readonly uploaderTotalViews: zod.ZodType<{
|
|
757
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
765
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
758
766
|
host_mid: number;
|
|
759
767
|
}, unknown, zod.core.$ZodTypeInternals<{
|
|
760
|
-
methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
|
|
768
|
+
methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
|
|
761
769
|
host_mid: number;
|
|
762
770
|
}, unknown>>;
|
|
763
771
|
readonly avToBv: zod.ZodType<{
|
|
@@ -844,6 +852,7 @@ declare const BilibiliMethodRoutes: {
|
|
|
844
852
|
readonly commentReplies: "/fetch_comment_reply";
|
|
845
853
|
readonly userCard: "/fetch_user_profile";
|
|
846
854
|
readonly userDynamicList: "/fetch_user_dynamic";
|
|
855
|
+
readonly userLiveStatus: "/fetch_user_live_status";
|
|
847
856
|
readonly userSpaceInfo: "/fetch_user_space_info";
|
|
848
857
|
readonly emojiList: "/fetch_emoji_list";
|
|
849
858
|
readonly bangumiInfo: "/fetch_bangumi_video_info";
|
|
@@ -2024,12 +2033,12 @@ declare const createErrorResponse: (error: APIErrorType, message: string, code?:
|
|
|
2024
2033
|
//#region src/types/ReturnDataType/Bilibili/ArticleCard/ArticleCard_V0.d.ts
|
|
2025
2034
|
type ArticleCard_V0 = {
|
|
2026
2035
|
code: number;
|
|
2027
|
-
data: DataData$
|
|
2036
|
+
data: DataData$29;
|
|
2028
2037
|
message: string;
|
|
2029
2038
|
ttl: number;
|
|
2030
2039
|
[property: string]: any;
|
|
2031
2040
|
};
|
|
2032
|
-
type DataData$
|
|
2041
|
+
type DataData$29 = {
|
|
2033
2042
|
av2: Av2;
|
|
2034
2043
|
cv1: Cv1;
|
|
2035
2044
|
cv2: Cv2;
|
|
@@ -2391,12 +2400,12 @@ type ArticleCard = ArticleCard_V0;
|
|
|
2391
2400
|
//#region src/types/ReturnDataType/Bilibili/ArticleContent/ArticleContent.d.ts
|
|
2392
2401
|
type ArticleContent_V0 = {
|
|
2393
2402
|
code: number;
|
|
2394
|
-
data: DataData$
|
|
2403
|
+
data: DataData$28;
|
|
2395
2404
|
message: string;
|
|
2396
2405
|
ttl: number;
|
|
2397
2406
|
[property: string]: any;
|
|
2398
2407
|
};
|
|
2399
|
-
type DataData$
|
|
2408
|
+
type DataData$28 = {
|
|
2400
2409
|
act_id: number;
|
|
2401
2410
|
apply_time: string;
|
|
2402
2411
|
authenMark: null;
|
|
@@ -2611,12 +2620,12 @@ type ArticleContent = ArticleContent_V0;
|
|
|
2611
2620
|
//#region src/types/ReturnDataType/Bilibili/ArticleInfo/ArticleInfo_V0.d.ts
|
|
2612
2621
|
type ArticleInfo_V0 = {
|
|
2613
2622
|
code: number;
|
|
2614
|
-
data: DataData$
|
|
2623
|
+
data: DataData$27;
|
|
2615
2624
|
message: string;
|
|
2616
2625
|
ttl: number;
|
|
2617
2626
|
[property: string]: any;
|
|
2618
2627
|
};
|
|
2619
|
-
type DataData$
|
|
2628
|
+
type DataData$27 = {
|
|
2620
2629
|
attention: boolean;
|
|
2621
2630
|
author_name: string;
|
|
2622
2631
|
banner_url: string;
|
|
@@ -3400,12 +3409,12 @@ type BiliEmojiList = BiliEmojiList_V0;
|
|
|
3400
3409
|
//#region src/types/ReturnDataType/Bilibili/BiliCommentReply/BiliCommentReply_V0.d.ts
|
|
3401
3410
|
type BiliCommentReply_V0 = {
|
|
3402
3411
|
code: number;
|
|
3403
|
-
data: DataData$
|
|
3412
|
+
data: DataData$26;
|
|
3404
3413
|
message: string;
|
|
3405
3414
|
ttl: number;
|
|
3406
3415
|
[property: string]: any;
|
|
3407
3416
|
};
|
|
3408
|
-
type DataData$
|
|
3417
|
+
type DataData$26 = {
|
|
3409
3418
|
assist: number;
|
|
3410
3419
|
blacklist: number;
|
|
3411
3420
|
callbacks: {
|
|
@@ -3916,12 +3925,12 @@ type BiliBv2AV = BiliBv2AV_V0;
|
|
|
3916
3925
|
//#region src/types/ReturnDataType/Bilibili/Captcha/ApplyCaptcha/ApplyCaptcha_V0.d.ts
|
|
3917
3926
|
type ApplyCaptcha_V0 = {
|
|
3918
3927
|
code: number;
|
|
3919
|
-
data: DataData$
|
|
3928
|
+
data: DataData$25;
|
|
3920
3929
|
message: string;
|
|
3921
3930
|
ttl: number;
|
|
3922
3931
|
[property: string]: any;
|
|
3923
3932
|
};
|
|
3924
|
-
type DataData$
|
|
3933
|
+
type DataData$25 = {
|
|
3925
3934
|
biliword: null;
|
|
3926
3935
|
geetest: Geetest;
|
|
3927
3936
|
phone: null;
|
|
@@ -3943,12 +3952,12 @@ type ApplyCaptcha = ApplyCaptcha_V0;
|
|
|
3943
3952
|
//#region src/types/ReturnDataType/Bilibili/Captcha/ValidateCaptcha/ValidateCaptcha_V0.d.ts
|
|
3944
3953
|
type ValidateCaptcha_V0 = {
|
|
3945
3954
|
code: number;
|
|
3946
|
-
data: DataData$
|
|
3955
|
+
data: DataData$24;
|
|
3947
3956
|
message: string;
|
|
3948
3957
|
ttl: number;
|
|
3949
3958
|
[property: string]: any;
|
|
3950
3959
|
};
|
|
3951
|
-
type DataData$
|
|
3960
|
+
type DataData$24 = {
|
|
3952
3961
|
grisk_id: string;
|
|
3953
3962
|
is_valid: number;
|
|
3954
3963
|
[property: string]: any;
|
|
@@ -3960,12 +3969,12 @@ type ValidateCaptcha = ValidateCaptcha_V0;
|
|
|
3960
3969
|
//#region src/types/ReturnDataType/Bilibili/ColumnInfo/ColumnInfo_V0.d.ts
|
|
3961
3970
|
type ColumnInfo_V0 = {
|
|
3962
3971
|
code: number;
|
|
3963
|
-
data: DataData$
|
|
3972
|
+
data: DataData$23;
|
|
3964
3973
|
message: string;
|
|
3965
3974
|
ttl: number;
|
|
3966
3975
|
[property: string]: any;
|
|
3967
3976
|
};
|
|
3968
|
-
type DataData$
|
|
3977
|
+
type DataData$23 = {
|
|
3969
3978
|
articles: null;
|
|
3970
3979
|
attention: boolean;
|
|
3971
3980
|
author: Author$9;
|
|
@@ -4071,12 +4080,12 @@ type ColumnInfo = ColumnInfo_V0;
|
|
|
4071
4080
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_ARTICLE/DYNAMIC_TYPE_ARTICLE_V0.d.ts
|
|
4072
4081
|
type DynamicTypeArticle_V0 = {
|
|
4073
4082
|
code: number;
|
|
4074
|
-
data: DataData$
|
|
4083
|
+
data: DataData$22;
|
|
4075
4084
|
message: string;
|
|
4076
4085
|
ttl: number;
|
|
4077
4086
|
[property: string]: any;
|
|
4078
4087
|
};
|
|
4079
|
-
type DataData$
|
|
4088
|
+
type DataData$22 = {
|
|
4080
4089
|
item: Item$16;
|
|
4081
4090
|
[property: string]: any;
|
|
4082
4091
|
};
|
|
@@ -4335,12 +4344,12 @@ type DynamicTypeArticle = DynamicTypeArticle_V0;
|
|
|
4335
4344
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V0.d.ts
|
|
4336
4345
|
type DynamicTypeAV_V0$1 = {
|
|
4337
4346
|
code: number;
|
|
4338
|
-
data: DataData$
|
|
4347
|
+
data: DataData$21;
|
|
4339
4348
|
message: string;
|
|
4340
4349
|
ttl: number;
|
|
4341
4350
|
[property: string]: any;
|
|
4342
4351
|
};
|
|
4343
|
-
type DataData$
|
|
4352
|
+
type DataData$21 = {
|
|
4344
4353
|
item: Item$15;
|
|
4345
4354
|
[property: string]: any;
|
|
4346
4355
|
};
|
|
@@ -4616,12 +4625,12 @@ type DynamicTypeAV = DynamicTypeAV_V0$1;
|
|
|
4616
4625
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V0.d.ts
|
|
4617
4626
|
type DynamicTypeDraw_V0$1 = {
|
|
4618
4627
|
code: number;
|
|
4619
|
-
data: DataData$
|
|
4628
|
+
data: DataData$20;
|
|
4620
4629
|
message: string;
|
|
4621
4630
|
ttl: number;
|
|
4622
4631
|
[property: string]: any;
|
|
4623
4632
|
};
|
|
4624
|
-
type DataData$
|
|
4633
|
+
type DataData$20 = {
|
|
4625
4634
|
item: Item$14;
|
|
4626
4635
|
[property: string]: any;
|
|
4627
4636
|
};
|
|
@@ -4976,12 +4985,12 @@ type DynamicTypeDraw = DynamicTypeDraw_V0$1;
|
|
|
4976
4985
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V0.d.ts
|
|
4977
4986
|
type DynamicTypeAV_V0 = {
|
|
4978
4987
|
code: number;
|
|
4979
|
-
data: DataData$
|
|
4988
|
+
data: DataData$19;
|
|
4980
4989
|
message: string;
|
|
4981
4990
|
ttl: number;
|
|
4982
4991
|
[property: string]: any;
|
|
4983
4992
|
};
|
|
4984
|
-
type DataData$
|
|
4993
|
+
type DataData$19 = {
|
|
4985
4994
|
item: Item$13;
|
|
4986
4995
|
[property: string]: any;
|
|
4987
4996
|
};
|
|
@@ -5511,12 +5520,12 @@ type Stat$2 = {
|
|
|
5511
5520
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V1.d.ts
|
|
5512
5521
|
type DynamicTypeAV_V1 = {
|
|
5513
5522
|
code: number;
|
|
5514
|
-
data: DataData$
|
|
5523
|
+
data: DataData$18;
|
|
5515
5524
|
message: string;
|
|
5516
5525
|
ttl: number;
|
|
5517
5526
|
[property: string]: any;
|
|
5518
5527
|
};
|
|
5519
|
-
type DataData$
|
|
5528
|
+
type DataData$18 = {
|
|
5520
5529
|
item: Item$12;
|
|
5521
5530
|
[property: string]: any;
|
|
5522
5531
|
};
|
|
@@ -6018,12 +6027,12 @@ type DynamicTypeAV$1 = DynamicTypeAV_V0 | DynamicTypeAV_V1;
|
|
|
6018
6027
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V0.d.ts
|
|
6019
6028
|
type DynamicTypeDraw_V0 = {
|
|
6020
6029
|
code: number;
|
|
6021
|
-
data: DataData$
|
|
6030
|
+
data: DataData$17;
|
|
6022
6031
|
message: string;
|
|
6023
6032
|
ttl: number;
|
|
6024
6033
|
[property: string]: any;
|
|
6025
6034
|
};
|
|
6026
|
-
type DataData$
|
|
6035
|
+
type DataData$17 = {
|
|
6027
6036
|
item: Item$11;
|
|
6028
6037
|
[property: string]: any;
|
|
6029
6038
|
};
|
|
@@ -6556,12 +6565,12 @@ type SummaryRichTextNode$2 = {
|
|
|
6556
6565
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V1.d.ts
|
|
6557
6566
|
type DynamicTypeDraw_V1 = {
|
|
6558
6567
|
code: number;
|
|
6559
|
-
data: DataData$
|
|
6568
|
+
data: DataData$16;
|
|
6560
6569
|
message: string;
|
|
6561
6570
|
ttl: number;
|
|
6562
6571
|
[property: string]: any;
|
|
6563
6572
|
};
|
|
6564
|
-
type DataData$
|
|
6573
|
+
type DataData$16 = {
|
|
6565
6574
|
item: Item$10;
|
|
6566
6575
|
[property: string]: any;
|
|
6567
6576
|
};
|
|
@@ -7097,12 +7106,12 @@ type DynamicTypeDraw$1 = DynamicTypeDraw_V0 | DynamicTypeDraw_V1;
|
|
|
7097
7106
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_LIVE_RCMD/DYNAMIC_TYPE_LIVE_RCMD_V0.d.ts
|
|
7098
7107
|
type DynamicTypeLiveRcmd_V0$1 = {
|
|
7099
7108
|
code: number;
|
|
7100
|
-
data: DataData$
|
|
7109
|
+
data: DataData$15;
|
|
7101
7110
|
message: string;
|
|
7102
7111
|
ttl: number;
|
|
7103
7112
|
[property: string]: any;
|
|
7104
7113
|
};
|
|
7105
|
-
type DataData$
|
|
7114
|
+
type DataData$15 = {
|
|
7106
7115
|
item: Item$9;
|
|
7107
7116
|
[property: string]: any;
|
|
7108
7117
|
};
|
|
@@ -7581,12 +7590,12 @@ type DynamicTypeLiveRcmd$1 = DynamicTypeLiveRcmd_V0$1;
|
|
|
7581
7590
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_WORD/DYNAMIC_TYPE_WORD_V0.d.ts
|
|
7582
7591
|
type DynamicTypeWord_V0$1 = {
|
|
7583
7592
|
code: number;
|
|
7584
|
-
data: DataData$
|
|
7593
|
+
data: DataData$14;
|
|
7585
7594
|
message: string;
|
|
7586
7595
|
ttl: number;
|
|
7587
7596
|
[property: string]: any;
|
|
7588
7597
|
};
|
|
7589
|
-
type DataData$
|
|
7598
|
+
type DataData$14 = {
|
|
7590
7599
|
item: Item$8;
|
|
7591
7600
|
[property: string]: any;
|
|
7592
7601
|
};
|
|
@@ -8179,7 +8188,7 @@ type OriginalDynamicItemMap = {
|
|
|
8179
8188
|
};
|
|
8180
8189
|
type ItemBasic = DynamicTypeWord$1['data']['item']['basic'] | DynamicTypeLiveRcmd$1['data']['item']['basic'] | DynamicTypeDraw$1['data']['item']['basic'] | DynamicTypeAV$1['data']['item']['basic'];
|
|
8181
8190
|
type ItemModules = DynamicTypeWord$1['data']['item']['modules'] | DynamicTypeLiveRcmd$1['data']['item']['modules'] | DynamicTypeDraw$1['data']['item']['modules'] | DynamicTypeAV$1['data']['item']['modules'];
|
|
8182
|
-
type DataData$
|
|
8191
|
+
type DataData$13<T extends keyof OriginalDynamicItemMap> = {
|
|
8183
8192
|
item: {
|
|
8184
8193
|
basic: ItemBasic;
|
|
8185
8194
|
id_str: string;
|
|
@@ -8193,7 +8202,7 @@ type DataData$12<T extends keyof OriginalDynamicItemMap> = {
|
|
|
8193
8202
|
};
|
|
8194
8203
|
type DynamicTypeForward<T extends keyof OriginalDynamicItemMap> = {
|
|
8195
8204
|
code: number;
|
|
8196
|
-
data: DataData$
|
|
8205
|
+
data: DataData$13<T>;
|
|
8197
8206
|
message: string;
|
|
8198
8207
|
ttl: number;
|
|
8199
8208
|
[property: string]: any;
|
|
@@ -8203,12 +8212,12 @@ type DynamicTypeForwardUnion = DynamicTypeForward<DynamicType.AV> | DynamicTypeF
|
|
|
8203
8212
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_LIVE_RCMD/DYNAMIC_TYPE_LIVE_RCMD_V0.d.ts
|
|
8204
8213
|
type DynamicTypeLiveRcmd_V0 = {
|
|
8205
8214
|
code: number;
|
|
8206
|
-
data: DataData$
|
|
8215
|
+
data: DataData$12;
|
|
8207
8216
|
message: string;
|
|
8208
8217
|
ttl: number;
|
|
8209
8218
|
[property: string]: any;
|
|
8210
8219
|
};
|
|
8211
|
-
type DataData$
|
|
8220
|
+
type DataData$12 = {
|
|
8212
8221
|
item: Item$7;
|
|
8213
8222
|
[property: string]: any;
|
|
8214
8223
|
};
|
|
@@ -8483,12 +8492,12 @@ type DynamicTypeLiveRcmd = DynamicTypeLiveRcmd_V0;
|
|
|
8483
8492
|
//#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_WORD/DYNAMIC_TYPE_WORD_V0.d.ts
|
|
8484
8493
|
type DynamicTypeWord_V0 = {
|
|
8485
8494
|
code: number;
|
|
8486
|
-
data: DataData$
|
|
8495
|
+
data: DataData$11;
|
|
8487
8496
|
message: string;
|
|
8488
8497
|
ttl: number;
|
|
8489
8498
|
[property: string]: any;
|
|
8490
8499
|
};
|
|
8491
|
-
type DataData$
|
|
8500
|
+
type DataData$11 = {
|
|
8492
8501
|
item: Item$6;
|
|
8493
8502
|
[property: string]: any;
|
|
8494
8503
|
};
|
|
@@ -8896,12 +8905,12 @@ type DynamicTypeItemMap$1 = {
|
|
|
8896
8905
|
[DynamicType.FORWARD]: DynamicTypeForwardUnion['data']['item'];
|
|
8897
8906
|
[DynamicType.ARTICLE]: DynamicTypeArticle['data']['item'];
|
|
8898
8907
|
};
|
|
8899
|
-
type DataData$
|
|
8908
|
+
type DataData$10<T extends DynamicType> = {
|
|
8900
8909
|
item: DynamicTypeItemMap$1[T];
|
|
8901
8910
|
};
|
|
8902
8911
|
type BiliDynamicInfo<T extends DynamicType> = {
|
|
8903
8912
|
code: number;
|
|
8904
|
-
data: DataData$
|
|
8913
|
+
data: DataData$10<T>;
|
|
8905
8914
|
message: string;
|
|
8906
8915
|
ttl: number;
|
|
8907
8916
|
[property: string]: any;
|
|
@@ -9225,7 +9234,7 @@ type BiliOneWork = BiliOneWork_V0;
|
|
|
9225
9234
|
//#region src/types/ReturnDataType/Bilibili/UserDynamic/index.d.ts
|
|
9226
9235
|
type BiliUserDynamic = {
|
|
9227
9236
|
code: number;
|
|
9228
|
-
data: DataData$
|
|
9237
|
+
data: DataData$9;
|
|
9229
9238
|
message: string;
|
|
9230
9239
|
ttl: number;
|
|
9231
9240
|
[property: string]: any;
|
|
@@ -9244,7 +9253,7 @@ type DynamicTypeItemMap = {
|
|
|
9244
9253
|
[DynamicType.FORWARD]: ForwardItem;
|
|
9245
9254
|
[DynamicType.ARTICLE]: ArticleItem;
|
|
9246
9255
|
};
|
|
9247
|
-
type DataData$
|
|
9256
|
+
type DataData$9<T extends DynamicType = DynamicType> = {
|
|
9248
9257
|
has_more: boolean;
|
|
9249
9258
|
items: DynamicTypeItemMap[T][];
|
|
9250
9259
|
offset: string;
|
|
@@ -9281,6 +9290,32 @@ type Article = {
|
|
|
9281
9290
|
//#region src/types/ReturnDataType/Bilibili/UserFullView/index.d.ts
|
|
9282
9291
|
type BiliUserFullView = BiliUserFullView_V0;
|
|
9283
9292
|
//#endregion
|
|
9293
|
+
//#region src/types/ReturnDataType/Bilibili/UserLiveStatus/UserLiveStatus_V0.d.ts
|
|
9294
|
+
type BiliUserLiveStatus_V0 = {
|
|
9295
|
+
code: number;
|
|
9296
|
+
data: DataData$8;
|
|
9297
|
+
message: string;
|
|
9298
|
+
ttl: number;
|
|
9299
|
+
[property: string]: any;
|
|
9300
|
+
};
|
|
9301
|
+
type DataData$8 = {
|
|
9302
|
+
broadcast_type: number;
|
|
9303
|
+
cover: string;
|
|
9304
|
+
link: string;
|
|
9305
|
+
liveStatus: number;
|
|
9306
|
+
online: number;
|
|
9307
|
+
online_hidden: number;
|
|
9308
|
+
roomid: number;
|
|
9309
|
+
roomStatus: number;
|
|
9310
|
+
roundStatus: number;
|
|
9311
|
+
title: string;
|
|
9312
|
+
url: string;
|
|
9313
|
+
[property: string]: any;
|
|
9314
|
+
};
|
|
9315
|
+
//#endregion
|
|
9316
|
+
//#region src/types/ReturnDataType/Bilibili/UserLiveStatus/index.d.ts
|
|
9317
|
+
type BiliUserLiveStatus = BiliUserLiveStatus_V0;
|
|
9318
|
+
//#endregion
|
|
9284
9319
|
//#region src/types/ReturnDataType/Bilibili/UserProfile/UserProfile_V0.d.ts
|
|
9285
9320
|
type BiliUserProfile_V0 = {
|
|
9286
9321
|
code: number;
|
|
@@ -11768,6 +11803,7 @@ interface BilibiliReturnTypeMap {
|
|
|
11768
11803
|
commentReplies: BiliCommentReply;
|
|
11769
11804
|
userCard: BiliUserProfile;
|
|
11770
11805
|
userDynamicList: BiliUserDynamic;
|
|
11806
|
+
userLiveStatus: BiliUserLiveStatus;
|
|
11771
11807
|
userSpaceInfo: UserSpaceInfo;
|
|
11772
11808
|
emojiList: BiliEmojiList;
|
|
11773
11809
|
bangumiInfo: BiliBangumiVideoInfo;
|
|
@@ -26297,6 +26333,7 @@ declare const BilibiliInternalMethods: {
|
|
|
26297
26333
|
readonly COMMENT_REPLIES: "指定评论的回复";
|
|
26298
26334
|
readonly USER_CARD: "用户主页数据";
|
|
26299
26335
|
readonly USER_DYNAMICS: "用户主页动态列表数据";
|
|
26336
|
+
readonly USER_LIVE_STATUS: "用户直播状态";
|
|
26300
26337
|
readonly USER_SPACE_INFO: "用户空间详细信息";
|
|
26301
26338
|
readonly USER_TOTAL_VIEWS: "获取UP主总播放量";
|
|
26302
26339
|
readonly DYNAMIC_DETAIL: "动态详情数据";
|
|
@@ -26327,6 +26364,7 @@ declare const BilibiliFetcherMethods: {
|
|
|
26327
26364
|
readonly COMMENT_REPLIES: "fetchCommentReplies";
|
|
26328
26365
|
readonly USER_CARD: "fetchUserCard";
|
|
26329
26366
|
readonly USER_DYNAMICS: "fetchUserDynamicList";
|
|
26367
|
+
readonly USER_LIVE_STATUS: "fetchUserLiveStatus";
|
|
26330
26368
|
readonly USER_SPACE_INFO: "fetchUserSpaceInfo";
|
|
26331
26369
|
readonly USER_TOTAL_VIEWS: "fetchUploaderTotalViews";
|
|
26332
26370
|
readonly DYNAMIC_DETAIL: "fetchDynamicDetail";
|
|
@@ -26462,6 +26500,7 @@ declare const MethodMaps: {
|
|
|
26462
26500
|
readonly COMMENT_REPLIES: "指定评论的回复";
|
|
26463
26501
|
readonly USER_CARD: "用户主页数据";
|
|
26464
26502
|
readonly USER_DYNAMICS: "用户主页动态列表数据";
|
|
26503
|
+
readonly USER_LIVE_STATUS: "用户直播状态";
|
|
26465
26504
|
readonly USER_SPACE_INFO: "用户空间详细信息";
|
|
26466
26505
|
readonly USER_TOTAL_VIEWS: "获取UP主总播放量";
|
|
26467
26506
|
readonly DYNAMIC_DETAIL: "动态详情数据";
|
|
@@ -26491,6 +26530,7 @@ declare const MethodMaps: {
|
|
|
26491
26530
|
readonly COMMENT_REPLIES: "fetchCommentReplies";
|
|
26492
26531
|
readonly USER_CARD: "fetchUserCard";
|
|
26493
26532
|
readonly USER_DYNAMICS: "fetchUserDynamicList";
|
|
26533
|
+
readonly USER_LIVE_STATUS: "fetchUserLiveStatus";
|
|
26494
26534
|
readonly USER_SPACE_INFO: "fetchUserSpaceInfo";
|
|
26495
26535
|
readonly USER_TOTAL_VIEWS: "fetchUploaderTotalViews";
|
|
26496
26536
|
readonly DYNAMIC_DETAIL: "fetchDynamicDetail";
|
|
@@ -26696,6 +26736,13 @@ declare class BilibiliAPI {
|
|
|
26696
26736
|
getDynamicCard(data: BilibiliMethodOptionsWithoutMethodType['DynamicParams']): string;
|
|
26697
26737
|
/** 获取用户名片信息 */
|
|
26698
26738
|
getUserCard(data: BilibiliMethodOptionsWithoutMethodType['UserParams']): string;
|
|
26739
|
+
/**
|
|
26740
|
+
* 按用户 UID 获取直播状态。
|
|
26741
|
+
*
|
|
26742
|
+
* @remarks
|
|
26743
|
+
* 该接口直接返回用户当前直播状态,不依赖空间动态中的直播推荐卡片。
|
|
26744
|
+
*/
|
|
26745
|
+
getUserLiveStatus(data: BilibiliMethodOptionsWithoutMethodType['UserParams']): string;
|
|
26699
26746
|
/** 获取直播间信息 */
|
|
26700
26747
|
getLiveRoomInfo(data: BilibiliMethodOptionsWithoutMethodType['LiveRoomParams']): string;
|
|
26701
26748
|
/** 获取直播间初始化信息 */
|
|
@@ -26895,6 +26942,10 @@ interface IBilibiliFetcher {
|
|
|
26895
26942
|
* 获取B站用户动态列表
|
|
26896
26943
|
*/
|
|
26897
26944
|
fetchUserDynamicList: MethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userDynamicList']>;
|
|
26945
|
+
/**
|
|
26946
|
+
* 按用户 UID 获取B站直播状态
|
|
26947
|
+
*/
|
|
26948
|
+
fetchUserLiveStatus: MethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userLiveStatus']>;
|
|
26898
26949
|
/**
|
|
26899
26950
|
* 获取B站用户空间详细信息
|
|
26900
26951
|
*/
|
|
@@ -27349,22 +27400,70 @@ interface FetcherConfig {
|
|
|
27349
27400
|
requestConfig?: RequestConfig;
|
|
27350
27401
|
}
|
|
27351
27402
|
//#endregion
|
|
27403
|
+
//#region src/model/fetchers/shared/request-types.d.ts
|
|
27404
|
+
type RequestHeaders = NonNullable<RequestConfig['headers']>;
|
|
27405
|
+
/**
|
|
27406
|
+
* 未显式覆盖 Cookie 的单次请求配置。
|
|
27407
|
+
*
|
|
27408
|
+
* Cookie 请求头必须使用大写 `Cookie`。小写 `cookie` 会被类型系统拒绝,
|
|
27409
|
+
* 避免 Axios 请求头与平台签名逻辑读取到不同字段。
|
|
27410
|
+
*/
|
|
27411
|
+
type FetcherRequestConfigWithoutCookie = Omit<RequestConfig, 'headers'> & {
|
|
27412
|
+
headers?: RequestHeaders & {
|
|
27413
|
+
Cookie?: never;
|
|
27414
|
+
cookie?: never;
|
|
27415
|
+
};
|
|
27416
|
+
};
|
|
27417
|
+
/**
|
|
27418
|
+
* 显式覆盖 Cookie 的单次请求配置。
|
|
27419
|
+
*
|
|
27420
|
+
* 裸 Fetcher 会把 `Cookie` 的字符串字面量与 cookie 参数关联起来:
|
|
27421
|
+
* 两处必须传入相同的值。
|
|
27422
|
+
*/
|
|
27423
|
+
type FetcherRequestConfigWithCookie<TCookie extends string> = Omit<RequestConfig, 'headers'> & {
|
|
27424
|
+
headers: RequestHeaders & {
|
|
27425
|
+
Cookie: TCookie;
|
|
27426
|
+
cookie?: never;
|
|
27427
|
+
};
|
|
27428
|
+
};
|
|
27429
|
+
/** 裸 Fetcher 匿名请求使用的严格配置。 */
|
|
27430
|
+
type AnonymousFetcherRequestConfig = FetcherRequestConfigWithCookie<''>;
|
|
27431
|
+
/**
|
|
27432
|
+
* 根据裸 Fetcher 的单次请求配置推导 cookie 参数类型。
|
|
27433
|
+
*
|
|
27434
|
+
* - 大写 `Cookie`:cookie 参数必须与请求头字符串字面量一致。
|
|
27435
|
+
* - 小写 `cookie`:返回 `never`,拒绝大小写错误。
|
|
27436
|
+
* - 未显式声明 Cookie:保持原有的可选字符串参数。
|
|
27437
|
+
*/
|
|
27438
|
+
type FetcherCookieForRequestConfig<TRequestConfig extends RequestConfig> = TRequestConfig extends {
|
|
27439
|
+
headers: infer THeaders;
|
|
27440
|
+
} ? THeaders extends {
|
|
27441
|
+
cookie: unknown;
|
|
27442
|
+
} ? never : THeaders extends {
|
|
27443
|
+
Cookie: infer TCookie;
|
|
27444
|
+
} ? TCookie extends string ? TCookie : never : string | undefined : string | undefined;
|
|
27445
|
+
//#endregion
|
|
27352
27446
|
//#region src/model/fetchers/shared/overload-types.d.ts
|
|
27353
27447
|
/**
|
|
27354
27448
|
* 为单个方法生成函数重载类型
|
|
27355
27449
|
* @template TOptions - 方法的选项参数类型
|
|
27356
27450
|
* @template TStrictReturn - typeMode='strict' 时的返回类型
|
|
27357
|
-
* @template TCookie - Cookie 参数类型(可选)
|
|
27358
|
-
* @template TRequestConfig - 请求配置参数类型(可选)
|
|
27359
27451
|
*/
|
|
27360
|
-
type MethodOverload<TOptions, TStrictReturn
|
|
27452
|
+
type MethodOverload<TOptions, TStrictReturn> = {
|
|
27361
27453
|
(options: TOptions & {
|
|
27362
27454
|
typeMode: 'strict';
|
|
27363
|
-
},
|
|
27364
|
-
|
|
27455
|
+
}, cookie?: string): Promise<Result<TStrictReturn>>;
|
|
27456
|
+
<const TRequestConfig extends RequestConfig>(options: TOptions & {
|
|
27457
|
+
typeMode: 'strict';
|
|
27458
|
+
}, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<TStrictReturn>>;
|
|
27459
|
+
(options: TOptions, cookie?: string): Promise<Result<any>>;
|
|
27460
|
+
<const TRequestConfig extends RequestConfig>(options: TOptions, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<any>>;
|
|
27365
27461
|
};
|
|
27366
27462
|
/**
|
|
27367
27463
|
* 为绑定 Cookie 的方法生成函数重载类型(少了 cookie 参数)
|
|
27464
|
+
*
|
|
27465
|
+
* 第二个参数用于覆盖当前调用的请求配置。绑定 Fetcher 的实现会将它与
|
|
27466
|
+
* 实例级配置合并,不会修改实例本身。
|
|
27368
27467
|
*/
|
|
27369
27468
|
type BoundMethodOverload<TOptions, TStrictReturn, TRequestConfig extends RequestConfig | undefined = RequestConfig | undefined> = {
|
|
27370
27469
|
(options: TOptions & {
|
|
@@ -27375,16 +27474,24 @@ type BoundMethodOverload<TOptions, TStrictReturn, TRequestConfig extends Request
|
|
|
27375
27474
|
/**
|
|
27376
27475
|
* 为无参数方法生成函数重载类型
|
|
27377
27476
|
*/
|
|
27378
|
-
type NoParamMethodOverload<TStrictReturn
|
|
27477
|
+
type NoParamMethodOverload<TStrictReturn> = {
|
|
27379
27478
|
(options: {
|
|
27380
27479
|
typeMode: 'strict';
|
|
27381
|
-
},
|
|
27480
|
+
}, cookie?: string): Promise<Result<TStrictReturn>>;
|
|
27481
|
+
<const TRequestConfig extends RequestConfig>(options: {
|
|
27482
|
+
typeMode: 'strict';
|
|
27483
|
+
}, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<TStrictReturn>>;
|
|
27382
27484
|
(options?: {
|
|
27383
27485
|
typeMode?: TypeMode;
|
|
27384
|
-
},
|
|
27486
|
+
}, cookie?: string): Promise<Result<any>>;
|
|
27487
|
+
<const TRequestConfig extends RequestConfig>(options: {
|
|
27488
|
+
typeMode?: TypeMode;
|
|
27489
|
+
} | undefined, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<any>>;
|
|
27385
27490
|
};
|
|
27386
27491
|
/**
|
|
27387
27492
|
* 为绑定 Cookie 的无参数方法生成函数重载类型
|
|
27493
|
+
*
|
|
27494
|
+
* `requestConfig` 只影响当前调用,并由绑定 Fetcher 与实例级配置合并。
|
|
27388
27495
|
*/
|
|
27389
27496
|
type BoundNoParamMethodOverload<TStrictReturn, TRequestConfig extends RequestConfig | undefined = RequestConfig | undefined> = {
|
|
27390
27497
|
(options: {
|
|
@@ -27397,14 +27504,20 @@ type BoundNoParamMethodOverload<TStrictReturn, TRequestConfig extends RequestCon
|
|
|
27397
27504
|
/**
|
|
27398
27505
|
* 为带可选参数的方法生成函数重载类型(参数可选但可能包含额外字段)
|
|
27399
27506
|
*/
|
|
27400
|
-
type OptionalParamMethodOverload<TOptions, TStrictReturn
|
|
27507
|
+
type OptionalParamMethodOverload<TOptions, TStrictReturn> = {
|
|
27401
27508
|
(options: TOptions & {
|
|
27402
27509
|
typeMode: 'strict';
|
|
27403
|
-
},
|
|
27404
|
-
|
|
27510
|
+
}, cookie?: string): Promise<Result<TStrictReturn>>;
|
|
27511
|
+
<const TRequestConfig extends RequestConfig>(options: TOptions & {
|
|
27512
|
+
typeMode: 'strict';
|
|
27513
|
+
}, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<TStrictReturn>>;
|
|
27514
|
+
(options?: TOptions, cookie?: string): Promise<Result<any>>;
|
|
27515
|
+
<const TRequestConfig extends RequestConfig>(options: TOptions | undefined, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<any>>;
|
|
27405
27516
|
};
|
|
27406
27517
|
/**
|
|
27407
27518
|
* 为绑定 Cookie 的带可选参数方法生成函数重载类型
|
|
27519
|
+
*
|
|
27520
|
+
* `requestConfig` 只影响当前调用,并由绑定 Fetcher 与实例级配置合并。
|
|
27408
27521
|
*/
|
|
27409
27522
|
type BoundOptionalParamMethodOverload<TOptions, TStrictReturn, TRequestConfig extends RequestConfig | undefined = RequestConfig | undefined> = {
|
|
27410
27523
|
(options: TOptions & {
|
|
@@ -27433,6 +27546,8 @@ interface IBoundBilibiliFetcher {
|
|
|
27433
27546
|
fetchUserCard: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userCard']>;
|
|
27434
27547
|
/** 获取B站用户动态列表 */
|
|
27435
27548
|
fetchUserDynamicList: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userDynamicList']>;
|
|
27549
|
+
/** 按用户 UID 获取B站直播状态 */
|
|
27550
|
+
fetchUserLiveStatus: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userLiveStatus']>;
|
|
27436
27551
|
/** 获取B站用户空间详细信息 */
|
|
27437
27552
|
fetchUserSpaceInfo: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userSpaceInfo']>;
|
|
27438
27553
|
/** 获取B站 UP 主总播放量 */
|
|
@@ -29339,6 +29454,7 @@ declare const BilibiliMethodMapping: {
|
|
|
29339
29454
|
readonly 指定评论的回复: "fetchCommentReplies";
|
|
29340
29455
|
readonly 用户主页数据: "fetchUserCard";
|
|
29341
29456
|
readonly 用户主页动态列表数据: "fetchUserDynamicList";
|
|
29457
|
+
readonly 用户直播状态: "fetchUserLiveStatus";
|
|
29342
29458
|
readonly 用户空间详细信息: "fetchUserSpaceInfo";
|
|
29343
29459
|
readonly 获取UP主总播放量: "fetchUploaderTotalViews";
|
|
29344
29460
|
readonly 动态详情数据: "fetchDynamicDetail";
|
|
@@ -29424,6 +29540,7 @@ declare const BilibiliApiRoutes: {
|
|
|
29424
29540
|
readonly commentReplies: "/comment-replies";
|
|
29425
29541
|
readonly userCard: "/user";
|
|
29426
29542
|
readonly userDynamicList: "/user/dynamics";
|
|
29543
|
+
readonly userLiveStatus: "/user/live-status";
|
|
29427
29544
|
readonly userSpaceInfo: "/user/space";
|
|
29428
29545
|
readonly uploaderTotalViews: "/user/total-views";
|
|
29429
29546
|
readonly dynamicDetail: "/dynamic";
|
|
@@ -29553,4 +29670,4 @@ declare const CreateApp: AmagiConstructor;
|
|
|
29553
29670
|
declare const Client: typeof CreateApp;
|
|
29554
29671
|
declare const amagi: typeof Client;
|
|
29555
29672
|
//#endregion
|
|
29556
|
-
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, 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 };
|
|
29673
|
+
export { APIErrorType, AdditionalType, AmagiEventMap, AmagiEventType, type AnonymousFetcherRequestConfig, 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, type FetcherCookieForRequestConfig, type FetcherRequestConfigWithCookie, type FetcherRequestConfigWithoutCookie, 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, 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 };
|