From 237ad56cdde809727c944225994efdcd8864371d Mon Sep 17 00:00:00 2001 From: Joy A Date: Thu, 28 Mar 2024 18:28:17 +0530 Subject: [PATCH 1/2] avniproject/avni-product#1561 | import _ from "lodash" where missing --- src/RuleDependency.js | 1 + src/StandardReportCardType.js | 1 + src/SubjectType.js | 1 + src/draft/DraftSubject.js | 1 + 4 files changed, 4 insertions(+) diff --git a/src/RuleDependency.js b/src/RuleDependency.js index 0cbad8e3..c0f06516 100644 --- a/src/RuleDependency.js +++ b/src/RuleDependency.js @@ -1,5 +1,6 @@ import ReferenceEntity from "./ReferenceEntity"; import General from "./utility/General"; +import _ from "lodash"; class RuleDependency extends ReferenceEntity { static noop = "{}"; diff --git a/src/StandardReportCardType.js b/src/StandardReportCardType.js index 0b8ea03c..5c2d4531 100644 --- a/src/StandardReportCardType.js +++ b/src/StandardReportCardType.js @@ -2,6 +2,7 @@ import BaseEntity from "./BaseEntity"; import General from "./utility/General"; import TaskType from "./task/TaskType"; import ApprovalStatus from "./ApprovalStatus"; +import _ from "lodash"; class StandardReportCardType extends BaseEntity { static schema = { diff --git a/src/SubjectType.js b/src/SubjectType.js index 91374fde..2aabbab9 100644 --- a/src/SubjectType.js +++ b/src/SubjectType.js @@ -3,6 +3,7 @@ import General from "./utility/General"; import Format from "./application/Format"; import ResourceUtil from "./utility/ResourceUtil"; import SchemaNames from "./SchemaNames"; +import _ from "lodash"; class SubjectType extends ReferenceEntity { static schema = { diff --git a/src/draft/DraftSubject.js b/src/draft/DraftSubject.js index a760fee5..951cd7b4 100644 --- a/src/draft/DraftSubject.js +++ b/src/draft/DraftSubject.js @@ -7,6 +7,7 @@ import AddressLevel from "../AddressLevel"; import Observation from "../Observation"; import Point from "../geo/Point"; import SchemaNames from "../SchemaNames"; +import _ from "lodash"; class DraftSubject extends BaseEntity { static schema = { From 3651255373339860383650c315c928e3fb004ff6 Mon Sep 17 00:00:00 2001 From: Joy A Date: Thu, 28 Mar 2024 18:28:58 +0530 Subject: [PATCH 2/2] v1.31.60 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7d11d92b..df31e06b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "openchs-models", "description": "OpenCHS data model to be used by front end clients", - "version": "1.31.56", + "version": "1.31.60", "private": false, "repository": { "type": "git",