@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.
10 lines (8 loc) • 346 B
TypeScript
declare const TIMELINE_CHANNEL_ID = "timeline";
declare const timelinePostMessageEvents: {
readonly SEND_CURRENT_BASE_ROUTE: "send-current-base-route";
readonly SEND_CSLP_DATA: "send-cslp-data";
readonly DIFF_VALUE: "diff-value";
readonly REMOVE_DIFF: "remove-diff";
};
export { TIMELINE_CHANNEL_ID, timelinePostMessageEvents };