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

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [RelationDefinitionBase](./repository.relationdefinitionbase.md) &gt; [type](./repository.relationdefinitionbase.type.md)

## RelationDefinitionBase.type property

The type of the relation, must be one of RelationType values.

<b>Signature:</b>

```typescript
type: RelationType;
```

