@contentful/live-preview
Advanced tools
Comparing version 2.9.3 to 2.9.4
@@ -0,2 +1,8 @@ | ||
export declare function generateTypeName(contentTypeId: string): string; | ||
/** Generates the name of the field for a collection */ | ||
export declare function buildCollectionName(name: string): string; | ||
/** | ||
* Extract the name of an entry from the collection (e.g. "postCollection" => "Post") | ||
* Returns undefined if the name doesn't has the collection suffix. | ||
*/ | ||
export declare function extractNameFromCollectionName(collection: string): string | undefined; |
import type { Asset, Entry } from 'contentful'; | ||
import { EntityReferenceMap } from '../types'; | ||
export declare function generateTypeName(contentTypeId: string): string; | ||
export declare function resolveReference(info: { | ||
@@ -5,0 +4,0 @@ entityReferenceMap: EntityReferenceMap; |
@@ -1,2 +0,2 @@ | ||
import { C as t, L as o, a as E, b as a, P as i, o as r } from "./index-302e0a12.js"; | ||
import { C as t, L as o, a as E, b as a, P as i, o as r } from "./index-9780f9bf.js"; | ||
export { | ||
@@ -3,0 +3,0 @@ t as ContentfulLivePreview, |
import Zr, { createContext as At, useRef as mr, useMemo as $r, useEffect as jt, useState as Dt, useContext as Qr, useCallback as It } from "react"; | ||
import { c as Er, g as Ft, C as Ur, d as Lt } from "./index-302e0a12.js"; | ||
import { c as Er, g as Ft, C as Ur, d as Lt } from "./index-9780f9bf.js"; | ||
var Mr = { exports: {} }, Me = {}; | ||
@@ -4,0 +4,0 @@ /** |
{ | ||
"name": "@contentful/live-preview", | ||
"version": "2.9.3", | ||
"version": "2.9.4", | ||
"author": "Contentful GmbH", | ||
@@ -53,3 +53,3 @@ "license": "MIT", | ||
"@contentful/rich-text-types": "^16.2.0", | ||
"@contentful/visual-sdk": "^1.0.0-alpha.14", | ||
"@contentful/visual-sdk": "^1.0.0-alpha.15", | ||
"lodash.isequal": "^4.5.0" | ||
@@ -81,3 +81,3 @@ }, | ||
}, | ||
"gitHead": "a8fc390f9567903592529d81d76facd030fc21d7" | ||
"gitHead": "29c9eeb24d6c7c0e4e727fb4b9132aab1c4fbe91" | ||
} |
Sorry, the diff of this file is not supported yet
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
718149
3395