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
View File
@@ -21,10 +21,12 @@ export type UserFavoriteEventPayload = {
favorite: boolean;
id: string[];
itemType: LibraryItem;
serverId: string;
};
export type UserRatingEventPayload = {
id: string[];
itemType: LibraryItem;
rating: null | number;
serverId: string;
};