mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-22 02:16:39 +02:00
add scan listener and query invalidation on tag editor save
This commit is contained in:
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user