getPartnerManagedResourceCta() — supabase Function Reference
Architecture documentation for the getPartnerManagedResourceCta() function in PlanUpdateSidePanel.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD a9b272ae_c3c3_a426_6bab_b0a7511bc990["getPartnerManagedResourceCta()"] 05fe9ae6_77f0_016f_7024_66677c9473c4["PlanUpdateSidePanel()"] 05fe9ae6_77f0_016f_7024_66677c9473c4 -->|calls| a9b272ae_c3c3_a426_6bab_b0a7511bc990 style a9b272ae_c3c3_a426_6bab_b0a7511bc990 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx lines 37–50
const getPartnerManagedResourceCta = (selectedOrganization: Organization) => {
if (selectedOrganization.managed_by === MANAGED_BY.VERCEL_MARKETPLACE) {
return {
installationId: selectedOrganization?.partner_id,
path: '/settings',
message: 'Change Plan on Vercel Marketplace',
}
}
if (selectedOrganization.managed_by === MANAGED_BY.AWS_MARKETPLACE) {
return {
organizationSlug: selectedOrganization?.slug,
}
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getPartnerManagedResourceCta() do?
getPartnerManagedResourceCta() is a function in the supabase codebase.
What calls getPartnerManagedResourceCta()?
getPartnerManagedResourceCta() is called by 1 function(s): PlanUpdateSidePanel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free