docs(common): clarify desktop organization switching behavior
This commit is contained in:
parent
3d8810ec74
commit
a0bc22968d
1 changed files with 4 additions and 1 deletions
|
|
@ -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<void>
|
||||
|
|
|
|||
Loading…
Reference in a new issue