import listDependencies from "./listDependencies" ; param { Book } return { List < PluginDependency > } function listDepsForBook ( book ) { const config = book . getConfig ( ) ; const plugins = config . getPluginDependencies ( ) ; return listDependencies ( plugins ) ; } export default listDepsForBook ;