mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-18 11:12:56 +00:00
createInsertSchema inferred scheduleType as a broadened union (drizzle-zod 0.5.1), so passing input.scheduleType into assertHostScheduleAccess failed typecheck on a cold build. Refine the insert schema's scheduleType to a plain z.enum and type the helper param as the schedule enum.