ApiCoreInterfaces
Interface: Space
Defined in: packages/core/src/types.ts:211
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:224 |
createdAt | readonly | string | - | packages/core/src/types.ts:227 |
encryptionKeyId? | readonly | string | - | packages/core/src/types.ts:232 |
id | readonly | string | - | packages/core/src/types.ts:212 |
minca | readonly | "constitution/1" | The constitution's format: constitution/1 | packages/core/src/types.ts:214 |
name | readonly | string | - | packages/core/src/types.ts:215 |
nonce | readonly | string | Random, so two spaces made alike still differ | packages/core/src/types.ts:229 |
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:231 |
resolver | readonly | string | How changes made apart resolve: strong-remove/1 | packages/core/src/types.ts:218 |
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:222 |
succeeds? | readonly | string | The space this one succeeds, when it was started as a successor | packages/core/src/types.ts:226 |
top | readonly | SpaceTop | Its founders, or none | packages/core/src/types.ts:220 |
visibility | readonly | SpaceVisibility | - | packages/core/src/types.ts:216 |