@any-listen/extension-kit 0.1.4 → 0.1.5
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/package.json +1 -1
- package/types/app/api.d.ts +5 -1
package/package.json
CHANGED
package/types/app/api.d.ts
CHANGED
|
@@ -648,6 +648,10 @@ interface SonglistSearchParams extends CommonListParams {
|
|
|
648
648
|
interface ListDetailParams extends CommonListParams {
|
|
649
649
|
id: string
|
|
650
650
|
}
|
|
651
|
+
interface SonglistTagResult {
|
|
652
|
+
tags: AnyListen.Resource.TagGroupItem[]
|
|
653
|
+
hotTags: AnyListen.Resource.TagItem[]
|
|
654
|
+
}
|
|
651
655
|
interface SonglistListParams extends CommonListParams {
|
|
652
656
|
sort: string
|
|
653
657
|
tag: string
|
|
@@ -1054,7 +1058,7 @@ declare global {
|
|
|
1054
1058
|
lyricDetail: (params: LyricDetailParams) => Promise<AnyListen.Music.LyricInfo>
|
|
1055
1059
|
songlistSearch: (params: SonglistSearchParams) => Promise<ListCommonResult<AnyListen.Resource.SongListItem>>
|
|
1056
1060
|
songlistSorts: (params: CommonParams) => Promise<AnyListen.Resource.TagItem[]>
|
|
1057
|
-
songlistTags: (params: CommonParams) => Promise<
|
|
1061
|
+
songlistTags: (params: CommonParams) => Promise<SonglistTagResult>
|
|
1058
1062
|
songlist: (params: SonglistListParams) => Promise<ListCommonResult<AnyListen.Resource.SongListItem>>
|
|
1059
1063
|
songlistDetail: (params: ListDetailParams) => Promise<SonglistDetailResult>
|
|
1060
1064
|
leaderboard: (params: CommonParams) => Promise<AnyListen.Resource.TagGroupItem[]>
|