@onehat/data 1.19.2 → 1.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/data",
3
- "version": "1.19.2",
3
+ "version": "1.19.3",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -328,6 +328,16 @@ export default class Schema extends EventEmitter {
328
328
  }
329
329
  found[property.name] = property.filterType;
330
330
  });
331
+
332
+ if (!_.isNil(this.model.ancillaryFilters)) {
333
+ _.each(this.model.ancillaryFilters, (value, key) => {
334
+ found[key] = {
335
+ isAncillary: true,
336
+ title: value,
337
+ };
338
+ });
339
+ }
340
+
331
341
  return found;
332
342
  }
333
343