feat: add Pushover notification channel
Adds Pushover as a new notification channel, allowing users to receive push notifications on their devices via the Pushover API. Backend: provider, type registration, validation, service wiring Frontend: form UI with app token and user key fields, validation, i18n Tests: full unit test suite (15 tests, 100% coverage on provider) Closes #3445 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2be1b48995
commit
97353bc7d2
13 files changed
+313
-3
No files matched your search
@@ -72,6 +72,13 @@ export const createNotificationBodyValidation = z.discriminatedUnion("type", [
|
||||
address: z.string().min(1, "Chat ID is required"),
|
||||
accessToken: z.string().min(1, "Bot token is required"),
|
||||
}),
|
||||
// Pushover notification
|
||||
z.object({
|
||||
notificationName: z.string().min(1, "Notification name is required"),
|
||||
type: z.literal("pushover"),
|
||||
address: z.string().min(1, "User key is required"),
|
||||
accessToken: z.string().min(1, "App token is required"),
|
||||
}),
|
||||
]);
|
||||
|
||||
export const testNotificationBodyValidation = createNotificationBodyValidation;
|
||||
|
||||
Reference in new issue
Block a user