karin-plugin-kkk 2.42.0 → 2.42.2
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 +52 -25
- package/config/default_config/config.json +5 -0
- package/lib/apps/__ready.js +1 -0
- package/lib/apps/admin.js +1 -0
- package/lib/apps/help.js +1 -0
- package/lib/apps/push.js +1 -0
- package/lib/apps/qrlogin.js +1 -0
- package/lib/apps/statistics.js +1 -0
- package/lib/apps/testPush.js +1 -0
- package/lib/apps/tools.js +1 -0
- package/lib/apps/update.js +1 -0
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/amagi.d.mts +242 -1249
- package/lib/core_chunk/amagi.js +3 -2
- package/lib/core_chunk/amagiClient.js +2 -1
- package/lib/core_chunk/api.js +3 -0
- package/lib/core_chunk/db.js +2 -1
- package/lib/core_chunk/lexer-DQCqS3nf.js +3 -0
- package/lib/core_chunk/main.js +19114 -21177
- package/lib/core_chunk/richtext.d.mts +267 -1
- package/lib/core_chunk/richtext.js +2 -1
- package/lib/core_chunk/rolldown-runtime.js +1 -0
- package/lib/core_chunk/setup.js +1 -0
- package/lib/core_chunk/template.d.mts +6 -2440
- package/lib/core_chunk/template.js +3 -2
- package/lib/core_chunk/vendor.js +46208 -31160
- package/lib/index.js +1 -0
- package/lib/ktr-assets.json +1 -0
- package/lib/root.js +2 -1
- package/lib/{karin-plugin-kkk.css → style.css} +332 -1127
- package/lib/template-registry.js +3 -0
- package/lib/web/assets/CronEditor-OPCDvfgS.js +1 -0
- package/lib/web/assets/{DesktopLayout-D87sxpYp.js → DesktopLayout-BoYn3eKY.js} +1 -1
- package/lib/web/assets/MobileLayout-U_BkCpN-.js +1 -0
- package/lib/web/assets/ThemeSwitch-BMYnI5zS.js +1 -0
- package/lib/web/assets/index-Dj-StEiS.css +2 -0
- package/lib/web/assets/index-DlKtDaUN.js +47 -0
- package/lib/web/assets/{separator-B4jt1kVO.js → separator-ugQv-WRE.js} +1 -1
- package/lib/web/index.html +2 -2
- package/lib/web.config.js +2 -1
- package/package.json +4 -8
- package/lib/core_chunk/index-CZWy-8Jl.d.mts +0 -268
- package/lib/web/assets/CronEditor-xoZMMEWs.js +0 -1
- package/lib/web/assets/MobileLayout-HwaDlCUG.js +0 -1
- package/lib/web/assets/ThemeSwitch-CJXARLzz.js +0 -1
- package/lib/web/assets/index-84SfgXJi.js +0 -47
- package/lib/web/assets/index-BjheeBw6.css +0 -2
- package/resources/font/bilifont/bilifont.1.woff2 +0 -0
- package/resources/font/bilifont/bilifont.2.woff2 +0 -0
- package/resources/font/bilifont/font.css +0 -17
- package/resources/font/fansmedal-num/fansmedal-num.1.woff2 +0 -0
- package/resources/font/fansmedal-num/font.css +0 -9
- package/resources/font/mono/JetBrainsMono-Bold.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-BoldItalic.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-ExtraBold.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-ExtraBoldItalic.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-ExtraLight.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-ExtraLightItalic.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-Italic.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-Light.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-LightItalic.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-Medium.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-MediumItalic.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-Regular.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-SemiBold.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-SemiBoldItalic.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-Thin.woff2 +0 -0
- package/resources/font/mono/JetBrainsMono-ThinItalic.woff2 +0 -0
- package/resources/font/mono/font.css +0 -137
|
@@ -2,282 +2,6 @@ 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 express from "express";
|
|
5
|
-
//#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/vendor/supports-color/index.d.ts
|
|
6
|
-
/**
|
|
7
|
-
Levels:
|
|
8
|
-
- `0` - All colors disabled.
|
|
9
|
-
- `1` - Basic 16 colors support.
|
|
10
|
-
- `2` - ANSI 256 colors support.
|
|
11
|
-
- `3` - Truecolor 16 million colors support.
|
|
12
|
-
*/
|
|
13
|
-
type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/index.d.ts
|
|
16
|
-
interface ChalkInstance {
|
|
17
|
-
(...text: unknown[]): string;
|
|
18
|
-
/**
|
|
19
|
-
The color support for Chalk.
|
|
20
|
-
|
|
21
|
-
By default, color support is automatically detected based on the environment.
|
|
22
|
-
|
|
23
|
-
Levels:
|
|
24
|
-
- `0` - All colors disabled.
|
|
25
|
-
- `1` - Basic 16 colors support.
|
|
26
|
-
- `2` - ANSI 256 colors support.
|
|
27
|
-
- `3` - Truecolor 16 million colors support.
|
|
28
|
-
|
|
29
|
-
@throws If the assigned value is not an integer from 0 to 3.
|
|
30
|
-
*/
|
|
31
|
-
level: ColorSupportLevel;
|
|
32
|
-
/**
|
|
33
|
-
Use RGB values to set text color.
|
|
34
|
-
|
|
35
|
-
@example
|
|
36
|
-
```
|
|
37
|
-
import chalk from 'chalk';
|
|
38
|
-
|
|
39
|
-
chalk.rgb(222, 173, 237);
|
|
40
|
-
```
|
|
41
|
-
*/
|
|
42
|
-
rgb: (red: number, green: number, blue: number) => this;
|
|
43
|
-
/**
|
|
44
|
-
Use HEX value to set text color.
|
|
45
|
-
|
|
46
|
-
@param color - Hexadecimal value representing the desired color.
|
|
47
|
-
|
|
48
|
-
@example
|
|
49
|
-
```
|
|
50
|
-
import chalk from 'chalk';
|
|
51
|
-
|
|
52
|
-
chalk.hex('#DEADED');
|
|
53
|
-
```
|
|
54
|
-
*/
|
|
55
|
-
hex: (color: string) => this;
|
|
56
|
-
/**
|
|
57
|
-
Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color.
|
|
58
|
-
|
|
59
|
-
The value is downsampled to the 16-color palette on terminals that only support basic colors (level 1), so `chalk.ansi256(196)` becomes 91 (ANSI escape for bright red).
|
|
60
|
-
|
|
61
|
-
@example
|
|
62
|
-
```
|
|
63
|
-
import chalk from 'chalk';
|
|
64
|
-
|
|
65
|
-
chalk.ansi256(201);
|
|
66
|
-
```
|
|
67
|
-
*/
|
|
68
|
-
ansi256: (index: number) => this;
|
|
69
|
-
/**
|
|
70
|
-
Use RGB values to set background color.
|
|
71
|
-
|
|
72
|
-
@example
|
|
73
|
-
```
|
|
74
|
-
import chalk from 'chalk';
|
|
75
|
-
|
|
76
|
-
chalk.bgRgb(222, 173, 237);
|
|
77
|
-
```
|
|
78
|
-
*/
|
|
79
|
-
bgRgb: (red: number, green: number, blue: number) => this;
|
|
80
|
-
/**
|
|
81
|
-
Use HEX value to set background color.
|
|
82
|
-
|
|
83
|
-
@param color - Hexadecimal value representing the desired color.
|
|
84
|
-
|
|
85
|
-
@example
|
|
86
|
-
```
|
|
87
|
-
import chalk from 'chalk';
|
|
88
|
-
|
|
89
|
-
chalk.bgHex('#DEADED');
|
|
90
|
-
```
|
|
91
|
-
*/
|
|
92
|
-
bgHex: (color: string) => this;
|
|
93
|
-
/**
|
|
94
|
-
Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color.
|
|
95
|
-
|
|
96
|
-
The value is downsampled to the 16-color palette on terminals that only support basic colors (level 1), so `chalk.bgAnsi256(196)` becomes 101 (ANSI escape for bright red background).
|
|
97
|
-
|
|
98
|
-
@example
|
|
99
|
-
```
|
|
100
|
-
import chalk from 'chalk';
|
|
101
|
-
|
|
102
|
-
chalk.bgAnsi256(201);
|
|
103
|
-
```
|
|
104
|
-
*/
|
|
105
|
-
bgAnsi256: (index: number) => this;
|
|
106
|
-
/**
|
|
107
|
-
Use RGB values to set underline color.
|
|
108
|
-
|
|
109
|
-
The underline color is only visible when an underline style is also applied.
|
|
110
|
-
|
|
111
|
-
@example
|
|
112
|
-
```
|
|
113
|
-
import chalk from 'chalk';
|
|
114
|
-
|
|
115
|
-
chalk.underlineRgb(222, 173, 237).underlineCurly('Hello, world!');
|
|
116
|
-
```
|
|
117
|
-
*/
|
|
118
|
-
underlineRgb: (red: number, green: number, blue: number) => this;
|
|
119
|
-
/**
|
|
120
|
-
Use HEX value to set underline color.
|
|
121
|
-
|
|
122
|
-
The underline color is only visible when an underline style is also applied.
|
|
123
|
-
|
|
124
|
-
@param color - Hexadecimal value representing the desired color.
|
|
125
|
-
|
|
126
|
-
@example
|
|
127
|
-
```
|
|
128
|
-
import chalk from 'chalk';
|
|
129
|
-
|
|
130
|
-
chalk.underlineHex('#DEADED').underlineCurly('Hello, world!');
|
|
131
|
-
```
|
|
132
|
-
*/
|
|
133
|
-
underlineHex: (color: string) => this;
|
|
134
|
-
/**
|
|
135
|
-
Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set underline color.
|
|
136
|
-
|
|
137
|
-
The underline color is only visible when an underline style is also applied.
|
|
138
|
-
|
|
139
|
-
The value is downsampled to the first 16 palette entries on terminals that only support basic colors (level 1), so `chalk.underlineAnsi256(196)` becomes 9 (the palette index for bright red).
|
|
140
|
-
|
|
141
|
-
@example
|
|
142
|
-
```
|
|
143
|
-
import chalk from 'chalk';
|
|
144
|
-
|
|
145
|
-
chalk.underlineAnsi256(201).underlineCurly('Hello, world!');
|
|
146
|
-
```
|
|
147
|
-
*/
|
|
148
|
-
underlineAnsi256: (index: number) => this;
|
|
149
|
-
/**
|
|
150
|
-
Modifier: Reset the current style.
|
|
151
|
-
*/
|
|
152
|
-
readonly reset: this;
|
|
153
|
-
/**
|
|
154
|
-
Modifier: Make the text bold.
|
|
155
|
-
*/
|
|
156
|
-
readonly bold: this;
|
|
157
|
-
/**
|
|
158
|
-
Modifier: Make the text have lower opacity.
|
|
159
|
-
*/
|
|
160
|
-
readonly dim: this;
|
|
161
|
-
/**
|
|
162
|
-
Modifier: Make the text italic. *(Not widely supported)*
|
|
163
|
-
*/
|
|
164
|
-
readonly italic: this;
|
|
165
|
-
/**
|
|
166
|
-
Modifier: Put a horizontal line below the text. *(Not widely supported)*
|
|
167
|
-
*/
|
|
168
|
-
readonly underline: this;
|
|
169
|
-
/**
|
|
170
|
-
Modifier: Put a double horizontal line below the text. *(Not widely supported)*
|
|
171
|
-
*/
|
|
172
|
-
readonly underlineDouble: this;
|
|
173
|
-
/**
|
|
174
|
-
Modifier: Put a curly horizontal line below the text. *(Not widely supported)*
|
|
175
|
-
*/
|
|
176
|
-
readonly underlineCurly: this;
|
|
177
|
-
/**
|
|
178
|
-
Modifier: Put a dotted horizontal line below the text. *(Not widely supported)*
|
|
179
|
-
*/
|
|
180
|
-
readonly underlineDotted: this;
|
|
181
|
-
/**
|
|
182
|
-
Modifier: Put a dashed horizontal line below the text. *(Not widely supported)*
|
|
183
|
-
*/
|
|
184
|
-
readonly underlineDashed: this;
|
|
185
|
-
/**
|
|
186
|
-
Modifier: Put a horizontal line above the text. *(Not widely supported)*
|
|
187
|
-
*/
|
|
188
|
-
readonly overline: this;
|
|
189
|
-
/**
|
|
190
|
-
Modifier: Invert background and foreground colors.
|
|
191
|
-
*/
|
|
192
|
-
readonly inverse: this;
|
|
193
|
-
/**
|
|
194
|
-
Modifier: Print the text but make it invisible.
|
|
195
|
-
*/
|
|
196
|
-
readonly hidden: this;
|
|
197
|
-
/**
|
|
198
|
-
Modifier: Puts a horizontal line through the center of the text. *(Not widely supported)*
|
|
199
|
-
*/
|
|
200
|
-
readonly strikethrough: this;
|
|
201
|
-
/**
|
|
202
|
-
Modifier: Print the text only when Chalk has a color level above zero.
|
|
203
|
-
|
|
204
|
-
Can be useful for things that are purely cosmetic.
|
|
205
|
-
*/
|
|
206
|
-
readonly visible: this;
|
|
207
|
-
readonly black: this;
|
|
208
|
-
readonly red: this;
|
|
209
|
-
readonly green: this;
|
|
210
|
-
readonly yellow: this;
|
|
211
|
-
readonly blue: this;
|
|
212
|
-
readonly magenta: this;
|
|
213
|
-
readonly cyan: this;
|
|
214
|
-
readonly white: this;
|
|
215
|
-
/**
|
|
216
|
-
Alias for `blackBright`.
|
|
217
|
-
*/
|
|
218
|
-
readonly gray: this;
|
|
219
|
-
/**
|
|
220
|
-
Alias for `blackBright`.
|
|
221
|
-
*/
|
|
222
|
-
readonly grey: this;
|
|
223
|
-
readonly blackBright: this;
|
|
224
|
-
readonly redBright: this;
|
|
225
|
-
readonly greenBright: this;
|
|
226
|
-
readonly yellowBright: this;
|
|
227
|
-
readonly blueBright: this;
|
|
228
|
-
readonly magentaBright: this;
|
|
229
|
-
readonly cyanBright: this;
|
|
230
|
-
readonly whiteBright: this;
|
|
231
|
-
readonly bgBlack: this;
|
|
232
|
-
readonly bgRed: this;
|
|
233
|
-
readonly bgGreen: this;
|
|
234
|
-
readonly bgYellow: this;
|
|
235
|
-
readonly bgBlue: this;
|
|
236
|
-
readonly bgMagenta: this;
|
|
237
|
-
readonly bgCyan: this;
|
|
238
|
-
readonly bgWhite: this;
|
|
239
|
-
/**
|
|
240
|
-
Alias for `bgBlackBright`.
|
|
241
|
-
*/
|
|
242
|
-
readonly bgGray: this;
|
|
243
|
-
/**
|
|
244
|
-
Alias for `bgBlackBright`.
|
|
245
|
-
*/
|
|
246
|
-
readonly bgGrey: this;
|
|
247
|
-
readonly bgBlackBright: this;
|
|
248
|
-
readonly bgRedBright: this;
|
|
249
|
-
readonly bgGreenBright: this;
|
|
250
|
-
readonly bgYellowBright: this;
|
|
251
|
-
readonly bgBlueBright: this;
|
|
252
|
-
readonly bgMagentaBright: this;
|
|
253
|
-
readonly bgCyanBright: this;
|
|
254
|
-
readonly bgWhiteBright: this;
|
|
255
|
-
readonly underlineBlack: this;
|
|
256
|
-
readonly underlineRed: this;
|
|
257
|
-
readonly underlineGreen: this;
|
|
258
|
-
readonly underlineYellow: this;
|
|
259
|
-
readonly underlineBlue: this;
|
|
260
|
-
readonly underlineMagenta: this;
|
|
261
|
-
readonly underlineCyan: this;
|
|
262
|
-
readonly underlineWhite: this;
|
|
263
|
-
/**
|
|
264
|
-
Alias for `underlineBlackBright`.
|
|
265
|
-
*/
|
|
266
|
-
readonly underlineGray: this;
|
|
267
|
-
/**
|
|
268
|
-
Alias for `underlineBlackBright`.
|
|
269
|
-
*/
|
|
270
|
-
readonly underlineGrey: this;
|
|
271
|
-
readonly underlineBlackBright: this;
|
|
272
|
-
readonly underlineRedBright: this;
|
|
273
|
-
readonly underlineGreenBright: this;
|
|
274
|
-
readonly underlineYellowBright: this;
|
|
275
|
-
readonly underlineBlueBright: this;
|
|
276
|
-
readonly underlineMagentaBright: this;
|
|
277
|
-
readonly underlineCyanBright: this;
|
|
278
|
-
readonly underlineWhiteBright: this;
|
|
279
|
-
}
|
|
280
|
-
//#endregion
|
|
281
5
|
//#region ../amagi/packages/core/dist/default/index.d.ts
|
|
282
6
|
//#region src/platform/bilibili/sign/wbi.d.ts
|
|
283
7
|
/**
|
|
@@ -433,7 +157,7 @@ interface BilibiliMethodOptionsMap {
|
|
|
433
157
|
};
|
|
434
158
|
/** 获取动态数据 */
|
|
435
159
|
DynamicParams: {
|
|
436
|
-
methodType: 'dynamicDetail'
|
|
160
|
+
methodType: 'dynamicDetail';
|
|
437
161
|
/** 动态ID */
|
|
438
162
|
dynamic_id: string;
|
|
439
163
|
};
|
|
@@ -640,7 +364,6 @@ type BilibiliMethodOptMap = {
|
|
|
640
364
|
bangumiInfo: BilibiliMethodOptionsMap['BangumiInfoParams'];
|
|
641
365
|
bangumiStream: BilibiliMethodOptionsMap['BangumiStreamParams'];
|
|
642
366
|
dynamicDetail: BilibiliMethodOptionsMap['DynamicParams'];
|
|
643
|
-
dynamicCard: BilibiliMethodOptionsMap['DynamicParams'];
|
|
644
367
|
liveRoomInfo: BilibiliMethodOptionsMap['LiveRoomParams'];
|
|
645
368
|
liveRoomInit: BilibiliMethodOptionsMap['LiveRoomParams'];
|
|
646
369
|
loginStatus: BilibiliMethodOptionsMap['LoginBaseInfoParams'];
|
|
@@ -806,17 +529,10 @@ declare const BilibiliValidationSchemas: {
|
|
|
806
529
|
ep_id: string;
|
|
807
530
|
}, unknown>>;
|
|
808
531
|
readonly dynamicDetail: zod.ZodType<{
|
|
809
|
-
methodType: "dynamicDetail"
|
|
810
|
-
dynamic_id: string;
|
|
811
|
-
}, unknown, zod.core.$ZodTypeInternals<{
|
|
812
|
-
methodType: "dynamicDetail" | "dynamicCard";
|
|
813
|
-
dynamic_id: string;
|
|
814
|
-
}, unknown>>;
|
|
815
|
-
readonly dynamicCard: zod.ZodType<{
|
|
816
|
-
methodType: "dynamicDetail" | "dynamicCard";
|
|
532
|
+
methodType: "dynamicDetail";
|
|
817
533
|
dynamic_id: string;
|
|
818
534
|
}, unknown, zod.core.$ZodTypeInternals<{
|
|
819
|
-
methodType: "dynamicDetail"
|
|
535
|
+
methodType: "dynamicDetail";
|
|
820
536
|
dynamic_id: string;
|
|
821
537
|
}, unknown>>;
|
|
822
538
|
readonly liveRoomInfo: zod.ZodType<{
|
|
@@ -947,7 +663,6 @@ declare const BilibiliMethodRoutes: {
|
|
|
947
663
|
readonly bangumiInfo: "/fetch_bangumi_video_info";
|
|
948
664
|
readonly bangumiStream: "/fetch_bangumi_video_playurl";
|
|
949
665
|
readonly dynamicDetail: "/fetch_dynamic_info";
|
|
950
|
-
readonly dynamicCard: "/fetch_dynamic_card";
|
|
951
666
|
readonly liveRoomInfo: "/fetch_live_room_detail";
|
|
952
667
|
readonly liveRoomInit: "/fetch_liveroom_def";
|
|
953
668
|
readonly loginStatus: "/login_basic_info";
|
|
@@ -2030,95 +1745,6 @@ declare enum xiaohongshuAPIErrorCode {
|
|
|
2030
1745
|
BROWSER_ERROR = 300015
|
|
2031
1746
|
}
|
|
2032
1747
|
//#endregion
|
|
2033
|
-
//#region src/validation/index.d.ts
|
|
2034
|
-
/**
|
|
2035
|
-
* 基础响应类型
|
|
2036
|
-
*/
|
|
2037
|
-
type BaseResponse = {
|
|
2038
|
-
/** 响应消息 */
|
|
2039
|
-
message: string;
|
|
2040
|
-
/** 响应状态码 */
|
|
2041
|
-
code: number;
|
|
2042
|
-
};
|
|
2043
|
-
/**
|
|
2044
|
-
* 成功响应类型
|
|
2045
|
-
* @template T - 响应数据的类型,默认为any
|
|
2046
|
-
*/
|
|
2047
|
-
type SuccessResult<T = any> = BaseResponse & {
|
|
2048
|
-
/** 响应状态 */
|
|
2049
|
-
success: true;
|
|
2050
|
-
/** 响应数据,类型由泛型 T 决定 */
|
|
2051
|
-
data: T;
|
|
2052
|
-
/** 成功响应时错误信息为空 */
|
|
2053
|
-
error: never;
|
|
2054
|
-
};
|
|
2055
|
-
/**
|
|
2056
|
-
* 错误响应类型
|
|
2057
|
-
*/
|
|
2058
|
-
type ErrorResult = BaseResponse & {
|
|
2059
|
-
/** 响应状态 */
|
|
2060
|
-
success: false;
|
|
2061
|
-
/** API 错误类型 */
|
|
2062
|
-
error: APIErrorType;
|
|
2063
|
-
/** 错误响应时数据为空 */
|
|
2064
|
-
data: never;
|
|
2065
|
-
};
|
|
2066
|
-
/**
|
|
2067
|
-
* 通用API响应类型
|
|
2068
|
-
* @template T - 成功响应数据的类型,默认为any
|
|
2069
|
-
*/
|
|
2070
|
-
type Result<T> = SuccessResult<T> | ErrorResult;
|
|
2071
|
-
/**
|
|
2072
|
-
* 通用API响应类型
|
|
2073
|
-
* @template T - 成功响应数据的类型,默认为any
|
|
2074
|
-
* @deprecated 请使用 Result<T> 替代
|
|
2075
|
-
*/
|
|
2076
|
-
type ApiResponse<T> = Result<T>;
|
|
2077
|
-
/**
|
|
2078
|
-
* 验证抖音参数
|
|
2079
|
-
* @param methodType - 抖音方法类型
|
|
2080
|
-
* @param params - 待验证的参数
|
|
2081
|
-
* @returns 验证后的参数,符合原始API期望的类型
|
|
2082
|
-
*/
|
|
2083
|
-
declare const validateDouyinParams: <T extends DouyinMethodType>(methodType: T, params: unknown) => zod.infer<(typeof DouyinValidationSchemas)[T]>;
|
|
2084
|
-
/**
|
|
2085
|
-
* 验证哔哩哔哩参数
|
|
2086
|
-
* @param methodType - 哔哩哔哩方法类型
|
|
2087
|
-
* @param params - 待验证的参数
|
|
2088
|
-
* @returns 验证后的参数,符合原始API期望的类型
|
|
2089
|
-
*/
|
|
2090
|
-
declare const validateBilibiliParams: <T extends BilibiliMethodType>(methodType: T, params: unknown) => zod.infer<(typeof BilibiliValidationSchemas)[T]>;
|
|
2091
|
-
/**
|
|
2092
|
-
* 验证快手参数
|
|
2093
|
-
* @param methodType - 快手方法类型
|
|
2094
|
-
* @param params - 待验证的参数
|
|
2095
|
-
* @returns 验证后的参数,符合原始API期望的类型
|
|
2096
|
-
*/
|
|
2097
|
-
declare const validateKuaishouParams: <T extends KuaishouMethodType>(methodType: T, params: unknown) => zod.infer<(typeof KuaishouValidationSchemas)[T]>;
|
|
2098
|
-
/**
|
|
2099
|
-
* 验证小红书参数
|
|
2100
|
-
* @param methodType - 小红书方法类型
|
|
2101
|
-
* @param params - 待验证的参数
|
|
2102
|
-
* @returns 验证后的参数
|
|
2103
|
-
*/
|
|
2104
|
-
declare const validateXiaohongshuParams: <T extends XiaohongshuMethodType>(methodType: T, params: unknown) => zod.infer<(typeof XiaohongshuValidationSchemas)[T]>;
|
|
2105
|
-
/**
|
|
2106
|
-
* 创建成功响应格式
|
|
2107
|
-
* @param data - 响应数据
|
|
2108
|
-
* @param message - 响应消息(可选)
|
|
2109
|
-
* @param code - 响应状态码(可选,默认200)
|
|
2110
|
-
* @returns 格式化的成功API响应对象
|
|
2111
|
-
*/
|
|
2112
|
-
declare const createSuccessResponse: <T>(data: T, message: string, code?: number) => SuccessResult<T>;
|
|
2113
|
-
/**
|
|
2114
|
-
* 创建失败响应格式
|
|
2115
|
-
* @param error - 错误信息
|
|
2116
|
-
* @param message - 详细错误消息(可选)
|
|
2117
|
-
* @param code - 错误状态码(可选,默认500)
|
|
2118
|
-
* @returns 格式化的错误响应对象
|
|
2119
|
-
*/
|
|
2120
|
-
declare const createErrorResponse: (error: APIErrorType, message: string, code?: number, data?: unknown) => ErrorResult;
|
|
2121
|
-
//#endregion
|
|
2122
1748
|
//#region src/types/ReturnDataType/Bilibili/ArticleCard/ArticleCard_V0.d.ts
|
|
2123
1749
|
type ArticleCard_V0 = {
|
|
2124
1750
|
code: number;
|
|
@@ -2543,9 +2169,9 @@ type Author$10 = {
|
|
|
2543
2169
|
mid: number;
|
|
2544
2170
|
name: string;
|
|
2545
2171
|
nameplate: Nameplate$4;
|
|
2546
|
-
official_verify: OfficialVerify$
|
|
2547
|
-
pendant: Pendant$
|
|
2548
|
-
vip: Vip$
|
|
2172
|
+
official_verify: OfficialVerify$8;
|
|
2173
|
+
pendant: Pendant$9;
|
|
2174
|
+
vip: Vip$9;
|
|
2549
2175
|
[property: string]: any;
|
|
2550
2176
|
};
|
|
2551
2177
|
type Nameplate$4 = {
|
|
@@ -2557,22 +2183,22 @@ type Nameplate$4 = {
|
|
|
2557
2183
|
nid: number;
|
|
2558
2184
|
[property: string]: any;
|
|
2559
2185
|
};
|
|
2560
|
-
type OfficialVerify$
|
|
2186
|
+
type OfficialVerify$8 = {
|
|
2561
2187
|
desc: string;
|
|
2562
2188
|
type: number;
|
|
2563
2189
|
[property: string]: any;
|
|
2564
2190
|
};
|
|
2565
|
-
type Pendant$
|
|
2191
|
+
type Pendant$9 = {
|
|
2566
2192
|
expire: number;
|
|
2567
2193
|
image: string;
|
|
2568
2194
|
name: string;
|
|
2569
2195
|
pid: number;
|
|
2570
2196
|
[property: string]: any;
|
|
2571
2197
|
};
|
|
2572
|
-
type Vip$
|
|
2198
|
+
type Vip$9 = {
|
|
2573
2199
|
avatar_subscript: number;
|
|
2574
2200
|
due_date: number;
|
|
2575
|
-
label: Label$
|
|
2201
|
+
label: Label$9;
|
|
2576
2202
|
nickname_color: string;
|
|
2577
2203
|
status: number;
|
|
2578
2204
|
theme_type: number;
|
|
@@ -2580,7 +2206,7 @@ type Vip$10 = {
|
|
|
2580
2206
|
vip_pay_type: number;
|
|
2581
2207
|
[property: string]: any;
|
|
2582
2208
|
};
|
|
2583
|
-
type Label$
|
|
2209
|
+
type Label$9 = {
|
|
2584
2210
|
label_theme: string;
|
|
2585
2211
|
path: string;
|
|
2586
2212
|
text: string;
|
|
@@ -2764,11 +2390,11 @@ type ArticleInfo = ArticleInfo_V0;
|
|
|
2764
2390
|
//#region src/types/ReturnDataType/Bilibili/AV2BV/AV2BV_V0.d.ts
|
|
2765
2391
|
type BiliAv2Bv_V0 = {
|
|
2766
2392
|
code: number;
|
|
2767
|
-
data: Data$
|
|
2393
|
+
data: Data$14;
|
|
2768
2394
|
message: string;
|
|
2769
2395
|
[property: string]: any;
|
|
2770
2396
|
};
|
|
2771
|
-
type Data$
|
|
2397
|
+
type Data$14 = {
|
|
2772
2398
|
bvid: string;
|
|
2773
2399
|
[property: string]: any;
|
|
2774
2400
|
};
|
|
@@ -3149,7 +2775,7 @@ type UpInfo = {
|
|
|
3149
2775
|
is_follow: number;
|
|
3150
2776
|
mid: number;
|
|
3151
2777
|
nickname_color: string;
|
|
3152
|
-
pendant: Pendant$
|
|
2778
|
+
pendant: Pendant$8;
|
|
3153
2779
|
theme_type: number;
|
|
3154
2780
|
uname: string;
|
|
3155
2781
|
verify_type: number;
|
|
@@ -3158,7 +2784,7 @@ type UpInfo = {
|
|
|
3158
2784
|
vip_type: number;
|
|
3159
2785
|
[property: string]: any;
|
|
3160
2786
|
};
|
|
3161
|
-
type Pendant$
|
|
2787
|
+
type Pendant$8 = {
|
|
3162
2788
|
image: string;
|
|
3163
2789
|
name: string;
|
|
3164
2790
|
pid: number;
|
|
@@ -3422,12 +3048,12 @@ type BiliBangumiVideoPlayurlNoLogin = BiliBangumiVideoPlayurlNoLogin_V0;
|
|
|
3422
3048
|
//#region src/types/ReturnDataType/Bilibili/EmojiList/EmojiList_V0.d.ts
|
|
3423
3049
|
type BiliEmojiList_V0 = {
|
|
3424
3050
|
code: number;
|
|
3425
|
-
data: Data$
|
|
3051
|
+
data: Data$13;
|
|
3426
3052
|
message: string;
|
|
3427
3053
|
ttl: number;
|
|
3428
3054
|
[property: string]: any;
|
|
3429
3055
|
};
|
|
3430
|
-
type Data$
|
|
3056
|
+
type Data$13 = {
|
|
3431
3057
|
packages: Package[];
|
|
3432
3058
|
setting: Setting;
|
|
3433
3059
|
[property: string]: any;
|
|
@@ -3686,11 +3312,11 @@ type Member = {
|
|
|
3686
3312
|
fans_detail: null | FansDetail;
|
|
3687
3313
|
is_contractor: boolean;
|
|
3688
3314
|
is_senior_member: number;
|
|
3689
|
-
level_info: LevelInfo$
|
|
3315
|
+
level_info: LevelInfo$1;
|
|
3690
3316
|
mid: string;
|
|
3691
3317
|
nameplate: Nameplate$3;
|
|
3692
3318
|
nft_interaction: null;
|
|
3693
|
-
official_verify: OfficialVerify$
|
|
3319
|
+
official_verify: OfficialVerify$7;
|
|
3694
3320
|
pendant: MemberPendant;
|
|
3695
3321
|
rank: string;
|
|
3696
3322
|
senior: Senior;
|
|
@@ -3699,7 +3325,7 @@ type Member = {
|
|
|
3699
3325
|
uname: string;
|
|
3700
3326
|
user_sailing: UserSailing;
|
|
3701
3327
|
user_sailing_v2: UserSailingV2;
|
|
3702
|
-
vip: Vip$
|
|
3328
|
+
vip: Vip$8;
|
|
3703
3329
|
[property: string]: any;
|
|
3704
3330
|
};
|
|
3705
3331
|
type AvatarItem = {
|
|
@@ -3821,7 +3447,7 @@ type FansDetail = {
|
|
|
3821
3447
|
uid: number;
|
|
3822
3448
|
[property: string]: any;
|
|
3823
3449
|
};
|
|
3824
|
-
type LevelInfo$
|
|
3450
|
+
type LevelInfo$1 = {
|
|
3825
3451
|
current_exp: number;
|
|
3826
3452
|
current_level: number;
|
|
3827
3453
|
current_min: number;
|
|
@@ -3837,7 +3463,7 @@ type Nameplate$3 = {
|
|
|
3837
3463
|
nid: number;
|
|
3838
3464
|
[property: string]: any;
|
|
3839
3465
|
};
|
|
3840
|
-
type OfficialVerify$
|
|
3466
|
+
type OfficialVerify$7 = {
|
|
3841
3467
|
desc: string;
|
|
3842
3468
|
type: number;
|
|
3843
3469
|
[property: string]: any;
|
|
@@ -3938,11 +3564,11 @@ type UserSailingV2Pendant = {
|
|
|
3938
3564
|
type: string;
|
|
3939
3565
|
[property: string]: any;
|
|
3940
3566
|
};
|
|
3941
|
-
type Vip$
|
|
3567
|
+
type Vip$8 = {
|
|
3942
3568
|
accessStatus: number;
|
|
3943
3569
|
avatar_subscript: number;
|
|
3944
3570
|
dueRemark: string;
|
|
3945
|
-
label: Label$
|
|
3571
|
+
label: Label$8;
|
|
3946
3572
|
nickname_color: string;
|
|
3947
3573
|
themeType: number;
|
|
3948
3574
|
vipDueDate: number;
|
|
@@ -3951,7 +3577,7 @@ type Vip$9 = {
|
|
|
3951
3577
|
vipType: number;
|
|
3952
3578
|
[property: string]: any;
|
|
3953
3579
|
};
|
|
3954
|
-
type Label$
|
|
3580
|
+
type Label$8 = {
|
|
3955
3581
|
bg_color: string;
|
|
3956
3582
|
bg_style: number;
|
|
3957
3583
|
border_color: string;
|
|
@@ -3999,11 +3625,11 @@ type BiliCommentReply = BiliCommentReply_V0;
|
|
|
3999
3625
|
//#region src/types/ReturnDataType/Bilibili/BV2AV/BV2AV_V0.d.ts
|
|
4000
3626
|
type BiliBv2AV_V0 = {
|
|
4001
3627
|
code: number;
|
|
4002
|
-
data: Data$
|
|
3628
|
+
data: Data$12;
|
|
4003
3629
|
message: string;
|
|
4004
3630
|
[property: string]: any;
|
|
4005
3631
|
};
|
|
4006
|
-
type Data$
|
|
3632
|
+
type Data$12 = {
|
|
4007
3633
|
aid: string;
|
|
4008
3634
|
[property: string]: any;
|
|
4009
3635
|
};
|
|
@@ -4078,9 +3704,9 @@ type Author$9 = {
|
|
|
4078
3704
|
mid: number;
|
|
4079
3705
|
name: string;
|
|
4080
3706
|
nameplate: Nameplate$2;
|
|
4081
|
-
official_verify: OfficialVerify$
|
|
4082
|
-
pendant: Pendant$
|
|
4083
|
-
vip: Vip$
|
|
3707
|
+
official_verify: OfficialVerify$6;
|
|
3708
|
+
pendant: Pendant$7;
|
|
3709
|
+
vip: Vip$7;
|
|
4084
3710
|
[property: string]: any;
|
|
4085
3711
|
};
|
|
4086
3712
|
type Nameplate$2 = {
|
|
@@ -4092,22 +3718,22 @@ type Nameplate$2 = {
|
|
|
4092
3718
|
nid: number;
|
|
4093
3719
|
[property: string]: any;
|
|
4094
3720
|
};
|
|
4095
|
-
type OfficialVerify$
|
|
3721
|
+
type OfficialVerify$6 = {
|
|
4096
3722
|
desc: string;
|
|
4097
3723
|
type: number;
|
|
4098
3724
|
[property: string]: any;
|
|
4099
3725
|
};
|
|
4100
|
-
type Pendant$
|
|
3726
|
+
type Pendant$7 = {
|
|
4101
3727
|
expire: number;
|
|
4102
3728
|
image: string;
|
|
4103
3729
|
name: string;
|
|
4104
3730
|
pid: number;
|
|
4105
3731
|
[property: string]: any;
|
|
4106
3732
|
};
|
|
4107
|
-
type Vip$
|
|
3733
|
+
type Vip$7 = {
|
|
4108
3734
|
avatar_subscript: number;
|
|
4109
3735
|
due_date: number;
|
|
4110
|
-
label: Label$
|
|
3736
|
+
label: Label$7;
|
|
4111
3737
|
nickname_color: string;
|
|
4112
3738
|
status: number;
|
|
4113
3739
|
theme_type: number;
|
|
@@ -4115,7 +3741,7 @@ type Vip$8 = {
|
|
|
4115
3741
|
vip_pay_type: number;
|
|
4116
3742
|
[property: string]: any;
|
|
4117
3743
|
};
|
|
4118
|
-
type Label$
|
|
3744
|
+
type Label$7 = {
|
|
4119
3745
|
label_theme: string;
|
|
4120
3746
|
path: string;
|
|
4121
3747
|
text: string;
|
|
@@ -4217,14 +3843,14 @@ type ModuleAuthor$4 = {
|
|
|
4217
3843
|
label: string;
|
|
4218
3844
|
mid: number;
|
|
4219
3845
|
name: string;
|
|
4220
|
-
official_verify: OfficialVerify$
|
|
4221
|
-
pendant: Pendant$
|
|
3846
|
+
official_verify: OfficialVerify$5;
|
|
3847
|
+
pendant: Pendant$6;
|
|
4222
3848
|
pub_action: string;
|
|
4223
3849
|
pub_location_text: string;
|
|
4224
3850
|
pub_time: string;
|
|
4225
3851
|
pub_ts: number;
|
|
4226
3852
|
type: string;
|
|
4227
|
-
vip: Vip$
|
|
3853
|
+
vip: Vip$6;
|
|
4228
3854
|
[property: string]: any;
|
|
4229
3855
|
};
|
|
4230
3856
|
type Avatar$5 = {
|
|
@@ -4323,12 +3949,12 @@ type Remote$4 = {
|
|
|
4323
3949
|
url: string;
|
|
4324
3950
|
[property: string]: any;
|
|
4325
3951
|
};
|
|
4326
|
-
type OfficialVerify$
|
|
3952
|
+
type OfficialVerify$5 = {
|
|
4327
3953
|
desc: string;
|
|
4328
3954
|
type: number;
|
|
4329
3955
|
[property: string]: any;
|
|
4330
3956
|
};
|
|
4331
|
-
type Pendant$
|
|
3957
|
+
type Pendant$6 = {
|
|
4332
3958
|
expire: number;
|
|
4333
3959
|
image: string;
|
|
4334
3960
|
image_enhance: string;
|
|
@@ -4338,18 +3964,18 @@ type Pendant$7 = {
|
|
|
4338
3964
|
pid: number;
|
|
4339
3965
|
[property: string]: any;
|
|
4340
3966
|
};
|
|
4341
|
-
type Vip$
|
|
3967
|
+
type Vip$6 = {
|
|
4342
3968
|
avatar_subscript: number;
|
|
4343
3969
|
avatar_subscript_url: string;
|
|
4344
3970
|
due_date: number;
|
|
4345
|
-
label: Label$
|
|
3971
|
+
label: Label$6;
|
|
4346
3972
|
nickname_color: string;
|
|
4347
3973
|
status: number;
|
|
4348
3974
|
theme_type: number;
|
|
4349
3975
|
type: number;
|
|
4350
3976
|
[property: string]: any;
|
|
4351
3977
|
};
|
|
4352
|
-
type Label$
|
|
3978
|
+
type Label$6 = {
|
|
4353
3979
|
bg_color: string;
|
|
4354
3980
|
bg_style: number;
|
|
4355
3981
|
border_color: string;
|
|
@@ -4480,14 +4106,14 @@ type ModuleAuthor$3 = {
|
|
|
4480
4106
|
label: string;
|
|
4481
4107
|
mid: number;
|
|
4482
4108
|
name: string;
|
|
4483
|
-
official_verify: OfficialVerify$
|
|
4484
|
-
pendant: Pendant$
|
|
4109
|
+
official_verify: OfficialVerify$4;
|
|
4110
|
+
pendant: Pendant$5;
|
|
4485
4111
|
pub_action: string;
|
|
4486
4112
|
pub_location_text: string;
|
|
4487
4113
|
pub_time: string;
|
|
4488
4114
|
pub_ts: number;
|
|
4489
4115
|
type: string;
|
|
4490
|
-
vip: Vip$
|
|
4116
|
+
vip: Vip$5;
|
|
4491
4117
|
[property: string]: any;
|
|
4492
4118
|
};
|
|
4493
4119
|
type Avatar$4 = {
|
|
@@ -4586,12 +4212,12 @@ type Remote$3 = {
|
|
|
4586
4212
|
url: string;
|
|
4587
4213
|
[property: string]: any;
|
|
4588
4214
|
};
|
|
4589
|
-
type OfficialVerify$
|
|
4215
|
+
type OfficialVerify$4 = {
|
|
4590
4216
|
desc: string;
|
|
4591
4217
|
type: number;
|
|
4592
4218
|
[property: string]: any;
|
|
4593
4219
|
};
|
|
4594
|
-
type Pendant$
|
|
4220
|
+
type Pendant$5 = {
|
|
4595
4221
|
expire: number;
|
|
4596
4222
|
image: string;
|
|
4597
4223
|
image_enhance: string;
|
|
@@ -4601,18 +4227,18 @@ type Pendant$6 = {
|
|
|
4601
4227
|
pid: number;
|
|
4602
4228
|
[property: string]: any;
|
|
4603
4229
|
};
|
|
4604
|
-
type Vip$
|
|
4230
|
+
type Vip$5 = {
|
|
4605
4231
|
avatar_subscript: number;
|
|
4606
4232
|
avatar_subscript_url: string;
|
|
4607
4233
|
due_date: number;
|
|
4608
|
-
label: Label$
|
|
4234
|
+
label: Label$5;
|
|
4609
4235
|
nickname_color: string;
|
|
4610
4236
|
status: number;
|
|
4611
4237
|
theme_type: number;
|
|
4612
4238
|
type: number;
|
|
4613
4239
|
[property: string]: any;
|
|
4614
4240
|
};
|
|
4615
|
-
type Label$
|
|
4241
|
+
type Label$5 = {
|
|
4616
4242
|
bg_color: string;
|
|
4617
4243
|
bg_style: number;
|
|
4618
4244
|
border_color: string;
|
|
@@ -4629,12 +4255,12 @@ type Label$6 = {
|
|
|
4629
4255
|
};
|
|
4630
4256
|
type ModuleDynamic$3 = {
|
|
4631
4257
|
additional: null;
|
|
4632
|
-
desc: Desc$
|
|
4258
|
+
desc: Desc$5;
|
|
4633
4259
|
major: Major$9;
|
|
4634
4260
|
topic: null;
|
|
4635
4261
|
[property: string]: any;
|
|
4636
4262
|
};
|
|
4637
|
-
type Desc$
|
|
4263
|
+
type Desc$5 = {
|
|
4638
4264
|
rich_text_nodes: RichTextNode$4[];
|
|
4639
4265
|
text: string;
|
|
4640
4266
|
[property: string]: any;
|
|
@@ -4763,14 +4389,14 @@ type ModuleAuthor$2 = {
|
|
|
4763
4389
|
label: string;
|
|
4764
4390
|
mid: number;
|
|
4765
4391
|
name: string;
|
|
4766
|
-
official_verify: OfficialVerify$
|
|
4767
|
-
pendant: Pendant$
|
|
4392
|
+
official_verify: OfficialVerify$3;
|
|
4393
|
+
pendant: Pendant$4;
|
|
4768
4394
|
pub_action: string;
|
|
4769
4395
|
pub_location_text: string;
|
|
4770
4396
|
pub_time: string;
|
|
4771
4397
|
pub_ts: number;
|
|
4772
4398
|
type: string;
|
|
4773
|
-
vip: Vip$
|
|
4399
|
+
vip: Vip$4;
|
|
4774
4400
|
[property: string]: any;
|
|
4775
4401
|
};
|
|
4776
4402
|
type Avatar$3 = {
|
|
@@ -4901,12 +4527,12 @@ type ColorFormat$6 = {
|
|
|
4901
4527
|
start_point: string;
|
|
4902
4528
|
[property: string]: any;
|
|
4903
4529
|
};
|
|
4904
|
-
type OfficialVerify$
|
|
4530
|
+
type OfficialVerify$3 = {
|
|
4905
4531
|
desc: string;
|
|
4906
4532
|
type: number;
|
|
4907
4533
|
[property: string]: any;
|
|
4908
4534
|
};
|
|
4909
|
-
type Pendant$
|
|
4535
|
+
type Pendant$4 = {
|
|
4910
4536
|
expire: number;
|
|
4911
4537
|
image: string;
|
|
4912
4538
|
image_enhance: string;
|
|
@@ -4916,18 +4542,18 @@ type Pendant$5 = {
|
|
|
4916
4542
|
pid: number;
|
|
4917
4543
|
[property: string]: any;
|
|
4918
4544
|
};
|
|
4919
|
-
type Vip$
|
|
4545
|
+
type Vip$4 = {
|
|
4920
4546
|
avatar_subscript: number;
|
|
4921
4547
|
avatar_subscript_url: string;
|
|
4922
4548
|
due_date: number;
|
|
4923
|
-
label: Label$
|
|
4549
|
+
label: Label$4;
|
|
4924
4550
|
nickname_color: string;
|
|
4925
4551
|
status: number;
|
|
4926
4552
|
theme_type: number;
|
|
4927
4553
|
type: number;
|
|
4928
4554
|
[property: string]: any;
|
|
4929
4555
|
};
|
|
4930
|
-
type Label$
|
|
4556
|
+
type Label$4 = {
|
|
4931
4557
|
bg_color: string;
|
|
4932
4558
|
bg_style: number;
|
|
4933
4559
|
border_color: string;
|
|
@@ -5272,12 +4898,12 @@ type PurpleLabel$6 = {
|
|
|
5272
4898
|
};
|
|
5273
4899
|
type PurpleModuleDynamic$5 = {
|
|
5274
4900
|
additional: null;
|
|
5275
|
-
desc: Desc$
|
|
4901
|
+
desc: Desc$4;
|
|
5276
4902
|
major: null;
|
|
5277
4903
|
topic: Topic$3;
|
|
5278
4904
|
[property: string]: any;
|
|
5279
4905
|
};
|
|
5280
|
-
type Desc$
|
|
4906
|
+
type Desc$4 = {
|
|
5281
4907
|
rich_text_nodes: RichTextNode$2[];
|
|
5282
4908
|
text: string;
|
|
5283
4909
|
[property: string]: any;
|
|
@@ -6314,12 +5940,12 @@ type PurpleLabel$4 = {
|
|
|
6314
5940
|
};
|
|
6315
5941
|
type PurpleModuleDynamic$3 = {
|
|
6316
5942
|
additional: null;
|
|
6317
|
-
desc: Desc$
|
|
5943
|
+
desc: Desc$3;
|
|
6318
5944
|
major: null;
|
|
6319
5945
|
topic: Topic$2;
|
|
6320
5946
|
[property: string]: any;
|
|
6321
5947
|
};
|
|
6322
|
-
type Desc$
|
|
5948
|
+
type Desc$3 = {
|
|
6323
5949
|
rich_text_nodes: DescRichTextNode$2[];
|
|
6324
5950
|
text: string;
|
|
6325
5951
|
[property: string]: any;
|
|
@@ -6851,7 +6477,7 @@ type PurpleLabel$3 = {
|
|
|
6851
6477
|
};
|
|
6852
6478
|
type PurpleModuleDynamic$2 = {
|
|
6853
6479
|
additional: Additional$2;
|
|
6854
|
-
desc: Desc$
|
|
6480
|
+
desc: Desc$2;
|
|
6855
6481
|
major: null;
|
|
6856
6482
|
topic: null;
|
|
6857
6483
|
[property: string]: any;
|
|
@@ -6885,7 +6511,7 @@ type JumpStyle$1 = {
|
|
|
6885
6511
|
text: string;
|
|
6886
6512
|
[property: string]: any;
|
|
6887
6513
|
};
|
|
6888
|
-
type Desc$
|
|
6514
|
+
type Desc$2 = {
|
|
6889
6515
|
rich_text_nodes: DescRichTextNode$1[];
|
|
6890
6516
|
text: string;
|
|
6891
6517
|
[property: string]: any;
|
|
@@ -7393,12 +7019,12 @@ type PurpleLabel$2 = {
|
|
|
7393
7019
|
};
|
|
7394
7020
|
type PurpleModuleDynamic$1 = {
|
|
7395
7021
|
additional: null;
|
|
7396
|
-
desc: Desc$
|
|
7022
|
+
desc: Desc$1;
|
|
7397
7023
|
major: null;
|
|
7398
7024
|
topic: Topic$1;
|
|
7399
7025
|
[property: string]: any;
|
|
7400
7026
|
};
|
|
7401
|
-
type Desc$
|
|
7027
|
+
type Desc$1 = {
|
|
7402
7028
|
rich_text_nodes: RichTextNode$1[];
|
|
7403
7029
|
text: string;
|
|
7404
7030
|
[property: string]: any;
|
|
@@ -7877,7 +7503,7 @@ type PurpleLabel$1 = {
|
|
|
7877
7503
|
};
|
|
7878
7504
|
type PurpleModuleDynamic = {
|
|
7879
7505
|
additional: Additional$1;
|
|
7880
|
-
desc: Desc
|
|
7506
|
+
desc: Desc;
|
|
7881
7507
|
major: null;
|
|
7882
7508
|
topic: Topic;
|
|
7883
7509
|
[property: string]: any;
|
|
@@ -7930,7 +7556,7 @@ type Desc2 = {
|
|
|
7930
7556
|
visible: boolean;
|
|
7931
7557
|
[property: string]: any;
|
|
7932
7558
|
};
|
|
7933
|
-
type Desc
|
|
7559
|
+
type Desc = {
|
|
7934
7560
|
rich_text_nodes: DescRichTextNode[];
|
|
7935
7561
|
text: string;
|
|
7936
7562
|
[property: string]: any;
|
|
@@ -8349,14 +7975,14 @@ type ModuleAuthor$1 = {
|
|
|
8349
7975
|
label: string;
|
|
8350
7976
|
mid: number;
|
|
8351
7977
|
name: string;
|
|
8352
|
-
official_verify: OfficialVerify$
|
|
8353
|
-
pendant: Pendant$
|
|
7978
|
+
official_verify: OfficialVerify$2;
|
|
7979
|
+
pendant: Pendant$3;
|
|
8354
7980
|
pub_action: string;
|
|
8355
7981
|
pub_location_text: string;
|
|
8356
7982
|
pub_time: string;
|
|
8357
7983
|
pub_ts: number;
|
|
8358
7984
|
type: string;
|
|
8359
|
-
vip: Vip$
|
|
7985
|
+
vip: Vip$3;
|
|
8360
7986
|
[property: string]: any;
|
|
8361
7987
|
};
|
|
8362
7988
|
type Avatar$2 = {
|
|
@@ -8484,12 +8110,12 @@ type ColorFormat$1 = {
|
|
|
8484
8110
|
start_point: string;
|
|
8485
8111
|
[property: string]: any;
|
|
8486
8112
|
};
|
|
8487
|
-
type OfficialVerify$
|
|
8113
|
+
type OfficialVerify$2 = {
|
|
8488
8114
|
desc: string;
|
|
8489
8115
|
type: number;
|
|
8490
8116
|
[property: string]: any;
|
|
8491
8117
|
};
|
|
8492
|
-
type Pendant$
|
|
8118
|
+
type Pendant$3 = {
|
|
8493
8119
|
expire: number;
|
|
8494
8120
|
image: string;
|
|
8495
8121
|
image_enhance: string;
|
|
@@ -8499,18 +8125,18 @@ type Pendant$4 = {
|
|
|
8499
8125
|
pid: number;
|
|
8500
8126
|
[property: string]: any;
|
|
8501
8127
|
};
|
|
8502
|
-
type Vip$
|
|
8128
|
+
type Vip$3 = {
|
|
8503
8129
|
avatar_subscript: number;
|
|
8504
8130
|
avatar_subscript_url: string;
|
|
8505
8131
|
due_date: number;
|
|
8506
|
-
label: Label$
|
|
8132
|
+
label: Label$3;
|
|
8507
8133
|
nickname_color: string;
|
|
8508
8134
|
status: number;
|
|
8509
8135
|
theme_type: number;
|
|
8510
8136
|
type: number;
|
|
8511
8137
|
[property: string]: any;
|
|
8512
8138
|
};
|
|
8513
|
-
type Label$
|
|
8139
|
+
type Label$3 = {
|
|
8514
8140
|
bg_color: string;
|
|
8515
8141
|
bg_style: number;
|
|
8516
8142
|
border_color: string;
|
|
@@ -8630,14 +8256,14 @@ type ModuleAuthor = {
|
|
|
8630
8256
|
label: string;
|
|
8631
8257
|
mid: number;
|
|
8632
8258
|
name: string;
|
|
8633
|
-
official_verify: OfficialVerify$
|
|
8634
|
-
pendant: Pendant$
|
|
8259
|
+
official_verify: OfficialVerify$1;
|
|
8260
|
+
pendant: Pendant$2;
|
|
8635
8261
|
pub_action: string;
|
|
8636
8262
|
pub_location_text: string;
|
|
8637
8263
|
pub_time: string;
|
|
8638
8264
|
pub_ts: number;
|
|
8639
8265
|
type: string;
|
|
8640
|
-
vip: Vip$
|
|
8266
|
+
vip: Vip$2;
|
|
8641
8267
|
[property: string]: any;
|
|
8642
8268
|
};
|
|
8643
8269
|
type Avatar$1 = {
|
|
@@ -8765,12 +8391,12 @@ type ColorFormat = {
|
|
|
8765
8391
|
start_point: string;
|
|
8766
8392
|
[property: string]: any;
|
|
8767
8393
|
};
|
|
8768
|
-
type OfficialVerify$
|
|
8394
|
+
type OfficialVerify$1 = {
|
|
8769
8395
|
desc: string;
|
|
8770
8396
|
type: number;
|
|
8771
8397
|
[property: string]: any;
|
|
8772
8398
|
};
|
|
8773
|
-
type Pendant$
|
|
8399
|
+
type Pendant$2 = {
|
|
8774
8400
|
expire: number;
|
|
8775
8401
|
image: string;
|
|
8776
8402
|
image_enhance: string;
|
|
@@ -8780,18 +8406,18 @@ type Pendant$3 = {
|
|
|
8780
8406
|
pid: number;
|
|
8781
8407
|
[property: string]: any;
|
|
8782
8408
|
};
|
|
8783
|
-
type Vip$
|
|
8409
|
+
type Vip$2 = {
|
|
8784
8410
|
avatar_subscript: number;
|
|
8785
8411
|
avatar_subscript_url: string;
|
|
8786
8412
|
due_date: number;
|
|
8787
|
-
label: Label$
|
|
8413
|
+
label: Label$2;
|
|
8788
8414
|
nickname_color: string;
|
|
8789
8415
|
status: number;
|
|
8790
8416
|
theme_type: number;
|
|
8791
8417
|
type: number;
|
|
8792
8418
|
[property: string]: any;
|
|
8793
8419
|
};
|
|
8794
|
-
type Label$
|
|
8420
|
+
type Label$2 = {
|
|
8795
8421
|
bg_color: string;
|
|
8796
8422
|
bg_style: number;
|
|
8797
8423
|
border_color: string;
|
|
@@ -9008,12 +8634,12 @@ type BiliDynamicInfo<T extends DynamicType> = {
|
|
|
9008
8634
|
//#region src/types/ReturnDataType/Bilibili/LiveRoomDef/LiveRoomDef_V0.d.ts
|
|
9009
8635
|
type BiliLiveRoomDef_V0 = {
|
|
9010
8636
|
code: number;
|
|
9011
|
-
data: Data$
|
|
8637
|
+
data: Data$11;
|
|
9012
8638
|
message: string;
|
|
9013
8639
|
msg: string;
|
|
9014
8640
|
[property: string]: any;
|
|
9015
8641
|
};
|
|
9016
|
-
type Data$
|
|
8642
|
+
type Data$11 = {
|
|
9017
8643
|
encrypted: boolean;
|
|
9018
8644
|
hidden_till: number;
|
|
9019
8645
|
is_hidden: boolean;
|
|
@@ -9039,12 +8665,12 @@ type BiliLiveRoomDef = BiliLiveRoomDef_V0;
|
|
|
9039
8665
|
//#region src/types/ReturnDataType/Bilibili/LiveRoomDetail/LiveRoomDetail_V0.d.ts
|
|
9040
8666
|
type BiliLiveRoomDetail_V0 = {
|
|
9041
8667
|
code: number;
|
|
9042
|
-
data: Data$
|
|
8668
|
+
data: Data$10;
|
|
9043
8669
|
message: string;
|
|
9044
8670
|
msg: string;
|
|
9045
8671
|
[property: string]: any;
|
|
9046
8672
|
};
|
|
9047
|
-
type Data$
|
|
8673
|
+
type Data$10 = {
|
|
9048
8674
|
allow_change_area_time: number;
|
|
9049
8675
|
allow_upload_cover_time: number;
|
|
9050
8676
|
area_id: number;
|
|
@@ -9158,12 +8784,12 @@ type BiliCheckQrcode = BiliCheckQrcode_V0;
|
|
|
9158
8784
|
//#region src/types/ReturnDataType/Bilibili/Login/NewLoginQrcode/NewLoginQrcode.d.ts
|
|
9159
8785
|
type BiliNewLoginQrcode_V0 = {
|
|
9160
8786
|
code: number;
|
|
9161
|
-
data: Data$
|
|
8787
|
+
data: Data$9;
|
|
9162
8788
|
message: string;
|
|
9163
8789
|
ttl: number;
|
|
9164
8790
|
[property: string]: any;
|
|
9165
8791
|
};
|
|
9166
|
-
type Data$
|
|
8792
|
+
type Data$9 = {
|
|
9167
8793
|
qrcode_key: string;
|
|
9168
8794
|
url: string;
|
|
9169
8795
|
[property: string]: any;
|
|
@@ -9175,12 +8801,12 @@ type BiliNewLoginQrcode = BiliNewLoginQrcode_V0;
|
|
|
9175
8801
|
//#region src/types/ReturnDataType/Bilibili/OneWork/OneWork_V0.d.ts
|
|
9176
8802
|
type BiliOneWork_V0 = {
|
|
9177
8803
|
code: number;
|
|
9178
|
-
data: Data$
|
|
8804
|
+
data: Data$8;
|
|
9179
8805
|
message: string;
|
|
9180
8806
|
ttl: number;
|
|
9181
8807
|
[property: string]: any;
|
|
9182
8808
|
};
|
|
9183
|
-
type Data$
|
|
8809
|
+
type Data$8 = {
|
|
9184
8810
|
aid: number;
|
|
9185
8811
|
argue_info: ArgueInfo;
|
|
9186
8812
|
bvid: string;
|
|
@@ -9354,12 +8980,12 @@ type DataData$9<T extends DynamicType = DynamicType> = {
|
|
|
9354
8980
|
//#region src/types/ReturnDataType/Bilibili/UserFullView/UserFullView_V0.d.ts
|
|
9355
8981
|
type BiliUserFullView_V0 = {
|
|
9356
8982
|
code: number;
|
|
9357
|
-
data: Data$
|
|
8983
|
+
data: Data$7;
|
|
9358
8984
|
message: string;
|
|
9359
8985
|
ttl: number;
|
|
9360
8986
|
[property: string]: any;
|
|
9361
8987
|
};
|
|
9362
|
-
type Data$
|
|
8988
|
+
type Data$7 = {
|
|
9363
8989
|
archive: Archive;
|
|
9364
8990
|
article: Article;
|
|
9365
8991
|
likes: number;
|
|
@@ -9408,12 +9034,12 @@ type BiliUserLiveStatus = BiliUserLiveStatus_V0;
|
|
|
9408
9034
|
//#region src/types/ReturnDataType/Bilibili/UserProfile/UserProfile_V0.d.ts
|
|
9409
9035
|
type BiliUserProfile_V0 = {
|
|
9410
9036
|
code: number;
|
|
9411
|
-
data: Data$
|
|
9037
|
+
data: Data$6;
|
|
9412
9038
|
message: string;
|
|
9413
9039
|
ttl: number;
|
|
9414
9040
|
[property: string]: any;
|
|
9415
9041
|
};
|
|
9416
|
-
type Data$
|
|
9042
|
+
type Data$6 = {
|
|
9417
9043
|
archive_count: number;
|
|
9418
9044
|
article_count: number;
|
|
9419
9045
|
card: Card;
|
|
@@ -9437,21 +9063,21 @@ type Card = {
|
|
|
9437
9063
|
fans: number;
|
|
9438
9064
|
friend: number;
|
|
9439
9065
|
is_senior_member: number;
|
|
9440
|
-
level_info: LevelInfo
|
|
9066
|
+
level_info: LevelInfo;
|
|
9441
9067
|
mid: string;
|
|
9442
9068
|
name: string;
|
|
9443
9069
|
name_render: null;
|
|
9444
9070
|
nameplate: Nameplate$1;
|
|
9445
9071
|
Official: Official$1;
|
|
9446
|
-
official_verify: OfficialVerify
|
|
9447
|
-
pendant: Pendant$
|
|
9072
|
+
official_verify: OfficialVerify;
|
|
9073
|
+
pendant: Pendant$1;
|
|
9448
9074
|
place: string;
|
|
9449
9075
|
rank: string;
|
|
9450
9076
|
regtime: number;
|
|
9451
9077
|
sex: string;
|
|
9452
9078
|
sign: string;
|
|
9453
9079
|
spacesta: number;
|
|
9454
|
-
vip: Vip$
|
|
9080
|
+
vip: Vip$1;
|
|
9455
9081
|
[property: string]: any;
|
|
9456
9082
|
};
|
|
9457
9083
|
type Official$1 = {
|
|
@@ -9461,7 +9087,7 @@ type Official$1 = {
|
|
|
9461
9087
|
type: number;
|
|
9462
9088
|
[property: string]: any;
|
|
9463
9089
|
};
|
|
9464
|
-
type LevelInfo
|
|
9090
|
+
type LevelInfo = {
|
|
9465
9091
|
current_exp: number;
|
|
9466
9092
|
current_level: number;
|
|
9467
9093
|
current_min: number;
|
|
@@ -9477,12 +9103,12 @@ type Nameplate$1 = {
|
|
|
9477
9103
|
nid: number;
|
|
9478
9104
|
[property: string]: any;
|
|
9479
9105
|
};
|
|
9480
|
-
type OfficialVerify
|
|
9106
|
+
type OfficialVerify = {
|
|
9481
9107
|
desc: string;
|
|
9482
9108
|
type: number;
|
|
9483
9109
|
[property: string]: any;
|
|
9484
9110
|
};
|
|
9485
|
-
type Pendant$
|
|
9111
|
+
type Pendant$1 = {
|
|
9486
9112
|
expire: number;
|
|
9487
9113
|
image: string;
|
|
9488
9114
|
image_enhance: string;
|
|
@@ -9492,12 +9118,12 @@ type Pendant$2 = {
|
|
|
9492
9118
|
pid: number;
|
|
9493
9119
|
[property: string]: any;
|
|
9494
9120
|
};
|
|
9495
|
-
type Vip$
|
|
9121
|
+
type Vip$1 = {
|
|
9496
9122
|
avatar_icon: AvatarIcon$1;
|
|
9497
9123
|
avatar_subscript: number;
|
|
9498
9124
|
avatar_subscript_url: string;
|
|
9499
9125
|
due_date: number;
|
|
9500
|
-
label: Label$
|
|
9126
|
+
label: Label$1;
|
|
9501
9127
|
nickname_color: string;
|
|
9502
9128
|
role: number;
|
|
9503
9129
|
status: number;
|
|
@@ -9521,7 +9147,7 @@ type IconResource = {
|
|
|
9521
9147
|
url: string;
|
|
9522
9148
|
[property: string]: any;
|
|
9523
9149
|
};
|
|
9524
|
-
type Label$
|
|
9150
|
+
type Label$1 = {
|
|
9525
9151
|
bg_color: string;
|
|
9526
9152
|
bg_style: number;
|
|
9527
9153
|
border_color: string;
|
|
@@ -9581,7 +9207,7 @@ type DataData$7 = {
|
|
|
9581
9207
|
name_render: null;
|
|
9582
9208
|
nameplate: Nameplate;
|
|
9583
9209
|
official: Official;
|
|
9584
|
-
pendant: Pendant
|
|
9210
|
+
pendant: Pendant;
|
|
9585
9211
|
profession: Profession;
|
|
9586
9212
|
rank: number;
|
|
9587
9213
|
school: null;
|
|
@@ -9597,7 +9223,7 @@ type DataData$7 = {
|
|
|
9597
9223
|
top_photo: string;
|
|
9598
9224
|
top_photo_v2: TopPhotoV2;
|
|
9599
9225
|
user_honour_info: UserHonourInfo;
|
|
9600
|
-
vip: Vip
|
|
9226
|
+
vip: Vip;
|
|
9601
9227
|
[property: string]: any;
|
|
9602
9228
|
};
|
|
9603
9229
|
type Attestation = {
|
|
@@ -9685,7 +9311,7 @@ type Official = {
|
|
|
9685
9311
|
type: number;
|
|
9686
9312
|
[property: string]: any;
|
|
9687
9313
|
};
|
|
9688
|
-
type Pendant
|
|
9314
|
+
type Pendant = {
|
|
9689
9315
|
expire: number;
|
|
9690
9316
|
image: string;
|
|
9691
9317
|
image_enhance: string;
|
|
@@ -9720,12 +9346,12 @@ type UserHonourInfo = {
|
|
|
9720
9346
|
tags: string[];
|
|
9721
9347
|
[property: string]: any;
|
|
9722
9348
|
};
|
|
9723
|
-
type Vip
|
|
9349
|
+
type Vip = {
|
|
9724
9350
|
avatar_icon: AvatarIcon;
|
|
9725
9351
|
avatar_subscript: number;
|
|
9726
9352
|
avatar_subscript_url: string;
|
|
9727
9353
|
due_date: number;
|
|
9728
|
-
label: Label
|
|
9354
|
+
label: Label;
|
|
9729
9355
|
nickname_color: string;
|
|
9730
9356
|
ott_info: OttInfo;
|
|
9731
9357
|
role: number;
|
|
@@ -9746,7 +9372,7 @@ type AvatarIcon = {
|
|
|
9746
9372
|
icon_type: number;
|
|
9747
9373
|
[property: string]: any;
|
|
9748
9374
|
};
|
|
9749
|
-
type Label
|
|
9375
|
+
type Label = {
|
|
9750
9376
|
bg_color: string;
|
|
9751
9377
|
bg_style: number;
|
|
9752
9378
|
border_color: string;
|
|
@@ -9788,12 +9414,12 @@ type UserSpaceInfo = UserSpaceInfo_V0;
|
|
|
9788
9414
|
/** 视频下载地址(已登录) */
|
|
9789
9415
|
type BiliVideoPlayurlIsLogin_V0 = {
|
|
9790
9416
|
code: number;
|
|
9791
|
-
data: Data$
|
|
9417
|
+
data: Data$5;
|
|
9792
9418
|
message: string;
|
|
9793
9419
|
ttl: number;
|
|
9794
9420
|
[property: string]: any;
|
|
9795
9421
|
};
|
|
9796
|
-
type Data$
|
|
9422
|
+
type Data$5 = {
|
|
9797
9423
|
accept_description: string[];
|
|
9798
9424
|
accept_format: string;
|
|
9799
9425
|
accept_quality: number[];
|
|
@@ -9910,12 +9536,12 @@ type BiliVideoPlayurlIsLogin = BiliVideoPlayurlIsLogin_V0;
|
|
|
9910
9536
|
/** 视频下载地址(未登录) */
|
|
9911
9537
|
type BiliBiliVideoPlayurlNoLogin_V0 = {
|
|
9912
9538
|
code: number;
|
|
9913
|
-
data: Data$
|
|
9539
|
+
data: Data$4;
|
|
9914
9540
|
message: string;
|
|
9915
9541
|
ttl: number;
|
|
9916
9542
|
[property: string]: any;
|
|
9917
9543
|
};
|
|
9918
|
-
type Data$
|
|
9544
|
+
type Data$4 = {
|
|
9919
9545
|
accept_description: string[];
|
|
9920
9546
|
accept_format: string;
|
|
9921
9547
|
accept_quality: number[];
|
|
@@ -11680,169 +11306,12 @@ type IndecentUserSailing = {
|
|
|
11680
11306
|
pendant: null;
|
|
11681
11307
|
[property: string]: any;
|
|
11682
11308
|
};
|
|
11683
|
-
type IndecentVip = {
|
|
11684
|
-
accessStatus: number;
|
|
11685
|
-
avatar_subscript: number;
|
|
11686
|
-
dueRemark: string;
|
|
11687
|
-
label: IndecentLabel;
|
|
11688
|
-
nickname_color: string;
|
|
11689
|
-
themeType: number;
|
|
11690
|
-
vipDueDate: number;
|
|
11691
|
-
vipStatus: number;
|
|
11692
|
-
vipStatusWarn: string;
|
|
11693
|
-
vipType: number;
|
|
11694
|
-
[property: string]: any;
|
|
11695
|
-
};
|
|
11696
|
-
type IndecentLabel = {
|
|
11697
|
-
bg_color: string;
|
|
11698
|
-
bg_style: number;
|
|
11699
|
-
border_color: string;
|
|
11700
|
-
img_label_uri_hans: string;
|
|
11701
|
-
img_label_uri_hans_static: string;
|
|
11702
|
-
img_label_uri_hant: string;
|
|
11703
|
-
img_label_uri_hant_static: string;
|
|
11704
|
-
label_theme: string;
|
|
11705
|
-
path: string;
|
|
11706
|
-
text: string;
|
|
11707
|
-
text_color: string;
|
|
11708
|
-
use_img_label: boolean;
|
|
11709
|
-
[property: string]: any;
|
|
11710
|
-
};
|
|
11711
|
-
type StickyReplyControl = {
|
|
11712
|
-
location: string;
|
|
11713
|
-
max_line: number;
|
|
11714
|
-
time_desc: string;
|
|
11715
|
-
translation_switch: number;
|
|
11716
|
-
[property: string]: any;
|
|
11717
|
-
};
|
|
11718
|
-
type StickyUpAction = {
|
|
11719
|
-
like: boolean;
|
|
11720
|
-
reply: boolean;
|
|
11721
|
-
[property: string]: any;
|
|
11722
|
-
};
|
|
11723
|
-
type TopReplyReplyControl = {
|
|
11724
|
-
cm_recommend_component: string;
|
|
11725
|
-
is_up_top: boolean;
|
|
11726
|
-
location: string;
|
|
11727
|
-
max_line: number;
|
|
11728
|
-
sub_reply_entry_text: string;
|
|
11729
|
-
sub_reply_title_text: string;
|
|
11730
|
-
time_desc: string;
|
|
11731
|
-
translation_switch: number;
|
|
11732
|
-
up_reply: boolean;
|
|
11733
|
-
[property: string]: any;
|
|
11734
|
-
};
|
|
11735
|
-
type TopReplyUpAction = {
|
|
11736
|
-
like: boolean;
|
|
11737
|
-
reply: boolean;
|
|
11738
|
-
[property: string]: any;
|
|
11739
|
-
};
|
|
11740
|
-
type DataUpper = {
|
|
11741
|
-
mid: number;
|
|
11742
|
-
[property: string]: any;
|
|
11743
|
-
};
|
|
11744
|
-
//#endregion
|
|
11745
|
-
//#region src/types/ReturnDataType/Bilibili/WorkComments/index.d.ts
|
|
11746
|
-
type BiliWorkComments = BiliWorkComments_V0;
|
|
11747
|
-
//#endregion
|
|
11748
|
-
//#region src/types/ReturnDataType/Bilibili/DynamicCard/DynamicCard_V0.d.ts
|
|
11749
|
-
type BiliDynamicCard_V0 = {
|
|
11750
|
-
code: number;
|
|
11751
|
-
data: Data$4;
|
|
11752
|
-
message: string;
|
|
11753
|
-
ttl: number;
|
|
11754
|
-
[property: string]: any;
|
|
11755
|
-
};
|
|
11756
|
-
type Data$4 = {
|
|
11757
|
-
card: DataCard;
|
|
11758
|
-
[property: string]: any;
|
|
11759
|
-
};
|
|
11760
|
-
type DataCard = {
|
|
11761
|
-
card: string;
|
|
11762
|
-
desc: Desc;
|
|
11763
|
-
display: Display$1;
|
|
11764
|
-
extend_json: string;
|
|
11765
|
-
[property: string]: any;
|
|
11766
|
-
};
|
|
11767
|
-
type Desc = {
|
|
11768
|
-
acl: number;
|
|
11769
|
-
bvid: string;
|
|
11770
|
-
comment: number;
|
|
11771
|
-
dynamic_id: number;
|
|
11772
|
-
dynamic_id_str: string;
|
|
11773
|
-
inner_id: number;
|
|
11774
|
-
is_liked: number;
|
|
11775
|
-
like: number;
|
|
11776
|
-
orig_dy_id: number;
|
|
11777
|
-
orig_dy_id_str: string;
|
|
11778
|
-
orig_type: number;
|
|
11779
|
-
origin: null;
|
|
11780
|
-
pre_dy_id: number;
|
|
11781
|
-
pre_dy_id_str: string;
|
|
11782
|
-
previous: null;
|
|
11783
|
-
r_type: number;
|
|
11784
|
-
repost: number;
|
|
11785
|
-
rid: number;
|
|
11786
|
-
rid_str: string;
|
|
11787
|
-
spec_type: number;
|
|
11788
|
-
status: number;
|
|
11789
|
-
stype: number;
|
|
11790
|
-
timestamp: number;
|
|
11791
|
-
type: number;
|
|
11792
|
-
uid: number;
|
|
11793
|
-
uid_type: number;
|
|
11794
|
-
user_profile: UserProfile;
|
|
11795
|
-
view: number;
|
|
11796
|
-
[property: string]: any;
|
|
11797
|
-
};
|
|
11798
|
-
type UserProfile = {
|
|
11799
|
-
card: UserProfileCard;
|
|
11800
|
-
info: Info$1;
|
|
11801
|
-
level_info: LevelInfo;
|
|
11802
|
-
pendant: Pendant;
|
|
11803
|
-
rank: string;
|
|
11804
|
-
sign: string;
|
|
11805
|
-
vip: Vip;
|
|
11806
|
-
[property: string]: any;
|
|
11807
|
-
};
|
|
11808
|
-
type UserProfileCard = {
|
|
11809
|
-
official_verify: OfficialVerify;
|
|
11810
|
-
[property: string]: any;
|
|
11811
|
-
};
|
|
11812
|
-
type OfficialVerify = {
|
|
11813
|
-
type: number;
|
|
11814
|
-
[property: string]: any;
|
|
11815
|
-
};
|
|
11816
|
-
type Info$1 = {
|
|
11817
|
-
face: string;
|
|
11818
|
-
uid: number;
|
|
11819
|
-
uname: string;
|
|
11820
|
-
[property: string]: any;
|
|
11821
|
-
};
|
|
11822
|
-
type LevelInfo = {
|
|
11823
|
-
current_exp: number;
|
|
11824
|
-
current_level: number;
|
|
11825
|
-
current_min: number;
|
|
11826
|
-
next_exp: string;
|
|
11827
|
-
[property: string]: any;
|
|
11828
|
-
};
|
|
11829
|
-
type Pendant = {
|
|
11830
|
-
expire: number;
|
|
11831
|
-
image: string;
|
|
11832
|
-
image_enhance: string;
|
|
11833
|
-
image_enhance_frame: string;
|
|
11834
|
-
name: string;
|
|
11835
|
-
pid: number;
|
|
11836
|
-
[property: string]: any;
|
|
11837
|
-
};
|
|
11838
|
-
type Vip = {
|
|
11309
|
+
type IndecentVip = {
|
|
11839
11310
|
accessStatus: number;
|
|
11840
11311
|
avatar_subscript: number;
|
|
11841
|
-
avatar_subscript_url: string;
|
|
11842
11312
|
dueRemark: string;
|
|
11843
|
-
label:
|
|
11313
|
+
label: IndecentLabel;
|
|
11844
11314
|
nickname_color: string;
|
|
11845
|
-
role: number;
|
|
11846
11315
|
themeType: number;
|
|
11847
11316
|
vipDueDate: number;
|
|
11848
11317
|
vipStatus: number;
|
|
@@ -11850,34 +11319,57 @@ type Vip = {
|
|
|
11850
11319
|
vipType: number;
|
|
11851
11320
|
[property: string]: any;
|
|
11852
11321
|
};
|
|
11853
|
-
type
|
|
11322
|
+
type IndecentLabel = {
|
|
11854
11323
|
bg_color: string;
|
|
11855
11324
|
bg_style: number;
|
|
11856
11325
|
border_color: string;
|
|
11326
|
+
img_label_uri_hans: string;
|
|
11327
|
+
img_label_uri_hans_static: string;
|
|
11328
|
+
img_label_uri_hant: string;
|
|
11329
|
+
img_label_uri_hant_static: string;
|
|
11857
11330
|
label_theme: string;
|
|
11858
11331
|
path: string;
|
|
11859
11332
|
text: string;
|
|
11860
11333
|
text_color: string;
|
|
11334
|
+
use_img_label: boolean;
|
|
11861
11335
|
[property: string]: any;
|
|
11862
11336
|
};
|
|
11863
|
-
type
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
|
|
11867
|
-
|
|
11868
|
-
relation: Relation;
|
|
11869
|
-
usr_action_txt: string;
|
|
11337
|
+
type StickyReplyControl = {
|
|
11338
|
+
location: string;
|
|
11339
|
+
max_line: number;
|
|
11340
|
+
time_desc: string;
|
|
11341
|
+
translation_switch: number;
|
|
11870
11342
|
[property: string]: any;
|
|
11871
11343
|
};
|
|
11872
|
-
type
|
|
11873
|
-
|
|
11874
|
-
|
|
11875
|
-
|
|
11344
|
+
type StickyUpAction = {
|
|
11345
|
+
like: boolean;
|
|
11346
|
+
reply: boolean;
|
|
11347
|
+
[property: string]: any;
|
|
11348
|
+
};
|
|
11349
|
+
type TopReplyReplyControl = {
|
|
11350
|
+
cm_recommend_component: string;
|
|
11351
|
+
is_up_top: boolean;
|
|
11352
|
+
location: string;
|
|
11353
|
+
max_line: number;
|
|
11354
|
+
sub_reply_entry_text: string;
|
|
11355
|
+
sub_reply_title_text: string;
|
|
11356
|
+
time_desc: string;
|
|
11357
|
+
translation_switch: number;
|
|
11358
|
+
up_reply: boolean;
|
|
11359
|
+
[property: string]: any;
|
|
11360
|
+
};
|
|
11361
|
+
type TopReplyUpAction = {
|
|
11362
|
+
like: boolean;
|
|
11363
|
+
reply: boolean;
|
|
11364
|
+
[property: string]: any;
|
|
11365
|
+
};
|
|
11366
|
+
type DataUpper = {
|
|
11367
|
+
mid: number;
|
|
11876
11368
|
[property: string]: any;
|
|
11877
11369
|
};
|
|
11878
11370
|
//#endregion
|
|
11879
|
-
//#region src/types/ReturnDataType/Bilibili/
|
|
11880
|
-
type
|
|
11371
|
+
//#region src/types/ReturnDataType/Bilibili/WorkComments/index.d.ts
|
|
11372
|
+
type BiliWorkComments = BiliWorkComments_V0;
|
|
11881
11373
|
//#endregion
|
|
11882
11374
|
//#region src/types/ReturnDataType/Bilibili/index.d.ts
|
|
11883
11375
|
/**
|
|
@@ -11898,8 +11390,6 @@ interface BilibiliReturnTypeMap {
|
|
|
11898
11390
|
bangumiInfo: BiliBangumiVideoInfo;
|
|
11899
11391
|
bangumiStream: BiliBangumiVideoPlayurlIsLogin | BiliBangumiVideoPlayurlNoLogin;
|
|
11900
11392
|
dynamicDetail: BiliDynamicInfoUnion;
|
|
11901
|
-
/** @deprecated 接口已停用,现返回错误信息 */
|
|
11902
|
-
dynamicCard: ErrorResult;
|
|
11903
11393
|
liveRoomInfo: BiliLiveRoomDetail;
|
|
11904
11394
|
liveRoomInit: BiliLiveRoomDef;
|
|
11905
11395
|
loginStatus: any;
|
|
@@ -26426,7 +25916,6 @@ declare const BilibiliInternalMethods: {
|
|
|
26426
25916
|
readonly USER_SPACE_INFO: "用户空间详细信息";
|
|
26427
25917
|
readonly USER_TOTAL_VIEWS: "获取UP主总播放量";
|
|
26428
25918
|
readonly DYNAMIC_DETAIL: "动态详情数据";
|
|
26429
|
-
readonly DYNAMIC_CARD: "动态卡片数据";
|
|
26430
25919
|
readonly BANGUMI_INFO: "番剧基本信息数据";
|
|
26431
25920
|
readonly BANGUMI_STREAM: "番剧下载信息数据";
|
|
26432
25921
|
readonly LIVE_ROOM_INFO: "直播间信息";
|
|
@@ -26457,7 +25946,6 @@ declare const BilibiliFetcherMethods: {
|
|
|
26457
25946
|
readonly USER_SPACE_INFO: "fetchUserSpaceInfo";
|
|
26458
25947
|
readonly USER_TOTAL_VIEWS: "fetchUploaderTotalViews";
|
|
26459
25948
|
readonly DYNAMIC_DETAIL: "fetchDynamicDetail";
|
|
26460
|
-
readonly DYNAMIC_CARD: "fetchDynamicCard";
|
|
26461
25949
|
readonly BANGUMI_INFO: "fetchBangumiInfo";
|
|
26462
25950
|
readonly BANGUMI_STREAM: "fetchBangumiStreamUrl";
|
|
26463
25951
|
readonly LIVE_ROOM_INFO: "fetchLiveRoomInfo";
|
|
@@ -26593,7 +26081,6 @@ declare const MethodMaps: {
|
|
|
26593
26081
|
readonly USER_SPACE_INFO: "用户空间详细信息";
|
|
26594
26082
|
readonly USER_TOTAL_VIEWS: "获取UP主总播放量";
|
|
26595
26083
|
readonly DYNAMIC_DETAIL: "动态详情数据";
|
|
26596
|
-
readonly DYNAMIC_CARD: "动态卡片数据";
|
|
26597
26084
|
readonly BANGUMI_INFO: "番剧基本信息数据";
|
|
26598
26085
|
readonly BANGUMI_STREAM: "番剧下载信息数据";
|
|
26599
26086
|
readonly LIVE_ROOM_INFO: "直播间信息";
|
|
@@ -26623,7 +26110,6 @@ declare const MethodMaps: {
|
|
|
26623
26110
|
readonly USER_SPACE_INFO: "fetchUserSpaceInfo";
|
|
26624
26111
|
readonly USER_TOTAL_VIEWS: "fetchUploaderTotalViews";
|
|
26625
26112
|
readonly DYNAMIC_DETAIL: "fetchDynamicDetail";
|
|
26626
|
-
readonly DYNAMIC_CARD: "fetchDynamicCard";
|
|
26627
26113
|
readonly BANGUMI_INFO: "fetchBangumiInfo";
|
|
26628
26114
|
readonly BANGUMI_STREAM: "fetchBangumiStreamUrl";
|
|
26629
26115
|
readonly LIVE_ROOM_INFO: "fetchLiveRoomInfo";
|
|
@@ -26816,13 +26302,6 @@ declare class BilibiliAPI {
|
|
|
26816
26302
|
getUserDynamicList(data: BilibiliMethodOptionsWithoutMethodType['UserParams']): string;
|
|
26817
26303
|
/** 获取动态详情 */
|
|
26818
26304
|
getDynamicDetail(data: BilibiliMethodOptionsWithoutMethodType['DynamicParams']): string;
|
|
26819
|
-
/**
|
|
26820
|
-
* 获取动态卡片信息
|
|
26821
|
-
*
|
|
26822
|
-
* @deprecated B站官方已于 `2025-08-09` 删除原 `dynamic_svr` 接口,该接口已停用。
|
|
26823
|
-
* 调用将返回错误信息,请使用 {@link getDynamicDetail} 替代。
|
|
26824
|
-
*/
|
|
26825
|
-
getDynamicCard(data: BilibiliMethodOptionsWithoutMethodType['DynamicParams']): string;
|
|
26826
26305
|
/** 获取用户名片信息 */
|
|
26827
26306
|
getUserCard(data: BilibiliMethodOptionsWithoutMethodType['UserParams']): string;
|
|
26828
26307
|
/**
|
|
@@ -26880,6 +26359,89 @@ declare class BilibiliAPI {
|
|
|
26880
26359
|
/** B站 API URL 构建器实例 */
|
|
26881
26360
|
declare const bilibiliApiUrls: BilibiliAPI;
|
|
26882
26361
|
//#endregion
|
|
26362
|
+
//#region src/validation/index.d.ts
|
|
26363
|
+
/**
|
|
26364
|
+
* 基础响应类型
|
|
26365
|
+
*/
|
|
26366
|
+
type BaseResponse = {
|
|
26367
|
+
/** 响应消息 */
|
|
26368
|
+
message: string;
|
|
26369
|
+
/** 响应状态码 */
|
|
26370
|
+
code: number;
|
|
26371
|
+
};
|
|
26372
|
+
/**
|
|
26373
|
+
* 成功响应类型
|
|
26374
|
+
* @template T - 响应数据的类型,默认为any
|
|
26375
|
+
*/
|
|
26376
|
+
type SuccessResult<T = any> = BaseResponse & {
|
|
26377
|
+
/** 响应状态 */
|
|
26378
|
+
success: true;
|
|
26379
|
+
/** 响应数据,类型由泛型 T 决定 */
|
|
26380
|
+
data: T;
|
|
26381
|
+
/** 成功响应时错误信息为空 */
|
|
26382
|
+
error: never;
|
|
26383
|
+
};
|
|
26384
|
+
/**
|
|
26385
|
+
* 错误响应类型
|
|
26386
|
+
*/
|
|
26387
|
+
type ErrorResult = BaseResponse & {
|
|
26388
|
+
/** 响应状态 */
|
|
26389
|
+
success: false;
|
|
26390
|
+
/** API 错误类型 */
|
|
26391
|
+
error: APIErrorType;
|
|
26392
|
+
/** 错误响应时数据为空 */
|
|
26393
|
+
data: never;
|
|
26394
|
+
};
|
|
26395
|
+
/**
|
|
26396
|
+
* 通用API响应类型
|
|
26397
|
+
* @template T - 成功响应数据的类型,默认为any
|
|
26398
|
+
*/
|
|
26399
|
+
type Result<T> = SuccessResult<T> | ErrorResult;
|
|
26400
|
+
/**
|
|
26401
|
+
* 验证抖音参数
|
|
26402
|
+
* @param methodType - 抖音方法类型
|
|
26403
|
+
* @param params - 待验证的参数
|
|
26404
|
+
* @returns 验证后的参数,符合原始API期望的类型
|
|
26405
|
+
*/
|
|
26406
|
+
declare const validateDouyinParams: <T extends DouyinMethodType>(methodType: T, params: unknown) => zod.infer<(typeof DouyinValidationSchemas)[T]>;
|
|
26407
|
+
/**
|
|
26408
|
+
* 验证哔哩哔哩参数
|
|
26409
|
+
* @param methodType - 哔哩哔哩方法类型
|
|
26410
|
+
* @param params - 待验证的参数
|
|
26411
|
+
* @returns 验证后的参数,符合原始API期望的类型
|
|
26412
|
+
*/
|
|
26413
|
+
declare const validateBilibiliParams: <T extends BilibiliMethodType>(methodType: T, params: unknown) => zod.infer<(typeof BilibiliValidationSchemas)[T]>;
|
|
26414
|
+
/**
|
|
26415
|
+
* 验证快手参数
|
|
26416
|
+
* @param methodType - 快手方法类型
|
|
26417
|
+
* @param params - 待验证的参数
|
|
26418
|
+
* @returns 验证后的参数,符合原始API期望的类型
|
|
26419
|
+
*/
|
|
26420
|
+
declare const validateKuaishouParams: <T extends KuaishouMethodType>(methodType: T, params: unknown) => zod.infer<(typeof KuaishouValidationSchemas)[T]>;
|
|
26421
|
+
/**
|
|
26422
|
+
* 验证小红书参数
|
|
26423
|
+
* @param methodType - 小红书方法类型
|
|
26424
|
+
* @param params - 待验证的参数
|
|
26425
|
+
* @returns 验证后的参数
|
|
26426
|
+
*/
|
|
26427
|
+
declare const validateXiaohongshuParams: <T extends XiaohongshuMethodType>(methodType: T, params: unknown) => zod.infer<(typeof XiaohongshuValidationSchemas)[T]>;
|
|
26428
|
+
/**
|
|
26429
|
+
* 创建成功响应格式
|
|
26430
|
+
* @param data - 响应数据
|
|
26431
|
+
* @param message - 响应消息(可选)
|
|
26432
|
+
* @param code - 响应状态码(可选,默认200)
|
|
26433
|
+
* @returns 格式化的成功API响应对象
|
|
26434
|
+
*/
|
|
26435
|
+
declare const createSuccessResponse: <T>(data: T, message: string, code?: number) => SuccessResult<T>;
|
|
26436
|
+
/**
|
|
26437
|
+
* 创建失败响应格式
|
|
26438
|
+
* @param error - 错误信息
|
|
26439
|
+
* @param message - 详细错误消息(可选)
|
|
26440
|
+
* @param code - 错误状态码(可选,默认500)
|
|
26441
|
+
* @returns 格式化的错误响应对象
|
|
26442
|
+
*/
|
|
26443
|
+
declare const createErrorResponse: (error: APIErrorType, message: string, code?: number, data?: unknown) => ErrorResult;
|
|
26444
|
+
//#endregion
|
|
26883
26445
|
//#region src/model/fetchers/bilibili/types.d.ts
|
|
26884
26446
|
/** B站视频信息请求参数 */
|
|
26885
26447
|
interface BilibiliVideoInfoOptions extends BaseRequestOptions {
|
|
@@ -27047,13 +26609,6 @@ interface IBilibiliFetcher {
|
|
|
27047
26609
|
* 获取B站动态详情
|
|
27048
26610
|
*/
|
|
27049
26611
|
fetchDynamicDetail: MethodOverload<BilibiliDynamicOptions, BilibiliReturnTypeMap['dynamicDetail']>;
|
|
27050
|
-
/**
|
|
27051
|
-
* 获取B站动态卡片信息
|
|
27052
|
-
* @deprecated v6.1.3 已废弃,B站官方已于 `2025-08-09` 删除原 `dynamic_svr` 接口。
|
|
27053
|
-
* 调用将返回错误信息
|
|
27054
|
-
* 计划于 v7.0.0 移除。
|
|
27055
|
-
*/
|
|
27056
|
-
fetchDynamicCard: MethodOverload<BilibiliDynamicOptions, BilibiliReturnTypeMap['dynamicCard']>;
|
|
27057
26612
|
/**
|
|
27058
26613
|
* 获取B站番剧基本信息
|
|
27059
26614
|
*/
|
|
@@ -27643,13 +27198,6 @@ interface IBoundBilibiliFetcher {
|
|
|
27643
27198
|
fetchUploaderTotalViews: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['uploaderTotalViews']>;
|
|
27644
27199
|
/** 获取B站动态详情 */
|
|
27645
27200
|
fetchDynamicDetail: BoundMethodOverload<BilibiliDynamicOptions, BilibiliReturnTypeMap['dynamicDetail']>;
|
|
27646
|
-
/**
|
|
27647
|
-
* 获取B站动态卡片信息
|
|
27648
|
-
* @deprecated v6.1.3 已废弃,B站官方已于 `2025-08-09` 删除原 `dynamic_svr` 接口。
|
|
27649
|
-
* 调用将返回错误信息
|
|
27650
|
-
* 计划于 v7.0.0 移除。
|
|
27651
|
-
*/
|
|
27652
|
-
fetchDynamicCard: BoundMethodOverload<BilibiliDynamicOptions, BilibiliReturnTypeMap['dynamicCard']>;
|
|
27653
27201
|
/** 获取B站番剧基本信息 */
|
|
27654
27202
|
fetchBangumiInfo: BoundMethodOverload<BilibiliBangumiInfoOptions, BilibiliReturnTypeMap['bangumiInfo']>;
|
|
27655
27203
|
/** 获取B站番剧视频流地址 */
|
|
@@ -28224,72 +27772,13 @@ declare const createAmagiClient: (options?: Options) => {
|
|
|
28224
27772
|
prependOnceListener<K_1>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
|
|
28225
27773
|
eventNames(): (string | symbol)[];
|
|
28226
27774
|
};
|
|
28227
|
-
/** @deprecated v6 已废弃,请使用 douyin.fetcher 替代 */
|
|
28228
|
-
getDouyinData: (..._args: any[]) => never;
|
|
28229
|
-
/** @deprecated v6 已废弃,请使用 bilibili.fetcher 替代 */
|
|
28230
|
-
getBilibiliData: (..._args: any[]) => never;
|
|
28231
|
-
/** @deprecated v6 已废弃,请使用 kuaishou.fetcher 替代 */
|
|
28232
|
-
getKuaishouData: (..._args: any[]) => never;
|
|
28233
|
-
/** @deprecated v6 已废弃,请使用 xiaohongshu.fetcher 替代 */
|
|
28234
|
-
getXiaohongshuData: (..._args: any[]) => never;
|
|
28235
27775
|
douyin: {
|
|
28236
|
-
/** @deprecated 请使用 fetcher 替代 */
|
|
28237
|
-
api: {
|
|
28238
|
-
getSearchData: (..._args: any[]) => never;
|
|
28239
|
-
getTextWorkInfo: (..._args: any[]) => never;
|
|
28240
|
-
getWorkInfo: (..._args: any[]) => never;
|
|
28241
|
-
getVideoWorkInfo: (..._args: any[]) => never;
|
|
28242
|
-
getImageAlbumWorkInfo: (..._args: any[]) => never;
|
|
28243
|
-
getSlidesWorkInfo: (..._args: any[]) => never;
|
|
28244
|
-
getComments: (..._args: any[]) => never;
|
|
28245
|
-
getCommentReplies: (..._args: any[]) => never;
|
|
28246
|
-
getUserProfile: (..._args: any[]) => never;
|
|
28247
|
-
getEmojiList: (..._args: any[]) => never;
|
|
28248
|
-
getEmojiProList: (..._args: any[]) => never;
|
|
28249
|
-
getUserVideos: (..._args: any[]) => never;
|
|
28250
|
-
getMusicInfo: (..._args: any[]) => never;
|
|
28251
|
-
getSuggestWords: (..._args: any[]) => never;
|
|
28252
|
-
search: (..._args: any[]) => never;
|
|
28253
|
-
getLiveRoomInfo: (..._args: any[]) => never;
|
|
28254
|
-
getDanmaku: (..._args: any[]) => never;
|
|
28255
|
-
invoke: (..._args: any[]) => never;
|
|
28256
|
-
};
|
|
28257
27776
|
/** fetcher */
|
|
28258
27777
|
fetcher: IBoundDouyinFetcher;
|
|
28259
27778
|
sign: typeof douyinSign;
|
|
28260
27779
|
douyinApiUrls: typeof douyinApiUrls;
|
|
28261
27780
|
};
|
|
28262
27781
|
bilibili: {
|
|
28263
|
-
/** @deprecated 请使用 fetcher 替代 */
|
|
28264
|
-
api: {
|
|
28265
|
-
getVideoInfo: (..._args: any[]) => never;
|
|
28266
|
-
getVideoStream: (..._args: any[]) => never;
|
|
28267
|
-
getComments: (..._args: any[]) => never;
|
|
28268
|
-
getCommentReply: (..._args: any[]) => never;
|
|
28269
|
-
getUserProfile: (..._args: any[]) => never;
|
|
28270
|
-
getUserDynamic: (..._args: any[]) => never;
|
|
28271
|
-
getEmojiList: (..._args: any[]) => never;
|
|
28272
|
-
getBangumiInfo: (..._args: any[]) => never;
|
|
28273
|
-
getBangumiStream: (..._args: any[]) => never;
|
|
28274
|
-
getDynamicInfo: (..._args: any[]) => never;
|
|
28275
|
-
getDynamicCard: (..._args: any[]) => never;
|
|
28276
|
-
getLiveRoomDetail: (..._args: any[]) => never;
|
|
28277
|
-
getLiveRoomInitInfo: (..._args: any[]) => never;
|
|
28278
|
-
getLoginBasicInfo: (..._args: any[]) => never;
|
|
28279
|
-
getLoginQrcode: (..._args: any[]) => never;
|
|
28280
|
-
checkQrcodeStatus: (..._args: any[]) => never;
|
|
28281
|
-
getUserTotalPlayCount: (..._args: any[]) => never;
|
|
28282
|
-
convertAvToBv: (..._args: any[]) => never;
|
|
28283
|
-
convertBvToAv: (..._args: any[]) => never;
|
|
28284
|
-
getArticleContent: (..._args: any[]) => never;
|
|
28285
|
-
getArticleCard: (..._args: any[]) => never;
|
|
28286
|
-
getArticleInfo: (..._args: any[]) => never;
|
|
28287
|
-
getColumnInfo: (..._args: any[]) => never;
|
|
28288
|
-
getUserProfileDetail: (..._args: any[]) => never;
|
|
28289
|
-
applyVoucherCaptcha: (..._args: any[]) => never;
|
|
28290
|
-
validateCaptcha: (..._args: any[]) => never;
|
|
28291
|
-
getDanmaku: (..._args: any[]) => never;
|
|
28292
|
-
};
|
|
28293
27782
|
/** fetcher */
|
|
28294
27783
|
fetcher: IBoundBilibiliFetcher;
|
|
28295
27784
|
sign: {
|
|
@@ -28303,31 +27792,12 @@ declare const createAmagiClient: (options?: Options) => {
|
|
|
28303
27792
|
bilibiliApiUrls: typeof bilibiliApiUrls;
|
|
28304
27793
|
};
|
|
28305
27794
|
kuaishou: {
|
|
28306
|
-
/** @deprecated 请使用 fetcher 替代 */
|
|
28307
|
-
api: {
|
|
28308
|
-
getWorkInfo: (..._args: any[]) => never;
|
|
28309
|
-
getComments: (..._args: any[]) => never;
|
|
28310
|
-
getUserProfile: (..._args: any[]) => never;
|
|
28311
|
-
getUserWorkList: (..._args: any[]) => never;
|
|
28312
|
-
getLiveRoomInfo: (..._args: any[]) => never;
|
|
28313
|
-
getEmojiList: (..._args: any[]) => never;
|
|
28314
|
-
};
|
|
28315
27795
|
/** fetcher */
|
|
28316
27796
|
fetcher: IBoundKuaishouFetcher;
|
|
28317
27797
|
sign: typeof kuaishouSign;
|
|
28318
27798
|
kuaishouApiUrls: typeof kuaishouApiUrls;
|
|
28319
27799
|
};
|
|
28320
27800
|
xiaohongshu: {
|
|
28321
|
-
/** @deprecated 请使用 fetcher 替代 */
|
|
28322
|
-
api: {
|
|
28323
|
-
getHomeFeed: (..._args: any[]) => never;
|
|
28324
|
-
getNote: (..._args: any[]) => never;
|
|
28325
|
-
getComments: (..._args: any[]) => never;
|
|
28326
|
-
getUser: (..._args: any[]) => never;
|
|
28327
|
-
getUserNotes: (..._args: any[]) => never;
|
|
28328
|
-
getSearchNotes: (..._args: any[]) => never;
|
|
28329
|
-
getEmojiList: (..._args: any[]) => never;
|
|
28330
|
-
};
|
|
28331
27801
|
/** fetcher */
|
|
28332
27802
|
fetcher: IBoundXiaohongshuFetcher;
|
|
28333
27803
|
sign: typeof xiaohongshuSign;
|
|
@@ -28335,134 +27805,6 @@ declare const createAmagiClient: (options?: Options) => {
|
|
|
28335
27805
|
};
|
|
28336
27806
|
};
|
|
28337
27807
|
//#endregion
|
|
28338
|
-
//#region src/platform/bilibili/BilibiliApi.d.ts
|
|
28339
|
-
/**
|
|
28340
|
-
* B站相关 API 的命名空间。
|
|
28341
|
-
*
|
|
28342
|
-
* @deprecated v6 已废弃,请使用 bilibiliFetcher 或 client.bilibili.fetcher 替代
|
|
28343
|
-
*/
|
|
28344
|
-
declare const bilibili: {
|
|
28345
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchVideoInfo 替代 */
|
|
28346
|
-
getVideoInfo: (..._args: any[]) => never;
|
|
28347
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchVideoStreamUrl 替代 */
|
|
28348
|
-
getVideoStream: (..._args: any[]) => never;
|
|
28349
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchComments 替代 */
|
|
28350
|
-
getComments: (..._args: any[]) => never;
|
|
28351
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchCommentReplies 替代 */
|
|
28352
|
-
getCommentReply: (..._args: any[]) => never;
|
|
28353
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchUserCard 替代 */
|
|
28354
|
-
getUserProfile: (..._args: any[]) => never;
|
|
28355
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchUserDynamicList 替代 */
|
|
28356
|
-
getUserDynamic: (..._args: any[]) => never;
|
|
28357
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchEmojiList 替代 */
|
|
28358
|
-
getEmojiList: (..._args: any[]) => never;
|
|
28359
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchBangumiInfo 替代 */
|
|
28360
|
-
getBangumiInfo: (..._args: any[]) => never;
|
|
28361
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchBangumiStreamUrl 替代 */
|
|
28362
|
-
getBangumiStream: (..._args: any[]) => never;
|
|
28363
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchDynamicDetail 替代 */
|
|
28364
|
-
getDynamicInfo: (..._args: any[]) => never;
|
|
28365
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchDynamicCard 替代 */
|
|
28366
|
-
getDynamicCard: (..._args: any[]) => never;
|
|
28367
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchLiveRoomInfo 替代 */
|
|
28368
|
-
getLiveRoomDetail: (..._args: any[]) => never;
|
|
28369
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchLiveRoomInitInfo 替代 */
|
|
28370
|
-
getLiveRoomInitInfo: (..._args: any[]) => never;
|
|
28371
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchLoginStatus 替代 */
|
|
28372
|
-
getLoginBasicInfo: (..._args: any[]) => never;
|
|
28373
|
-
/** @deprecated 请使用 bilibiliFetcher.requestLoginQrcode 替代 */
|
|
28374
|
-
getLoginQrcode: (..._args: any[]) => never;
|
|
28375
|
-
/** @deprecated 请使用 bilibiliFetcher.checkQrcodeStatus 替代 */
|
|
28376
|
-
checkQrcodeStatus: (..._args: any[]) => never;
|
|
28377
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchUploaderTotalViews 替代 */
|
|
28378
|
-
getUserTotalPlayCount: (..._args: any[]) => never;
|
|
28379
|
-
/** @deprecated 请使用 bilibiliFetcher.convertAvToBv 替代 */
|
|
28380
|
-
convertAvToBv: (..._args: any[]) => never;
|
|
28381
|
-
/** @deprecated 请使用 bilibiliFetcher.convertBvToAv 替代 */
|
|
28382
|
-
convertBvToAv: (..._args: any[]) => never;
|
|
28383
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchArticleContent 替代 */
|
|
28384
|
-
getArticleContent: (..._args: any[]) => never;
|
|
28385
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchArticleCards 替代 */
|
|
28386
|
-
getArticleCard: (..._args: any[]) => never;
|
|
28387
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchArticleInfo 替代 */
|
|
28388
|
-
getArticleInfo: (..._args: any[]) => never;
|
|
28389
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchArticleListInfo 替代 */
|
|
28390
|
-
getColumnInfo: (..._args: any[]) => never;
|
|
28391
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchUserSpaceInfo 替代 */
|
|
28392
|
-
getUserProfileDetail: (..._args: any[]) => never;
|
|
28393
|
-
/** @deprecated 请使用 bilibiliFetcher.requestCaptchaFromVoucher 替代 */
|
|
28394
|
-
applyVoucherCaptcha: (..._args: any[]) => never;
|
|
28395
|
-
/** @deprecated 请使用 bilibiliFetcher.validateCaptchaResult 替代 */
|
|
28396
|
-
validateCaptcha: (..._args: any[]) => never;
|
|
28397
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchVideoDanmaku 替代 */
|
|
28398
|
-
getDanmaku: (..._args: any[]) => never;
|
|
28399
|
-
};
|
|
28400
|
-
/**
|
|
28401
|
-
* 创建绑定了cookie的B站API对象
|
|
28402
|
-
*
|
|
28403
|
-
* @deprecated v6 已废弃,请使用 createBoundBilibiliFetcher 替代
|
|
28404
|
-
*/
|
|
28405
|
-
declare const createBoundBilibiliApi: (_cookie: string, _requestConfig: RequestConfig) => {
|
|
28406
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchVideoInfo 替代 */
|
|
28407
|
-
getVideoInfo: (..._args: any[]) => never;
|
|
28408
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchVideoStreamUrl 替代 */
|
|
28409
|
-
getVideoStream: (..._args: any[]) => never;
|
|
28410
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchComments 替代 */
|
|
28411
|
-
getComments: (..._args: any[]) => never;
|
|
28412
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchCommentReplies 替代 */
|
|
28413
|
-
getCommentReply: (..._args: any[]) => never;
|
|
28414
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchUserCard 替代 */
|
|
28415
|
-
getUserProfile: (..._args: any[]) => never;
|
|
28416
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchUserDynamicList 替代 */
|
|
28417
|
-
getUserDynamic: (..._args: any[]) => never;
|
|
28418
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchEmojiList 替代 */
|
|
28419
|
-
getEmojiList: (..._args: any[]) => never;
|
|
28420
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchBangumiInfo 替代 */
|
|
28421
|
-
getBangumiInfo: (..._args: any[]) => never;
|
|
28422
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchBangumiStreamUrl 替代 */
|
|
28423
|
-
getBangumiStream: (..._args: any[]) => never;
|
|
28424
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchDynamicDetail 替代 */
|
|
28425
|
-
getDynamicInfo: (..._args: any[]) => never;
|
|
28426
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchDynamicCard 替代 */
|
|
28427
|
-
getDynamicCard: (..._args: any[]) => never;
|
|
28428
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchLiveRoomInfo 替代 */
|
|
28429
|
-
getLiveRoomDetail: (..._args: any[]) => never;
|
|
28430
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchLiveRoomInitInfo 替代 */
|
|
28431
|
-
getLiveRoomInitInfo: (..._args: any[]) => never;
|
|
28432
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchLoginStatus 替代 */
|
|
28433
|
-
getLoginBasicInfo: (..._args: any[]) => never;
|
|
28434
|
-
/** @deprecated 请使用 bilibiliFetcher.requestLoginQrcode 替代 */
|
|
28435
|
-
getLoginQrcode: (..._args: any[]) => never;
|
|
28436
|
-
/** @deprecated 请使用 bilibiliFetcher.checkQrcodeStatus 替代 */
|
|
28437
|
-
checkQrcodeStatus: (..._args: any[]) => never;
|
|
28438
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchUploaderTotalViews 替代 */
|
|
28439
|
-
getUserTotalPlayCount: (..._args: any[]) => never;
|
|
28440
|
-
/** @deprecated 请使用 bilibiliFetcher.convertAvToBv 替代 */
|
|
28441
|
-
convertAvToBv: (..._args: any[]) => never;
|
|
28442
|
-
/** @deprecated 请使用 bilibiliFetcher.convertBvToAv 替代 */
|
|
28443
|
-
convertBvToAv: (..._args: any[]) => never;
|
|
28444
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchArticleContent 替代 */
|
|
28445
|
-
getArticleContent: (..._args: any[]) => never;
|
|
28446
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchArticleCards 替代 */
|
|
28447
|
-
getArticleCard: (..._args: any[]) => never;
|
|
28448
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchArticleInfo 替代 */
|
|
28449
|
-
getArticleInfo: (..._args: any[]) => never;
|
|
28450
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchArticleListInfo 替代 */
|
|
28451
|
-
getColumnInfo: (..._args: any[]) => never;
|
|
28452
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchUserSpaceInfo 替代 */
|
|
28453
|
-
getUserProfileDetail: (..._args: any[]) => never;
|
|
28454
|
-
/** @deprecated 请使用 bilibiliFetcher.requestCaptchaFromVoucher 替代 */
|
|
28455
|
-
applyVoucherCaptcha: (..._args: any[]) => never;
|
|
28456
|
-
/** @deprecated 请使用 bilibiliFetcher.validateCaptchaResult 替代 */
|
|
28457
|
-
validateCaptcha: (..._args: any[]) => never;
|
|
28458
|
-
/** @deprecated 请使用 bilibiliFetcher.fetchVideoDanmaku 替代 */
|
|
28459
|
-
getDanmaku: (..._args: any[]) => never;
|
|
28460
|
-
};
|
|
28461
|
-
/**
|
|
28462
|
-
* 绑定cookie的B站API对象类型
|
|
28463
|
-
*/
|
|
28464
|
-
type BoundBilibiliApi = ReturnType<typeof createBoundBilibiliApi>;
|
|
28465
|
-
//#endregion
|
|
28466
27808
|
//#region src/platform/bilibili/getdata.d.ts
|
|
28467
27809
|
/**
|
|
28468
27810
|
* 哔哩哔哩API官方HTTP请求错误码
|
|
@@ -28569,16 +27911,6 @@ type bilibiliUtilsModel = {
|
|
|
28569
27911
|
};
|
|
28570
27912
|
/** 该类下的所有方法只会返回拼接好参数后的 Url 地址,需要手动请求该地址以获取数据 */
|
|
28571
27913
|
bilibiliApiUrls: typeof bilibiliApiUrls;
|
|
28572
|
-
/**
|
|
28573
|
-
* B站相关 API 的命名空间。
|
|
28574
|
-
*
|
|
28575
|
-
* 部分接口可能不需要 Cookie 但建议传递有效的用户 Cookie,以获取更多数据。
|
|
28576
|
-
*
|
|
28577
|
-
* 提供了一系列方法,用于与B站相关的 API 进行交互。
|
|
28578
|
-
*
|
|
28579
|
-
* 每个方法都接受参数和 Cookie,返回 Promise,解析为接口返回的原始数据。
|
|
28580
|
-
*/
|
|
28581
|
-
api: typeof bilibili;
|
|
28582
27914
|
};
|
|
28583
27915
|
/** B站相关功能模块 (工具集) */
|
|
28584
27916
|
declare const bilibiliUtils: bilibiliUtilsModel;
|
|
@@ -28665,95 +27997,6 @@ declare class DouyinAPI {
|
|
|
28665
27997
|
/** 默认的 DouyinAPI 实例(使用默认浏览器版本 125.0.0.0) */
|
|
28666
27998
|
declare const douyinApiUrls: DouyinAPI;
|
|
28667
27999
|
//#endregion
|
|
28668
|
-
//#region src/platform/douyin/DouyinApi.d.ts
|
|
28669
|
-
/**
|
|
28670
|
-
* 封装了所有抖音相关的API请求,采用对象化的方式组织。
|
|
28671
|
-
*
|
|
28672
|
-
* @deprecated v6 已废弃,请使用 douyinFetcher 或 client.douyin.fetcher 替代
|
|
28673
|
-
*/
|
|
28674
|
-
declare const douyin: {
|
|
28675
|
-
/** @deprecated 请使用 douyinFetcher.fetchTextWork 替代 */
|
|
28676
|
-
getTextWorkInfo: (..._args: any[]) => never;
|
|
28677
|
-
/** @deprecated 请使用 douyinFetcher.parseWork 替代 */
|
|
28678
|
-
getWorkInfo: (..._args: any[]) => never;
|
|
28679
|
-
/** @deprecated 请使用 douyinFetcher.fetchVideoWork 替代 */
|
|
28680
|
-
getVideoWorkInfo: (..._args: any[]) => never;
|
|
28681
|
-
/** @deprecated 请使用 douyinFetcher.fetchImageAlbumWork 替代 */
|
|
28682
|
-
getImageAlbumWorkInfo: (..._args: any[]) => never;
|
|
28683
|
-
/** @deprecated 请使用 douyinFetcher.fetchSlidesWork 替代 */
|
|
28684
|
-
getSlidesWorkInfo: (..._args: any[]) => never;
|
|
28685
|
-
/** @deprecated 请使用 douyinFetcher.fetchComments 替代 */
|
|
28686
|
-
getComments: (..._args: any[]) => never;
|
|
28687
|
-
/** @deprecated 请使用 douyinFetcher.fetchCommentReplies 替代 */
|
|
28688
|
-
getCommentReplies: (..._args: any[]) => never;
|
|
28689
|
-
/** @deprecated 请使用 douyinFetcher.fetchUserProfile 替代 */
|
|
28690
|
-
getUserProfile: (..._args: any[]) => never;
|
|
28691
|
-
/** @deprecated 请使用 douyinFetcher.fetchEmojiList 替代 */
|
|
28692
|
-
getEmojiList: (..._args: any[]) => never;
|
|
28693
|
-
/** @deprecated 请使用 douyinFetcher.fetchDynamicEmojiList 替代 */
|
|
28694
|
-
getEmojiProList: (..._args: any[]) => never;
|
|
28695
|
-
/** @deprecated 请使用 douyinFetcher.fetchUserVideoList 替代 */
|
|
28696
|
-
getUserVideos: (..._args: any[]) => never;
|
|
28697
|
-
/** @deprecated 请使用 douyinFetcher.fetchMusicInfo 替代 */
|
|
28698
|
-
getMusicInfo: (..._args: any[]) => never;
|
|
28699
|
-
/** @deprecated 请使用 douyinFetcher.fetchSuggestWords 替代 */
|
|
28700
|
-
getSuggestWords: (..._args: any[]) => never;
|
|
28701
|
-
/** @deprecated 请使用 douyinFetcher.searchContent 替代 */
|
|
28702
|
-
search: (..._args: any[]) => never;
|
|
28703
|
-
/** @deprecated 请使用 douyinFetcher.fetchLiveRoomInfo 替代 */
|
|
28704
|
-
getLiveRoomInfo: (..._args: any[]) => never;
|
|
28705
|
-
/** @deprecated 请使用 douyinFetcher.fetchDanmakuList 替代 */
|
|
28706
|
-
getDanmaku: (..._args: any[]) => never;
|
|
28707
|
-
/** @deprecated 请使用 douyinFetcher 的具体方法替代 */
|
|
28708
|
-
invoke: (..._args: any[]) => never;
|
|
28709
|
-
};
|
|
28710
|
-
/**
|
|
28711
|
-
* 创建绑定了cookie的抖音API对象
|
|
28712
|
-
*
|
|
28713
|
-
* @deprecated v6 已废弃,请使用 createBoundDouyinFetcher 替代
|
|
28714
|
-
*/
|
|
28715
|
-
declare const createBoundDouyinApi: (_cookie: string, _requestConfig: RequestConfig) => {
|
|
28716
|
-
getSearchData: (..._args: any[]) => never;
|
|
28717
|
-
/** @deprecated 请使用 douyinFetcher.fetchTextWork 替代 */
|
|
28718
|
-
getTextWorkInfo: (..._args: any[]) => never;
|
|
28719
|
-
/** @deprecated 请使用 douyinFetcher.parseWork 替代 */
|
|
28720
|
-
getWorkInfo: (..._args: any[]) => never;
|
|
28721
|
-
/** @deprecated 请使用 douyinFetcher.fetchVideoWork 替代 */
|
|
28722
|
-
getVideoWorkInfo: (..._args: any[]) => never;
|
|
28723
|
-
/** @deprecated 请使用 douyinFetcher.fetchImageAlbumWork 替代 */
|
|
28724
|
-
getImageAlbumWorkInfo: (..._args: any[]) => never;
|
|
28725
|
-
/** @deprecated 请使用 douyinFetcher.fetchSlidesWork 替代 */
|
|
28726
|
-
getSlidesWorkInfo: (..._args: any[]) => never;
|
|
28727
|
-
/** @deprecated 请使用 douyinFetcher.fetchComments 替代 */
|
|
28728
|
-
getComments: (..._args: any[]) => never;
|
|
28729
|
-
/** @deprecated 请使用 douyinFetcher.fetchCommentReplies 替代 */
|
|
28730
|
-
getCommentReplies: (..._args: any[]) => never;
|
|
28731
|
-
/** @deprecated 请使用 douyinFetcher.fetchUserProfile 替代 */
|
|
28732
|
-
getUserProfile: (..._args: any[]) => never;
|
|
28733
|
-
/** @deprecated 请使用 douyinFetcher.fetchEmojiList 替代 */
|
|
28734
|
-
getEmojiList: (..._args: any[]) => never;
|
|
28735
|
-
/** @deprecated 请使用 douyinFetcher.fetchDynamicEmojiList 替代 */
|
|
28736
|
-
getEmojiProList: (..._args: any[]) => never;
|
|
28737
|
-
/** @deprecated 请使用 douyinFetcher.fetchUserVideoList 替代 */
|
|
28738
|
-
getUserVideos: (..._args: any[]) => never;
|
|
28739
|
-
/** @deprecated 请使用 douyinFetcher.fetchMusicInfo 替代 */
|
|
28740
|
-
getMusicInfo: (..._args: any[]) => never;
|
|
28741
|
-
/** @deprecated 请使用 douyinFetcher.fetchSuggestWords 替代 */
|
|
28742
|
-
getSuggestWords: (..._args: any[]) => never;
|
|
28743
|
-
/** @deprecated 请使用 douyinFetcher.searchContent 替代 */
|
|
28744
|
-
search: (..._args: any[]) => never;
|
|
28745
|
-
/** @deprecated 请使用 douyinFetcher.fetchLiveRoomInfo 替代 */
|
|
28746
|
-
getLiveRoomInfo: (..._args: any[]) => never;
|
|
28747
|
-
/** @deprecated 请使用 douyinFetcher.fetchDanmakuList 替代 */
|
|
28748
|
-
getDanmaku: (..._args: any[]) => never;
|
|
28749
|
-
/** @deprecated 请使用 douyinFetcher 的具体方法替代 */
|
|
28750
|
-
invoke: (..._args: any[]) => never;
|
|
28751
|
-
};
|
|
28752
|
-
/**
|
|
28753
|
-
* 绑定cookie的抖音API对象类型
|
|
28754
|
-
*/
|
|
28755
|
-
type BoundDouyinApi = ReturnType<typeof createBoundDouyinApi>;
|
|
28756
|
-
//#endregion
|
|
28757
28000
|
//#region src/platform/douyin/routes.d.ts
|
|
28758
28001
|
/**
|
|
28759
28002
|
* 创建抖音路由
|
|
@@ -28773,14 +28016,6 @@ type douyinUtilsModel = {
|
|
|
28773
28016
|
* 缺少 `a_bougs` 参数,请自行生成拼接
|
|
28774
28017
|
*/
|
|
28775
28018
|
douyinApiUrls: typeof douyinApiUrls;
|
|
28776
|
-
/**
|
|
28777
|
-
* 封装了所有抖音相关的API请求,采用对象化的方式组织。
|
|
28778
|
-
*
|
|
28779
|
-
* 提供了一系列方法,用于与抖音相关的 API 进行交互。
|
|
28780
|
-
*
|
|
28781
|
-
* 每个方法都接受参数和 Cookie,返回 Promise,解析为接口返回的原始数据。
|
|
28782
|
-
*/
|
|
28783
|
-
api: typeof douyin;
|
|
28784
28019
|
};
|
|
28785
28020
|
/** 抖音相关功能模块 (工具集) */
|
|
28786
28021
|
declare const douyinUtils: douyinUtilsModel;
|
|
@@ -29067,50 +28302,6 @@ declare class kuaishouSign {
|
|
|
29067
28302
|
static signLiveApiRequest(request: KuaishouLiveApiRequest, cookie?: string): KuaishouLiveApiSignature;
|
|
29068
28303
|
}
|
|
29069
28304
|
//#endregion
|
|
29070
|
-
//#region src/platform/kuaishou/KuaishouApi.d.ts
|
|
29071
|
-
/**
|
|
29072
|
-
* 快手相关 API 的命名空间。
|
|
29073
|
-
*
|
|
29074
|
-
* @deprecated v6 已废弃,请使用 kuaishouFetcher 或 client.kuaishou.fetcher 替代
|
|
29075
|
-
*/
|
|
29076
|
-
declare const kuaishou: {
|
|
29077
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchVideoWork 替代 */
|
|
29078
|
-
getWorkInfo: (..._args: any[]) => never;
|
|
29079
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchWorkComments 替代 */
|
|
29080
|
-
getComments: (..._args: any[]) => never;
|
|
29081
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchUserProfile 替代 */
|
|
29082
|
-
getUserProfile: (..._args: any[]) => never;
|
|
29083
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchUserWorkList 替代 */
|
|
29084
|
-
getUserWorkList: (..._args: any[]) => never;
|
|
29085
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchLiveRoomInfo 替代 */
|
|
29086
|
-
getLiveRoomInfo: (..._args: any[]) => never;
|
|
29087
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchEmojiList 替代 */
|
|
29088
|
-
getEmojiList: (..._args: any[]) => never;
|
|
29089
|
-
};
|
|
29090
|
-
/**
|
|
29091
|
-
* 创建绑定了cookie的快手API对象
|
|
29092
|
-
*
|
|
29093
|
-
* @deprecated v6 已废弃,请使用 createBoundKuaishouFetcher 替代
|
|
29094
|
-
*/
|
|
29095
|
-
declare const createBoundKuaishouApi: (_cookie: string, _requestConfig: RequestConfig) => {
|
|
29096
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchVideoWork 替代 */
|
|
29097
|
-
getWorkInfo: (..._args: any[]) => never;
|
|
29098
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchWorkComments 替代 */
|
|
29099
|
-
getComments: (..._args: any[]) => never;
|
|
29100
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchUserProfile 替代 */
|
|
29101
|
-
getUserProfile: (..._args: any[]) => never;
|
|
29102
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchUserWorkList 替代 */
|
|
29103
|
-
getUserWorkList: (..._args: any[]) => never;
|
|
29104
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchLiveRoomInfo 替代 */
|
|
29105
|
-
getLiveRoomInfo: (..._args: any[]) => never;
|
|
29106
|
-
/** @deprecated 请使用 kuaishouFetcher.fetchEmojiList 替代 */
|
|
29107
|
-
getEmojiList: (..._args: any[]) => never;
|
|
29108
|
-
};
|
|
29109
|
-
/**
|
|
29110
|
-
* 绑定cookie的快手API对象类型
|
|
29111
|
-
*/
|
|
29112
|
-
type BoundKuaishouApi = ReturnType<typeof createBoundKuaishouApi>;
|
|
29113
|
-
//#endregion
|
|
29114
28305
|
//#region src/platform/kuaishou/routes.d.ts
|
|
29115
28306
|
/**
|
|
29116
28307
|
* 创建快手路由
|
|
@@ -29126,14 +28317,6 @@ type kuaishouUtilsModel = {
|
|
|
29126
28317
|
sign: typeof kuaishouSign;
|
|
29127
28318
|
/** 该类下的方法只会返回请求描述对象,需要手动请求对应地址以获取数据 */
|
|
29128
28319
|
kuaishouApiUrls: typeof kuaishouApiUrls;
|
|
29129
|
-
/**
|
|
29130
|
-
* 封装了所有快手相关的API请求,采用对象化的方式组织。
|
|
29131
|
-
*
|
|
29132
|
-
* 提供了一系列方法,用于与快手相关的 API 进行交互。
|
|
29133
|
-
*
|
|
29134
|
-
* 每个方法都接受参数和 Cookie,返回 Promise,解析为接口返回的原始数据。
|
|
29135
|
-
*/
|
|
29136
|
-
api: typeof kuaishou;
|
|
29137
28320
|
};
|
|
29138
28321
|
/** 快手相关功能模块 (工具集) */
|
|
29139
28322
|
declare const kuaishouUtils: kuaishouUtilsModel;
|
|
@@ -29197,54 +28380,6 @@ declare class xiaohongshuSign {
|
|
|
29197
28380
|
static getSearchId: () => string;
|
|
29198
28381
|
}
|
|
29199
28382
|
//#endregion
|
|
29200
|
-
//#region src/platform/xiaohongshu/XiaohongshuApi.d.ts
|
|
29201
|
-
/**
|
|
29202
|
-
* 封装了所有小红书相关的API请求,采用对象化的方式组织。
|
|
29203
|
-
*
|
|
29204
|
-
* @deprecated v6 已废弃,请使用 xiaohongshuFetcher 或 client.xiaohongshu.fetcher 替代
|
|
29205
|
-
*/
|
|
29206
|
-
declare const xiaohongshu: {
|
|
29207
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchHomeFeed 替代 */
|
|
29208
|
-
getHomeFeed: (..._args: any[]) => never;
|
|
29209
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchNoteDetail 替代 */
|
|
29210
|
-
getNote: (..._args: any[]) => never;
|
|
29211
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchNoteComments 替代 */
|
|
29212
|
-
getComments: (..._args: any[]) => never;
|
|
29213
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchUserProfile 替代 */
|
|
29214
|
-
getUser: (..._args: any[]) => never;
|
|
29215
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchUserNoteList 替代 */
|
|
29216
|
-
getUserNotes: (..._args: any[]) => never;
|
|
29217
|
-
/** @deprecated 请使用 xiaohongshuFetcher.searchNotes 替代 */
|
|
29218
|
-
getSearchNotes: (..._args: any[]) => never;
|
|
29219
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchEmojiList 替代 */
|
|
29220
|
-
getEmojiList: (..._args: any[]) => never;
|
|
29221
|
-
};
|
|
29222
|
-
/**
|
|
29223
|
-
* 创建绑定了cookie的小红书API对象
|
|
29224
|
-
*
|
|
29225
|
-
* @deprecated v6 已废弃,请使用 createBoundXiaohongshuFetcher 替代
|
|
29226
|
-
*/
|
|
29227
|
-
declare const createBoundXiaohongshuApi: (_cookie: string, _requestConfig: RequestConfig) => {
|
|
29228
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchHomeFeed 替代 */
|
|
29229
|
-
getHomeFeed: (..._args: any[]) => never;
|
|
29230
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchNoteDetail 替代 */
|
|
29231
|
-
getNote: (..._args: any[]) => never;
|
|
29232
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchNoteComments 替代 */
|
|
29233
|
-
getComments: (..._args: any[]) => never;
|
|
29234
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchUserProfile 替代 */
|
|
29235
|
-
getUser: (..._args: any[]) => never;
|
|
29236
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchUserNoteList 替代 */
|
|
29237
|
-
getUserNotes: (..._args: any[]) => never;
|
|
29238
|
-
/** @deprecated 请使用 xiaohongshuFetcher.searchNotes 替代 */
|
|
29239
|
-
getSearchNotes: (..._args: any[]) => never;
|
|
29240
|
-
/** @deprecated 请使用 xiaohongshuFetcher.fetchEmojiList 替代 */
|
|
29241
|
-
getEmojiList: (..._args: any[]) => never;
|
|
29242
|
-
};
|
|
29243
|
-
/**
|
|
29244
|
-
* 绑定cookie的小红书API对象类型
|
|
29245
|
-
*/
|
|
29246
|
-
type BoundXiaohongshuApi = ReturnType<typeof createBoundXiaohongshuApi>;
|
|
29247
|
-
//#endregion
|
|
29248
28383
|
//#region src/platform/xiaohongshu/routes.d.ts
|
|
29249
28384
|
/**
|
|
29250
28385
|
* 创建小红书路由
|
|
@@ -29262,83 +28397,10 @@ type xiaohongshuUtilsModel = {
|
|
|
29262
28397
|
* 该类下的所有方法只会返回拼接好参数后的 Url 地址,需要手动请求该地址以获取数据
|
|
29263
28398
|
*/
|
|
29264
28399
|
xiaohongshuApiUrls: typeof xiaohongshuApiUrls;
|
|
29265
|
-
/**
|
|
29266
|
-
* 封装了所有小红书相关的API请求,采用对象化的方式组织。
|
|
29267
|
-
*
|
|
29268
|
-
* 提供了一系列方法,用于与小红书相关的 API 进行交互。
|
|
29269
|
-
*
|
|
29270
|
-
* 每个方法都接受参数和 Cookie,返回 Promise,解析为接口返回的原始数据。
|
|
29271
|
-
*/
|
|
29272
|
-
api: typeof xiaohongshu;
|
|
29273
28400
|
};
|
|
29274
28401
|
/** 小红书相关功能模块 (工具集) */
|
|
29275
28402
|
declare const xiaohongshuUtils: xiaohongshuUtilsModel;
|
|
29276
28403
|
//#endregion
|
|
29277
|
-
//#region src/model/DataFetchers.d.ts
|
|
29278
|
-
/**
|
|
29279
|
-
* 获取抖音数据
|
|
29280
|
-
*
|
|
29281
|
-
* @deprecated v6 已废弃,请使用 douyinFetcher 或 client.douyin.fetcher 替代
|
|
29282
|
-
* @throws {DeprecatedApiError} 调用时抛出废弃错误
|
|
29283
|
-
*
|
|
29284
|
-
* @example
|
|
29285
|
-
* ```typescript
|
|
29286
|
-
* // 旧用法 (已废弃,会抛出错误)
|
|
29287
|
-
* const data = await getDouyinData('videoWork', { aweme_id: '123' }, cookie)
|
|
29288
|
-
*
|
|
29289
|
-
* // 新用法
|
|
29290
|
-
* import { douyinFetcher } from '@ikenxuan/amagi'
|
|
29291
|
-
* const data = await douyinFetcher.fetchVideoWork({ aweme_id: '123' }, cookie)
|
|
29292
|
-
*
|
|
29293
|
-
* // 或使用客户端实例
|
|
29294
|
-
* const client = createAmagiClient({ cookies: { douyin: cookie } })
|
|
29295
|
-
* const data = await client.douyin.fetcher.fetchVideoWork({ aweme_id: '123' })
|
|
29296
|
-
* ```
|
|
29297
|
-
*/
|
|
29298
|
-
declare function getDouyinData(..._args: any[]): never;
|
|
29299
|
-
/**
|
|
29300
|
-
* 获取B站数据
|
|
29301
|
-
*
|
|
29302
|
-
* @deprecated v6 已废弃,请使用 bilibiliFetcher 或 client.bilibili.fetcher 替代
|
|
29303
|
-
* @throws {DeprecatedApiError} 调用时抛出废弃错误
|
|
29304
|
-
*
|
|
29305
|
-
* @example
|
|
29306
|
-
* ```typescript
|
|
29307
|
-
* // 旧用法 (已废弃,会抛出错误)
|
|
29308
|
-
* const data = await getBilibiliData('videoInfo', { bvid: 'BV123' }, cookie)
|
|
29309
|
-
*
|
|
29310
|
-
* // 新用法
|
|
29311
|
-
* import { bilibiliFetcher } from '@ikenxuan/amagi'
|
|
29312
|
-
* const data = await bilibiliFetcher.fetchVideoInfo({ bvid: 'BV123' }, cookie)
|
|
29313
|
-
*
|
|
29314
|
-
* // 或使用客户端实例
|
|
29315
|
-
* const client = createAmagiClient({ cookies: { bilibili: cookie } })
|
|
29316
|
-
* const data = await client.bilibili.fetcher.fetchVideoInfo({ bvid: 'BV123' })
|
|
29317
|
-
* ```
|
|
29318
|
-
*/
|
|
29319
|
-
declare function getBilibiliData(..._args: any[]): never;
|
|
29320
|
-
/**
|
|
29321
|
-
* 获取快手数据
|
|
29322
|
-
*
|
|
29323
|
-
* @deprecated v6 已废弃,请使用 kuaishouFetcher 或 client.kuaishou.fetcher 替代
|
|
29324
|
-
* @throws {DeprecatedApiError} 调用时抛出废弃错误
|
|
29325
|
-
*
|
|
29326
|
-
* @example
|
|
29327
|
-
* ```typescript
|
|
29328
|
-
* // 旧用法 (已废弃,会抛出错误)
|
|
29329
|
-
* const data = await getKuaishouData('videoWork', { photoId: '123' }, cookie)
|
|
29330
|
-
*
|
|
29331
|
-
* // 新用法
|
|
29332
|
-
* import { kuaishouFetcher } from '@ikenxuan/amagi'
|
|
29333
|
-
* const data = await kuaishouFetcher.fetchVideoWork({ photoId: '123' }, cookie)
|
|
29334
|
-
*
|
|
29335
|
-
* // 或使用客户端实例
|
|
29336
|
-
* const client = createAmagiClient({ cookies: { kuaishou: cookie } })
|
|
29337
|
-
* const data = await client.kuaishou.fetcher.fetchVideoWork({ photoId: '123' })
|
|
29338
|
-
* ```
|
|
29339
|
-
*/
|
|
29340
|
-
declare function getKuaishouData(..._args: any[]): never;
|
|
29341
|
-
//#endregion
|
|
29342
28404
|
//#region src/utils/errors.d.ts
|
|
29343
28405
|
/**
|
|
29344
28406
|
* API错误类
|
|
@@ -29433,49 +28495,6 @@ declare const getHeadersAndData: <T = any>(config: AxiosRequestConfig, maxRetrie
|
|
|
29433
28495
|
data: T;
|
|
29434
28496
|
} | ErrorResult>;
|
|
29435
28497
|
//#endregion
|
|
29436
|
-
//#region src/model/logger.d.ts
|
|
29437
|
-
/**
|
|
29438
|
-
* @deprecated v6 已废弃,请使用事件系统替代
|
|
29439
|
-
* 初始化 logger 配置 - 此函数现在为空操作
|
|
29440
|
-
*/
|
|
29441
|
-
declare const initLogger: () => void;
|
|
29442
|
-
/**
|
|
29443
|
-
* @deprecated v6 已废弃,请使用事件系统替代
|
|
29444
|
-
* 简化的日志类,仅发射事件,不再依赖 log4js
|
|
29445
|
-
*/
|
|
29446
|
-
declare class SimpleLogger {
|
|
29447
|
-
chalk: ChalkInstance;
|
|
29448
|
-
red: (text: string) => string;
|
|
29449
|
-
green: (text: string) => string;
|
|
29450
|
-
yellow: (text: string) => string;
|
|
29451
|
-
blue: (text: string) => string;
|
|
29452
|
-
magenta: (text: string) => string;
|
|
29453
|
-
cyan: (text: string) => string;
|
|
29454
|
-
white: (text: string) => string;
|
|
29455
|
-
gray: (text: string) => string;
|
|
29456
|
-
constructor();
|
|
29457
|
-
info(message: any, ...args: any[]): void;
|
|
29458
|
-
warn(message: any, ...args: any[]): void;
|
|
29459
|
-
error(message: any, ...args: any[]): void;
|
|
29460
|
-
mark(message: any, ...args: any[]): void;
|
|
29461
|
-
debug(message: any, ...args: any[]): void;
|
|
29462
|
-
}
|
|
29463
|
-
/**
|
|
29464
|
-
* @deprecated v6 已废弃,请使用事件系统替代
|
|
29465
|
-
*/
|
|
29466
|
-
declare const logger: SimpleLogger;
|
|
29467
|
-
/**
|
|
29468
|
-
* @deprecated v6 已废弃,请使用事件系统替代
|
|
29469
|
-
*/
|
|
29470
|
-
declare const httpLogger: SimpleLogger;
|
|
29471
|
-
/**
|
|
29472
|
-
* @deprecated v6 已废弃,请使用事件系统监听 http:response 事件
|
|
29473
|
-
* 创建一个日志中间件,用于记录特定请求的详细信息
|
|
29474
|
-
* @param pathsToLog 指定需要记录日志的请求路径数组如果未提供,则记录所有请求的日志
|
|
29475
|
-
* @returns
|
|
29476
|
-
*/
|
|
29477
|
-
declare const logMiddleware: (pathsToLog?: string[]) => express.RequestHandler;
|
|
29478
|
-
//#endregion
|
|
29479
28498
|
//#region src/types/api-spec.d.ts
|
|
29480
28499
|
/**
|
|
29481
28500
|
* Amagi v6 API 规范定义
|
|
@@ -29547,7 +28566,6 @@ declare const BilibiliMethodMapping: {
|
|
|
29547
28566
|
readonly 用户空间详细信息: "fetchUserSpaceInfo";
|
|
29548
28567
|
readonly 获取UP主总播放量: "fetchUploaderTotalViews";
|
|
29549
28568
|
readonly 动态详情数据: "fetchDynamicDetail";
|
|
29550
|
-
readonly 动态卡片数据: "fetchDynamicCard";
|
|
29551
28569
|
readonly 番剧基本信息数据: "fetchBangumiInfo";
|
|
29552
28570
|
readonly 番剧下载信息数据: "fetchBangumiStreamUrl";
|
|
29553
28571
|
readonly 直播间信息: "fetchLiveRoomInfo";
|
|
@@ -29633,7 +28651,6 @@ declare const BilibiliApiRoutes: {
|
|
|
29633
28651
|
readonly userSpaceInfo: "/user/space";
|
|
29634
28652
|
readonly uploaderTotalViews: "/user/total-views";
|
|
29635
28653
|
readonly dynamicDetail: "/dynamic";
|
|
29636
|
-
readonly dynamicCard: "/dynamic/card";
|
|
29637
28654
|
readonly bangumiInfo: "/bangumi";
|
|
29638
28655
|
readonly bangumiStream: "/bangumi/stream";
|
|
29639
28656
|
readonly liveRoomInfo: "/live";
|
|
@@ -29684,10 +28701,6 @@ declare function getEnglishMethodName<T extends Platform>(platform: T, chineseMe
|
|
|
29684
28701
|
declare function getApiRoute<T extends Platform>(platform: T, methodType: string): string | undefined;
|
|
29685
28702
|
//#endregion
|
|
29686
28703
|
//#region src/index.d.ts
|
|
29687
|
-
/**
|
|
29688
|
-
* @deprecated 请使用 createAmagiClient 替代
|
|
29689
|
-
*/
|
|
29690
|
-
declare const amagiClient: typeof createAmagiClient;
|
|
29691
28704
|
/** amagi 的构造函数类型 */
|
|
29692
28705
|
type AmagiConstructor = {
|
|
29693
28706
|
new (options?: Options): ReturnType<typeof createAmagiClient>;
|
|
@@ -29702,26 +28715,6 @@ type AmagiConstructor = {
|
|
|
29702
28715
|
kuaishou: typeof kuaishouUtils;
|
|
29703
28716
|
/** 小红书相关功能模块 (工具集) */
|
|
29704
28717
|
xiaohongshu: typeof xiaohongshuUtils;
|
|
29705
|
-
/**
|
|
29706
|
-
* @deprecated v6 已废弃,请使用 douyinFetcher 替代
|
|
29707
|
-
* @throws {DeprecatedApiError} 调用时抛出废弃错误
|
|
29708
|
-
*/
|
|
29709
|
-
getDouyinData: (...args: any[]) => never;
|
|
29710
|
-
/**
|
|
29711
|
-
* @deprecated v6 已废弃,请使用 bilibiliFetcher 替代
|
|
29712
|
-
* @throws {DeprecatedApiError} 调用时抛出废弃错误
|
|
29713
|
-
*/
|
|
29714
|
-
getBilibiliData: (...args: any[]) => never;
|
|
29715
|
-
/**
|
|
29716
|
-
* @deprecated v6 已废弃,请使用 kuaishouFetcher 替代
|
|
29717
|
-
* @throws {DeprecatedApiError} 调用时抛出废弃错误
|
|
29718
|
-
*/
|
|
29719
|
-
getKuaishouData: (...args: any[]) => never;
|
|
29720
|
-
/**
|
|
29721
|
-
* @deprecated v6 已废弃,请使用 xiaohongshuFetcher 替代
|
|
29722
|
-
* @throws {DeprecatedApiError} 调用时抛出废弃错误
|
|
29723
|
-
*/
|
|
29724
|
-
getXiaohongshuData: (...args: any[]) => never;
|
|
29725
28718
|
/** 事件系统 */
|
|
29726
28719
|
events: typeof amagiEvents;
|
|
29727
28720
|
/**
|
|
@@ -29759,4 +28752,4 @@ declare const CreateApp: AmagiConstructor;
|
|
|
29759
28752
|
declare const Client: typeof CreateApp;
|
|
29760
28753
|
declare const amagi: typeof Client;
|
|
29761
28754
|
//#endregion
|
|
29762
|
-
export { APIErrorType, AdditionalType, AmagiEventMap, AmagiEventType, type AnonymousFetcherRequestConfig, type ApiEndpoint, ApiError, ApiErrorEventData,
|
|
28755
|
+
export { APIErrorType, AdditionalType, AmagiEventMap, AmagiEventType, type AnonymousFetcherRequestConfig, type ApiEndpoint, ApiError, ApiErrorEventData, ApiSuccessEventData, ArticleCard, ArticleContent, ArticleInfo, ArticleWork, BaseRequestOptions, BaseResponse, BiliAv2Bv, BiliBangumiVideoInfo, BiliBangumiVideoPlayurlIsLogin, BiliBangumiVideoPlayurlNoLogin, BiliBiliVideoPlayurlNoLogin, BiliBv2AV, BiliCheckQrcode, BiliCommentReply, 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, type BoundBilibiliFetcher, type BoundDouyinFetcher, type BoundKuaishouFetcher, 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, amagiEvents, av2bv, bilibiliApiUrls, bilibiliErrorCodeMap, bilibiliFetcher, bilibiliUtils, bv2av, createAmagiClient, createBilibiliRoutes, createBilibiliRoutes as registerBilibiliRoutes, createBoundBilibiliFetcher, createBoundDouyinFetcher, createBoundKuaishouFetcher, createBoundXiaohongshuFetcher, createDouyinRoutes, createDouyinRoutes as registerDouyinRoutes, createErrorResponse, createKuaishouRoutes, createKuaishouRoutes as registerKuaishouRoutes, createSuccessResponse, createXiaohongshuRoutes, createXiaohongshuRoutes as registerXiaohongshuRoutes, douyinApiUrls, douyinFetcher, douyinSign, douyinUtils, emitApiError, emitApiSuccess, emitHttpRequest, emitHttpResponse, emitLog, emitLogDebug, emitLogError, emitLogInfo, emitLogMark, emitLogWarn, emitNetworkError, emitNetworkRetry, fetchData, fetchResponse, getApiRoute, getEnglishMethodName, getHeadersAndData, handleError, isNetworkErrorResult, kuaishouApiUrls, kuaishouFetcher, kuaishouSign, kuaishouUtils, parseDmSegMobileReply, qtparam, toFetcherMethod, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validateXiaohongshuParams, wbi_sign, xiaohongshuApiUrls, xiaohongshuFetcher, xiaohongshuSign, xiaohongshuUtils };
|