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

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<DefaultEventMap>
links: L[]
types: {
    [id: Id]: L[];
}

Type declaration

virtual: {
    [id: Id]: Id;
}

Type declaration

virtualCounter: number

Methods