git ssb

0+

Piet / ssb-loomio



Tree: a9066ada5725359824ce7bca9e5007251109f74c

Files: a9066ada5725359824ce7bca9e5007251109f74c / poll / schema / chooseOnePoll.js

304 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.pollDetails = { $ref: '#/definitions/pollDetails/chooseOne' }
8
9module.exports = chooseOneSchema
10

Built with git-ssb-web