MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / ownerLabel

Function ownerLabel

packages/react/src/api/owner-display.tsx:21–23  ·  view source on GitHub ↗
(owner: Owner)

Source from the content-addressed store, hash-verified

19
20/** Human label for an owner, for badges and toggles. */
21export function ownerLabel(owner: Owner): string {
22 return owner === "user" ? "Personal" : "Workspace";
23}
24
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. */

Callers 15

AccountRowFunction · 0.90
OwnerAccountsFunction · 0.90
connectionLabelFunction · 0.90
OAuthAppRadioRowFunction · 0.90
AddAccountModalViewFunction · 0.90
RemoveOAuthAppDialogFunction · 0.90
buildAccountGroupsFunction · 0.90
ToolTreeFunction · 0.90
PolicyRowFunction · 0.90
UserDetailFunction · 0.90
SecretPickerFunction · 0.90
connectionTitleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected