ApiCoreInterfaces
Interface: AutomationProposal
Defined in: packages/core/src/space/own-automations.ts:106
An automation an app asks for. It looks at the spaces the app may reach —
every space for a whole-account app, else the spaces it was given — or at
spaces, some of those.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
name | readonly | string | - | AppAutomation.name | packages/core/src/space/own-automations.ts:95 |
open? | readonly | string | Must be on the app's own origin. Default: the app's origin. | - | packages/core/src/space/own-automations.ts:110 |
spaces? | readonly | readonly string[] | Only these of the spaces the app may reach. Default: all of them. | - | packages/core/src/space/own-automations.ts:108 |
then? | readonly | object | What the notification says. Default: its name. | AppAutomation.then | packages/core/src/space/own-automations.ts:98 |
then.kind | readonly | "notify" | - | - | packages/core/src/space/own-automations.ts:98 |
then.text | readonly | string | - | - | packages/core/src/space/own-automations.ts:98 |
when | readonly | object | - | AppAutomation.when | packages/core/src/space/own-automations.ts:96 |
when.others? | readonly | boolean | - | - | packages/core/src/space/own-automations.ts:96 |
when.query | readonly | OwnQuery | - | - | packages/core/src/space/own-automations.ts:96 |