# Interface: Contract

Defined in: [packages/core/src/records/contracts.ts:128](https://github.com/leifriksheim/minca/blob/main/core/src/records/contracts.ts#L128)

One condition of a collection's contract: `that` must be true, else the version doesn't count and `else` says why

## Properties

| Property | Modifier | Type | Defined in |
| ------ | ------ | ------ | ------ |
| <a id="property-else"></a> `else` | `readonly` | `string` | [packages/core/src/records/contracts.ts:130](https://github.com/leifriksheim/minca/blob/main/core/src/records/contracts.ts#L130) |
| <a id="property-that"></a> `that` | `readonly` | `string` | [packages/core/src/records/contracts.ts:129](https://github.com/leifriksheim/minca/blob/main/core/src/records/contracts.ts#L129) |
