mirror of
https://github.com/vale981/grapher
synced 2025-03-06 01:51:38 -05:00
44 lines
787 B
JavaScript
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
|
|
}
|
|
});
|
|
|