backend/app/enum.js
garrettmills 48fe2c7757
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Initial changes to support forms & form builder
2020-11-16 22:49:19 -06:00

12 lines
212 B
JavaScript

module.exports = {
PageType: {
Note: 'page',
Form: 'form',
Branch: 'branch',
_isValid(value) {
return ['page', 'form', 'branch'].includes(value)
}
}
}