interface MinilinksResult<L> {
    _updating: boolean;
    byFrom: {
        [id: Id]: L[];
    };
    byId: {
        [id: Id]: L;
    };
    byTo: {
        [id: Id]: L[];
    };
    byType: {
        [id: Id]: L[];
    };
    emitter: EventEmitter;
    links: L[];
    options: MinilinksGeneratorOptions;
    types: {
        [id: Id]: L[];
    };
    add(linksArray): {
        anomalies?: MinilinkError[];
        errors?: MinilinkError[];
    };
    apply(linksArray, applyName?): {
        anomalies?: MinilinkError[];
        errors?: MinilinkError[];
    };
    query(query): any;
    remove(idsArray): {
        anomalies?: MinilinkError[];
        errors?: MinilinkError[];
    };
    select(query): any;
    subscribe(query): Observable<any>;
}

Type Parameters

Properties

_updating: boolean
byFrom: {
    [id: Id]: L[];
}

Type declaration

byId: {
    [id: Id]: L;
}

Type declaration

byTo: {
    [id: Id]: L[];
}

Type declaration

byType: {
    [id: Id]: L[];
}

Type declaration

emitter: EventEmitter
links: L[]
types: {
    [id: Id]: L[];
}

Type declaration

Methods

Generated using TypeDoc