(destinationType?: string)
| 10 | const RESPONSE_TEMPLATE_REGEX = /\$response\$|\{response\}/g; |
| 11 | |
| 12 | function parseDestinationTypes(destinationType?: string): string[] { |
| 13 | if (!destinationType) return []; |
| 14 | |
| 15 | return destinationType |
| 16 | .split(",") |
| 17 | .map(type => type.trim()) |
| 18 | .filter(Boolean); |
| 19 | } |
| 20 | |
| 21 | function getNestedValue(data: unknown, path: string): unknown { |
| 22 | const normalizedPath = path.replace(/\[(\d+)\]/g, ".$1"); |
no outgoing calls
no test coverage detected