Sha256: 3ada6c1257e89ac468d90d55aebe563de87cc94d53ff41877e5de74dbfd71039
Contents?: true
Size: 412 Bytes
Versions: 128
Compression:
Stored size: 412 Bytes
Contents
'use strict'; module.exports = function defFunc(ajv) { defFunc.definition = { type: 'object', inline: require('./dotjs/patternRequired'), statements: true, errors: 'full', metaSchema: { type: 'array', items: { type: 'string', format: 'regex' }, uniqueItems: true } }; ajv.addKeyword('patternRequired', defFunc.definition); return ajv; };
Version data entries
128 entries across 74 versions & 12 rubygems