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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
app? | readonly | AutomationApp | The app that proposed it. Absent: the person made it themselves. | packages/core/src/schemas/automations.ts:115 |
by? | readonly | string | The DID of the bot that runs it, when its maker may instruct bots here; else its maker's own devices and agent | packages/core/src/schemas/automations.ts:100 |
every? | readonly | string | When it runs by itself: five cron fields, minute hour day month weekday, in the runner's local time | packages/core/src/schemas/automations.ts:96 |
name | readonly | string | What people call it | packages/core/src/schemas/automations.ts:92 |
open? | readonly | string | Where clicking its notification goes: an app's https:// address. Default: the account home. | packages/core/src/schemas/automations.ts:113 |
paused? | readonly | boolean | Kept, but not run | packages/core/src/schemas/automations.ts:104 |
picked? | readonly | Readonly<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 |
since | readonly | string | Nothing that came to hold before this sets it off | packages/core/src/schemas/automations.ts:106 |
spaces? | readonly | AutomationSpaces | The 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 |
then | readonly | AutomationAction | What it does | packages/core/src/schemas/automations.ts:98 |
when? | readonly | AutomationWhen | What records set it off. An automation has this, every, or both. | packages/core/src/schemas/automations.ts:94 |