diff --git a/packages/hoppscotch-common/src/platform/organization.ts b/packages/hoppscotch-common/src/platform/organization.ts index b0706a72..29f0bcb4 100644 --- a/packages/hoppscotch-common/src/platform/organization.ts +++ b/packages/hoppscotch-common/src/platform/organization.ts @@ -11,20 +11,23 @@ export type OrganizationPlatformDef = { } | null> getRootDomain: () => string initiateOnboarding: () => void + /** * Whether organization switching is enabled for this platform * If true, an organization switcher will be shown */ organizationSwitchingEnabled?: boolean + /** * Custom component for the organization sidebar * If provided, will be shown as a sidebar in the layout */ customOrganizationSidebarComponent?: Component + /** * Switch to a specific organization instance or default cloud instance * For web: redirects to the target URL - * For desktop: downloads the organization bundle and connects + * For desktop: loads the organization bundle and connects * @param orgDomain - The organization domain (null for default cloud instance) */ switchToInstance?: (orgDomain: string | null) => void | Promise