minca
ApiCoreInterfaces

Interface: SpaceAccess

Defined in: packages/core/src/node/types.ts:193

Who holds what in a space, now

Properties

PropertyModifierTypeDescriptionDefined in
copiesreadonlynumber | nullHow many keepers a write should reach before it may be dropped; null for the defaultpackages/core/src/node/types.ts:223
flaggedreadonlyreadonly FlaggedAccount[]Accounts a checked warrant proves signed what no honest writer could (spec 03 §6.6), for managers to seepackages/core/src/node/types.ts:231
forksreadonlyreadonly object[]Keys proven to have forked their line in a collection; what they signed from from on no longer counts (spec 02 §4.10)packages/core/src/node/types.ts:225
founderreadonlybooleanWhether this account is a founder that has not stepped downpackages/core/src/node/types.ts:205
headlessreadonlybooleanNo founder is left and no member may change roles: only a successor helps (spaces.succeed)packages/core/src/node/types.ts:209
headsreadonlyreadonly string[]The latest access changes held: what a record written now names as seenpackages/core/src/node/types.ts:215
invitesreadonlyreadonly object[]Open and closed invites, by their public keypackages/core/src/node/types.ts:203
keepersreadonlyreadonly Keeper[]The nodes that keep the space whole: a host, an extensionpackages/core/src/node/types.ts:221
keyreadonly| { changes: number; held: boolean; } | nullA private space's key: how often it changed, and whether this device holds the current onepackages/core/src/node/types.ts:217
membersreadonlyreadonly object[]Everyone with a place: the founders, and every account assigned a rolepackages/core/src/node/types.ts:197
minereadonlyreadonly string[]The roles assigned to this account, by namepackages/core/src/node/types.ts:213
relaysreadonlyreadonly string[]Where members meet: the relays it names, else the ones its invite didpackages/core/src/node/types.ts:219
rolesreadonlyreadonly SpaceRoleView[]The space's roles, each with its current definitions (rivals hold what they share)packages/core/src/node/types.ts:195
successorsreadonlyreadonly object[]Spaces named as successors, and who named each. In no order: which to follow is each member's choice.packages/core/src/node/types.ts:211
topreadonly"none" | "founders"founders or none, as the constitution sayspackages/core/src/node/types.ts:207

On this page