grapher/lib/links/config.schema.js
2017-11-23 21:03:39 +02:00

44 lines
787 B
JavaScript

export default new SimpleSchema({
type: {
type: String,
optional: true,
defaultValue: 'one'
},
collection: {
type: null,
blackbox: true,
optional: true
},
field: {
type: String,
optional: true
},
metadata: {
type: Boolean,
optional: true
},
inversedBy: {
type: String,
optional: true
},
resolve: {
type: Function,
optional: true
},
index: {
type: Boolean,
defaultValue: false,
optional: true
},
autoremove: {
type: Boolean,
defaultValue: false,
optional: true
},
unique: {
type: Boolean,
defaultValue: false,
optional: true
}
});