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

Function structuredOf

e2e/scenarios/artifacts.test.ts:77–79  ·  view source on GitHub ↗
(result: { readonly raw: unknown })

Source from the content-addressed store, hash-verified

75const uniqueSuffix = () => randomBytes(4).toString("hex");
76
77const structuredOf = (result: { readonly raw: unknown }): Record<string, unknown> =>
78 ((result.raw as { structuredContent?: Record<string, unknown> }).structuredContent ??
79 {}) as Record<string, unknown>;
80
81/**
82 * The generated component, two frames down.

Callers 1

artifacts.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected