UNPKG

@plone/volto

Version:
39 lines (38 loc) 1.31 kB
/** * Nest content. * @function nestContent * @param {Object} props Properties. * @return {string} Field name of the block */ export function nestContent(props: any): string; /** * Get layout field. * @function getLayoutFieldname * @param {Object} props Properties. * @return {string} Field name of the layout */ export function getLayoutFieldname(props: any): string; /** * Get content icon. * @description Configurable in config * @function getContentIcon * @param {string} type Content type * @param {boolean} isFolderish * @returns {Object} Icon component */ export function getContentIcon(type: string, isFolderish: boolean): any; /** * Get the language independent fields presents in a schema. * @description Configurable in config * @function getLanguageIndependentFields * @param {string} schema content type JSON Schema serialization * @returns {array} List of language independent fields */ export function getLanguageIndependentFields(schema: string): any[]; /** * Flattens static behaviors into the parent object with dot-notation keys. * @function flattenStaticBehaviors * @param {Object} result The result object containing static behaviors. * @returns {Object} Result object with flattened static behaviors. */ export function flattenStaticBehaviors(result: any): any;