Updated responsiveListItemRenderer type and parser, need to test ytmusic search function

This commit is contained in:
Eclypsed
2024-04-03 01:19:46 -04:00
parent acb45803ac
commit c01a7f6a03
2 changed files with 140 additions and 109 deletions

8
src/app.d.ts vendored
View File

@@ -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[]
}
}
}