# Interface: AutomationMatch

Defined in: [packages/core/src/schemas/automations.ts:351](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L351)

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/core/src/schemas/automations.ts:362](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L362) |
| <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/core/src/schemas/automations.ts:354](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L354) |
| <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/core/src/schemas/automations.ts:356](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L356) |
| <a id="property-record"></a> `record` | `readonly` | [`QueryRecord`](https://minca.dev/api/core/interfaces/QueryRecord.md) | - | [packages/core/src/schemas/automations.ts:352](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L352) |
