mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 02:09:13 +00:00
Feature: Support multiple action status per release (#69)
* feat: move release actions to separate table * chore: update sqlite driver
This commit is contained in:
parent
2ea2293745
commit
e03eac24ba
12 changed files with 284 additions and 91 deletions
|
@ -177,7 +177,6 @@ export interface Config {
|
|||
export interface Release {
|
||||
id: number;
|
||||
filter_status: string;
|
||||
push_status: string;
|
||||
rejections: string[];
|
||||
indexer: string;
|
||||
filter: string;
|
||||
|
@ -186,6 +185,17 @@ export interface Release {
|
|||
size: number;
|
||||
raw: string;
|
||||
timestamp: Date
|
||||
action_status: ReleaseActionStatus[]
|
||||
}
|
||||
|
||||
export interface ReleaseActionStatus {
|
||||
id: number;
|
||||
status: string;
|
||||
action: string;
|
||||
type: string;
|
||||
rejections: string[];
|
||||
timestamp: Date
|
||||
// raw: string;
|
||||
}
|
||||
|
||||
export interface ReleaseFindResponse {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue