Updated responsiveListItemRenderer type and parser, need to test ytmusic search function
This commit is contained in:
8
src/app.d.ts
vendored
8
src/app.d.ts
vendored
@@ -42,7 +42,7 @@ declare global {
|
||||
|
||||
interface Connection {
|
||||
public id: string
|
||||
getRecommendations: () => Promise<(Song | Album | Playlist)[]>
|
||||
getRecommendations: () => Promise<(Song | Album | Artist | Playlist)[]>
|
||||
getConnectionInfo: () => Promise<ConnectionInfo>
|
||||
search: (searchTerm: string, filter?: 'song' | 'album' | 'artist' | 'playlist') => Promise<(Song | Album | Artist | Playlist)[]>
|
||||
}
|
||||
@@ -143,12 +143,6 @@ declare global {
|
||||
refreshToken: string
|
||||
expiry: number
|
||||
}
|
||||
|
||||
interface HomeItems {
|
||||
listenAgain: MediaItem[]
|
||||
quickPicks: MediaItem[]
|
||||
newReleases: MediaItem[]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user