mirror of
https://github.com/vale981/grapher
synced 2025-03-06 10:01:40 -05:00
45 lines
808 B
JavaScript
45 lines
808 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: null,
|
|
blackbox: true,
|
|
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
|
|
}
|
|
});
|
|
|