ApiCoreInterfaces
Interface: SpaceAccess
Defined in: packages/core/src/node/types.ts:193
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:223 |
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:231 |
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:225 |
founder | readonly | boolean | Whether this account is a founder that has not stepped down | packages/core/src/node/types.ts:205 |
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:209 |
heads | readonly | readonly string[] | The latest access changes held: what a record written now names as seen | packages/core/src/node/types.ts:215 |
invites | readonly | readonly object[] | Open and closed invites, by their public key | packages/core/src/node/types.ts:203 |
keepers | readonly | readonly Keeper[] | The nodes that keep the space whole: a host, an extension | packages/core/src/node/types.ts:221 |
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:217 |
members | readonly | readonly object[] | Everyone with a place: the founders, and every account assigned a role | packages/core/src/node/types.ts:197 |
mine | readonly | readonly string[] | The roles assigned to this account, by name | packages/core/src/node/types.ts:213 |
relays | readonly | readonly string[] | Where members meet: the relays it names, else the ones its invite did | packages/core/src/node/types.ts:219 |
roles | readonly | readonly SpaceRoleView[] | The space's roles, each with its current definitions (rivals hold what they share) | packages/core/src/node/types.ts:195 |
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:211 |
top | readonly | "none" | "founders" | founders or none, as the constitution says | packages/core/src/node/types.ts:207 |