2020-02-03 10:24:25 +01:00
|
|
|
const { getTemplateApi } = require("@budibase/core")
|
|
|
|
const templateApi = getTemplateApi({})
|
|
|
|
module.exports = appDefinition => {
|
|
|
|
appDefinition.hierarchy = templateApi.constructHierarchy(
|
|
|
|
appDefinition.hierarchy
|
|
|
|
)
|
|
|
|
return appDefinition
|
|
|
|
}
|