(shape: any)
| 498 | const shapes = graph.pages[0].shapes; |
| 499 | |
| 500 | const getInputParams = (shape: any) => { |
| 501 | if (shape.type === 'startNodeStart') { |
| 502 | return shape.flowMeta.inputParams; |
| 503 | } else if (shape.type === 'endNodeEnd') { |
| 504 | return shape.flowMeta.callback.converter.entity.inputParams; |
| 505 | } else { |
| 506 | return shape.flowMeta.jober.converter.entity.inputParams; |
| 507 | } |
| 508 | }; |
| 509 | |
| 510 | const getConfigByKeys = (keys: string[]) => { |
| 511 | if (!Array.isArray(keys)) { |