feat(renderer): make logo optional

This commit is contained in:
Pihkaal
2024-10-12 17:05:56 +02:00
parent 1dfae1a9f5
commit 7b79354e84
4 changed files with 35 additions and 29 deletions

View File

@@ -54,7 +54,7 @@ export type ImageFormat = (typeof IMAGE_FORMATS)[number];
export const settingsSchema = z.object({
format: z.enum(IMAGE_FORMATS).default("png"),
logo: z.enum(LOGOS),
logo: z.enum(LOGOS).optional(),
content: z.string().min(1, "Required"),
});