This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #928 from YXL76/master
更新 TypeScript 声明
- Loading branch information
Showing
126 changed files
with
233 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface AlbumRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface AlbumDetailRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface AlbumDetailDynamicRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface AlbumListRequestConfig extends RequestBaseConfig { | ||
limit?: number // 默认 30 | ||
offset?: number // 默认 0 | ||
limit?: string | number // 默认 30 | ||
offset?: string | number // 默认 0 | ||
area?: 'ALL' | 'ZH' | 'EA' | 'KR' | 'JP' // 默认 ALL | ||
type: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface AlbumListStyleRequestConfig extends RequestBaseConfig { | ||
limit?: number // 默认 10 | ||
offset?: number // 默认 0 | ||
limit?: string | number // 默认 10 | ||
offset?: string | number // 默认 0 | ||
area?: 'Z_H' | 'E_A' | 'KR' | 'JP' // 默认 ALL | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface AlbumNewRequestConfig extends RequestBaseConfig { | ||
limit?: number // 默认 30 | ||
offset?: number // 默认 0 | ||
limit?: string | number // 默认 30 | ||
offset?: string | number // 默认 0 | ||
area?: 'ALL' | 'ZH' | 'EA' | 'KR' | 'JP' // 默认 ALL | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface AlbumSongSaleBoardRequestConfig extends RequestBaseConfig { | ||
albumType: 0 | 1 // 0 为数字专辑,1 为数字单曲 | ||
type: 'daily' | 'week' | 'year' | 'total' | ||
year?: string // 年份,默认本年。 type 为 year 时有效 | ||
albumType?: 0 | 1 // 0 为数字专辑,1 为数字单曲 | ||
type?: 'daily' | 'week' | 'year' | 'total' | ||
year?: string | number // 年份,默认本年。 type 为 year 时有效 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface AlbumSubRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
t: 1 | 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface AlbumSubListRequestConfig extends RequestBaseConfig { | ||
limit: number // 默认: 25 | ||
offset: number // 默认: 0 | ||
limit: string | number // 默认: 25 | ||
offset: string | number // 默认: 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface ArtistAlbumRequestConfig extends RequestBaseConfig { | ||
id: string | ||
limit?: number // 默认 30 | ||
offset?: number // 默认 0 | ||
id: string | number | ||
limit?: string | number // 默认 30 | ||
offset?: string | number // 默认 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface ArtistDescRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface ArtistMVRequestConfig extends RequestBaseConfig { | ||
artistId: string | ||
limit: number | ||
offset: number | ||
id: string | number | ||
limit: string | number | ||
offset: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface ArtistSongsRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
order?: 'hot' | 'time' | ||
offset?: number | ||
limit?: number | ||
offset?: string | number | ||
limit?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface ArtistSubRequestConfig extends RequestBaseConfig { | ||
artistId: string | ||
id: string | number | ||
t: 1 | 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface ArtistSubListRequestConfig extends RequestBaseConfig { | ||
limit?: number | ||
offset?: number | ||
limit?: string | number | ||
offset?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface ArtistTopSongRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface ArtistsRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface BannerRequestConfig extends RequestBaseConfig { | ||
type: 0 | 1 | 2 | 3 | ||
type?: 0 | 1 | 2 | 3 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface CommentRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
type: 0 | 1 | 2 | 3 | 4 | 5 | 6 | ||
t: 1 | 2 | 0 | ||
threadId?: string | ||
content?: string | ||
commentId?: string | ||
content?: string | number | ||
commentId?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface CommentAlbumRequestConfig extends RequestBaseConfig { | ||
id: string | ||
limit?: number | ||
offset?: number | ||
before?: number | ||
id: string | number | ||
limit?: string | number | ||
offset?: string | number | ||
before?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface CommentDjRequestConfig extends RequestBaseConfig { | ||
id: string | ||
limit?: number | ||
offset?: number | ||
before?: number | ||
id: string | number | ||
limit?: string | number | ||
offset?: string | number | ||
before?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface CommentFloorRequestConfig extends RequestBaseConfig { | ||
id: string | ||
parentCommentId: string | ||
id: string | number | ||
parentCommentId: string | number | ||
type: 0 | 1 | 2 | 3 | 4 | 5 | ||
limit?: number | ||
time?: number | ||
limit?: string | number | ||
time?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface CommentHotRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
type: 0 | 1 | 2 | 3 | 4 | 5 | ||
offset?: number | ||
limit?: number | ||
before?: number | ||
offset?: string | number | ||
limit?: string | number | ||
before?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface CommentLikeRequestConfig extends RequestBaseConfig { | ||
id: string | ||
id: string | number | ||
type: 0 | 1 | 2 | 3 | 4 | 5 | ||
t: 1 | 0 | ||
cid: number | ||
cid: string | number | ||
threadId?: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface CommentMusicRequestConfig extends RequestBaseConfig { | ||
id: string | ||
limit?: number | ||
offset?: number | ||
before?: number | ||
id: string | number | ||
limit?: string | number | ||
offset?: string | number | ||
before?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface CommentMvRequestConfig extends RequestBaseConfig { | ||
id: string | ||
limit?: number | ||
offset?: number | ||
before?: number | ||
id: string | number | ||
limit?: string | number | ||
offset?: string | number | ||
before?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface CommentPlaylistRequestConfig extends RequestBaseConfig { | ||
id: string | ||
limit?: number | ||
offset?: number | ||
before?: number | ||
id: string | number | ||
limit?: string | number | ||
offset?: string | number | ||
before?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface CommentVideoRequestConfig extends RequestBaseConfig { | ||
id: string | ||
limit?: number | ||
offset?: number | ||
before?: number | ||
id: string | number | ||
limit?: string | number | ||
offset?: string | number | ||
before?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface DailySigninRequestConfig extends RequestBaseConfig { | ||
type: 0 | 1 | ||
type?: 0 | 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface DigitalAlbumPurchasedRequestConfig extends RequestBaseConfig { | ||
offset?: number | ||
limit?: number | ||
offset?: string | number | ||
limit?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface DjDetailRequestConfig extends RequestBaseConfig { | ||
rid: string | ||
rid: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface DjHotRequestConfig extends RequestBaseConfig { | ||
offset?: number | ||
limit?: number | ||
offset?: string | number | ||
limit?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface DjPaygiftRequestConfig extends RequestBaseConfig { | ||
offset?: number | ||
limit?: number | ||
offset?: string | number | ||
limit?: string | number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface DjProgramRequestConfig extends RequestBaseConfig { | ||
rid: string | ||
limit?: number | ||
offset?: number | ||
rid: string | number | ||
limit?: string | number | ||
offset?: string | number | ||
asc: 'true' | 1 | 'false' | 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { RequestBaseConfig } from './base' | ||
|
||
export interface DjProgramDetailRequestConfig extends RequestBaseConfig { | ||
id: number | ||
id: string | number | ||
} |
Oops, something went wrong.
4343260
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: