# Interface: SpaceRecord

Defined in: [packages/core/src/space/space-manager.ts:34](https://github.com/leifriksheim/minca/blob/main/core/src/space/space-manager.ts#L34)

A space plus the secrets this node holds for it

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-invite"></a> `invite` | `readonly` | `Uint8Array`\<`ArrayBufferLike`\> \| `null` | An invite link's secret, held until this account's member record is written with it — which needs the invite's own record to have arrived. Null once joined, or for a view-only invite. | [packages/core/src/space/space-manager.ts:64](https://github.com/leifriksheim/minca/blob/main/core/src/space/space-manager.ts#L64) |
| <a id="property-key"></a> `key` | `readonly` | [`SpaceKey`](https://minca.dev/api/core/interfaces/SpaceKey.md) \| `null` | The AES key this node reads and writes a private space with: the newest it holds | [packages/core/src/space/space-manager.ts:37](https://github.com/leifriksheim/minca/blob/main/core/src/space/space-manager.ts#L37) |
| <a id="property-keys"></a> `keys?` | `readonly` | readonly [`SpaceKey`](https://minca.dev/api/core/interfaces/SpaceKey.md)[] | Every key of the space this node holds, the current one included. A private space's key changes when someone is removed (`sys.key`); records written before keep the key they were written with. | [packages/core/src/space/space-manager.ts:43](https://github.com/leifriksheim/minca/blob/main/core/src/space/space-manager.ts#L43) |
| <a id="property-memberkey"></a> `memberKey?` | `readonly` | `Uint8Array`\<`ArrayBufferLike`\> \| `null` | This account's member key for the space, for a node given it without the account key (`deriveMemberKeyBytes`) — what a new space key is sealed to. | [packages/core/src/space/space-manager.ts:48](https://github.com/leifriksheim/minca/blob/main/core/src/space/space-manager.ts#L48) |
| <a id="property-nodes"></a> `nodes?` | `readonly` | readonly `string`[] | Always-on nodes that hold the space, from the invite that brought it here: node URLs pinned by DID, dialled besides the hosts the account uses. | [packages/core/src/space/space-manager.ts:58](https://github.com/leifriksheim/minca/blob/main/core/src/space/space-manager.ts#L58) |
| <a id="property-read"></a> `read?` | `readonly` | [`SpaceKeyPair`](https://minca.dev/api/core/interfaces/SpaceKeyPair.md) \| `null` | The read key pair, for a node that carries a private space without its key (`space/pass.ts`). With the key it is derived from that instead. | [packages/core/src/space/space-manager.ts:71](https://github.com/leifriksheim/minca/blob/main/core/src/space/space-manager.ts#L71) |
| <a id="property-relays"></a> `relays?` | `readonly` | readonly `string`[] | Where the space's members meet, as this node last heard: from the invite that brought it here, then from the space itself (`sys.relays`). | [packages/core/src/space/space-manager.ts:53](https://github.com/leifriksheim/minca/blob/main/core/src/space/space-manager.ts#L53) |
| <a id="property-role"></a> `role` | `readonly` | `string` \| `null` | The role this account last held here, as the space's access history said — a hint for listing, not a gate | [packages/core/src/space/space-manager.ts:66](https://github.com/leifriksheim/minca/blob/main/core/src/space/space-manager.ts#L66) |
| <a id="property-space"></a> `space` | `readonly` | [`Space`](https://minca.dev/api/core/interfaces/Space.md) | - | [packages/core/src/space/space-manager.ts:35](https://github.com/leifriksheim/minca/blob/main/core/src/space/space-manager.ts#L35) |
