Interface: SpaceAccess
Defined in: packages/core/src/node/types.ts:198
Who holds what in a space, now
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
copies | readonly | number | null | How many keepers a write should reach before it may be dropped; null for the default | packages/core/src/node/types.ts:228 |
flagged | readonly | readonly FlaggedAccount[] | Accounts a checked warrant proves signed what no honest writer could (spec 03 §6.6), for managers to see | packages/core/src/node/types.ts:236 |
forks | readonly | readonly 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:230 |
founder | readonly | boolean | Whether this account is a founder that has not stepped down | packages/core/src/node/types.ts:210 |
headless | readonly | boolean | No founder is left and no member may change roles: only a successor helps (spaces.succeed) | packages/core/src/node/types.ts:214 |
heads | readonly | readonly string[] | The latest access changes held: what a record written now names as seen | packages/core/src/node/types.ts:220 |
invites | readonly | readonly object[] | Open and closed invites, by their public key | packages/core/src/node/types.ts:208 |
keepers | readonly | readonly Keeper[] | The nodes that keep the space whole: a host, an extension | packages/core/src/node/types.ts:226 |
key | readonly | | { changes: number; held: boolean; } | null | A private space's key: how often it changed, and whether this device holds the current one | packages/core/src/node/types.ts:222 |
members | readonly | readonly object[] | Everyone with a place: the founders, and every account assigned a role | packages/core/src/node/types.ts:202 |
mine | readonly | readonly string[] | The roles assigned to this account, by name | packages/core/src/node/types.ts:218 |
relays | readonly | readonly string[] | Where members meet: the relays it names, else the ones its invite did | packages/core/src/node/types.ts:224 |
roles | readonly | readonly SpaceRoleView[] | The space's roles, each with its current definitions (rivals hold what they share) | packages/core/src/node/types.ts:200 |
successors | readonly | readonly 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:216 |
top | readonly | "none" | "founders" | founders or none, as the constitution says | packages/core/src/node/types.ts:212 |