MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / toUnknownRecord

Function toUnknownRecord

apps/ui/src/lib/api/openapi.ts:178–186  ·  view source on GitHub ↗
(
  value: unknown
)

Source from the content-addressed store, hash-verified

176 return undefined;
177 }
178
179 const out: Record<string, string> = {};
180
181 for (const [key, val] of Object.entries(value)) {
182 if (typeof val === "string") {
183 out[key] = val;
184 }
185 }
186
187 return out;
188};
189

Callers 1

toErrorBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected