( actionContext: Record<string, PropertyValue>, dataModel: DataMap, )
| 89 | * Resolve action context by replacing path references with actual values |
| 90 | */ |
| 91 | export function resolveActionContext( |
| 92 | actionContext: Record<string, PropertyValue>, |
| 93 | dataModel: DataMap, |
| 94 | ): Record<string, unknown> { |
| 95 | const resolved: Record<string, unknown> = {}; |
| 96 | |
| 97 | for (const [key, value] of Object.entries(actionContext)) { |
| 98 | resolved[key] = resolvePropertyValue(value, dataModel); |
| 99 | } |
| 100 | |
| 101 | return resolved; |
| 102 | } |
| 103 | |
| 104 | /** |
| 105 | * Resolve a single PropertyValue to its actual value |
no test coverage detected