@ikenxuan/amagi 5.10.0 → 5.10.1
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/dist/default/index.cjs +1 -1
- package/dist/default/index.d.cts +9 -16
- package/dist/default/index.d.ts +9 -16
- package/dist/default/index.js +1 -1
- package/package.json +1 -1
package/dist/default/index.cjs
CHANGED
package/dist/default/index.d.cts
CHANGED
|
@@ -5444,20 +5444,6 @@ type Relation = {
|
|
|
5444
5444
|
};
|
|
5445
5445
|
//#endregion
|
|
5446
5446
|
//#region src/types/ReturnDataType/Bilibili/DynamicInfo.d.ts
|
|
5447
|
-
type AVItem$1 = DynamicTypeAV['data']['item'];
|
|
5448
|
-
type DrawItem$1 = DynamicTypeDraw['data']['item'];
|
|
5449
|
-
type WordItem$1 = DynamicTypeWord['data']['item'];
|
|
5450
|
-
type LiveRcmdItem$1 = DynamicTypeLiveRcmd['data']['item'];
|
|
5451
|
-
type ForwardItem$1 = DynamicTypeForwardUnion['data']['item'];
|
|
5452
|
-
type ArticleItem$1 = DynamicTypeArticle['data']['item'];
|
|
5453
|
-
type DynamicTypeItemMap$1 = {
|
|
5454
|
-
[DynamicType.AV]: AVItem$1;
|
|
5455
|
-
[DynamicType.DRAW]: DrawItem$1;
|
|
5456
|
-
[DynamicType.WORD]: WordItem$1;
|
|
5457
|
-
[DynamicType.LIVE_RCMD]: LiveRcmdItem$1;
|
|
5458
|
-
[DynamicType.FORWARD]: ForwardItem$1;
|
|
5459
|
-
[DynamicType.ARTICLE]: ArticleItem$1['data']['item'];
|
|
5460
|
-
};
|
|
5461
5447
|
declare enum DynamicType {
|
|
5462
5448
|
AV = "DYNAMIC_TYPE_AV",
|
|
5463
5449
|
DRAW = "DYNAMIC_TYPE_DRAW",
|
|
@@ -5466,9 +5452,17 @@ declare enum DynamicType {
|
|
|
5466
5452
|
FORWARD = "DYNAMIC_TYPE_FORWARD",
|
|
5467
5453
|
ARTICLE = "DYNAMIC_TYPE_ARTICLE",
|
|
5468
5454
|
}
|
|
5455
|
+
type BiliDynamicInfoUnion = DynamicTypeAV | DynamicTypeDraw | DynamicTypeWord | DynamicTypeLiveRcmd | DynamicTypeForwardUnion | DynamicTypeArticle;
|
|
5456
|
+
type DynamicTypeItemMap$1 = {
|
|
5457
|
+
[DynamicType.AV]: DynamicTypeAV['data']['item'];
|
|
5458
|
+
[DynamicType.DRAW]: DynamicTypeDraw['data']['item'];
|
|
5459
|
+
[DynamicType.WORD]: DynamicTypeWord['data']['item'];
|
|
5460
|
+
[DynamicType.LIVE_RCMD]: DynamicTypeLiveRcmd['data']['item'];
|
|
5461
|
+
[DynamicType.FORWARD]: DynamicTypeForwardUnion['data']['item'];
|
|
5462
|
+
[DynamicType.ARTICLE]: DynamicTypeArticle['data']['item'];
|
|
5463
|
+
};
|
|
5469
5464
|
type DataData$18<T$1 extends DynamicType> = {
|
|
5470
5465
|
item: DynamicTypeItemMap$1[T$1];
|
|
5471
|
-
[property: string]: any;
|
|
5472
5466
|
};
|
|
5473
5467
|
type BiliDynamicInfo<T$1 extends DynamicType> = {
|
|
5474
5468
|
code: number;
|
|
@@ -5477,7 +5471,6 @@ type BiliDynamicInfo<T$1 extends DynamicType> = {
|
|
|
5477
5471
|
ttl: number;
|
|
5478
5472
|
[property: string]: any;
|
|
5479
5473
|
};
|
|
5480
|
-
type BiliDynamicInfoUnion = BiliDynamicInfo<DynamicType.AV> | BiliDynamicInfo<DynamicType.DRAW> | BiliDynamicInfo<DynamicType.WORD> | BiliDynamicInfo<DynamicType.LIVE_RCMD> | BiliDynamicInfo<DynamicType.FORWARD> | BiliDynamicInfo<DynamicType.ARTICLE>;
|
|
5481
5474
|
//#endregion
|
|
5482
5475
|
//#region src/types/ReturnDataType/Bilibili/LiveRoomDef.d.ts
|
|
5483
5476
|
type BiliLiveRoomDef = {
|
package/dist/default/index.d.ts
CHANGED
|
@@ -5444,20 +5444,6 @@ type Relation = {
|
|
|
5444
5444
|
};
|
|
5445
5445
|
//#endregion
|
|
5446
5446
|
//#region src/types/ReturnDataType/Bilibili/DynamicInfo.d.ts
|
|
5447
|
-
type AVItem$1 = DynamicTypeAV['data']['item'];
|
|
5448
|
-
type DrawItem$1 = DynamicTypeDraw['data']['item'];
|
|
5449
|
-
type WordItem$1 = DynamicTypeWord['data']['item'];
|
|
5450
|
-
type LiveRcmdItem$1 = DynamicTypeLiveRcmd['data']['item'];
|
|
5451
|
-
type ForwardItem$1 = DynamicTypeForwardUnion['data']['item'];
|
|
5452
|
-
type ArticleItem$1 = DynamicTypeArticle['data']['item'];
|
|
5453
|
-
type DynamicTypeItemMap$1 = {
|
|
5454
|
-
[DynamicType.AV]: AVItem$1;
|
|
5455
|
-
[DynamicType.DRAW]: DrawItem$1;
|
|
5456
|
-
[DynamicType.WORD]: WordItem$1;
|
|
5457
|
-
[DynamicType.LIVE_RCMD]: LiveRcmdItem$1;
|
|
5458
|
-
[DynamicType.FORWARD]: ForwardItem$1;
|
|
5459
|
-
[DynamicType.ARTICLE]: ArticleItem$1['data']['item'];
|
|
5460
|
-
};
|
|
5461
5447
|
declare enum DynamicType {
|
|
5462
5448
|
AV = "DYNAMIC_TYPE_AV",
|
|
5463
5449
|
DRAW = "DYNAMIC_TYPE_DRAW",
|
|
@@ -5466,9 +5452,17 @@ declare enum DynamicType {
|
|
|
5466
5452
|
FORWARD = "DYNAMIC_TYPE_FORWARD",
|
|
5467
5453
|
ARTICLE = "DYNAMIC_TYPE_ARTICLE",
|
|
5468
5454
|
}
|
|
5455
|
+
type BiliDynamicInfoUnion = DynamicTypeAV | DynamicTypeDraw | DynamicTypeWord | DynamicTypeLiveRcmd | DynamicTypeForwardUnion | DynamicTypeArticle;
|
|
5456
|
+
type DynamicTypeItemMap$1 = {
|
|
5457
|
+
[DynamicType.AV]: DynamicTypeAV['data']['item'];
|
|
5458
|
+
[DynamicType.DRAW]: DynamicTypeDraw['data']['item'];
|
|
5459
|
+
[DynamicType.WORD]: DynamicTypeWord['data']['item'];
|
|
5460
|
+
[DynamicType.LIVE_RCMD]: DynamicTypeLiveRcmd['data']['item'];
|
|
5461
|
+
[DynamicType.FORWARD]: DynamicTypeForwardUnion['data']['item'];
|
|
5462
|
+
[DynamicType.ARTICLE]: DynamicTypeArticle['data']['item'];
|
|
5463
|
+
};
|
|
5469
5464
|
type DataData$18<T$1 extends DynamicType> = {
|
|
5470
5465
|
item: DynamicTypeItemMap$1[T$1];
|
|
5471
|
-
[property: string]: any;
|
|
5472
5466
|
};
|
|
5473
5467
|
type BiliDynamicInfo<T$1 extends DynamicType> = {
|
|
5474
5468
|
code: number;
|
|
@@ -5477,7 +5471,6 @@ type BiliDynamicInfo<T$1 extends DynamicType> = {
|
|
|
5477
5471
|
ttl: number;
|
|
5478
5472
|
[property: string]: any;
|
|
5479
5473
|
};
|
|
5480
|
-
type BiliDynamicInfoUnion = BiliDynamicInfo<DynamicType.AV> | BiliDynamicInfo<DynamicType.DRAW> | BiliDynamicInfo<DynamicType.WORD> | BiliDynamicInfo<DynamicType.LIVE_RCMD> | BiliDynamicInfo<DynamicType.FORWARD> | BiliDynamicInfo<DynamicType.ARTICLE>;
|
|
5481
5474
|
//#endregion
|
|
5482
5475
|
//#region src/types/ReturnDataType/Bilibili/LiveRoomDef.d.ts
|
|
5483
5476
|
type BiliLiveRoomDef = {
|
package/dist/default/index.js
CHANGED