| 23 | ]; |
| 24 | |
| 25 | interface 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 | |
| 46 | const getStepNumber = (status: string): number => { |
| 47 | if (status.startsWith("diagram")) return 3; |
nothing calls this directly
no outgoing calls
no test coverage detected