mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(actions): qbit add options content layout and skip hash check (#393)
* feat(actions): qbit content layout and skip hash check * feat(actions): qbit options
This commit is contained in:
parent
db9d048f5d
commit
9508cbb46c
13 changed files with 394 additions and 50 deletions
|
@ -244,6 +244,12 @@ export const ActionTypeNameMap = {
|
|||
"WHISPARR": "Whisparr"
|
||||
};
|
||||
|
||||
export const ActionContentLayoutOptions: SelectGenericOption<ActionContentLayout>[] = [
|
||||
{ label: "Original", description: "Original", value: "ORIGINAL" },
|
||||
{ label: "Create subfolder", description: "Create subfolder", value: "SUBFOLDER_CREATE" },
|
||||
{ label: "Don't create subfolder", description: "Don't create subfolder", value: "SUBFOLDER_NONE" },
|
||||
];
|
||||
|
||||
export interface OptionBasic {
|
||||
label: string;
|
||||
value: string;
|
||||
|
@ -308,6 +314,12 @@ export interface SelectOption {
|
|||
value: NotificationEvent;
|
||||
}
|
||||
|
||||
export interface SelectGenericOption<T> {
|
||||
label: string;
|
||||
description: string;
|
||||
value: T;
|
||||
}
|
||||
|
||||
export const EventOptions: SelectOption[] = [
|
||||
{
|
||||
label: "Push Rejected",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue