NotificationSubscriptionRow
Defined in: packages/core/src/schema/notification.ts:24
A per-user opt-in row for project notifications.
Properties
Section titled “Properties”createdAt
Section titled “createdAt”createdAt:
string
Defined in: packages/core/src/schema/notification.ts:33
enabled
Section titled “enabled”enabled:
boolean
Defined in: packages/core/src/schema/notification.ts:32
events
Section titled “events”events:
string|null
Defined in: packages/core/src/schema/notification.ts:29
JSON array of subscribed events, or null for all.
id:
string
Defined in: packages/core/src/schema/notification.ts:25
projectId
Section titled “projectId”projectId:
string
Defined in: packages/core/src/schema/notification.ts:26
userId
Section titled “userId”userId:
string
Defined in: packages/core/src/schema/notification.ts:27
via:
string|null
Defined in: packages/core/src/schema/notification.ts:31
JSON array of channels (e.g. [“email”]); v1 supports email only.