# AdaptableAlertBase

Canonical page: https://www.adaptabletools.com/docs/reference/adaptablealertbase

Defines the base(common) properties of an Alert fired by AdapTable, regardless of the type of change

```ts title="TypeScript"
export interface AdaptableAlertBase<T> extends Identifiable 
```

###### Extends

[`Identifiable`](https://www.adaptabletools.com/docs/reference/identifiable.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [alertDefinition](https://www.adaptabletools.com/docs/reference/adaptablealertbase.md#alertdefinition) | [`AlertDefinition`](https://www.adaptabletools.com/docs/reference/alertdefinition.md) | Rule that caused Alert to fire |
| [alertType](https://www.adaptabletools.com/docs/reference/adaptablealertbase.md#alerttype) | `T` | The type of Alert |
| [header](https://www.adaptabletools.com/docs/reference/adaptablealertbase.md#header) | `string` | Alert Header text |
| [message](https://www.adaptabletools.com/docs/reference/adaptablealertbase.md#message) | `string` | Alert Body text |
| [occurrenceCount](https://www.adaptabletools.com/docs/reference/adaptablealertbase.md#occurrencecount) | `number` | Number of individual changes this Alert represents.<br/><br/>Normally `1`; greater than `1` when several changes from a single batch action (e.g. Bulk<br/>Update or Smart Edit) have been consolidated into a single Alert - see<br/>`AlertOptions.consolidateBatchAlerts`. |

## Property Details

### alertDefinition

Rule that caused Alert to fire

```ts title="TypeScript"
alertDefinition: AlertDefinition;
```

###### Property Value

[`AlertDefinition`](https://www.adaptabletools.com/docs/reference/alertdefinition.md)

### alertType

The type of Alert

```ts title="TypeScript"
alertType: T;
```

###### Property Value

`T`

### header

Alert Header text

```ts title="TypeScript"
header: string;
```

###### Property Value

`string`

### message

Alert Body text

```ts title="TypeScript"
message: string;
```

###### Property Value

`string`

### occurrenceCount

Number of individual changes this Alert represents.

Normally `1`; greater than `1` when several changes from a single batch action (e.g. Bulk
Update or Smart Edit) have been consolidated into a single Alert - see
`AlertOptions.consolidateBatchAlerts`.

```ts title="TypeScript"
occurrenceCount?: number;
```

###### Property Value

`number`
