1
0
Fork 0
mirror of synced 2024-07-18 20:56:04 +12:00
budibase/packages/server/utilities/constructHierarchy.js

6 lines
244 B
JavaScript
Raw Normal View History

2019-09-10 17:14:45 +12:00
const {getTemplateApi} = require("@budibase/core");
2019-06-29 09:59:27 +12:00
const templateApi = getTemplateApi({});
module.exports = (appDefinition) => {
appDefinition.hierarchy = templateApi.constructHierarchy(appDefinition.hierarchy);
return appDefinition;
}