add scan listener and query invalidation on tag editor save

This commit is contained in:
jeffvli
2026-07-19 21:03:13 -07:00
parent e62242824d
commit 173efa9bfd
17 changed files with 326 additions and 5 deletions
+7
View File
@@ -20,6 +20,7 @@ export type EventMap = {
PLAYLIST_MOVE_UP: PlaylistMoveEventPayload;
PLAYLIST_REORDER: PlaylistReorderEventPayload;
QUEUE_RESTORED: QueueRestoredEventPayload;
TAG_EDITED: TagEditedEventPayload;
USER_FAVORITE: UserFavoriteEventPayload;
USER_RATING: UserRatingEventPayload;
};
@@ -79,6 +80,12 @@ export type QueueRestoredEventPayload = {
position: number;
};
export type TagEditedEventPayload = {
id: string[];
itemType: LibraryItem;
serverId: string;
};
export type UserFavoriteEventPayload = {
favorite: boolean;
id: string[];