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.

1 lines 632 B
{"version":3,"sources":["../../../../src/visualBuilder/utils/getEntryPermissionsCached.ts"],"sourcesContent":["import { getEntryPermissions } from \"./getEntryPermissions\";\nimport { createCachedFetch } from \"./createCachedFetch\";\n\nexport const getEntryPermissionsCached = createCachedFetch(\n getEntryPermissions,\n ({ entryUid, contentTypeUid, locale }) =>\n `${entryUid}.${contentTypeUid}.${locale}`\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAoC;AACpC,+BAAkC;AAE3B,IAAM,gCAA4B;AAAA,EACrC;AAAA,EACA,CAAC,EAAE,UAAU,gBAAgB,OAAO,MAChC,GAAG,QAAQ,IAAI,cAAc,IAAI,MAAM;AAC/C;","names":[]}