Skip to content

NotificationChannelRow

Defined in: packages/core/src/schema/notification.ts:2

A project (or site-wide) notification channel row.

config: string

Defined in: packages/core/src/schema/notification.ts:9

JSON-serialized provider config (toggles, addresses; never secrets).


createdAt: string

Defined in: packages/core/src/schema/notification.ts:19


enabled: boolean

Defined in: packages/core/src/schema/notification.ts:14


events: string | null

Defined in: packages/core/src/schema/notification.ts:13

JSON array of subscribed events, or null for all.


id: string

Defined in: packages/core/src/schema/notification.ts:3


lastError: string | null

Defined in: packages/core/src/schema/notification.ts:16

Last delivery error (sanitized), null while the channel delivers cleanly.


lastErrorAt: string | null

Defined in: packages/core/src/schema/notification.ts:18

ISO-8601 time of lastError.


projectId: string | null

Defined in: packages/core/src/schema/notification.ts:5

Owning project, or null for site-wide admin (sys:*) channels.


provider: string

Defined in: packages/core/src/schema/notification.ts:7

Provider kind (e.g. “slack-webhook”, “teams-workflow”, “email”).


secretEncrypted: string | null

Defined in: packages/core/src/schema/notification.ts:11

AES-256-GCM secret (webhook URL / SMTP pass), null when none.


updatedAt: string

Defined in: packages/core/src/schema/notification.ts:20