File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
packages/core/supabase-js/src/lib Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,6 @@ export type QueryResult<T> = T extends PromiseLike<infer U> ? U : never
136136export type QueryData < T > = T extends PromiseLike < { data : infer U } > ? Exclude < U , null > : never
137137export type QueryError = PostgrestError
138138
139- /** @internal Key used for Supabase internal metadata in Database types. */
140- type InternalSupabaseKey = '__InternalSupabase'
141-
142139/**
143140 * Strips internal Supabase metadata from Database types.
144141 * Useful for libraries defining generic constraints on Database types.
@@ -148,4 +145,4 @@ type InternalSupabaseKey = '__InternalSupabase'
148145 * type CleanDB = DatabaseWithoutInternals<Database>
149146 * ```
150147 */
151- export type DatabaseWithoutInternals < DB > = Omit < DB , InternalSupabaseKey >
148+ export type DatabaseWithoutInternals < DB > = Omit < DB , '__InternalSupabase' >
You can’t perform that action at this time.
0 commit comments