ForestAdmin/toolbelt

View on GitHub
src/context/renderers-plan.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
/* eslint-disable global-require */
module.exports = plan =>
  plan
    .addUsingClass('environmentRenderer', () => require('../renderers/environment'))
    .addUsingClass('environmentsRenderer', () => require('../renderers/environments'))
    .addUsingClass('projectRenderer', () => require('../renderers/project'))
    .addUsingClass('projectsRenderer', () => require('../renderers/projects'))
    .addUsingClass('branchesRenderer', () => require('../renderers/branches'));