(compiledGraph: dataform.ICompiledGraph)
| 19 | } |
| 20 | |
| 21 | export function actionsByTarget(compiledGraph: dataform.ICompiledGraph) { |
| 22 | const actionsMap = new Map<string, CoreProtoActionTypes>(); |
| 23 | combineAllActions(compiledGraph) |
| 24 | // Required for backwards compatibility with old versions of @dataform/core. |
| 25 | .filter(action => !!action.target) |
| 26 | .forEach(action => { |
| 27 | actionsMap.set(targetStringifier.stringify(action.target), action); |
| 28 | }); |
| 29 | } |
| 30 | |
| 31 | export function actionsByCanonicalTarget(compiledGraph: dataform.ICompiledGraph) { |
| 32 | const actionsMap = new Map<string, CoreProtoActionTypes>(); |
nothing calls this directly
no test coverage detected