fix: caching

This commit is contained in:
Christel Westerberg
2024-05-31 09:23:37 +02:00
parent 0a3272f75a
commit c47966f994
12 changed files with 69 additions and 24 deletions
@@ -118,3 +118,18 @@ export type HeaderData = Omit<
> & {
logo: Image
}
const validateHeaderRefConfigSchema = z.object({
all_current_header: z.object({
items: z.array(
z.object({
system: z.object({
content_type_uid: z.string(),
uid: z.string(),
}),
})
),
}),
})
export type HeaderRefDataRaw = z.infer<typeof validateHeaderRefConfigSchema>