[**Documentation**](../../../README)

***

[Documentation](../../../README) / [@zerotal/notifications](../README) / NotificationConfigShape

# Interface: NotificationConfigShape

Defined in: [notifications/src/types.ts:105](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/notifications/src/types.ts#L105)

## Properties

### database

> **database**: `object`

Defined in: [notifications/src/types.ts:106](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/notifications/src/types.ts#L106)

#### table

> **table**: `string`

Table name for stored notifications. Default: 'notifications'

***

### mail

> **mail**: [`MailConfigShape`](MailConfigShape)

Defined in: [notifications/src/types.ts:114](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/notifications/src/types.ts#L114)

Mail-channel settings. Always present (defaults to the `log` driver), so the
`mail` channel works out of the box without extra configuration.

***

### slack?

> `optional` **slack?**: `object`

Defined in: [notifications/src/types.ts:120](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/notifications/src/types.ts#L120)

Slack incoming webhook settings.
The per-notification toSlack() method provides the webhookUrl, so this is
only needed if you want a global fallback URL.

#### webhook?

> `optional` **webhook?**: `string`

Default webhook URL — can be overridden per-notification in toSlack().

***

### sms?

> `optional` **sms?**: [`SmsConfigShape`](SmsConfigShape)

Defined in: [notifications/src/types.ts:128](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/notifications/src/types.ts#L128)

SMS provider settings (Twilio or Vonage).
Required when any notification uses the 'sms' channel.
