Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
blackbox: true
},
'filters.$.field': {
type: String,
label: '字段名',
optional: true
},
'filters.$.operation': {
type: String,
label: '操作符',
optional: true,
defaultValue: "=",
allowedValues: ['=', '<>', '<', '>', '<=', '>=', 'contains', 'notcontains', 'startswith', 'between']
},
'filters.$.value': {
type: SimpleSchema.oneOf(String, Number, SimpleSchema.Integer, Boolean, {
type: Object,
blackbox: true
}, Date),
label: '字段值',
optional: true,
blackbox: true
},
filter_logic: {
type: String,
label: '过滤逻辑',
optional: true
},
fields: {
type: Array,
label: '字段',
optional: true