Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
docs(common): clarify desktop organization switching behavior
James Georgea0bc22968d22
diff --git a/packages/hoppscotch-common/src/platform/organization.ts b/packages/hoppscotch-common/src/platform/organization.tsindex b0706a721..29f0bcb4d 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: () => stringinitiateOnboarding: () => 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<void>