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.

12 lines (10 loc) 426 B
declare const LIVE_PREVIEW_POST_MESSAGE_EVENTS: { readonly INIT: "init"; readonly ON_CHANGE: "client-data-send"; readonly HISTORY: "history"; readonly CHECK_ENTRY_PAGE: "check-entry-page"; readonly URL_CHANGE: "url-change"; readonly VARIANT_PATCH: "variant-patch-update"; }; declare const LIVE_PREVIEW_CHANNEL_ID = "live-preview"; export { LIVE_PREVIEW_CHANNEL_ID, LIVE_PREVIEW_POST_MESSAGE_EVENTS };