minca
ApiSchemasVariables

Variable: automationRun

const automationRun: object & Typed<{
  at: string;
  did: string;
  made?: string;
  ok: boolean;
}>;

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

Type Declaration

description

readonly description: "An automation acted on a record: once each, whichever device did it." = 'An automation acted on a record: once each, whichever device did it.';
readonly links: object;

links.about

readonly about: LinkDeclaration;

links.automation

readonly automation: LinkDeclaration;

name

readonly name: "std.automation-run" = 'std.automation-run';

rules

readonly rules: object;

rules.onePer

readonly onePer: readonly ["link:automation", "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.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.made

readonly made: object;

schema.properties.made.maxLength

maxLength: number = max;

schema.properties.made.minLength?

minLength?: number = min;

schema.properties.made.type

type: "string";

schema.properties.ok

readonly ok: object;

schema.properties.ok.type

readonly type: "boolean" = 'boolean';

schema.required

readonly required: readonly ["did", "ok", "at"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Automation run" = 'Automation run';

On this page