UNPKG

@sheetxl/models

Version:

Models - A Headless javascript spreadsheet library.

25 lines 885 B
export default ExplicitResolver; /** This class is used to observe a model instance and track all nodes within the graph. Because the graphs are not defined in a top down way and because nodes can be shared across instances this class can be used to find the path to a model node within an existing graph instance */ declare class ExplicitResolver { constructor(jsonRoot: any); _jsonRoot: any; _modelValuesCache: Map<any, any>; getJsonForPath(pathParts: any, parent: any): any; getOrCreatePath(nodePath: any, root: any): any; getRoot(instanceSelf: any): { instance: any; path: any[]; }; getRootForProperty(property: any): { instance: any; path: any[]; }; getExplicitValue(property: any): any; setExplicitValue(property: any, explicitValue: any): void; } //# sourceMappingURL=ExplicitResolver.d.ts.map