feat(filters): show current download count in list (#2001)

* feat(filters): show current and max downloads in list

* feat(filters): remove unused func param
This commit is contained in:
ze0s 2025-03-16 18:33:47 +01:00 committed by GitHub
parent c85fa3f31a
commit ef7317dde6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 63 additions and 9 deletions

View file

@ -82,6 +82,7 @@ interface Filter {
actions: Action[];
indexers: Indexer[];
external: ExternalFilter[];
downloads?: FilterDownloads;
release_profile_duplicate_id?: number;
}
@ -152,3 +153,12 @@ interface ExternalFilter {
webhook_retry_delay_seconds?: number;
filter_id?: number;
}
interface FilterDownloads {
hour_count: number;
day_count: number;
week_count: number;
month_count: number;
year_count: number;
total_count: number;
}