@pilotlab/lux-attributes
Version:
A luxurious user experience framework, developed by your friends at Pilot.
13 lines (12 loc) • 693 B
TypeScript
import { INodesFactory } from '@pilotlab/lux-nodes';
import IAttributes from './iAttributes';
import IAttribute from './iAttribute';
export interface IAttributesFactory extends INodesFactory {
instance(parent?: IAttribute): IAttributes;
fromAny(data: (IAttributes | Object | string), parent?: IAttribute): IAttributes;
fromString(data: string, parent?: IAttribute, parseString?: (data: string) => IAttributes): IAttributes;
fromJson(json: string, parent?: IAttribute): IAttributes;
fromObject(obj: Object, parent?: IAttribute, ...args: any[]): IAttributes;
fromAttributes(collection: IAttributes, parent?: IAttribute): IAttributes;
}
export default IAttributesFactory;