grapher/lib/exposure/exposure.config.schema.js
2016-09-28 18:30:12 +03:00

40 lines
No EOL
642 B
JavaScript

import { SimpleSchema } from 'meteor/aldeed:simple-schema';
export default new SimpleSchema({
firewall: {
type: Function,
optional: true
},
maxLimit: {
type: Number,
optional: true,
min: 1
},
maxDepth: {
type: Number,
optional: true,
min: 1
},
restrictedFields: {
type: [String],
optional: true
},
restrictedLinks: {
type: [String],
optional: true
},
publication: {
type: Boolean,
defaultValue: true
},
method: {
type: Boolean,
defaultValue: true
}
})