import { getRowDependencies } from "./get-row-dependencies" ; import { ISection } from "./types" ; param { ISection } section export function getSectionDependencies ( section ) { return section . rows . reduce ( ( deps , row ) => { return deps . concat ( getRowDependencies ( row ) ) ; } , [ ] ) ; }