backend/config/api/forms/exports.config.js

15 lines
341 B
JavaScript
Raw Normal View History

2020-10-15 04:13:09 +00:00
module.exports = exports = {
subtree: {
fields: {
PageId: {
required: true,
coerce: String,
},
format: {
required: true,
coerce: String,
in_set: ['html', 'pdf', 'markdown', 'json'],
}
}
}
}