The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
import { ApiAuthorizationInvalidScreen } from './ApiAuthorization.Invalid'
import { ApiAuthorizationValidScreen } from './ApiAuthorization.Valid'
export interface ApiAuthorizationScreenProps {
auth_id: string | undefined
organization_slug: string | undefined
navigate: (destination: string) => void
}
export function ApiAuthorizationScreen({
auth_id,
organization_slug,
navigate,
}: ApiAuthorizationScreenProps) {
if (!auth_id) {
return <ApiAuthorizationInvalidScreen missingParameters={['auth_id']} />
}
return (
<ApiAuthorizationValidScreen
auth_id={auth_id}
organization_slug={organization_slug}
navigate={navigate}
/>
)
}