add nullable to state

This commit is contained in:
2025-11-15 22:40:09 +01:00
parent 5b8698cf81
commit 51f45a806e

View File

@@ -57,7 +57,7 @@ export const serverSchema = z.object({
id: z.uuid(),
name: z.string().min(1),
status: z.enum(ServiceStatus),
state: stateSchema.optional()
state: stateSchema.optional().nullable()
});
export type Server = z.infer<typeof serverSchema>;