MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / payload

Function payload

__tests__/ui-steps-model.test.ts:24–38  ·  view source on GitHub ↗
(steps: WireStep[], links: WireStepLink[])

Source from the content-addressed store, hash-verified

22}
23
24function payload(steps: WireStep[], links: WireStepLink[]): WireStepsPayload {
25 return {
26 anchor: steps[0]!.node!,
27 ambiguous: [],
28 project: 'app',
29 steps,
30 links,
31 depth: 8,
32 limit: 120,
33 through: false,
34 truncated: { steps: 0, hubs: 0, chrome: 0 },
35 index: { lastIndexedAt: null, edges: 0, files: 0 },
36 timing: { elapsedMs: 1 },
37 };
38}
39
40describe('steps model', () => {
41 const screen = step('/capture/review', 'screen', 0, { screen: { path: '/capture/review', component: ref('ReviewScreen') } });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected