The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
import type { AdmonitionType } from './Admonition.types'
export const TYPE_TO_VARIANT = {
note: 'default',
caution: 'warning',
danger: 'destructive',
deprecation: 'warning',
default: 'default',
warning: 'warning',
destructive: 'destructive',
success: 'default',
} as const satisfies Record<AdmonitionType, 'default' | 'warning' | 'destructive'>
export const TYPE_LABEL = {
note: 'Note',
caution: 'Caution',
danger: 'Danger',
deprecation: 'Deprecated',
default: 'Note',
warning: 'Warning',
destructive: 'Danger',
success: 'Success',
} as const satisfies Record<AdmonitionType, string>