feat(SW-285): Ship support for ContentPageBlocksContent
This commit is contained in:
@@ -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[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user