Interface: LinkDeclaration
Defined in: packages/core/src/records/links.ts:43
How a collection declares one of its link roles
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
cardinality? | readonly | "one" | "many" | How many links of this role one record may carry. Default 'many'. | packages/core/src/records/links.ts:47 |
description? | readonly | string | - | packages/core/src/records/links.ts:48 |
to | readonly | readonly string[] | "*" | Collections the target may be in, or '*' for any | packages/core/src/records/links.ts:45 |