(owner: Owner, organizationId: string | null)
| 25 | /** Local/desktop are single-player hosts. The real partition there is the |
| 26 | * cwd-derived local workspace, so do not expose Personal/Workspace language. */ |
| 27 | export function ownerLabelForHost(owner: Owner, organizationId: string | null): string { |
| 28 | if (organizationId === null) return owner === "org" ? "Local" : "Personal"; |
| 29 | return ownerLabel(owner); |
| 30 | } |
| 31 | |
| 32 | export function useOwnerDisplay(): { |
| 33 | readonly isSinglePlayerHost: boolean; |
no test coverage detected