openchs-models 1.32.9 → 1.32.10

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.
@@ -165,7 +165,8 @@ const refData = (clazz, {
165
165
  syncWeight,
166
166
  resUrl,
167
167
  syncPushRequired = true,
168
- syncPullRequired = true
168
+ syncPullRequired = true,
169
+ apiVersion
169
170
  } = {}) => ({
170
171
  schemaName: clazz.schema.name,
171
172
  entityName: clazz.schema.name,
@@ -178,7 +179,8 @@ const refData = (clazz, {
178
179
  syncWeight: syncWeight,
179
180
  resourceUrl: resUrl,
180
181
  syncPushRequired,
181
- syncPullRequired
182
+ syncPullRequired,
183
+ apiVersion
182
184
  });
183
185
 
184
186
  const refDataNameTranslated = (clazz, attrs = {}) => refData(clazz, _objectSpread({}, attrs, {
@@ -395,7 +397,7 @@ const identifierAssignment = txData(_IdentifierAssignment.default, {
395
397
  const ruleFailureTelemetry = txData(_RuleFailureTelemetry.default, {
396
398
  resUrl: "ruleFailureTelemetry",
397
399
  syncWeight: 0,
398
- syncPullRequired: false
400
+ syncPullFRequired: false
399
401
  });
400
402
  const groups = refData(_Groups.default, {
401
403
  res: "groups",
@@ -429,28 +431,34 @@ const locationHierarchy = refData(_LocationHierarchy.default, {
429
431
  });
430
432
  const reportCard = refData(_ReportCard.default, {
431
433
  res: "card",
432
- syncWeight: 0
434
+ syncWeight: 0,
435
+ apiVersion: "v2"
433
436
  });
434
437
  const dashboard = refData(_Dashboard.default, {
435
438
  res: "dashboard",
436
- syncWeight: 0
439
+ syncWeight: 0,
440
+ apiVersion: "v2"
437
441
  });
438
442
  const dashboardFilter = refData(_DashboardFilter.default, {
439
443
  res: 'dashboardFilter',
440
444
  parent: dashboard,
441
- syncWeight: 0
445
+ syncWeight: 0,
446
+ apiVersion: "v2"
442
447
  });
443
448
  const dashboardSection = refData(_DashboardSection.default, {
444
449
  res: "dashboardSection",
445
- syncWeight: 0
450
+ syncWeight: 0,
451
+ apiVersion: "v2"
446
452
  });
447
453
  const dashboardSectionCardMapping = refData(_DashboardSectionCardMapping.default, {
448
454
  res: "dashboardSectionCardMapping",
449
- syncWeight: 0
455
+ syncWeight: 0,
456
+ apiVersion: "v2"
450
457
  });
451
458
  const standardReportCardType = refData(_StandardReportCardType.default, {
452
459
  res: "standardReportCardType",
453
- syncWeight: 0
460
+ syncWeight: 0,
461
+ apiVersion: "v2"
454
462
  });
455
463
  const approvalStatus = refData(_ApprovalStatus.default, {
456
464
  res: "approvalStatus",
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.32.9",
4
+ "version": "1.32.10",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",