(
compilerId: number,
toolId: string,
toolName: string,
)
| 289 | |
| 290 | /** Get a tool input view component with the given configuration. */ |
| 291 | export function getToolInputViewWith( |
| 292 | compilerId: number, |
| 293 | toolId: string, |
| 294 | toolName: string, |
| 295 | ): ComponentConfig<typeof TOOL_INPUT_VIEW_COMPONENT_NAME> { |
| 296 | return { |
| 297 | type: 'component', |
| 298 | componentName: TOOL_INPUT_VIEW_COMPONENT_NAME, |
| 299 | componentState: { |
| 300 | compilerId, |
| 301 | toolId, |
| 302 | toolName, |
| 303 | }, |
| 304 | }; |
| 305 | } |
| 306 | |
| 307 | /** Get an empty diff component. */ |
| 308 | export function getDiffView(): ComponentConfig<typeof DIFF_VIEW_COMPONENT_NAME> { |
nothing calls this directly
no outgoing calls
no test coverage detected