backend/config/api/forms/exports.config.js
garrettmills 54d07754ac
All checks were successful
continuous-integration/drone/push Build is passing
Start new HTML export logic
2020-10-14 23:13:09 -05:00

15 lines
341 B
JavaScript

module.exports = exports = {
subtree: {
fields: {
PageId: {
required: true,
coerce: String,
},
format: {
required: true,
coerce: String,
in_set: ['html', 'pdf', 'markdown', 'json'],
}
}
}
}