traceOfHref

tcmts.studio.traceOfHref · #rqpdfltf · term · runs anywhere

Where one row of the traces page leads (traceOfHref): this machine's traces, or from production's.

import { at } from "#codebase/tcmts/share";

export const traceOfHref = (name: string, kind: string, from = "") =>
  at(
    `/traces/of?name=${encodeURIComponent(name)}&kind=${encodeURIComponent(kind)}${from === "production" ? "&from=production" : ""}`,
  )

uses

used by