minca
ApiSchemasVariables

Variable: connect

const connect: object & Typed<{
  bot: string;
  disconnect?: boolean;
  expires: string;
  kind: string;
  verifier?: string;
}>;

Defined in: packages/core/src/schemas/connectors.ts:57

Someone asking to connect a bot to a service, or to disconnect it. Counts only when its writer may configure the bot; its host checks that.

Type Declaration

description

readonly description: "Someone asking to connect a bot to a service, or to disconnect it." = 'Someone asking to connect a bot to a service, or to disconnect it.';

name

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

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.bot

readonly bot: object & object;
Type Declaration
maxLength
maxLength: number = max;
minLength?
minLength?: number = min;
type
type: "string";
x-kind
readonly "x-kind": "did";

schema.properties.disconnect

readonly disconnect: object;

schema.properties.disconnect.type

readonly type: "boolean" = 'boolean';

schema.properties.expires

readonly expires: object & object;
Type Declaration
maxLength
maxLength: number = max;
minLength?
minLength?: number = min;
type
type: "string";
x-kind
readonly "x-kind": "when";

schema.properties.kind

readonly kind: object;

schema.properties.kind.maxLength

maxLength: number = max;

schema.properties.kind.minLength?

minLength?: number = min;

schema.properties.kind.type

type: "string";

schema.properties.verifier

readonly verifier: object;

schema.properties.verifier.maxLength

maxLength: number = max;

schema.properties.verifier.minLength?

minLength?: number = min;

schema.properties.verifier.type

type: "string";

schema.required

readonly required: readonly ["bot", "kind", "expires"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Connect request" = 'Connect request';

On this page