mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-12 23:40:40 +02:00
✨ test alert email works
This commit is contained in:
@@ -128,7 +128,7 @@ export interface AlertContext {
|
||||
export type EmailAlertAction = {
|
||||
type: "email";
|
||||
userIds?: string[];
|
||||
roleIds?: string[];
|
||||
roleIds?: number[];
|
||||
emails?: string[];
|
||||
};
|
||||
|
||||
@@ -139,7 +139,7 @@ export type WebhookAlertAction = {
|
||||
config?: string | undefined;
|
||||
};
|
||||
|
||||
type AlertAction = EmailAlertAction | WebhookAlertAction;
|
||||
export type AlertAction = EmailAlertAction | WebhookAlertAction;
|
||||
export interface TestAlertContext {
|
||||
eventType: AlertEventType;
|
||||
actions: AlertAction[];
|
||||
|
||||
Reference in New Issue
Block a user