---
lang: en
title: 'API docs: repository.relationdefinitionmap'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.relationdefinitionmap.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [RelationDefinitionMap](./repository.relationdefinitionmap.md)

## RelationDefinitionMap type

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

<b>Signature:</b>

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

