git ssb

0+

Piet / ssb-loomio



Commit dbfe7b74a3adb5a6f94f01cd9a3f8fd4d696bd93

Rip out max choice score stuff.

Piet Geursen committed on 2/26/2018, 4:10:27 AM
Parent: cf1ec11814fe9691e6b8b29c312336e18144f5e5

Files changed

schema/pollTypes/chooseOne.jschanged
schema/pollTypes/chooseOne.jsView
@@ -11,31 +11,19 @@
1111 function create({choices}) {
1212 return {
1313 choices,
1414 type: typeString,
15- maxStanceScore: 1,
16- maxChoiceScore: 1,
1715 }
1816 }
1917
2018 var schema = {
2119 type: 'object',
22- required: ['type', 'maxStanceScore', 'choices'],
20 + required: ['type', 'choices'],
2321 properties: {
2422 type: {
2523 type: 'string',
2624 pattern: typeStringPattern
2725 },
28- maxStanceScore: {
29- type: 'integer',
30- minimum: 1,
31- maximum: 1,
32- },
33- maxChoiceScore: {
34- type: 'integer',
35- minimum: 1,
36- minimum: 1,
37- },
3826 choices: {
3927 type: 'array',
4028 }
4129 }

Built with git-ssb-web