Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

531 B
Raw Blame
export type NotificationChannelType =
  | 'email'
  | 'telegram'
  | 'discord'
  | 'slack'
  | 'webhook'
  | 'webpush'

type NotificationChannelScope = 'user' | 'organisation' | 'project'

export interface NotificationChannel {
  id: string
  name: string
  type: NotificationChannelType
  config: Record<string, any>
  isVerified: boolean
  disabledReason?: string | null
  scope: NotificationChannelScope
  userId?: string | null
  organisationId?: string | null
  projectId?: string | null
  created: string
  updated: string
}