fix(SW-194): adapt to separated ContentPage query

This commit is contained in:
Matilda Landström
2024-10-10 10:48:55 +02:00
parent b287e893c3
commit 48b0278448
3 changed files with 14 additions and 1 deletions

View File

@@ -165,6 +165,12 @@ export const contentPageSchema = z.object({
}),
})
export const contentPageSchemaBlocks = z.object({
content_page: z.object({
blocks: discriminatedUnionArray(blocksSchema.options).nullable(),
}),
})
/** REFS */
const contentPageCardsRefs = z
.object({