23 lines
376 B
JavaScript
23 lines
376 B
JavaScript
import schema from '/imports/api/schema.js';
|
|
|
|
let SoftRemovableSchema = schema({
|
|
"removed": {
|
|
type: Boolean,
|
|
optional: true,
|
|
index: 1,
|
|
},
|
|
"removedAt": {
|
|
type: Date,
|
|
optional: true,
|
|
index: 1,
|
|
},
|
|
"removedWith": {
|
|
optional: true,
|
|
type: String,
|
|
regEx: SimpleSchema.RegEx.Id,
|
|
index: 1,
|
|
},
|
|
});
|
|
|
|
export default SoftRemovableSchema;
|