ApiCoreInterfaces
Interface: HostStatus
Defined in: packages/core/src/session/hosting.ts:125
What a host says about a subscription, signed with its own key
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
at | readonly | number | When the host said it, unix seconds | packages/core/src/session/hosting.ts:162 |
balance? | readonly | number | For a space's own subscription, its fund: what is in it, in millionths of a dollar | packages/core/src/session/hosting.ts:145 |
bots? | readonly | readonly HostedBot[] | For a space's own subscription: the bots the host runs there, and whether each is running | packages/core/src/session/hosting.ts:149 |
bytes? | readonly | number | Bytes the host keeps for this subscription's spaces, as it last measured; absent when it doesn't say | packages/core/src/session/hosting.ts:141 |
carrying | readonly | boolean | Whether it carries an account's spaces now | packages/core/src/session/hosting.ts:135 |
daily? | readonly | number | For a space's own subscription: what its fund spends a day as things go, in millionths of a dollar | packages/core/src/session/hosting.ts:147 |
full? | readonly | object | At a host with limits: since when its spaces have taken more than quota, and when the host stops carrying them for it, unless they fit by then | packages/core/src/session/hosting.ts:160 |
full.since | readonly | number | - | packages/core/src/session/hosting.ts:160 |
full.until | readonly | number | - | packages/core/src/session/hosting.ts:160 |
host | readonly | string | The host's key, which signed it | packages/core/src/session/hosting.ts:128 |
over? | readonly | readonly OverSpace[] | At a host with limits: the spaces it names that are over the free line, and when carrying them for members stops | packages/core/src/session/hosting.ts:153 |
paidUntil | readonly | number | Unix seconds; 0 before it was ever paid | packages/core/src/session/hosting.ts:131 |
plan? | readonly | "paid" | "free" | At a host with limits, for an account's subscription: whether it is on the free plan or pays for more room | packages/core/src/session/hosting.ts:151 |
quota? | readonly | number | Bytes it keeps at most before it takes no more spaces for this subscription; absent: no limit | packages/core/src/session/hosting.ts:143 |
readKey? | readonly | string | For a space's own subscription, a private one: the read key it carries the space with, as a DID | packages/core/src/session/hosting.ts:139 |
renews | readonly | boolean | Paid through something that renews by itself (a card); false for time paid up front | packages/core/src/session/hosting.ts:133 |
spaces | readonly | number | How many spaces it carries for this subscription | packages/core/src/session/hosting.ts:137 |
state | readonly | "active" | "none" | "grace" | "lapsed" | - | packages/core/src/session/hosting.ts:129 |
subscription | readonly | string | - | packages/core/src/session/hosting.ts:126 |
usage? | readonly | SpaceUsage | At a host with limits, for a space's own subscription: how much the space is used | packages/core/src/session/hosting.ts:155 |