MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / readStructuredRecord

Function readStructuredRecord

apps/local/src/mcp-browser-resume.test.ts:130–134  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

128};
129
130const readStructuredRecord = (value: unknown): Record<string, unknown> => {
131 expect(typeof value).toBe("object");
132 expect(value).not.toBeNull();
133 return value as Record<string, unknown>;
134};
135
136const readApproval = (structured: unknown): { readonly executionId: string; readonly url: URL } => {
137 const record = readStructuredRecord(structured);

Callers 2

readApprovalFunction · 0.85
readResultArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected