@contentful/live-preview
Advanced tools
Comparing version 2.4.4 to 2.4.5
@@ -1,2 +0,2 @@ | ||
import { C as r } from "./index-fcc74d3b.js"; | ||
import { C as r } from "./index-4cc6aaf6.js"; | ||
export { | ||
@@ -3,0 +3,0 @@ r as ContentfulLivePreview |
import * as V from "react"; | ||
import ke, { createContext as yr, useMemo as De, useState as hr, useRef as Pe, useContext as Ae, useCallback as gr } from "react"; | ||
import { C as Q, d as mr } from "./index-fcc74d3b.js"; | ||
import { C as Q, d as mr } from "./index-4cc6aaf6.js"; | ||
var Z = { exports: {} }, F = {}; | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,10 +0,4 @@ | ||
import type { AssetProps, EntryProps, SysLink } from 'contentful-management'; | ||
import type { AssetProps, EntryProps } from 'contentful-management'; | ||
import { ContentType, EntityReferenceMap } from '../types'; | ||
type Reference = AssetProps | EntryProps; | ||
/** | ||
* Update the reference from the entry editor with the information from the entityReferenceMap. | ||
* If the information is not yet available, it send a message to the editor to retrieve it. | ||
*/ | ||
export declare function updateRef(dataFromPreviewApp: Reference | undefined, updateFromEntryEditor: Reference | SysLink, locale: string, entityReferenceMap: EntityReferenceMap): Promise<Reference | undefined | null>; | ||
/** | ||
* Updates REST response data based on CMA entry object | ||
@@ -19,2 +13,1 @@ * | ||
export declare function updateEntity(contentType: ContentType, dataFromPreviewApp: EntryProps, updateFromEntryEditor: EntryProps | AssetProps, locale: string, entityReferenceMap: EntityReferenceMap): Promise<EntryProps>; | ||
export {}; |
{ | ||
"name": "@contentful/live-preview", | ||
"version": "2.4.4", | ||
"version": "2.4.5", | ||
"author": "Contentful GmbH", | ||
@@ -61,2 +61,3 @@ "license": "MIT", | ||
"@contentful/eslint-config-extension": "0.4.3", | ||
"@contentful/rich-text-types": "^16.2.0", | ||
"@semantic-release/changelog": "^6.0.2", | ||
@@ -63,0 +64,0 @@ "@semantic-release/git": "^10.0.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
501420
2478
28