mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-24 02:39:18 -05:00
* feat: blacklist media items re #490 * feat: blacklist media items * feat: blacklist media items * style: formatting * refactor: close the manage slide-over when the media item is removed from the blacklist * fix: fix media data in the db when blacklisting an item * refactor: refactor component to accept show boolean * refactor: hide watchlist button in the media page when it's blacklisted. Also add a blacklist button * style: formatting --------- Co-authored-by: JoaquinOlivero <joaquin.olivero@hotmail.com>
15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
import type { User } from '@server/entity/User';
|
|
import type { PaginatedResponse } from '@server/interfaces/api/common';
|
|
|
|
export interface BlacklistItem {
|
|
tmdbId: number;
|
|
mediaType: 'movie' | 'tv';
|
|
title?: string;
|
|
createdAt?: Date;
|
|
user: User;
|
|
}
|
|
|
|
export interface BlacklistResultsResponse extends PaginatedResponse {
|
|
results: BlacklistItem[];
|
|
}
|