(compiledGraph: dataform.ICompiledGraph)
| 29 | } |
| 30 | |
| 31 | export function actionsByCanonicalTarget(compiledGraph: dataform.ICompiledGraph) { |
| 32 | const actionsMap = new Map<string, CoreProtoActionTypes>(); |
| 33 | combineAllActions(compiledGraph) |
| 34 | // Required for backwards compatibility with old versions of @dataform/core. |
| 35 | .filter(action => !!action.canonicalTarget) |
| 36 | .forEach(action => { |
| 37 | actionsMap.set(targetStringifier.stringify(action.canonicalTarget), action); |
| 38 | }); |
| 39 | } |
nothing calls this directly
no test coverage detected