cht-conf 6.1.1 → 6.2.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [6.2.0](https://github.com/medic/cht-conf/compare/v6.1.1...v6.2.0) (2026-04-18)
2
+
3
+
4
+ ### Features
5
+
6
+ * **#10240:** allow limit_count_to_goal in target configuration schema ([#800](https://github.com/medic/cht-conf/issues/800)) ([7c6ec4f](https://github.com/medic/cht-conf/commit/7c6ec4fffb1a4721b309e7510b86e8ac9a7e745d)), closes [#10240](https://github.com/medic/cht-conf/issues/10240) [medic/cht-core#10772](https://github.com/medic/cht-core/issues/10772)
7
+
1
8
  ## [6.1.1](https://github.com/medic/cht-conf/compare/v6.1.0...v6.1.1) (2026-04-10)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cht-conf",
3
- "version": "6.1.1",
3
+ "version": "6.2.0",
4
4
  "description": "Configure CHT deployments",
5
5
  "main": "./src/lib/main.js",
6
6
  "engines": {
@@ -82,6 +82,7 @@ const TargetSchema = joi.array().items(
82
82
  .optional()
83
83
  .error(targetError('idType should be either "report" or "contact" or "function(contact, report)"')),
84
84
  aggregate: joi.boolean().optional(),
85
+ limit_count_to_goal: joi.boolean().optional(),
85
86
  })
86
87
  )
87
88
  .unique('id')
@@ -51,6 +51,7 @@ module.exports = projectDir => {
51
51
  'dhis',
52
52
  'visible',
53
53
  'aggregate',
54
+ 'limit_count_to_goal',
54
55
  ])),
55
56
  };
56
57
  };