fix(notifications): multiple providers using the wrong params

This commit is contained in:
Nicolas Meienberger
2025-11-23 21:08:07 +01:00
parent 8d4e5d2d4e
commit e99487eed9
7 changed files with 90 additions and 16 deletions

View File

@@ -36,12 +36,14 @@ export const discordNotificationConfigSchema = type({
webhookUrl: "string",
username: "string?",
avatarUrl: "string?",
threadId: "string?",
});
export const gotifyNotificationConfigSchema = type({
type: "'gotify'",
serverUrl: "string",
token: "string",
path: "string?",
priority: "0 <= number <= 10",
});