minca
ApiSchemasVariables

Variable: activity

const activity: object & Typed<{
  at: string;
  label?: string;
  state: ActivityState;
}>;

Defined in: packages/core/src/schemas/automations.ts:175

Someone at work on a record, for apps to show while it lasts: "My bot is replying…" under a message, a spinner on a task. One per account per record, changed in place as the work goes on. Its writer's word, like a status, and only theirs to change.

Type Declaration

description

readonly description: "Someone at work on a record: working, waiting, done or failed." = 'Someone at work on a record: working, waiting, done or failed.';
readonly links: object;

links.about

readonly about: LinkDeclaration;

name

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

rules

readonly rules: object;

rules.onePer

readonly onePer: readonly ["@author", "link:about"];

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.at

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

schema.properties.label

readonly label: object;

schema.properties.label.maxLength

maxLength: number = max;

schema.properties.label.minLength?

minLength?: number = min;

schema.properties.label.type

type: "string";

schema.properties.state

readonly state: object;

schema.properties.state.enum

readonly enum: readonly ActivityState[];

schema.properties.state.type

readonly type: "string" = 'string';

schema.required

readonly required: readonly ["state", "at"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Activity" = 'Activity';

On this page