feat(SW-285): Ship support for ContentPageBlocksContent

This commit is contained in:
Chuma McPhoy
2024-08-30 08:10:57 +02:00
parent b806824fde
commit 9a51cc6cb5
9 changed files with 198 additions and 13 deletions

View File

@@ -1,6 +1,9 @@
import { z } from "zod"
import { validateContentPageSchema } from "@/server/routers/contentstack/contentPage/output"
import {
Block,
validateContentPageSchema,
} from "@/server/routers/contentstack/contentPage/output"
import { ImageVaultAsset } from "@/types/components/imageVault"
@@ -10,4 +13,5 @@ type ContentPageRaw = ContentPageDataRaw["content_page"]
export type ContentPage = Omit<ContentPageRaw, "hero_image"> & {
heroImage?: ImageVaultAsset
blocks?: Block[]
}