feat: add triggerType field to application schema for enhanced event handling

This commit is contained in:
Mauricio Siu
2026-02-24 18:35:26 -06:00
parent e92ba584c0
commit 2d0874d499
5 changed files with 35 additions and 27 deletions

View File

@@ -331,6 +331,7 @@ const createSchema = createInsertSchema(applications, {
sourceType: z
.enum(["github", "docker", "git", "gitlab", "bitbucket", "gitea", "drop"])
.optional(),
triggerType: z.enum(["push", "tag"]).optional(),
applicationStatus: z.enum(["idle", "running", "done", "error"]),
buildType: z.enum([
"dockerfile",