UNPKG

@jsonforms/material-tree-renderer

Version:

Material-based tree renderer for JSON Forms

19 lines (18 loc) 693 B
import { Property } from '../services/property.util'; /** * Determines the properties of the given data object by using the model mapping. * If only one property is given, it is assumed to be the matching one. * * @param data The data object to match * @param properties The array of properties of root schema * @param filterPredicate used to filter properties of the given data * @return The matching {@link Property} */ export declare const matchContainerProperty: (data: Object, properties: Property[], filterPredicate: any) => Property; export interface StringMap { [property: string]: string; } export interface ModelMapping { attribute: string; mapping: StringMap; }