MCPcopy Create free account
hub / github.com/VGabriel45/SolidityVisualizer / LoadingProps

Interface LoadingProps

src/components/loading.tsx:25–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23];
24
25interface LoadingProps {
26 cost?: string;
27 status:
28 | "idle"
29 | "started"
30 | "explanation_sent"
31 | "explanation"
32 | "explanation_chunk"
33 | "mapping_sent"
34 | "mapping"
35 | "mapping_chunk"
36 | "diagram_sent"
37 | "diagram"
38 | "diagram_chunk"
39 | "complete"
40 | "error";
41 explanation?: string;
42 mapping?: string;
43 diagram?: string;
44}
45
46const getStepNumber = (status: string): number => {
47 if (status.startsWith("diagram")) return 3;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected