From b0c73ece9f2eb91c9d7aa5f9ea07cc6a5e8822dc Mon Sep 17 00:00:00 2001 From: StarFleetCPTN Date: Sun, 25 Jan 2026 10:11:41 -0800 Subject: [PATCH 1/2] feat(pushover): add support for all priority levels Add lowest (-2) and emergency (2) priority options to the Pushover notification form. Previously only low, normal, and high were available. --- .../components/notification-forms/pushover-form.tsx | 2 ++ app/schemas/notifications.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/client/modules/notifications/components/notification-forms/pushover-form.tsx b/app/client/modules/notifications/components/notification-forms/pushover-form.tsx index e49dd2e6..0351afe4 100644 --- a/app/client/modules/notifications/components/notification-forms/pushover-form.tsx +++ b/app/client/modules/notifications/components/notification-forms/pushover-form.tsx @@ -71,9 +71,11 @@ export const PushoverForm = ({ form }: Props) => { + Lowest (-2) Low (-1) Normal (0) High (1) + Emergency (2) Message priority level. diff --git a/app/schemas/notifications.ts b/app/schemas/notifications.ts index e5cc379a..2411ddd8 100644 --- a/app/schemas/notifications.ts +++ b/app/schemas/notifications.ts @@ -64,7 +64,7 @@ export const pushoverNotificationConfigSchema = type({ userKey: "string", apiToken: "string", devices: "string?", - priority: "-1 | 0 | 1", + priority: "-2 | -1 | 0 | 1 | 2", }); export const telegramNotificationConfigSchema = type({ From 1ed7a19afeff2e5ccefbe07a12d9590c365e7c7f Mon Sep 17 00:00:00 2001 From: StarFleetCPTN Date: Sun, 25 Jan 2026 13:15:17 -0800 Subject: [PATCH 2/2] chore: update generated API types Co-Authored-By: Claude Opus 4.5 --- app/client/api-client/types.gen.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/client/api-client/types.gen.ts b/app/client/api-client/types.gen.ts index 0c356714..eb1ec1f4 100644 --- a/app/client/api-client/types.gen.ts +++ b/app/client/api-client/types.gen.ts @@ -2970,7 +2970,7 @@ export type GetScheduleNotificationsResponses = { config: | { apiToken: string; - priority: -1 | 0 | 1; + priority: -1 | -2 | 0 | 1 | 2; type: "pushover"; userKey: string; devices?: string; @@ -3080,7 +3080,7 @@ export type UpdateScheduleNotificationsResponses = { config: | { apiToken: string; - priority: -1 | 0 | 1; + priority: -1 | -2 | 0 | 1 | 2; type: "pushover"; userKey: string; devices?: string; @@ -3655,7 +3655,7 @@ export type ListNotificationDestinationsResponses = { config: | { apiToken: string; - priority: -1 | 0 | 1; + priority: -1 | -2 | 0 | 1 | 2; type: "pushover"; userKey: string; devices?: string; @@ -3736,7 +3736,7 @@ export type CreateNotificationDestinationData = { config: | { apiToken: string; - priority: -1 | 0 | 1; + priority: -1 | -2 | 0 | 1 | 2; type: "pushover"; userKey: string; devices?: string; @@ -3815,7 +3815,7 @@ export type CreateNotificationDestinationResponses = { config: | { apiToken: string; - priority: -1 | 0 | 1; + priority: -1 | -2 | 0 | 1 | 2; type: "pushover"; userKey: string; devices?: string; @@ -3943,7 +3943,7 @@ export type GetNotificationDestinationResponses = { config: | { apiToken: string; - priority: -1 | 0 | 1; + priority: -1 | -2 | 0 | 1 | 2; type: "pushover"; userKey: string; devices?: string; @@ -4024,7 +4024,7 @@ export type UpdateNotificationDestinationData = { config?: | { apiToken: string; - priority: -1 | 0 | 1; + priority: -1 | -2 | 0 | 1 | 2; type: "pushover"; userKey: string; devices?: string; @@ -4113,7 +4113,7 @@ export type UpdateNotificationDestinationResponses = { config: | { apiToken: string; - priority: -1 | 0 | 1; + priority: -1 | -2 | 0 | 1 | 2; type: "pushover"; userKey: string; devices?: string;