Skip to content

NotificationSubscriptionRow

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

A per-user opt-in row for project notifications.

createdAt: string

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


enabled: boolean

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


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: string

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


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.