# Interface: LinkDeclaration

Defined in: [packages/core/src/records/links.ts:43](https://github.com/leifriksheim/minca/blob/main/core/src/records/links.ts#L43)

How a collection declares one of its link roles

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-cardinality"></a> `cardinality?` | `readonly` | `"one"` \| `"many"` | How many links of this role one record may carry. Default 'many'. | [packages/core/src/records/links.ts:47](https://github.com/leifriksheim/minca/blob/main/core/src/records/links.ts#L47) |
| <a id="property-description"></a> `description?` | `readonly` | `string` | - | [packages/core/src/records/links.ts:48](https://github.com/leifriksheim/minca/blob/main/core/src/records/links.ts#L48) |
| <a id="property-to"></a> `to` | `readonly` | readonly `string`[] \| `"*"` | Collections the target may be in, or '*' for any | [packages/core/src/records/links.ts:45](https://github.com/leifriksheim/minca/blob/main/core/src/records/links.ts#L45) |
