minca
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

PropertyModifierTypeDescriptionDefined in
assigned?readonlyReadonly<Record<string, readonly string[]>>Roles the constitution assigns: account → role names. Absent when it assigns nonepackages/core/src/types.ts:224
createdAtreadonlystring-packages/core/src/types.ts:227
encryptionKeyId?readonlystring-packages/core/src/types.ts:232
idreadonlystring-packages/core/src/types.ts:212
mincareadonly"constitution/1"The constitution's format: constitution/1packages/core/src/types.ts:214
namereadonlystring-packages/core/src/types.ts:215
noncereadonlystringRandom, so two spaces made alike still differpackages/core/src/types.ts:229
readKey?readonlystringPrivate spaces: the public half of the read key, derived from the space key — what a node checks a reader againstpackages/core/src/types.ts:231
resolverreadonlystringHow changes made apart resolve: strong-remove/1packages/core/src/types.ts:218
rolesreadonlyreadonly SpaceRole[]The roles it was founded with, the constitution's grants — later redefined by records in sys.rolepackages/core/src/types.ts:222
succeeds?readonlystringThe space this one succeeds, when it was started as a successorpackages/core/src/types.ts:226
topreadonlySpaceTopIts founders, or nonepackages/core/src/types.ts:220
visibilityreadonlySpaceVisibility-packages/core/src/types.ts:216

On this page