feat: add cron agent binding

This commit is contained in:
Peter Steinberger committed 2026-01-12 11:07:38 +00:00
1 parent a3938d62f6
commit 115591c5b6
14 files changed
+383 -83

No files matched your search

+2
View File
@@ -826,6 +826,7 @@ export const CronJobStateSchema = Type.Object(
export const CronJobSchema = Type.Object(
{
id: NonEmptyString,
agentId: Type.Optional(NonEmptyString),
name: NonEmptyString,
description: Type.Optional(Type.String()),
enabled: Type.Boolean(),
@@ -856,6 +857,7 @@ export const CronStatusParamsSchema = Type.Object(
export const CronAddParamsSchema = Type.Object(
{
name: NonEmptyString,
agentId: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
description: Type.Optional(Type.String()),
enabled: Type.Optional(Type.Boolean()),
schedule: CronScheduleSchema,