Skip to content

Commit

Permalink
fix: app banner zod
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Dec 11, 2023
1 parent 58dd4ec commit ccf3493
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/web-pkg/src/composables/piniaStores/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit ccf3493

Please sign in to comment.