mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(notifications): add Notifiarr support (#464)
This commit is contained in:
parent
f8ace9edbe
commit
63d4c21e54
8 changed files with 326 additions and 18 deletions
|
@ -263,6 +263,11 @@ export interface OptionBasic {
|
|||
value: string;
|
||||
}
|
||||
|
||||
export interface OptionBasicTyped<T> {
|
||||
label: string;
|
||||
value: T;
|
||||
}
|
||||
|
||||
export const PushStatusOptions: OptionBasic[] = [
|
||||
{
|
||||
label: "Rejected",
|
||||
|
@ -278,11 +283,15 @@ export const PushStatusOptions: OptionBasic[] = [
|
|||
}
|
||||
];
|
||||
|
||||
export const NotificationTypeOptions: OptionBasic[] = [
|
||||
export const NotificationTypeOptions: OptionBasicTyped<NotificationType>[] = [
|
||||
{
|
||||
label: "Discord",
|
||||
value: "DISCORD"
|
||||
},
|
||||
{
|
||||
label: "Notifiarr",
|
||||
value: "NOTIFIARR"
|
||||
},
|
||||
{
|
||||
label: "Telegram",
|
||||
value: "TELEGRAM"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue