Skip to content

Conversation

@7ttp
Copy link
Contributor

@7ttp 7ttp commented Dec 9, 2025

Exports a new DatabaseWithoutInternals<DB> utility type that strips the internal __InternalSupabase metadata key from Database types. This is useful for libraries and applications that need to define generic constraints on Database types without including Supabase's internal metadata. The pattern Omit<DB, '__InternalSupabase'> is already used extensively throughout the codebase, and this export provides a clean, documented way for external consumers to do the same.

Closes supabase/postgres-meta#1026

cc @mandarini

@7ttp 7ttp requested a review from a team as a code owner December 9, 2025 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant