@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.
15 lines (13 loc) • 370 B
TypeScript
interface EntryPermissions {
create: boolean;
read: boolean;
update: boolean;
delete: boolean;
publish: boolean;
}
declare function getEntryPermissions({ entryUid, contentTypeUid, locale, }: {
entryUid: string;
contentTypeUid: string;
locale: string;
}): Promise<EntryPermissions>;
export { type EntryPermissions, getEntryPermissions };