# Interface: AutomationMatch

Defined in: [packages/std/src/automations.ts:293](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L293)

One record an automation holds for now

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-cause"></a> `cause?` | `readonly` | [`NodeRecord`](https://minca.dev/api/core/interfaces/NodeRecord.md)\<`unknown`\> | What made it hold: the record itself, or the record a computed field read (`causeOf`). `from`, `others` and "not by the runner's own agent" judge its writer. Absent: the record. | [packages/std/src/automations.ts:304](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L304) |
| <a id="property-included"></a> `included` | `readonly` | `Readonly`\<`Record`\<`string`, `unknown`\>\> | What its query's `include` found, as the condition read it: a count as a number | [packages/std/src/automations.ts:296](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L296) |
| <a id="property-moment"></a> `moment` | `readonly` | `number` | When it came to hold: its last change, or the newest record an include found or its computed fields read | [packages/std/src/automations.ts:298](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L298) |
| <a id="property-record"></a> `record` | `readonly` | [`QueryRecord`](https://minca.dev/api/core/interfaces/QueryRecord.md) | - | [packages/std/src/automations.ts:294](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L294) |
