@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.
1 lines • 1.13 kB
Source Map (JSON)
{"version":3,"sources":["../../../../src/cslp/types/cslp.types.ts"],"sourcesContent":["export interface CslpData {\n entry_uid: string;\n content_type_uid: string;\n cslpValue: string;\n locale: string;\n variant: string | undefined;\n /**\n * This path excludes the indexes in the Group or Modular blocks.\n * This path could be used to traverse in the content type schema.\n */\n fieldPath: string;\n /**\n * This path includes the indexes in the Group or Modular blocks.\n * This path could be used to traverse in the entry schema.\n */\n fieldPathWithIndex: string;\n multipleFieldMetadata: CslpDataMultipleFieldMetadata;\n instance: {\n fieldPathWithIndex: string;\n }\n}\n\nexport interface CslpDataMultipleFieldMetadata {\n index: number;\n /**\n * It contains the path of the parent group, modular block, reference, or field.\n */\n parentDetails: CslpDataParentDetails | null;\n}\n\nexport interface CslpDataParentDetails {\n parentPath: string;\n parentCslpValue: string;\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}