UNPKG

@dotcms/types

Version:

📦 [@dotcms/types on npm](https://www.npmjs.com/package/@dotcms/types) 🛠️ [View source on GitHub](https://github.com/dotCMS/core/tree/main/core-web/libs/sdk/types)

19 lines (18 loc) 721 B
export type DotCMSInlineEditingType = 'BLOCK_EDITOR' | 'WYSIWYG'; /** * Interface representing the data needed for inline editing in DotCMS * * @interface DotCMSInlineEditorData * @property {string} inode - The inode identifier of the content being edited * @property {number} language - The language ID of the content * @property {string} contentType - The content type identifier * @property {string} fieldName - The name of the field being edited * @property {Record<string, unknown>} content - The content data as key-value pairs */ export interface DotCMSInlineEditingPayload { inode: string; language: number; contentType: string; fieldName: string; content: Record<string, unknown>; }