minca
ApiCoreInterfaces

Interface: HostDescription

Defined in: packages/core/src/session/hosting.ts:286

What a host says about itself, to anyone, at /.well-known/minca-host. Its fund says how money goes in; how a payment is taken is the host's own.

Properties

PropertyModifierTypeDescriptionDefined in
bots?readonlybooleanWhether it runs bots for the spaces it carries (startBot), from their fundpackages/core/src/session/hosting.ts:302
connectors?readonlyreadonly HostConnectorOffer[]The services its bots can be connected to, at /host/bots/<bot>/connect/<id> (spec 08 §3.1)packages/core/src/session/hosting.ts:306
didreadonlystringIts own key, as it appears to peers, and what signs its statusespackages/core/src/session/hosting.ts:289
freereadonlybooleanEvery subscription counts as paid — someone hosting themselvespackages/core/src/session/hosting.ts:292
fund?readonlyFundOfferHow money goes in here: an account's balance, and a community's fund anyone adds to. Absent: it takes no payments.packages/core/src/session/hosting.ts:304
limits?readonlyHostLimitsWhat it keeps for free, what paying adds, and where a community has to pay for itself (spec 08 §1.1)packages/core/src/session/hosting.ts:308
mincareadonly"host/1"-packages/core/src/session/hosting.ts:287
namereadonlystring-packages/core/src/session/hosting.ts:290
peer?readonlystringWhere it takes peers: a WebSocket address, relative to the host's address or absolutepackages/core/src/session/hosting.ts:298
price?readonlystringFor people, as the host puts it: "$4 a month or $36 a year"packages/core/src/session/hosting.ts:294
remind?readonlybooleanWhether it sends reminders by email before paid time runs out, to an address given with remindpackages/core/src/session/hosting.ts:300
terms?readonlystringIts terms, for peoplepackages/core/src/session/hosting.ts:296

On this page