mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
* Remove the query for temp keys. Remove the query for supabase client. Add a function which creates a supabase client with a temp key. * Add a new query for building the endpoint URL. * Migrate all oAuth queries and mutations to use the new function for creating a Supabase project client. * Use the new queries/mutations in the code. * Use query in refetchInterval for useProjectSettings. * Replace all uses in StorageExplorer with createProjectSupabaseClient.
6 lines
266 B
TypeScript
6 lines
266 B
TypeScript
export const oauthServerAppKeys = {
|
|
// temporaryApiKey has to be added to reset the query when it changes
|
|
list: (projectRef: string | undefined, clientEndpoint: string | undefined) =>
|
|
['projects', projectRef, 'oauth-server-apps', clientEndpoint] as const,
|
|
}
|