grapher/lib/links/config.schema.js

45 lines
787 B
JavaScript
Raw Normal View History

2016-09-14 16:04:08 +03:00
export default new SimpleSchema({
type: {
type: String,
optional: true,
defaultValue: 'one'
},
collection: {
type: null,
2016-09-14 16:04:08 +03:00
blackbox: true,
optional: true
},
field: {
type: String,
optional: true
},
metadata: {
2017-11-23 21:03:39 +02:00
type: Boolean,
optional: true
},
2016-09-14 16:04:08 +03:00
inversedBy: {
type: String,
optional: true
},
resolve: {
type: Function,
optional: true
2016-09-16 19:22:12 +03:00
},
index: {
type: Boolean,
defaultValue: false,
optional: true
},
autoremove: {
type: Boolean,
defaultValue: false,
optional: true
2016-09-22 13:46:27 +03:00
},
unique: {
type: Boolean,
defaultValue: false,
optional: true
2016-09-14 16:04:08 +03:00
}
});