MCPcopy Index your code
hub / github.com/simstudioai/sim / temporalNamespaceUrl

Function temporalNamespaceUrl

apps/sim/tools/temporal/utils.ts:53–56  ·  view source on GitHub ↗
(serverUrl: string, namespace: string)

Source from the content-addressed store, hash-verified

51 * (e.g. `http://localhost:7243/` → `http://localhost:7243/api/v1/namespaces/default`).
52 */
53export function temporalNamespaceUrl(serverUrl: string, namespace: string): string {
54 const base = serverUrl.trim().replace(/\/+$/, '')
55 return `${base}/api/v1/namespaces/${encodeURIComponent(namespace.trim())}`
56}
57
58/**
59 * Builds the `/workflows/{workflowId}` URL for a workflow execution, trimming and

Callers 6

list_schedules.tsFile · 0.90
list_workflows.tsFile · 0.90
count_workflows.tsFile · 0.90
temporalWorkflowUrlFunction · 0.85
temporalScheduleUrlFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected