feat(frontend): add event trigger type to Zod schema

This commit is contained in:
CREDO23 2026-05-29 22:55:54 +02:00
parent d2c4b046bf
commit ac49f000ec

View file

@ -7,7 +7,7 @@ import { z } from "zod";
export const automationStatus = z.enum(["active", "paused", "archived"]); export const automationStatus = z.enum(["active", "paused", "archived"]);
export type AutomationStatus = z.infer<typeof automationStatus>; export type AutomationStatus = z.infer<typeof automationStatus>;
export const triggerType = z.enum(["schedule", "manual"]); export const triggerType = z.enum(["schedule", "manual", "event"]);
export type TriggerType = z.infer<typeof triggerType>; export type TriggerType = z.infer<typeof triggerType>;
export const runStatus = z.enum([ export const runStatus = z.enum([