The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
import { SlotWalStatus } from './ReplicationPipelineStatus.types'
import { getWalStatusMeta } from './ReplicationPipelineStatus.utils'
import { StateDot } from '@/components/ui/StateDot'
export const SLOT_STATUS_TOOLTIP =
'How safely your database is keeping the changes this pipeline’s main replication slot still needs'
/** How safely Postgres is keeping the changes the slot still needs. */
export const SlotWalStatusValue = ({ status }: { status?: SlotWalStatus | null }) => {
const meta = getWalStatusMeta(status)
return <StateDot variant={meta.variant}>{meta.label}</StateDot>
}