1234567891011121314151617181920212223242526 |
- /**
- * A container with an original object and information about that object.
- * on some other object.
- */
- export interface IObjectInfo<T> {
- /**
- * The original object.
- */
- object: any;
- /**
- * Information about the object.
- */
- info: T;
- }
- /**
- * Interface for a converter that takes a string path and transforms
- * it into an ObjectAccessorContainer.
- */
- export interface IPathToObjectConverter<T> {
- /**
- * Convert a path to an object that can be used to access properties of a base object
- * @param path the path to convert
- * @returns an object that can be used to access properties of a base object
- */
- convert(path: string): IObjectInfo<T>;
- }
|