MCPcopy Index your code
hub / github.com/coder/coder / workspaceByOwnerAndNameKey

Function workspaceByOwnerAndNameKey

site/src/api/queries/workspaces.ts:39–42  ·  view source on GitHub ↗
(
	ownerUsername: string,
	name: string,
)

Source from the content-addressed store, hash-verified

37export const workspacesQueryKeyPrefix = ["workspaces"] as const;
38
39export const workspaceByOwnerAndNameKey = (
40 ownerUsername: string,
41 name: string,
42) => ["workspace", ownerUsername, name, "settings"];
43
44export const workspaceByIdKey = (workspaceId: string) =>
45 ["workspace", workspaceId] as const;

Callers 11

ModifyPromptDialogFunction · 0.90
TaskPageFunction · 0.90
createWorkspaceWithAgentFunction · 0.90
workspaceQueriesFunction · 0.90
WorkspaceSchedulePageFunction · 0.90
workspaceQueriesFunction · 0.90
workspaceByOwnerAndNameFunction · 0.85
activateFunction · 0.85
updateWorkspaceBuildFunction · 0.85
toggleFavoriteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected