NotificationChannelRow
Defined in: packages/core/src/schema/notification.ts:2
A project (or site-wide) notification channel row.
Properties
Section titled “Properties”config
Section titled “config”config:
string
Defined in: packages/core/src/schema/notification.ts:9
JSON-serialized provider config (toggles, addresses; never secrets).
createdAt
Section titled “createdAt”createdAt:
string
Defined in: packages/core/src/schema/notification.ts:19
enabled
Section titled “enabled”enabled:
boolean
Defined in: packages/core/src/schema/notification.ts:14
events
Section titled “events”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
Section titled “lastError”lastError:
string|null
Defined in: packages/core/src/schema/notification.ts:16
Last delivery error (sanitized), null while the channel delivers cleanly.
lastErrorAt
Section titled “lastErrorAt”lastErrorAt:
string|null
Defined in: packages/core/src/schema/notification.ts:18
ISO-8601 time of lastError.
projectId
Section titled “projectId”projectId:
string|null
Defined in: packages/core/src/schema/notification.ts:5
Owning project, or null for site-wide admin (sys:*) channels.
provider
Section titled “provider”provider:
string
Defined in: packages/core/src/schema/notification.ts:7
Provider kind (e.g. “slack-webhook”, “teams-workflow”, “email”).
secretEncrypted
Section titled “secretEncrypted”secretEncrypted:
string|null
Defined in: packages/core/src/schema/notification.ts:11
AES-256-GCM secret (webhook URL / SMTP pass), null when none.
updatedAt
Section titled “updatedAt”updatedAt:
string
Defined in: packages/core/src/schema/notification.ts:20