mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 02:09:13 +00:00
feat(actions): add webhook support (#184)
* feat(actions): add webhook support * feat: add type and method
This commit is contained in:
parent
3c323004c0
commit
159133ef35
9 changed files with 178 additions and 35 deletions
7
web/src/types/Filter.d.ts
vendored
7
web/src/types/Filter.d.ts
vendored
|
@ -66,8 +66,13 @@ interface Action {
|
|||
ignore_rules?: boolean;
|
||||
limit_upload_speed?: number;
|
||||
limit_download_speed?: number;
|
||||
webhook_host: string,
|
||||
webhook_type: string;
|
||||
webhook_method: string;
|
||||
webhook_data: string,
|
||||
webhook_headers: string[];
|
||||
filter_id?: number;
|
||||
client_id?: number;
|
||||
}
|
||||
|
||||
type ActionType = 'TEST' | 'EXEC' | 'WATCH_FOLDER' | DownloadClientType;
|
||||
type ActionType = 'TEST' | 'EXEC' | 'WATCH_FOLDER' | 'WEBHOOK' | DownloadClientType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue