git ssb

0+

Piet / ssb-loomio



Tree: 1fe8a8808eb5537d88dcaf30930d6d57f2986822

Files: 1fe8a8808eb5537d88dcaf30930d6d57f2986822 / poll / schema / chooseOnePoll.js

296 bytesRaw
1const pollSchema = require('./poll')
2const cloneDeep = require('lodash.clonedeep')
3
4const chooseOneSchema = cloneDeep(pollSchema)
5
6// collapse the details down to be ONLY chooseOne
7chooseOneSchema.properties.details = { $ref: '#/definitions/details/chooseOne' }
8
9module.exports = chooseOneSchema
10

Built with git-ssb-web