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

@@ -164,6 +164,11 @@ const createSchema = createInsertSchema(compose, {
composePath: z.string().min(1),
composeType: z.enum(["docker-compose", "stack"]).optional(),
watchPaths: z.array(z.string()).optional(),
sourceType: z
.enum(["git", "github", "gitlab", "bitbucket", "gitea", "raw"])
.optional(),
triggerType: z.enum(["push", "tag"]).optional(),
composeStatus: z.enum(["idle", "running", "done", "error"]).optional(),
});
export const apiCreateCompose = createSchema.pick({