diff --git a/lib/supervisor/types.ts b/lib/supervisor/types.ts index 7d1a542..9e3398b 100644 --- a/lib/supervisor/types.ts +++ b/lib/supervisor/types.ts @@ -62,7 +62,7 @@ export const ConfigInfoSchema = z.object({ name: z.string(), group: z.string(), autostart: z.boolean(), - autorestart: z.string(), // "auto", "none", or "unexpected" + autorestart: z.string().optional(), // "auto", "none", or "unexpected" directory: z.string(), command: z.string(), exitcodes: z.array(z.number()),