minca
ApiSchemasInterfaces

Interface: StartAutomationsOptions

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

Extends

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
accountreadonlystringThe account running them: a person's, for their app or agent, or a bot's own-packages/core/src/schemas/automations.ts:752
ask?readonly(trigger) => Promise<Pick<{ at: string; did: string; made?: string; ok: boolean; }, "did" | "ok">>Does what an automation asks an agent. Without it, automations that ask are left to a runner that can.RunAutomationsOptions.askpackages/core/src/schemas/automations.ts:511
bot?readonlybooleanA bot, running as an account of its own: nothing it writes sets an automation offRunAutomationsOptions.botpackages/core/src/schemas/automations.ts:507
busy?readonlySet<string>Records being acted on now, shared across calls so a second look leaves them aloneRunAutomationsOptions.busypackages/core/src/schemas/automations.ts:515
claimMs?readonlynumberHow long to wait after claiming a record before acting, to hear whether a device of the same account claimed it too; the earlier claim acts and the later steps back. 0, the default, doesn't wait.RunAutomationsOptions.claimMspackages/core/src/schemas/automations.ts:521
notify?readonlyAutomationNotifierShows a notification. Without it, a notify automation's run says nothing could.RunAutomationsOptions.notifypackages/core/src/schemas/automations.ts:509
now?readonly() => Date--packages/core/src/schemas/automations.ts:760
onError?readonly(error) => void--packages/core/src/schemas/automations.ts:757
onRules?readonly(rules) => voidCalled with the automations it runs, whenever they change-packages/core/src/schemas/automations.ts:756
onRun?readonly(trigger, run) => voidEach time an automation actedRunAutomationsOptions.onRunpackages/core/src/schemas/automations.ts:523
tickMs?readonlynumberHow often the time is checked against every. Default 15 s.-packages/core/src/schemas/automations.ts:759
timed?readonlybooleanWhether automations run at the times they name; an app open now and then leaves that to an always-on runner. Default true.-packages/core/src/schemas/automations.ts:754
title?readonly(record) => stringWhat a record is called, for {title}RunAutomationsOptions.titlepackages/core/src/schemas/automations.ts:513

On this page