@supabase/supabase-js
Advanced tools
Comparing version 2.39.4 to 2.39.5
@@ -1,2 +0,2 @@ | ||
export declare const version = "2.39.4"; | ||
export declare const version = "2.39.5"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '2.39.4'; | ||
exports.version = '2.39.5'; | ||
//# sourceMappingURL=version.js.map |
@@ -55,5 +55,3 @@ import { FunctionsClient } from '@supabase/functions-js'; | ||
*/ | ||
from(relation: string): import("@supabase/postgrest-js").PostgrestQueryBuilder<Database[SchemaName] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[SchemaName] : any, (Database[SchemaName] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[SchemaName] : any)["Tables"][string], string, (Database[SchemaName] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[SchemaName] : any)["Tables"][string] extends infer T ? T extends (Database[SchemaName] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[SchemaName] : any)["Tables"][string] ? T extends { | ||
Relationships: unknown; | ||
} ? unknown : unknown : never : never>; | ||
from(relation: string): ReturnType<PostgrestClient<Database, SchemaName>['from']>; | ||
/** | ||
@@ -67,3 +65,3 @@ * Perform a query on a schema distinct from the default schema supplied via | ||
*/ | ||
schema<DynamicSchema extends string & keyof Database>(schema: DynamicSchema): PostgrestClient<Database, DynamicSchema, Database[DynamicSchema] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[DynamicSchema] : any>; | ||
schema<DynamicSchema extends string & keyof Database>(schema: DynamicSchema): ReturnType<PostgrestClient<Database, SchemaName>['schema']>; | ||
/** | ||
@@ -93,3 +91,3 @@ * Perform a function call. | ||
count?: 'exact' | 'planned' | 'estimated'; | ||
}): import("@supabase/postgrest-js").PostgrestFilterBuilder<Database[SchemaName] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[SchemaName] : any, Fn["Returns"] extends any[] ? Fn["Returns"][number] extends Record<string, unknown> ? Fn["Returns"][number] : never : never, Fn["Returns"], unknown, unknown>; | ||
}): ReturnType<PostgrestClient<Database, SchemaName>['rpc']>; | ||
/** | ||
@@ -96,0 +94,0 @@ * Creates a Realtime channel with Broadcast, Presence, and Postgres Changes. |
@@ -1,2 +0,2 @@ | ||
export declare const version = "2.39.4"; | ||
export declare const version = "2.39.5"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = '2.39.4'; | ||
export const version = '2.39.5'; | ||
//# sourceMappingURL=version.js.map |
@@ -55,5 +55,3 @@ import { FunctionsClient } from '@supabase/functions-js'; | ||
*/ | ||
from(relation: string): import("@supabase/postgrest-js").PostgrestQueryBuilder<Database[SchemaName] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[SchemaName] : any, (Database[SchemaName] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[SchemaName] : any)["Tables"][string], string, (Database[SchemaName] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[SchemaName] : any)["Tables"][string] extends infer T ? T extends (Database[SchemaName] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[SchemaName] : any)["Tables"][string] ? T extends { | ||
Relationships: unknown; | ||
} ? unknown : unknown : never : never>; | ||
from(relation: string): ReturnType<PostgrestClient<Database, SchemaName>['from']>; | ||
/** | ||
@@ -67,3 +65,3 @@ * Perform a query on a schema distinct from the default schema supplied via | ||
*/ | ||
schema<DynamicSchema extends string & keyof Database>(schema: DynamicSchema): PostgrestClient<Database, DynamicSchema, Database[DynamicSchema] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[DynamicSchema] : any>; | ||
schema<DynamicSchema extends string & keyof Database>(schema: DynamicSchema): ReturnType<PostgrestClient<Database, SchemaName>['schema']>; | ||
/** | ||
@@ -93,3 +91,3 @@ * Perform a function call. | ||
count?: 'exact' | 'planned' | 'estimated'; | ||
}): import("@supabase/postgrest-js").PostgrestFilterBuilder<Database[SchemaName] extends import("@supabase/postgrest-js/dist/module/types").GenericSchema ? Database[SchemaName] : any, Fn["Returns"] extends any[] ? Fn["Returns"][number] extends Record<string, unknown> ? Fn["Returns"][number] : never : never, Fn["Returns"], unknown, unknown>; | ||
}): ReturnType<PostgrestClient<Database, SchemaName>['rpc']>; | ||
/** | ||
@@ -96,0 +94,0 @@ * Creates a Realtime channel with Broadcast, Presence, and Postgres Changes. |
{ | ||
"name": "@supabase/supabase-js", | ||
"version": "2.39.4", | ||
"version": "2.39.5", | ||
"description": "Isomorphic Javascript client for Supabase", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,1 +0,1 @@ | ||
export const version = '2.39.4' | ||
export const version = '2.39.5' |
@@ -133,3 +133,3 @@ import { FunctionsClient } from '@supabase/functions-js' | ||
*/ | ||
from(relation: string) { | ||
from(relation: string): ReturnType<PostgrestClient<Database, SchemaName>['from']> { | ||
return this.rest.from(relation) | ||
@@ -146,3 +146,5 @@ } | ||
*/ | ||
schema<DynamicSchema extends string & keyof Database>(schema: DynamicSchema) { | ||
schema<DynamicSchema extends string & keyof Database>( | ||
schema: DynamicSchema | ||
): ReturnType<PostgrestClient<Database, SchemaName>['schema']> { | ||
return this.rest.schema<DynamicSchema>(schema) | ||
@@ -179,3 +181,3 @@ } | ||
} | ||
) { | ||
): ReturnType<PostgrestClient<Database, SchemaName>['rpc']> { | ||
return this.rest.rpc(fn, args, options) | ||
@@ -182,0 +184,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
215937
1750