MCPcopy Create free account
hub / github.com/coder/coder / workspacePortShares

Function workspacePortShares

site/src/api/queries/workspaceportsharing.ts:7–12  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

5} from "#/api/typesGenerated";
6
7export const workspacePortShares = (workspaceId: string) => {
8 return {
9 queryKey: ["sharedPorts", workspaceId],
10 queryFn: () => API.getWorkspaceAgentSharedPorts(workspaceId),
11 };
12};
13
14export const upsertWorkspacePortShare = (workspaceId: string) => {
15 return {

Callers 2

PortForwardButtonFunction · 0.90
PortsSubMenuItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected