The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
export const branchKeys = {
list: (projectRef: string | undefined) => ['projects', projectRef, 'branches'] as const,
detail: (projectRef: string | undefined, branchRef: string | undefined) =>
['projects', projectRef, 'branches', branchRef] as const,
diff: (projectRef: string | undefined, branchRef: string | undefined, pgdelta?: boolean) =>
['projects', projectRef, 'branch', branchRef, 'diff', pgdelta] as const,
}