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

Function structuredOf

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

Source from the content-addressed store, hash-verified

81const uniqueSuffix = () => randomBytes(4).toString("hex");
82
83const structuredOf = (result: { readonly raw: unknown }): Record<string, unknown> =>
84 ((result.raw as { structuredContent?: Record<string, unknown> }).structuredContent ??
85 {}) as Record<string, unknown>;
86
87/**
88 * The generated component, two frames down.

Callers 1

artifacts.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected