minca
ApiSchemasVariables

Variable: host

const host: object & Typed<{
  did?: string;
  name?: string;
  url: string;
}>;

Defined in: packages/core/src/schemas/library/community.ts:327

A host the space pays to keep it online: its own subscription there (space:<id>, spec 08 §2), which anyone in the space may chip in for. Members' devices hand that host the space's pass once someone has paid, so it carries the space without being able to read it. Only those who may manage it choose the host: naming one sends it every member's pass.

Type Declaration

description

readonly description: "A host the space pays to keep it online, and anyone in it may chip in for." = 'A host the space pays to keep it online, and anyone in it may chip in for.';

name

readonly name: "std.host" = 'std.host';

rules

readonly rules: object;

rules.onePer

readonly onePer: readonly ["url"];

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.did

readonly did: object;

schema.properties.did.maxLength

maxLength: number = max;

schema.properties.did.minLength?

minLength?: number = min;

schema.properties.did.type

type: "string";

schema.properties.name

readonly name: object;

schema.properties.name.maxLength

maxLength: number = max;

schema.properties.name.minLength?

minLength?: number = min;

schema.properties.name.type

type: "string";

schema.properties.url

readonly url: object;

schema.properties.url.maxLength

maxLength: number = max;

schema.properties.url.minLength?

minLength?: number = min;

schema.properties.url.type

type: "string";

schema.required

readonly required: readonly ["url"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Host" = 'Host';

On this page