mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-12-30 09:41:10 +01:00
29 lines
477 B
TypeScript
29 lines
477 B
TypeScript
import ModelBase from 'App/ModelBase';
|
|
|
|
export type HistoryQueryType =
|
|
| 'search'
|
|
| 'tvsearch'
|
|
| 'movie'
|
|
| 'book'
|
|
| 'music';
|
|
|
|
export interface HistoryData {
|
|
source: string;
|
|
host: string;
|
|
limit: number;
|
|
offset: number;
|
|
elapsedTime: number;
|
|
query: string;
|
|
queryType: HistoryQueryType;
|
|
}
|
|
|
|
interface History extends ModelBase {
|
|
indexerId: number;
|
|
date: string;
|
|
successful: boolean;
|
|
eventType: string;
|
|
data: HistoryData;
|
|
}
|
|
|
|
export default History;
|