From ccf3493fb1cad31336cf068f3f219a6e07a6e082 Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Mon, 11 Dec 2023 13:35:45 +0100 Subject: [PATCH] fix: app banner zod --- .../web-pkg/src/composables/piniaStores/theme.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/web-pkg/src/composables/piniaStores/theme.ts b/packages/web-pkg/src/composables/piniaStores/theme.ts index 2e42af637d4..6f44a39b565 100644 --- a/packages/web-pkg/src/composables/piniaStores/theme.ts +++ b/packages/web-pkg/src/composables/piniaStores/theme.ts @@ -5,12 +5,12 @@ import { useLocalStorage, usePreferredDark } from '@vueuse/core' import { z } from 'zod' const AppBanner = z.object({ - title: z.string(), - publisher: z.string(), - additionalInformation: z.string(), - ctaText: z.string(), - icon: z.string(), - appScheme: z.string() + title: z.string().optional(), + publisher: z.string().optional(), + additionalInformation: z.string().optional(), + ctaText: z.string().optional(), + icon: z.string().optional(), + appScheme: z.string().optional() }) const CommonSection = z.object({