PK

ADDRLIN : /home/questend/public_html/domains/flaxzy.com/node_modules/ajv-keywords/keywords/
FLL :
Current File : /home/questend/public_html/domains/flaxzy.com/node_modules/ajv-keywords/keywords/allRequired.js

'use strict';

module.exports = function defFunc(ajv) {
  defFunc.definition = {
    type: 'object',
    macro: function (schema, parentSchema) {
      if (!schema) return true;
      var properties = Object.keys(parentSchema.properties);
      if (properties.length == 0) return true;
      return {required: properties};
    },
    metaSchema: {type: 'boolean'},
    dependencies: ['properties']
  };

  ajv.addKeyword('allRequired', defFunc.definition);
  return ajv;
};


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home