# Interface: NodeRecord\<T\>

Defined in: [packages/core/src/node/types.ts:262](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L262)

A record, opened and checked: its current version, unless listed as history

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| <a id="type-parameter-t"></a> `T` | `unknown` |

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-author"></a> `author` | `readonly` | `string` | The key that signed this version, usually an app's session key, not the person: show `root` or `createdBy` as the author | [packages/core/src/node/types.ts:272](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L272) |
| <a id="property-body"></a> `body` | `readonly` | `T` \| `null` | The content, or null when it is encrypted and this node has no key | [packages/core/src/node/types.ts:282](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L282) |
| <a id="property-collection"></a> `collection` | `readonly` | `string` | - | [packages/core/src/node/types.ts:270](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L270) |
| <a id="property-conforms"></a> `conforms` | `readonly` | `boolean` \| `null` | Whether the body fits its collection's schema; null when there is none or it can't be opened. A misfit still syncs. | [packages/core/src/node/types.ts:294](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L294) |
| <a id="property-createdat"></a> `createdAt` | `readonly` | `string` | When it was created, by its creator's clock: for display only | [packages/core/src/node/types.ts:278](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L278) |
| <a id="property-createdby"></a> `createdBy` | `readonly` | `string` \| `null` | The identity that created the record, when its first version is held | [packages/core/src/node/types.ts:276](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L276) |
| <a id="property-deleted"></a> `deleted?` | `readonly` | `true` | This version deletes the record (listed only with `includeDeleted`) | [packages/core/src/node/types.ts:292](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L292) |
| <a id="property-encrypted"></a> `encrypted` | `readonly` | `boolean` | - | [packages/core/src/node/types.ts:285](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L285) |
| <a id="property-issues"></a> `issues?` | `readonly` | readonly [`SchemaIssue`](https://minca.dev/api/core/interfaces/SchemaIssue.md)[] | - | [packages/core/src/node/types.ts:295](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L295) |
| <a id="property-key"></a> `key` | `readonly` | `string` | The record's identity, the same across edits; links point here | [packages/core/src/node/types.ts:264](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L264) |
| <a id="property-links"></a> `links` | `readonly` | readonly [`Link`](https://minca.dev/api/core/interfaces/Link.md)[] | What this record points at; empty when it can't be opened | [packages/core/src/node/types.ts:284](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L284) |
| <a id="property-reason"></a> `reason?` | `readonly` | `string` | - | [packages/core/src/node/types.ts:290](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L290) |
| <a id="property-recordsonly"></a> `recordsOnly?` | `readonly` | `true` | Signed under a note that grants writing records and no more: an app running records as code trusts only versions without it | [packages/core/src/node/types.ts:289](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L289) |
| <a id="property-root"></a> `root` | `readonly` | `string` \| `null` | The identity that key was acting for, when its delegation checks out | [packages/core/src/node/types.ts:274](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L274) |
| <a id="property-seq"></a> `seq` | `readonly` | `number` | 0 for the first version, one more for each edit | [packages/core/src/node/types.ts:268](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L268) |
| <a id="property-space"></a> `space` | `readonly` | `string` | - | [packages/core/src/node/types.ts:269](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L269) |
| <a id="property-updatedat"></a> `updatedAt` | `readonly` | `string` | When this version was written: for display only | [packages/core/src/node/types.ts:280](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L280) |
| <a id="property-verified"></a> `verified` | `readonly` | `boolean` | Signature, delegation and shape all check out | [packages/core/src/node/types.ts:287](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L287) |
| <a id="property-version"></a> `version` | `readonly` | `string` | This version's id: a content hash | [packages/core/src/node/types.ts:266](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L266) |
