Feat(SW-3708): refactor contentstack fetching (removing all refs) and cache invalidation * Remove all REFS * Revalidate correct language * PR fixes * PR fixes * Throw when errors from contentstack api Approved-by: Joakim Jäderberg
8 lines
211 B
TypeScript
8 lines
211 B
TypeScript
import { z } from "zod"
|
|
|
|
import { DynamicContentEnum } from "../../../../types/dynamicContent"
|
|
|
|
export const dynamicContentSchema = z.object({
|
|
component: z.enum(DynamicContentEnum.Headers.enums).nullish(),
|
|
})
|