mirror of
https://github.com/supabase/supabase.git
synced 2026-05-30 09:23:00 +08:00
* Add Vercel Marketplace login flow page * Add alternative Vercel Marketplace flow with for popup windows * Automatically redirect user to project after Vercel Marketplace login * added PartnerIcon * Update partner-icon.tsx * refactor partner icon * hide invoices when on vercel marketplace * vercel marketplace – payment method / billing address / tax numbers | empty states * add tooltip to memebers * always show invoices tab * Update InvoicesSettings.tsx * add partner id * update cta urls * add vercel managed org banner * add billing coming soon warning * remove sign-in-vercel-marketplace routes * re-enable plan upgrades * Update api.d.ts * Fix type checking * fix vercel links * improve ts --------- Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com> Co-authored-by: Alaister Young <a@alaisteryoung.com> Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com> Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
29 lines
1.2 KiB
TypeScript
29 lines
1.2 KiB
TypeScript
export const integrationKeys = {
|
|
integrationsListWithOrg: (orgSlug: string | undefined) =>
|
|
['organizations', orgSlug, 'integrations'] as const,
|
|
integrationsList: () => ['organizations', 'integrations'] as const,
|
|
vercelProjectList: (organization_integration_id: string | undefined) =>
|
|
['organizations', organization_integration_id, 'vercel-projects'] as const,
|
|
vercelConnectionsList: (organization_integration_id: string | undefined) =>
|
|
['organizations', organization_integration_id, 'vercel-connections'] as const,
|
|
githubBranch: (
|
|
organization_integration_id: string | undefined,
|
|
repo_owner: string,
|
|
repo_name: string,
|
|
branch_name: string
|
|
) => [
|
|
'organizations',
|
|
organization_integration_id,
|
|
'branches',
|
|
repo_owner,
|
|
repo_name,
|
|
branch_name,
|
|
],
|
|
githubAuthorization: () => ['github-authorization'] as const,
|
|
githubRepositoriesList: () => ['github-repositories'] as const,
|
|
githubBranchesList: (connectionId: number | undefined) => ['github-branches', connectionId],
|
|
githubConnectionsList: (organizationId: number | undefined) =>
|
|
['organizations', organizationId, 'github-connections'] as const,
|
|
vercelRedirect: (installationId?: string) => ['vercel-redirect', installationId] as const,
|
|
}
|