Interface: Automation
Defined in: packages/std/src/automations.ts:88
The body of a std.automation record
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
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/std/src/automations.ts:98 |
every? | readonly | string | When it runs by itself: five cron fields, minute hour day month weekday, in the runner's local time | packages/std/src/automations.ts:94 |
name | readonly | string | What people call it | packages/std/src/automations.ts:90 |
paused? | readonly | boolean | Kept, but not run | packages/std/src/automations.ts:102 |
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/std/src/automations.ts:100 |
since | readonly | string | Nothing that came to hold before this sets it off | packages/std/src/automations.ts:104 |
then | readonly | AutomationAction | What it does | packages/std/src/automations.ts:96 |
when? | readonly | AutomationWhen | What records set it off. An automation has this, every, or both. | packages/std/src/automations.ts:92 |