ApiCoreInterfaces
Interface: SpaceRecord
Defined in: packages/core/src/space/space-manager.ts:34
A space plus the secrets this node holds for it
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
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 |
key | readonly | SpaceKey | 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 |
keys? | readonly | readonly SpaceKey[] | 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 |
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 |
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 |
read? | readonly | SpaceKeyPair | 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 |
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 |
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 |
space | readonly | Space | - | packages/core/src/space/space-manager.ts:35 |