add rating / favorite to player context and events

This commit is contained in:
jeffvli
2025-11-07 19:44:19 -08:00
parent b4558491e7
commit 9fafb4f397
6 changed files with 100 additions and 117 deletions
+2 -1
View File
@@ -887,8 +887,9 @@ export interface PlaylistListQuery extends BaseQuery<PlaylistListSort> {
export type PlaylistListResponse = BasePaginatedResponse<Playlist[]>;
export type RatingQuery = {
item: AnyLibraryItems;
id: string[];
rating: number;
type: LibraryItem;
};
// Rating