@ikenxuan/amagi 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -8
- package/lib/business/bilibili/getdata.d.ts +2 -2
- package/lib/business/bilibili/getdata.js +1 -1
- package/lib/business/bilibili/result.d.ts +12 -5
- package/lib/business/bilibili/result.js +33 -40
- package/lib/business/douyin/getdata.d.ts +2 -2
- package/lib/business/douyin/getdata.js +24 -13
- package/lib/business/douyin/result.d.ts +6 -5
- package/lib/business/douyin/result.js +29 -42
- package/lib/business/douyin/sign/a_bogus.js +8 -8
- package/lib/business/index.d.ts +2 -2
- package/lib/business/index.js +2 -2
- package/lib/index.d.ts +17 -0
- package/lib/index.js +23 -0
- package/lib/model/dir.d.ts +3 -3
- package/lib/model/dir.js +6 -6
- package/lib/model/index.d.ts +3 -3
- package/lib/model/index.js +3 -3
- package/lib/model/networks.d.ts +13 -21
- package/lib/model/networks.js +54 -139
- package/lib/server/client.d.ts +22 -13
- package/lib/server/client.js +138 -80
- package/lib/server/index.d.ts +2 -2
- package/lib/server/index.js +2 -2
- package/lib/server/listen.d.ts +2 -2
- package/lib/server/listen.js +4 -4
- package/lib/types/BilibiliAPIParams.d.ts +1 -1
- package/lib/types/BilibiliAPIParams.js +1 -1
- package/lib/types/ConfigType.js +1 -1
- package/lib/types/DataType.js +1 -1
- package/lib/types/DouyinAPIParams.d.ts +1 -1
- package/lib/types/DouyinAPIParams.js +1 -1
- package/lib/types/GetDataResponseType.js +1 -1
- package/lib/types/NetworksConfigType.js +1 -1
- package/lib/types/OptionsType.js +1 -1
- package/lib/types/Request.d.ts +2 -2
- package/lib/types/Request.js +1 -1
- package/lib/types/index.d.ts +9 -9
- package/lib/types/index.js +1 -1
- package/package.json +1 -1
package/lib/types/OptionsType.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {}
|
|
1
|
+
export {}
|
package/lib/types/Request.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FastifyRequest } from 'fastify'
|
|
2
|
-
import { BilibiliOptionsType, DouyinOptionsType } from './OptionsType.js'
|
|
1
|
+
import { FastifyRequest } from 'fastify'
|
|
2
|
+
import { BilibiliOptionsType, DouyinOptionsType } from './OptionsType.js'
|
|
3
3
|
export interface DouyinRequest extends FastifyRequest {
|
|
4
4
|
Querystring: DouyinOptionsType;
|
|
5
5
|
}
|
package/lib/types/Request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {}
|
|
1
|
+
export {}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type BilibiliAPIParams } from './BilibiliAPIParams.js'
|
|
2
|
-
import { type ConfigType } from './ConfigType.js'
|
|
3
|
-
import { BilibiliDataType, DouyinDataType } from './DataType.js'
|
|
4
|
-
import { type DouyinAPIParams } from './DouyinAPIParams.js'
|
|
5
|
-
import { type GetDataResponseType } from './GetDataResponseType.js'
|
|
6
|
-
import { type NetworksConfigType } from './NetworksConfigType.js'
|
|
7
|
-
import { type BilibiliOptionsType, type DouyinOptionsType } from './OptionsType.js'
|
|
8
|
-
export * from './Request.js'
|
|
9
|
-
export { BilibiliAPIParams, BilibiliDataType, BilibiliOptionsType, ConfigType, DouyinAPIParams, DouyinDataType, DouyinOptionsType, GetDataResponseType, NetworksConfigType }
|
|
1
|
+
import { type BilibiliAPIParams } from './BilibiliAPIParams.js'
|
|
2
|
+
import { type ConfigType } from './ConfigType.js'
|
|
3
|
+
import { BilibiliDataType, DouyinDataType } from './DataType.js'
|
|
4
|
+
import { type DouyinAPIParams } from './DouyinAPIParams.js'
|
|
5
|
+
import { type GetDataResponseType } from './GetDataResponseType.js'
|
|
6
|
+
import { type NetworksConfigType } from './NetworksConfigType.js'
|
|
7
|
+
import { type BilibiliOptionsType, type DouyinOptionsType } from './OptionsType.js'
|
|
8
|
+
export * from './Request.js'
|
|
9
|
+
export { BilibiliAPIParams, BilibiliDataType, BilibiliOptionsType, ConfigType, DouyinAPIParams, DouyinDataType, DouyinOptionsType, GetDataResponseType, NetworksConfigType }
|
package/lib/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Request.js'
|
|
1
|
+
export * from './Request.js'
|