Page Contents

Home > @loopback/repository > RelationDefinitionMap

RelationDefinitionMap type

A key-value map describing model relations. A relation name is used as the key, a relation definition is the value.

Signature:

export declare type RelationDefinitionMap = {
    [relationName: string]: RelationMetadata;
};