Purged all references to the schema factory, use SCHEMA_OPTIONS constant instead

This commit is contained in:
Stefan Zermatten
2019-07-30 15:21:30 +02:00
parent 2385b69720
commit 4b7ff2146f
20 changed files with 23 additions and 57 deletions

View File

@@ -1,5 +1,4 @@
import SimpleSchema from 'simpl-schema';
import schema from '/imports/api/schema.js';
const RefSchema = new SimpleSchema({
id: {
@@ -12,7 +11,7 @@ const RefSchema = new SimpleSchema({
},
});
let ChildSchema = schema({
let ChildSchema = new SimpleSchema({
order: {
type: Number,
min: 0,