Skip to content

apps/api/src/lib/notifier.factory.ts ​

Auto-generated by scripts/generate-file-docs.ts. Do not edit — overwritten on every run.

Purpose ​

Notifier factory — wires the multi-channel Notifier with concrete provider adapters and the Prisma singleton. The singleton export (notifier) is the only thing consumers should import. The class form (Notifier from './notifier') and buildNotifier exist to support tests that need to swap providers with fakes. /

Exports ​

  • export function buildNotifier
  • export const notifier

Imports ​

  • ../adapters/db
  • ../adapters/email
  • ../adapters/notifications
  • ../adapters/sms
  • ./notifier

Imported by ​

Heritage Community Hub — Internal. Access restricted via Cloudflare Access + Entra ID.