@supabase/supabase-js 2.87.4-canary.2 → 2.87.4-canary.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/index.cjs +452 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +362 -0
  4. package/dist/index.d.cts.map +1 -0
  5. package/dist/index.d.mts +362 -0
  6. package/dist/index.d.mts.map +1 -0
  7. package/dist/index.mjs +405 -0
  8. package/dist/index.mjs.map +1 -0
  9. package/dist/umd/supabase.js +23 -1
  10. package/package.json +21 -22
  11. package/src/lib/types.ts +19 -1
  12. package/src/lib/version.ts +1 -1
  13. package/dist/esm/wrapper.mjs +0 -94
  14. package/dist/main/SupabaseClient.d.ts +0 -139
  15. package/dist/main/SupabaseClient.d.ts.map +0 -1
  16. package/dist/main/SupabaseClient.js +0 -235
  17. package/dist/main/SupabaseClient.js.map +0 -1
  18. package/dist/main/index.d.ts +0 -24
  19. package/dist/main/index.d.ts.map +0 -1
  20. package/dist/main/index.js +0 -76
  21. package/dist/main/index.js.map +0 -1
  22. package/dist/main/lib/SupabaseAuthClient.d.ts +0 -6
  23. package/dist/main/lib/SupabaseAuthClient.d.ts.map +0 -1
  24. package/dist/main/lib/SupabaseAuthClient.js +0 -11
  25. package/dist/main/lib/SupabaseAuthClient.js.map +0 -1
  26. package/dist/main/lib/constants.d.ts +0 -16
  27. package/dist/main/lib/constants.d.ts.map +0 -1
  28. package/dist/main/lib/constants.js +0 -33
  29. package/dist/main/lib/constants.js.map +0 -1
  30. package/dist/main/lib/fetch.d.ts +0 -9
  31. package/dist/main/lib/fetch.d.ts.map +0 -1
  32. package/dist/main/lib/fetch.js +0 -32
  33. package/dist/main/lib/fetch.js.map +0 -1
  34. package/dist/main/lib/helpers.d.ts +0 -14
  35. package/dist/main/lib/helpers.d.ts.map +0 -1
  36. package/dist/main/lib/helpers.js +0 -62
  37. package/dist/main/lib/helpers.js.map +0 -1
  38. package/dist/main/lib/rest/types/common/common.d.ts +0 -55
  39. package/dist/main/lib/rest/types/common/common.d.ts.map +0 -1
  40. package/dist/main/lib/rest/types/common/common.js +0 -12
  41. package/dist/main/lib/rest/types/common/common.js.map +0 -1
  42. package/dist/main/lib/rest/types/common/rpc.d.ts +0 -49
  43. package/dist/main/lib/rest/types/common/rpc.d.ts.map +0 -1
  44. package/dist/main/lib/rest/types/common/rpc.js +0 -12
  45. package/dist/main/lib/rest/types/common/rpc.js.map +0 -1
  46. package/dist/main/lib/types.d.ts +0 -102
  47. package/dist/main/lib/types.d.ts.map +0 -1
  48. package/dist/main/lib/types.js +0 -3
  49. package/dist/main/lib/types.js.map +0 -1
  50. package/dist/main/lib/version.d.ts +0 -2
  51. package/dist/main/lib/version.d.ts.map +0 -1
  52. package/dist/main/lib/version.js +0 -11
  53. package/dist/main/lib/version.js.map +0 -1
  54. package/dist/module/SupabaseClient.d.ts +0 -139
  55. package/dist/module/SupabaseClient.d.ts.map +0 -1
  56. package/dist/module/SupabaseClient.js +0 -232
  57. package/dist/module/SupabaseClient.js.map +0 -1
  58. package/dist/module/index.d.ts +0 -24
  59. package/dist/module/index.d.ts.map +0 -1
  60. package/dist/module/index.js +0 -48
  61. package/dist/module/index.js.map +0 -1
  62. package/dist/module/lib/SupabaseAuthClient.d.ts +0 -6
  63. package/dist/module/lib/SupabaseAuthClient.d.ts.map +0 -1
  64. package/dist/module/lib/SupabaseAuthClient.js +0 -7
  65. package/dist/module/lib/SupabaseAuthClient.js.map +0 -1
  66. package/dist/module/lib/constants.d.ts +0 -16
  67. package/dist/module/lib/constants.d.ts.map +0 -1
  68. package/dist/module/lib/constants.js +0 -30
  69. package/dist/module/lib/constants.js.map +0 -1
  70. package/dist/module/lib/fetch.d.ts +0 -9
  71. package/dist/module/lib/fetch.d.ts.map +0 -1
  72. package/dist/module/lib/fetch.js +0 -26
  73. package/dist/module/lib/fetch.js.map +0 -1
  74. package/dist/module/lib/helpers.d.ts +0 -14
  75. package/dist/module/lib/helpers.d.ts.map +0 -1
  76. package/dist/module/lib/helpers.js +0 -54
  77. package/dist/module/lib/helpers.js.map +0 -1
  78. package/dist/module/lib/rest/types/common/common.d.ts +0 -55
  79. package/dist/module/lib/rest/types/common/common.d.ts.map +0 -1
  80. package/dist/module/lib/rest/types/common/common.js +0 -11
  81. package/dist/module/lib/rest/types/common/common.js.map +0 -1
  82. package/dist/module/lib/rest/types/common/rpc.d.ts +0 -49
  83. package/dist/module/lib/rest/types/common/rpc.d.ts.map +0 -1
  84. package/dist/module/lib/rest/types/common/rpc.js +0 -11
  85. package/dist/module/lib/rest/types/common/rpc.js.map +0 -1
  86. package/dist/module/lib/types.d.ts +0 -102
  87. package/dist/module/lib/types.d.ts.map +0 -1
  88. package/dist/module/lib/types.js +0 -2
  89. package/dist/module/lib/types.js.map +0 -1
  90. package/dist/module/lib/version.d.ts +0 -2
  91. package/dist/module/lib/version.d.ts.map +0 -1
  92. package/dist/module/lib/version.js +0 -8
  93. package/dist/module/lib/version.js.map +0 -1
