Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

402 B
Raw Blame
/**
 * A minimal dependency-injection contract for surfacing user-facing
 * notifications (toasts). It is structurally a subset of sonner's `toast`, so
 * the real `toast` can be passed directly while tests pass a spy — letting
 * modules that need to notify stay free of a hard sonner import.
 */
export interface Notifier {
  success: (message: string) => void
  error: (message: string) => void
}