add: new notifiers and ui fixes

This commit is contained in:
Théo LAGACHE
2026-01-07 13:33:23 +01:00
parent 2a1acbfde8
commit df9390847f
30 changed files with 7175 additions and 228 deletions
@@ -0,0 +1,2 @@
ALTER TYPE "public"."provider_kind" ADD VALUE 'discord';--> statement-breakpoint
ALTER TYPE "public"."provider_kind" ADD VALUE 'telegram';
@@ -0,0 +1,2 @@
ALTER TYPE "public"."provider_kind" ADD VALUE 'gotify';--> statement-breakpoint
ALTER TYPE "public"."provider_kind" ADD VALUE 'ntfy';
@@ -0,0 +1 @@
ALTER TYPE "public"."provider_kind" ADD VALUE 'webhook';
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+21
View File
@@ -120,6 +120,27 @@
"when": 1767363779637,
"tag": "0016_broken_morgan_stark",
"breakpoints": true
},
{
"idx": 17,
"version": "7",
"when": 1767778503470,
"tag": "0017_wild_purple_man",
"breakpoints": true
},
{
"idx": 18,
"version": "7",
"when": 1767780819624,
"tag": "0018_smiling_mole_man",
"breakpoints": true
},
{
"idx": 19,
"version": "7",
"when": 1767782077775,
"tag": "0019_overjoyed_butterfly",
"breakpoints": true
}
]
}
+1 -1
View File
@@ -7,7 +7,7 @@ import {z} from "zod";
import {OrganizationInvitation} from "@/db/schema/05_invitation";
export const providerKindEnum = pgEnum('provider_kind', ['slack', 'smtp']);
export const providerKindEnum = pgEnum('provider_kind', ['slack', 'smtp', 'discord', 'telegram', 'gotify', 'ntfy', 'webhook']);
export const notificationChannel = pgTable('notification_channel', {
id: uuid("id").defaultRandom().primaryKey(),