openchs-models 1.33.71 → 1.33.72

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.
@@ -20,7 +20,7 @@ jobs:
20
20
  node-version: '20'
21
21
  registry-url: 'https://registry.npmjs.org'
22
22
  - name: Update npm
23
- run: npm install -g npm@latest
23
+ run: npm install -g npm@11
24
24
  - name: Install yarn
25
25
  run: npm install -g yarn
26
26
  - run: yarn install
@@ -589,7 +589,7 @@ class EntityMetaData {
589
589
  }
590
590
  //order is important. last entity in each (tx and ref) with be executed first. parent should be synced before the child.
591
591
  static model() {
592
- return [groupDashboard, approvalStatus, dashboardSectionCardMapping, dashboardSection, dashboardFilter, dashboard, reportCard, customCardConfig, standardReportCardType, menuItem, locationHierarchy, video, checklistItemDetail, checklistDetail, rule, ruleDependency, individualRelationshipType, individualRelationGenderMapping, individualRelation, formMapping, formElement, formElementGroup, form, documentationItem, documentation, identifierSource, organisationConfig, platformTranslation, translation, locationMapping, addressLevel, taskStatus, taskType, encounterType, program, gender, groupRole, calendarDateMarker, calendar, attendanceType, subjectType, conceptAnswer, concept, myGroups, groupPrivileges, groups, privilege, resetSync, subjectMigration, userSubjectAssignment, task, taskUnAssigment, subjectProgramEligibility, news, videoTelemetric, groupSubject, comment, commentThread, entityApprovalStatus, subjectEntityApprovalStatus, encounterEntityApprovalStatus, programEncounterEntityApprovalStatus, programEnrolmentEntityApprovalStatus, checklistItemEntityApprovalStatus, individualRelationship, checklistItem, checklist, attendanceRecord, session, encounter, identifierAssignment, programEncounter, programEnrolment, individual, extension, downloadableContent, userInfo, ruleFailureTelemetry, syncTelemetry];
592
+ return [groupDashboard, approvalStatus, dashboardSectionCardMapping, dashboardSection, dashboardFilter, dashboard, reportCard, customCardConfig, standardReportCardType, menuItem, locationHierarchy, video, checklistItemDetail, checklistDetail, rule, ruleDependency, individualRelationshipType, individualRelationGenderMapping, individualRelation, formMapping, formElement, formElementGroup, form, documentationItem, documentation, identifierSource, organisationConfig, platformTranslation, translation, locationMapping, addressLevel, taskStatus, taskType, encounterType, program, gender, groupRole, calendarDateMarker, calendar, attendanceType, subjectType, conceptAnswer, concept, myGroups, groupPrivileges, groups, privilege, ruleFailureTelemetry, resetSync, subjectMigration, userSubjectAssignment, task, taskUnAssigment, subjectProgramEligibility, news, videoTelemetric, groupSubject, comment, commentThread, entityApprovalStatus, subjectEntityApprovalStatus, encounterEntityApprovalStatus, programEncounterEntityApprovalStatus, programEnrolmentEntityApprovalStatus, checklistItemEntityApprovalStatus, individualRelationship, checklistItem, checklist, attendanceRecord, session, encounter, identifierAssignment, programEncounter, programEnrolment, individual, extension, downloadableContent, userInfo, syncTelemetry];
593
593
  }
594
594
  static entitiesLoadedFromServer() {
595
595
  return _lodash.default.differenceBy(_Schema.default.getInstance().getEntities(), [_Settings.default, _LocaleMapping.default].concat(EntityMetaData.embeddedEntities()), "schema.name");
@@ -108,7 +108,7 @@ class RuleFailureTelemetry extends _BaseEntity.default {
108
108
  return ruleFailureTelemetry;
109
109
  }
110
110
  get toResource() {
111
- return _lodash.default.pick(this, ["ruleUuid", "individualUuid", "errorMessage", "stacktrace", "closed", "errorDateTime", "sourceType", "sourceId", "entityType", "entityId", "appType"]);
111
+ return _lodash.default.pick(this, ["uuid", "ruleUuid", "individualUuid", "errorMessage", "stacktrace", "closed", "errorDateTime", "sourceType", "sourceId", "entityType", "entityId", "appType"]);
112
112
  }
113
113
  clone() {
114
114
  const ruleFailureTelemetry = new RuleFailureTelemetry();
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.33.71",
4
+ "version": "1.33.72",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",