From ac49f000eccc28e0000fc1f70f24d51bc659c9ef Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Fri, 29 May 2026 22:55:54 +0200 Subject: [PATCH] feat(frontend): add event trigger type to Zod schema --- surfsense_web/contracts/types/automation.types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surfsense_web/contracts/types/automation.types.ts b/surfsense_web/contracts/types/automation.types.ts index a93249735..cf3cdfd94 100644 --- a/surfsense_web/contracts/types/automation.types.ts +++ b/surfsense_web/contracts/types/automation.types.ts @@ -7,7 +7,7 @@ import { z } from "zod"; export const automationStatus = z.enum(["active", "paused", "archived"]); export type AutomationStatus = z.infer; -export const triggerType = z.enum(["schedule", "manual"]); +export const triggerType = z.enum(["schedule", "manual", "event"]); export type TriggerType = z.infer; export const runStatus = z.enum([