openchs-models 1.31.98 → 1.31.99

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.
@@ -258,6 +258,10 @@ class DashboardFilterConfig {
258
258
  return ![_CustomFilter.default.type.SubjectType, _CustomFilter.default.type.AsOnDate].includes(this.type);
259
259
  }
260
260
 
261
+ isAsOnDateFilter() {
262
+ return this.type === _CustomFilter.default.type.AsOnDate;
263
+ }
264
+
261
265
  isValid() {
262
266
  const valid = !_lodash.default.isNil(this.type);
263
267
  if (!valid) return valid;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "openchs-models",
3
3
  "description": "OpenCHS data model to be used by front end clients",
4
- "version": "1.31.98",
4
+ "version": "1.31.99",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",