add boolean option to schema for primitive operations

This commit is contained in:
Val Erastov 2018-11-28 01:10:07 -08:00
parent 45c5841430
commit 330ea158b0
6 changed files with 22 additions and 4 deletions

View file

@ -0,0 +1,5 @@
export default {
type: 'enum',
optional: true,
values: ['INTERSECT', 'SUBTRACT', 'UNION']
};

View file

@ -1,3 +1,5 @@
import booleanOptionSchema from '../booleanOptionSchema';
export default {
datum: {
type: 'datum',
@ -18,5 +20,6 @@ export default {
type: 'number',
defaultValue: 500,
min: 0
}
},
boolean: booleanOptionSchema
}

View file

@ -1,3 +1,5 @@
import booleanOptionSchema from '../booleanOptionSchema';
export default {
datum: {
type: 'datum',
@ -18,5 +20,6 @@ export default {
type: 'number',
defaultValue: 250,
min: 0
}
},
boolean: booleanOptionSchema
}

View file

@ -1,3 +1,5 @@
import booleanOptionSchema from '../booleanOptionSchema';
export default {
datum: {
type: 'datum',
@ -14,5 +16,5 @@ export default {
defaultValue: 250,
min: 0
},
boolean: booleanOptionSchema
}

View file

@ -1,3 +1,5 @@
import booleanOptionSchema from '../booleanOptionSchema';
export default {
datum: {
type: 'datum',
@ -9,4 +11,5 @@ export default {
defaultValue: 250,
min: 0
},
boolean: booleanOptionSchema
}

View file

@ -1,3 +1,5 @@
import booleanOptionSchema from '../booleanOptionSchema';
export default {
datum: {
type: 'datum',
@ -14,5 +16,5 @@ export default {
defaultValue: 50,
min: 0
},
boolean: booleanOptionSchema
}