UNPKG

@contentstack/live-preview-utils

Version:

Contentstack provides the Live Preview SDK to establish a communication channel between the various Contentstack SDKs and your website, transmitting live changes to the preview pane.

11 lines (8 loc) 467 B
import { CslpData } from '../../cslp/types/cslp.types.js'; type FieldContext = Pick<CslpData, "content_type_uid" | "entry_uid" | "locale" | "variant" | "fieldPathWithIndex">; interface ResolvedVariantPermissions { update: boolean; error?: boolean; } declare function getResolvedVariantPermissions(fieldContext: FieldContext): Promise<ResolvedVariantPermissions>; export { type FieldContext, type ResolvedVariantPermissions, getResolvedVariantPermissions };