git ssb

0+

Piet / ssb-loomio



Tree: be17b27d1ff6966e3d7d922f5e612f4d2477dce4

Files: be17b27d1ff6966e3d7d922f5e612f4d2477dce4 / errors / schema / positionChoiceError.js

285 bytesRaw
1const errorSchema = require('./positionError')
2const cloneDeep = require('lodash.clonedeep')
3
4const schema = cloneDeep(errorSchema)
5
6// collapse the details down to be ONLY choice error
7schema.properties.type = { $ref: '#/definitions/errorTypes/errorChoice' }
8
9module.exports = schema
10

Built with git-ssb-web