Spaces:
Running
Running
Download node_modules/@supabase/functions-js/dist/module/FunctionsClient.d.ts from Harry9233/Taste_Rider_Web: direct link, hf CLI and curl.
- Browser
- Download file 837 Bytes
-
https://huggingface.co/spaces/Harry9233/Taste_Rider_Web/resolve/main/node_modules/%40supabase/functions-js/dist/module/FunctionsClient.d.ts
- Command line
-
hf download hf://spaces/Harry9233/Taste_Rider_Web/node_modules/@supabase/functions-js/dist/module/FunctionsClient.d.ts
-
curl -L -o FunctionsClient.d.ts https://huggingface.co/spaces/Harry9233/Taste_Rider_Web/resolve/main/node_modules/%40supabase/functions-js/dist/module/FunctionsClient.d.ts
837 Bytes
| import { Fetch, FunctionsResponse, FunctionInvokeOptions } from './types'; | |
| export declare class FunctionsClient { | |
| protected url: string; | |
| protected headers: Record<string, string>; | |
| protected fetch: Fetch; | |
| constructor(url: string, { headers, customFetch, }?: { | |
| headers?: Record<string, string>; | |
| customFetch?: Fetch; | |
| }); | |
| /** | |
| * Updates the authorization header | |
| * @param token - the new jwt token sent in the authorisation header | |
| */ | |
| setAuth(token: string): void; | |
| /** | |
| * Invokes a function | |
| * @param functionName - The name of the Function to invoke. | |
| * @param options - Options for invoking the Function. | |
| */ | |
| invoke<T = any>(functionName: string, options?: FunctionInvokeOptions): Promise<FunctionsResponse<T>>; | |
| } | |
| //# sourceMappingURL=FunctionsClient.d.ts.map |