Interface: Space
Defined in: packages/core/src/types.ts:229
A space: its constitution, and the constitution's hash as its id
(space/constitution.ts). Everything here is fixed at creation, its name
included, so whoever hands a space on can change nothing about it.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
assigned? | readonly | Readonly<Record<string, readonly string[]>> | Roles the constitution assigns: account → role names. Absent when it assigns none | packages/core/src/types.ts:242 |
createdAt | readonly | string | - | packages/core/src/types.ts:245 |
encryptionKeyId? | readonly | string | - | packages/core/src/types.ts:250 |
id | readonly | string | - | packages/core/src/types.ts:230 |
minca | readonly | "constitution/1" | The constitution's format: constitution/1 | packages/core/src/types.ts:232 |
name | readonly | string | - | packages/core/src/types.ts:233 |
nonce | readonly | string | Random, so two spaces made alike still differ | packages/core/src/types.ts:247 |
readKey? | readonly | string | Private spaces: the public half of the read key, derived from the space key — what a node checks a reader against | packages/core/src/types.ts:249 |
resolver | readonly | string | How changes made apart resolve: strong-remove/1 | packages/core/src/types.ts:236 |
roles | readonly | readonly SpaceRole[] | The roles it was founded with, the constitution's grants — later redefined by records in sys.role | packages/core/src/types.ts:240 |
succeeds? | readonly | string | The space this one succeeds, when it was started as a successor | packages/core/src/types.ts:244 |
top | readonly | SpaceTop | Its founders, or none | packages/core/src/types.ts:238 |
visibility | readonly | SpaceVisibility | - | packages/core/src/types.ts:234 |