@@ -0,0 +1,362 @@
1
+ import { FunctionInvokeOptions, FunctionRegion, FunctionsClient, FunctionsError, FunctionsFetchError, FunctionsHttpError, FunctionsRelayError } from "@supabase/functions-js";
2
+ import { PostgrestClient, PostgrestError, PostgrestError as PostgrestError$1, PostgrestFilterBuilder, PostgrestMaybeSingleResponse, PostgrestQueryBuilder, PostgrestResponse, PostgrestSingleResponse } from "@supabase/postgrest-js";
3
+ import { RealtimeChannel, RealtimeChannelOptions, RealtimeClient, RealtimeClientOptions } from "@supabase/realtime-js";
4
+ import { StorageClient, StorageClientOptions } from "@supabase/storage-js";
5
+ import { AuthClient, GoTrueClientOptions, Session as AuthSession, User as AuthUser } from "@supabase/auth-js";
6
+ export * from "@supabase/realtime-js";
7
+ export * from "@supabase/auth-js";
8
+
9
+ //#region src/lib/rest/types/common/common.d.ts
10
+ type GenericRelationship = {
11
+ foreignKeyName: string;
12
+ columns: string[];
13
+ isOneToOne?: boolean;
14
+ referencedRelation: string;
15
+ referencedColumns: string[];
16
+ };
17
+ type GenericTable = {
18
+ Row: Record<string, unknown>;
19
+ Insert: Record<string, unknown>;
20
+ Update: Record<string, unknown>;
21
+ Relationships: GenericRelationship[];
22
+ };
23
+ type GenericUpdatableView = {
24
+ Row: Record<string, unknown>;
25
+ Insert: Record<string, unknown>;
26
+ Update: Record<string, unknown>;
27
+ Relationships: GenericRelationship[];
28
+ };
29
+ type GenericNonUpdatableView = {
30
+ Row: Record<string, unknown>;
31
+ Relationships: GenericRelationship[];
32
+ };
33
+ type GenericView = GenericUpdatableView | GenericNonUpdatableView;
34
+ type GenericSetofOption = {
35
+ isSetofReturn?: boolean | undefined;
36
+ isOneToOne?: boolean | undefined;
37
+ isNotNullable?: boolean | undefined;
38
+ to: string;
39
+ from: string;
40
+ };
41
+ type GenericFunction = {
42
+ Args: Record<string, unknown> | never;
43
+ Returns: unknown;
44
+ SetofOptions?: GenericSetofOption;
45
+ };
46
+ type GenericSchema = {
47
+ Tables: Record<string, GenericTable>;
48
+ Views: Record<string, GenericView>;
49
+ Functions: Record<string, GenericFunction>;
50
+ };
51
+ //#endregion
52
+ //#region src/lib/types.d.ts
53
+ interface SupabaseAuthClientOptions extends GoTrueClientOptions {}
54
+ type Fetch = typeof fetch;
55
+ type SupabaseClientOptions<SchemaName> = {
56
+ /**
57
+ * The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`.
58
+ */
59
+ db?: {
60
+ schema?: SchemaName;
61
+ };
62
+ auth?: {
63
+ /**
64
+ * Automatically refreshes the token for logged-in users. Defaults to true.
65
+ */
66
+ autoRefreshToken?: boolean;
67
+ /**
68
+ * Optional key name used for storing tokens in local storage.
69
+ */
70
+ storageKey?: string;
71
+ /**
72
+ * Whether to persist a logged-in session to storage. Defaults to true.
73
+ */
74
+ persistSession?: boolean;
75
+ /**
76
+ * Detect a session from the URL. Used for OAuth login callbacks. Defaults to true.
77
+ *
78
+ * Can be set to a function to provide custom logic for determining if a URL contains
79
+ * a Supabase auth callback. The function receives the current URL and parsed parameters,
80
+ * and should return true if the URL should be processed as a Supabase auth callback.
81
+ *
82
+ * This is useful when your app uses other OAuth providers (e.g., Facebook Login) that
83
+ * also return access_token in the URL fragment, which would otherwise be incorrectly
84
+ * intercepted by Supabase Auth.
85
+ *
86
+ * @example
87
+ * ```ts
88
+ * detectSessionInUrl: (url, params) => {
89
+ * // Ignore Facebook OAuth redirects
90
+ * if (url.pathname === '/facebook/redirect') return false
91
+ * // Use default detection for other URLs
92
+ * return Boolean(params.access_token || params.error_description)
93
+ * }
94
+ * ```
95
+ */
96
+ detectSessionInUrl?: boolean | ((url: URL, params: {
97
+ [parameter: string]: string;
98
+ }) => boolean);
99
+ /**
100
+ * A storage provider. Used to store the logged-in session.
101
+ */
102
+ storage?: SupabaseAuthClientOptions['storage'];
103
+ /**
104
+ * A storage provider to store the user profile separately from the session.
105
+ * Useful when you need to store the session information in cookies,
106
+ * without bloating the data with the redundant user object.
107
+ *
108
+ * @experimental
109
+ */
110
+ userStorage?: SupabaseAuthClientOptions['userStorage'];
111
+ /**
112
+ * OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications.
113
+ */
114
+ flowType?: SupabaseAuthClientOptions['flowType'];
115
+ /**
116
+ * If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library.
117
+ */
118
+ debug?: SupabaseAuthClientOptions['debug'];
119
+ /**
120
+ * Provide your own locking mechanism based on the environment. By default no locking is done at this time.
121
+ *
122
+ * @experimental
123
+ */
124
+ lock?: SupabaseAuthClientOptions['lock'];
125
+ /**
126
+ * If there is an error with the query, throwOnError will reject the promise by
127
+ * throwing the error instead of returning it as part of a successful response.
128
+ */
129
+ throwOnError?: SupabaseAuthClientOptions['throwOnError'];
130
+ };
131
+ /**
132
+ * Options passed to the realtime-js instance
133
+ */
134
+ realtime?: RealtimeClientOptions;
135
+ storage?: StorageClientOptions;
136
+ global?: {
137
+ /**
138
+ * A custom `fetch` implementation.
139
+ */
140
+ fetch?: Fetch;
141
+ /**
142
+ * Optional headers for initializing the client.
143
+ */
144
+ headers?: Record<string, string>;
145
+ };
146
+ /**
147
+ * Optional function for using a third-party authentication system with
148
+ * Supabase. The function should return an access token or ID token (JWT) by
149
+ * obtaining it from the third-party auth SDK. Note that this
150
+ * function may be called concurrently and many times. Use memoization and
151
+ * locking techniques if this is not supported by the SDKs.
152
+ *
153
+ * When set, the `auth` namespace of the Supabase client cannot be used.
154
+ * Create another client if you wish to use Supabase Auth and third-party
155
+ * authentications concurrently in the same application.
156
+ */
157
+ accessToken?: () => Promise<string | null>;
158
+ };
159
+ /**
160
+ * Helper types for query results.
161
+ */
162
+ type QueryResult<T> = T extends PromiseLike<infer U> ? U : never;
163
+ type QueryData<T> = T extends PromiseLike<{
164
+ data: infer U;
165
+ }> ? Exclude<U, null> : never;
166
+ type QueryError = PostgrestError$1;
167
+ //#endregion
168
+ //#region src/lib/SupabaseAuthClient.d.ts
169
+ declare class SupabaseAuthClient extends AuthClient {
170
+ constructor(options: SupabaseAuthClientOptions);
171
+ }
172
+ //#endregion
173
+ //#region src/lib/rest/types/common/rpc.d.ts
174
+ type IsMatchingArgs<FnArgs extends GenericFunction['Args'], PassedArgs extends GenericFunction['Args']> = [FnArgs] extends [Record<PropertyKey, never>] ? PassedArgs extends Record<PropertyKey, never> ? true : false : keyof PassedArgs extends keyof FnArgs ? PassedArgs extends FnArgs ? true : false : false;
175
+ type MatchingFunctionArgs<Fn$1 extends GenericFunction, Args extends GenericFunction['Args']> = Fn$1 extends {
176
+ Args: infer A extends GenericFunction['Args'];
177
+ } ? IsMatchingArgs<A, Args> extends true ? Fn$1 : never : false;
178
+ type FindMatchingFunctionByArgs<FnUnion, Args extends GenericFunction['Args']> = FnUnion extends infer Fn extends GenericFunction ? MatchingFunctionArgs<Fn, Args> : false;
179
+ type TablesAndViews<Schema extends GenericSchema> = Schema['Tables'] & Exclude<Schema['Views'], ''>;
180
+ type UnionToIntersection<U$1> = (U$1 extends any ? (k: U$1) => void : never) extends ((k: infer I) => void) ? I : never;
181
+ type LastOf<T> = UnionToIntersection<T extends any ? () => T : never> extends (() => infer R) ? R : never;
182
+ type IsAny<T> = 0 extends 1 & T ? true : false;
183
+ type ExactMatch<T, S> = [T] extends [S] ? ([S] extends [T] ? true : false) : false;
184
+ type ExtractExactFunction<Fns, Args> = Fns extends infer F ? F extends GenericFunction ? ExactMatch<F['Args'], Args> extends true ? F : never : never : never;
185
+ type IsNever<T> = [T] extends [never] ? true : false;
186
+ type RpcFunctionNotFound<FnName> = {
187
+ Row: any;
188
+ Result: {
189
+ error: true;
190
+ } & "Couldn't infer function definition matching provided arguments";
191
+ RelationName: FnName;
192
+ Relationships: null;
193
+ };
194
+ type CrossSchemaError<TableRef extends string> = {
195
+ error: true;
196
+ } & `Function returns SETOF from a different schema ('${TableRef}'). Use .overrideTypes<YourReturnType>() to specify the return type explicitly.`;
197
+ type GetRpcFunctionFilterBuilderByArgs<Schema extends GenericSchema, FnName extends string & keyof Schema['Functions'], Args> = {
198
+ 0: Schema['Functions'][FnName];
199
+ 1: IsAny<Schema> extends true ? any : IsNever<Args> extends true ? IsNever<ExtractExactFunction<Schema['Functions'][FnName], Args>> extends true ? LastOf<Schema['Functions'][FnName]> : ExtractExactFunction<Schema['Functions'][FnName], Args> : Args extends Record<PropertyKey, never> ? LastOf<Schema['Functions'][FnName]> : Args extends GenericFunction['Args'] ? IsNever<LastOf<FindMatchingFunctionByArgs<Schema['Functions'][FnName], Args>>> extends true ? LastOf<Schema['Functions'][FnName]> : LastOf<FindMatchingFunctionByArgs<Schema['Functions'][FnName], Args>> : ExtractExactFunction<Schema['Functions'][FnName], Args> extends GenericFunction ? ExtractExactFunction<Schema['Functions'][FnName], Args> : any;
200
+ }[1] extends infer Fn ? IsAny<Fn> extends true ? {
201
+ Row: any;
202
+ Result: any;
203
+ RelationName: FnName;
204
+ Relationships: null;
205
+ } : Fn extends GenericFunction ? {
206
+ Row: Fn['SetofOptions'] extends GenericSetofOption ? Fn['SetofOptions']['to'] extends keyof TablesAndViews<Schema> ? TablesAndViews<Schema>[Fn['SetofOptions']['to']]['Row'] : Fn['Returns'] extends any[] ? Fn['Returns'][number] extends Record<string, unknown> ? Fn['Returns'][number] : CrossSchemaError<Fn['SetofOptions']['to'] & string> : Fn['Returns'] extends Record<string, unknown> ? Fn['Returns'] : CrossSchemaError<Fn['SetofOptions']['to'] & string> : Fn['Returns'] extends any[] ? Fn['Returns'][number] extends Record<string, unknown> ? Fn['Returns'][number] : never : Fn['Returns'] extends Record<string, unknown> ? Fn['Returns'] : never;
207
+ Result: Fn['SetofOptions'] extends GenericSetofOption ? Fn['SetofOptions']['isSetofReturn'] extends true ? Fn['SetofOptions']['isOneToOne'] extends true ? Fn['Returns'][] : Fn['Returns'] : Fn['Returns'] : Fn['Returns'];
208
+ RelationName: Fn['SetofOptions'] extends GenericSetofOption ? Fn['SetofOptions']['to'] : FnName;
209
+ Relationships: Fn['SetofOptions'] extends GenericSetofOption ? Fn['SetofOptions']['to'] extends keyof Schema['Tables'] ? Schema['Tables'][Fn['SetofOptions']['to']]['Relationships'] : Fn['SetofOptions']['to'] extends keyof Schema['Views'] ? Schema['Views'][Fn['SetofOptions']['to']]['Relationships'] : null : null;
210
+ } : Fn extends false ? RpcFunctionNotFound<FnName> : RpcFunctionNotFound<FnName> : RpcFunctionNotFound<FnName>;
211
+ //#endregion
212
+ //#region src/SupabaseClient.d.ts
213
+ /**
214
+ * Supabase Client.
215
+ *
216
+ * An isomorphic Javascript client for interacting with Postgres.
217
+ */
218
+ declare class SupabaseClient<Database = any, SchemaNameOrClientOptions extends (string & keyof Omit<Database, '__InternalSupabase'>) | {
219
+ PostgrestVersion: string;
220
+ } = ('public' extends keyof Omit<Database, '__InternalSupabase'> ? 'public' : string & keyof Omit<Database, '__InternalSupabase'>), SchemaName extends string & keyof Omit<Database, '__InternalSupabase'> = (SchemaNameOrClientOptions extends string & keyof Omit<Database, '__InternalSupabase'> ? SchemaNameOrClientOptions : 'public' extends keyof Omit<Database, '__InternalSupabase'> ? 'public' : string & keyof Omit<Omit<Database, '__InternalSupabase'>, '__InternalSupabase'>), Schema extends (Omit<Database, '__InternalSupabase'>[SchemaName] extends GenericSchema ? Omit<Database, '__InternalSupabase'>[SchemaName] : never) = (Omit<Database, '__InternalSupabase'>[SchemaName] extends GenericSchema ? Omit<Database, '__InternalSupabase'>[SchemaName] : never), ClientOptions extends {
221
+ PostgrestVersion: string;
222
+ } = (SchemaNameOrClientOptions extends string & keyof Omit<Database, '__InternalSupabase'> ? Database extends {
223
+ __InternalSupabase: {
224
+ PostgrestVersion: string;
225
+ };
226
+ } ? Database['__InternalSupabase'] : {
227
+ PostgrestVersion: '12';
228
+ } : SchemaNameOrClientOptions extends {
229
+ PostgrestVersion: string;
230
+ } ? SchemaNameOrClientOptions : never)> {
231
+ protected supabaseUrl: string;
232
+ protected supabaseKey: string;
233
+ /**
234
+ * Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies.
235
+ */
236
+ auth: SupabaseAuthClient;
237
+ realtime: RealtimeClient;
238
+ /**
239
+ * Supabase Storage allows you to manage user-generated content, such as photos or videos.
240
+ */
241
+ storage: StorageClient;
242
+ protected realtimeUrl: URL;
243
+ protected authUrl: URL;
244
+ protected storageUrl: URL;
245
+ protected functionsUrl: URL;
246
+ protected rest: PostgrestClient<Database, ClientOptions, SchemaName>;
247
+ protected storageKey: string;
248
+ protected fetch?: Fetch;
249
+ protected changedAccessToken?: string;
250
+ protected accessToken?: () => Promise<string | null>;
251
+ protected headers: Record<string, string>;
252
+ /**
253
+ * Create a new client for use in the browser.
254
+ * @param supabaseUrl The unique Supabase URL which is supplied when you create a new project in your project dashboard.
255
+ * @param supabaseKey The unique Supabase Key which is supplied when you create a new project in your project dashboard.
256
+ * @param options.db.schema You can switch in between schemas. The schema needs to be on the list of exposed schemas inside Supabase.
257
+ * @param options.auth.autoRefreshToken Set to "true" if you want to automatically refresh the token before expiring.
258
+ * @param options.auth.persistSession Set to "true" if you want to automatically save the user session into local storage.
259
+ * @param options.auth.detectSessionInUrl Set to "true" if you want to automatically detects OAuth grants in the URL and signs in the user.
260
+ * @param options.realtime Options passed along to realtime-js constructor.
261
+ * @param options.storage Options passed along to the storage-js constructor.
262
+ * @param options.global.fetch A custom fetch implementation.
263
+ * @param options.global.headers Any additional headers to send with each network request.
264
+ * @example
265
+ * ```ts
266
+ * import { createClient } from '@supabase/supabase-js'
267
+ *
268
+ * const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')
269
+ * const { data } = await supabase.from('profiles').select('*')
270
+ * ```
271
+ */
272
+ constructor(supabaseUrl: string, supabaseKey: string, options?: SupabaseClientOptions<SchemaName>);
273
+ /**
274
+ * Supabase Functions allows you to deploy and invoke edge functions.
275
+ */
276
+ get functions(): FunctionsClient;
277
+ from<TableName extends string & keyof Schema['Tables'], Table extends Schema['Tables'][TableName]>(relation: TableName): PostgrestQueryBuilder<ClientOptions, Schema, Table, TableName>;
278
+ from<ViewName extends string & keyof Schema['Views'], View extends Schema['Views'][ViewName]>(relation: ViewName): PostgrestQueryBuilder<ClientOptions, Schema, View, ViewName>;
279
+ /**
280
+ * Select a schema to query or perform an function (rpc) call.
281
+ *
282
+ * The schema needs to be on the list of exposed schemas inside Supabase.
283
+ *
284
+ * @param schema - The schema to query
285
+ */
286
+ schema<DynamicSchema extends string & keyof Omit<Database, '__InternalSupabase'>>(schema: DynamicSchema): PostgrestClient<Database, ClientOptions, DynamicSchema, Database[DynamicSchema] extends GenericSchema ? Database[DynamicSchema] : any>;
287
+ /**
288
+ * Perform a function call.
289
+ *
290
+ * @param fn - The function name to call
291
+ * @param args - The arguments to pass to the function call
292
+ * @param options - Named parameters
293
+ * @param options.head - When set to `true`, `data` will not be returned.
294
+ * Useful if you only need the count.
295
+ * @param options.get - When set to `true`, the function will be called with
296
+ * read-only access mode.
297
+ * @param options.count - Count algorithm to use to count rows returned by the
298
+ * function. Only applicable for [set-returning
299
+ * functions](https://www.postgresql.org/docs/current/functions-srf.html).
300
+ *
301
+ * `"exact"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the
302
+ * hood.
303
+ *
304
+ * `"planned"`: Approximated but fast count algorithm. Uses the Postgres
305
+ * statistics under the hood.
306
+ *
307
+ * `"estimated"`: Uses exact count for low numbers and planned count for high
308
+ * numbers.
309
+ */
310
+ rpc<FnName extends string & keyof Schema['Functions'], Args extends Schema['Functions'][FnName]['Args'] = never, FilterBuilder extends GetRpcFunctionFilterBuilderByArgs<Schema, FnName, Args> = GetRpcFunctionFilterBuilderByArgs<Schema, FnName, Args>>(fn: FnName, args?: Args, options?: {
311
+ head?: boolean;
312
+ get?: boolean;
313
+ count?: 'exact' | 'planned' | 'estimated';
314
+ }): PostgrestFilterBuilder<ClientOptions, Schema, FilterBuilder['Row'], FilterBuilder['Result'], FilterBuilder['RelationName'], FilterBuilder['Relationships'], 'RPC'>;
315
+ /**
316
+ * Creates a Realtime channel with Broadcast, Presence, and Postgres Changes.
317
+ *
318
+ * @param {string} name - The name of the Realtime channel.
319
+ * @param {Object} opts - The options to pass to the Realtime channel.
320
+ *
321
+ */
322
+ channel(name: string, opts?: RealtimeChannelOptions): RealtimeChannel;
323
+ /**
324
+ * Returns all Realtime channels.
325
+ */
326
+ getChannels(): RealtimeChannel[];
327
+ /**
328
+ * Unsubscribes and removes Realtime channel from Realtime client.
329
+ *
330
+ * @param {RealtimeChannel} channel - The name of the Realtime channel.
331
+ *
332
+ */
333
+ removeChannel(channel: RealtimeChannel): Promise<'ok' | 'timed out' | 'error'>;
334
+ /**
335
+ * Unsubscribes and removes all Realtime channels from Realtime client.
336
+ */
337
+ removeAllChannels(): Promise<('ok' | 'timed out' | 'error')[]>;
338
+ private _getAccessToken;
339
+ private _initSupabaseAuthClient;
340
+ private _initRealtimeClient;
341
+ private _listenForAuthEvents;
342
+ private _handleTokenChanged;
343
+ }
344
+ //#endregion
345
+ //#region src/index.d.ts
346
+ /**
347
+ * Creates a new Supabase Client.
348
+ *
349
+ * @example
350
+ * ```ts
351
+ * import { createClient } from '@supabase/supabase-js'
352
+ *
353
+ * const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')
354
+ * const { data, error } = await supabase.from('profiles').select('*')
355
+ * ```
356
+ */
357
+ declare const createClient: <Database = any, SchemaNameOrClientOptions extends (string & keyof Omit<Database, "__InternalSupabase">) | {
358
+ PostgrestVersion: string;
359
+ } = ("public" extends keyof Omit<Database, "__InternalSupabase"> ? "public" : string & keyof Omit<Database, "__InternalSupabase">), SchemaName extends string & keyof Omit<Database, "__InternalSupabase"> = (SchemaNameOrClientOptions extends string & keyof Omit<Database, "__InternalSupabase"> ? SchemaNameOrClientOptions : "public" extends keyof Omit<Database, "__InternalSupabase"> ? "public" : string & keyof Omit<Omit<Database, "__InternalSupabase">, "__InternalSupabase">)>(supabaseUrl: string, supabaseKey: string, options?: SupabaseClientOptions<SchemaName>) => SupabaseClient<Database, SchemaNameOrClientOptions, SchemaName>;
360
+ //#endregion
361
+ export { type AuthSession, type AuthUser, type FunctionInvokeOptions, FunctionRegion, FunctionsError, FunctionsFetchError, FunctionsHttpError, FunctionsRelayError, PostgrestError, type PostgrestMaybeSingleResponse, type PostgrestResponse, type PostgrestSingleResponse, type QueryData, type QueryError, type QueryResult, SupabaseClient, type SupabaseClientOptions, createClient };
362
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/lib/rest/types/common/common.ts","../src/lib/types.ts","../src/lib/SupabaseAuthClient.ts","../src/lib/rest/types/common/rpc.ts","../src/SupabaseClient.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KAcY,mBAAA;EAAA,cAAA,EAAA,MAAmB;EAQnB,OAAA,EAAA,MAAY,EAAA;EACjB,UAAA,CAAA,EAAA,OAAA;EACG,kBAAA,EAAA,MAAA;EACA,iBAAA,EAAA,MAAA,EAAA;CACO;AAAmB,KAJxB,YAAA,GAIwB;EAGx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