@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.
19 lines (16 loc) • 751 B
TypeScript
import { ResolvedVariantPermissions } from './getResolvedVariantPermissions.js';
import { WorkflowStageDetails } from './getWorkflowStageDetails.js';
import { EntryPermissions } from './getEntryPermissions.js';
import '../../cslp/types/cslp.types.js';
declare function fetchEntryPermissionsAndStageDetails({ entryUid, contentTypeUid, locale, variantUid, fieldPathWithIndex, }: {
entryUid: string;
contentTypeUid: string;
locale: string;
fieldPathWithIndex: string;
variantUid?: string | undefined;
}): Promise<{
acl: EntryPermissions | undefined;
workflowStage: WorkflowStageDetails | undefined;
resolvedVariantPermissions: ResolvedVariantPermissions | undefined;
}>;
export { fetchEntryPermissionsAndStageDetails };