minca
ApiSchemasInterfaces

Interface: Automation

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

The body of a std.automation record, or of an account's own automation

Extended by

Properties

PropertyModifierTypeDescriptionDefined in
app?readonlyAutomationAppThe app that proposed it. Absent: the person made it themselves.packages/core/src/schemas/automations.ts:115
by?readonlystringThe DID of the bot that runs it, when its maker may instruct bots here; else its maker's own devices and agentpackages/core/src/schemas/automations.ts:100
every?readonlystringWhen it runs by itself: five cron fields, minute hour day month weekday, in the runner's local timepackages/core/src/schemas/automations.ts:96
namereadonlystringWhat people call itpackages/core/src/schemas/automations.ts:92
open?readonlystringWhere clicking its notification goes: an app's https:// address. Default: the account home.packages/core/src/schemas/automations.ts:113
paused?readonlybooleanKept, but not runpackages/core/src/schemas/automations.ts:104
picked?readonlyReadonly<Record<string, unknown>>How an app's builder showed it, so it can be shown and changed again. Never read to run it.packages/core/src/schemas/automations.ts:102
sincereadonlystringNothing that came to hold before this sets it offpackages/core/src/schemas/automations.ts:106
spaces?readonlyAutomationSpacesThe spaces it looks at, for one kept in the account's registry rather than in a space (space/own-automations.ts)packages/core/src/schemas/automations.ts:111
thenreadonlyAutomationActionWhat it doespackages/core/src/schemas/automations.ts:98
when?readonlyAutomationWhenWhat records set it off. An automation has this, every, or both.packages/core/src/schemas/automations.ts:94

On this page