mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 03:38:26 -07:00
New: History custom filters
(cherry picked from commit 2fe8f3084c90688e6dd01d600796396e74f43ff9) Closes #4213 Closes #4235 Closes #4236
This commit is contained in:
parent
efc6c69a0f
commit
e408c6f055
15 changed files with 262 additions and 24 deletions
29
frontend/src/typings/History.ts
Normal file
29
frontend/src/typings/History.ts
Normal file
|
@ -0,0 +1,29 @@
|
|||
import { QualityModel } from 'Quality/Quality';
|
||||
import CustomFormat from './CustomFormat';
|
||||
|
||||
export type HistoryEventType =
|
||||
| 'grabbed'
|
||||
| 'artistFolderImported'
|
||||
| 'trackFileImported'
|
||||
| 'downloadFailed'
|
||||
| 'trackFileDeleted'
|
||||
| 'trackFileRenamed'
|
||||
| 'albumImportIncomplete'
|
||||
| 'downloadImported'
|
||||
| 'trackFileRetagged'
|
||||
| 'downloadIgnored';
|
||||
|
||||
export default interface History {
|
||||
episodeId: number;
|
||||
seriesId: number;
|
||||
sourceTitle: string;
|
||||
quality: QualityModel;
|
||||
customFormats: CustomFormat[];
|
||||
customFormatScore: number;
|
||||
qualityCutoffNotMet: boolean;
|
||||
date: string;
|
||||
downloadId: string;
|
||||
eventType: HistoryEventType;
|
||||
data: unknown;
|
||||
id: number;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue