ApiCoreInterfaces
Interface: Subscription
Defined in: packages/core/src/node/host.ts:47
Someone paying for hosting, as the host knows them
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
carry? | readonly | object | The account and its carry space, once a device has handed them over | packages/core/src/node/host.ts:55 |
carry.account | readonly | string | - | packages/core/src/node/host.ts:55 |
carry.invite | readonly | string | - | packages/core/src/node/host.ts:55 |
carry.space | readonly | string | - | packages/core/src/node/host.ts:55 |
customer? | readonly | string | The payment provider's reference for whoever pays; nothing else about them is kept | packages/core/src/node/host.ts:59 |
id | readonly | string | The subscription key's DID, which signs every call about it; or space:<space id> | packages/core/src/node/host.ts:49 |
invoice? | readonly | Invoice | A wallet payment asked for and not yet seen (packages/cli/src/wallet.ts) | packages/core/src/node/host.ts:61 |
paidUntil | readonly | number | Unix seconds. Past it, the grace period; past that, it is dropped. | packages/core/src/node/host.ts:51 |
pass? | readonly | unknown | For a space's own subscription: the pass a member's device handed over | packages/core/src/node/host.ts:57 |
seen? | readonly | number | When one of its devices last made a signed call, unix seconds, to the day | packages/core/src/node/host.ts:63 |
since | readonly | number | When it was made, unix seconds | packages/core/src/node/host.ts:53 |