Updated options name and description and added support for criteria searching for getOptions()

This commit is contained in:
Vishal Shingala
2020-04-23 19:17:31 +05:30
parent c273544180
commit f783d37172
5 changed files with 121 additions and 87 deletions

View File

@@ -23,8 +23,8 @@ module.exports = {
schema.mergeAndValidate(cb);
},
getOptions: function() {
return SchemaPack.getOptions();
getOptions: function(mode, criteria) {
return SchemaPack.getOptions(mode, criteria);
},
// new API