import { z } from "zod" import { transformedImageVaultAssetSchema } from "@scandic-hotels/common/utils/imageVault" import { ContentEnum } from "../../../../types/content" import { systemSchema } from "../system" export const imageContainerSchema = z.object({ __typename: z.literal(ContentEnum.blocks.ImageContainer), image_left: transformedImageVaultAssetSchema, image_right: transformedImageVaultAssetSchema, system: systemSchema, title: z.string().optional(), }) export const imageContainerRefsSchema = z.object({ __typename: z.literal(ContentEnum.blocks.ImageContainer), system: systemSchema, })