openchs-models 1.32.53 → 1.33.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.
Files changed (37) hide show
  1. package/dist/AddressLevel.js +8 -2
  2. package/dist/Checklist.js +8 -2
  3. package/dist/ChecklistItem.js +10 -3
  4. package/dist/ChecklistItemDetail.js +12 -4
  5. package/dist/Comment.js +8 -2
  6. package/dist/ConceptAnswer.js +4 -1
  7. package/dist/CustomDashboardCache.js +4 -1
  8. package/dist/DashboardSection.js +4 -1
  9. package/dist/DashboardSectionCardMapping.js +8 -2
  10. package/dist/Encounter.js +6 -2
  11. package/dist/EntityApprovalStatus.js +4 -1
  12. package/dist/Family.js +8 -2
  13. package/dist/GroupDashboard.js +6 -2
  14. package/dist/GroupPrivileges.js +8 -2
  15. package/dist/GroupRole.js +8 -2
  16. package/dist/GroupSubject.js +12 -3
  17. package/dist/IdentifierAssignment.js +8 -3
  18. package/dist/Individual.js +12 -4
  19. package/dist/Observation.js +4 -1
  20. package/dist/ProgramEncounter.js +4 -2
  21. package/dist/ProgramEnrolment.js +10 -3
  22. package/dist/ReportCard.js +2 -1
  23. package/dist/Settings.js +2 -1
  24. package/dist/application/FormElement.js +10 -3
  25. package/dist/application/FormElementGroup.js +4 -1
  26. package/dist/application/FormMapping.js +8 -3
  27. package/dist/draft/DraftEncounter.js +8 -2
  28. package/dist/draft/DraftSubject.js +10 -3
  29. package/dist/program/SubjectProgramEligibility.js +8 -2
  30. package/dist/relationship/IndividualRelationGenderMapping.js +8 -2
  31. package/dist/relationship/IndividualRelationship.js +12 -3
  32. package/dist/relationship/IndividualRelationshipType.js +8 -2
  33. package/dist/reports/DashboardFilter.js +4 -1
  34. package/dist/task/Task.js +8 -2
  35. package/dist/task/TaskStatus.js +4 -1
  36. package/dist/videos/VideoTelemetric.js +4 -1
  37. package/package.json +1 -1
@@ -84,8 +84,14 @@ _defineProperty(LocationMapping, "schema", {
84
84
  primaryKey: "uuid",
85
85
  properties: {
86
86
  uuid: "string",
87
- parent: "AddressLevel",
88
- child: "AddressLevel",
87
+ parent: {
88
+ type: 'object',
89
+ objectType: 'AddressLevel'
90
+ },
91
+ child: {
92
+ type: 'object',
93
+ objectType: 'AddressLevel'
94
+ },
89
95
  voided: {
90
96
  type: "bool",
91
97
  default: false
package/dist/Checklist.js CHANGED
@@ -178,13 +178,19 @@ _defineProperty(Checklist, "schema", {
178
178
  primaryKey: "uuid",
179
179
  properties: _objectSpread({
180
180
  uuid: "string",
181
- detail: "ChecklistDetail",
181
+ detail: {
182
+ type: 'object',
183
+ objectType: 'ChecklistDetail'
184
+ },
182
185
  baseDate: "date",
183
186
  items: {
184
187
  type: "list",
185
188
  objectType: "ChecklistItem"
186
189
  },
187
- programEnrolment: "ProgramEnrolment"
190
+ programEnrolment: {
191
+ type: 'object',
192
+ objectType: 'ProgramEnrolment'
193
+ }
188
194
  }, _AuditUtil.AuditFields)
189
195
  });
190
196
 
@@ -355,7 +355,10 @@ _defineProperty(ChecklistItem, "schema", {
355
355
  primaryKey: "uuid",
356
356
  properties: _objectSpread({
357
357
  uuid: "string",
358
- detail: "ChecklistItemDetail",
358
+ detail: {
359
+ type: 'object',
360
+ objectType: 'ChecklistItemDetail'
361
+ },
359
362
  completionDate: {
360
363
  type: "date",
361
364
  optional: true
@@ -364,13 +367,17 @@ _defineProperty(ChecklistItem, "schema", {
364
367
  type: "list",
365
368
  objectType: "Observation"
366
369
  },
367
- checklist: "Checklist",
370
+ checklist: {
371
+ type: 'object',
372
+ objectType: 'Checklist'
373
+ },
368
374
  approvalStatuses: {
369
375
  type: "list",
370
376
  objectType: "EntityApprovalStatus"
371
377
  },
372
378
  latestEntityApprovalStatus: {
373
- type: "EntityApprovalStatus",
379
+ type: 'object',
380
+ objectType: 'EntityApprovalStatus',
374
381
  optional: true
375
382
  }
376
383
  }, _AuditUtil.AuditFields)
@@ -145,22 +145,30 @@ _defineProperty(ChecklistItemDetail, "schema", {
145
145
  primaryKey: "uuid",
146
146
  properties: {
147
147
  uuid: "string",
148
- concept: "Concept",
148
+ concept: {
149
+ type: 'object',
150
+ objectType: 'Concept'
151
+ },
149
152
  stateConfig: {
150
153
  type: "list",
151
154
  objectType: _SchemaNames.default.ChecklistItemStatus
152
155
  },
153
156
  form: {
154
- type: "Form",
157
+ type: 'object',
158
+ objectType: 'Form',
155
159
  optional: true
156
160
  },
157
- checklistDetail: "ChecklistDetail",
161
+ checklistDetail: {
162
+ type: 'object',
163
+ objectType: 'ChecklistDetail'
164
+ },
158
165
  voided: {
159
166
  type: "bool",
160
167
  default: false
161
168
  },
162
169
  dependentOn: {
163
- type: "ChecklistItemDetail",
170
+ type: 'object',
171
+ objectType: 'ChecklistItemDetail',
164
172
  optional: true
165
173
  },
166
174
  scheduleOnExpiryOfDependency: {
package/dist/Comment.js CHANGED
@@ -196,12 +196,18 @@ _defineProperty(Comment, "schema", {
196
196
  properties: _objectSpread({
197
197
  uuid: "string",
198
198
  text: "string",
199
- subject: "Individual",
199
+ subject: {
200
+ type: 'object',
201
+ objectType: 'Individual'
202
+ },
200
203
  displayUsername: "string",
201
204
  createdByUsername: "string",
202
205
  createdDateTime: "date",
203
206
  lastModifiedDateTime: "date",
204
- commentThread: "CommentThread",
207
+ commentThread: {
208
+ type: 'object',
209
+ objectType: 'CommentThread'
210
+ },
205
211
  voided: {
206
212
  type: "bool",
207
213
  default: false
@@ -73,7 +73,10 @@ _defineProperty(ConceptAnswer, "schema", {
73
73
  primaryKey: "uuid",
74
74
  properties: {
75
75
  uuid: "string",
76
- concept: "Concept",
76
+ concept: {
77
+ type: 'object',
78
+ objectType: 'Concept'
79
+ },
77
80
  answerOrder: "double",
78
81
  abnormal: "bool",
79
82
  unique: "bool",
@@ -155,7 +155,10 @@ _defineProperty(CustomDashboardCache, "schema", {
155
155
  primaryKey: "uuid",
156
156
  properties: {
157
157
  uuid: "string",
158
- dashboard: "Dashboard",
158
+ dashboard: {
159
+ type: 'object',
160
+ objectType: 'Dashboard'
161
+ },
159
162
  updatedAt: {
160
163
  type: "date",
161
164
  optional: true
@@ -74,7 +74,10 @@ _defineProperty(DashboardSection, "schema", {
74
74
  primaryKey: "uuid",
75
75
  properties: {
76
76
  uuid: "string",
77
- dashboard: "Dashboard",
77
+ dashboard: {
78
+ type: 'object',
79
+ objectType: 'Dashboard'
80
+ },
78
81
  name: {
79
82
  type: "string",
80
83
  optional: true
@@ -63,8 +63,14 @@ _defineProperty(DashboardSectionCardMapping, "schema", {
63
63
  primaryKey: "uuid",
64
64
  properties: {
65
65
  uuid: "string",
66
- dashboardSection: "DashboardSection",
67
- card: "ReportCard",
66
+ dashboardSection: {
67
+ type: 'object',
68
+ objectType: 'DashboardSection'
69
+ },
70
+ card: {
71
+ type: 'object',
72
+ objectType: 'ReportCard'
73
+ },
68
74
  displayOrder: "double",
69
75
  voided: {
70
76
  type: "bool",
package/dist/Encounter.js CHANGED
@@ -124,7 +124,10 @@ _defineProperty(Encounter, "schema", {
124
124
  primaryKey: "uuid",
125
125
  properties: _objectSpread({
126
126
  uuid: "string",
127
- encounterType: "EncounterType",
127
+ encounterType: {
128
+ type: 'object',
129
+ objectType: 'EncounterType'
130
+ },
128
131
  encounterDateTime: {
129
132
  type: "date",
130
133
  optional: true
@@ -171,7 +174,8 @@ _defineProperty(Encounter, "schema", {
171
174
  objectType: "EntityApprovalStatus"
172
175
  },
173
176
  latestEntityApprovalStatus: {
174
- type: "EntityApprovalStatus",
177
+ type: 'object',
178
+ objectType: 'EntityApprovalStatus',
175
179
  optional: true
176
180
  }
177
181
  }, _AuditUtil.AuditFields, {
@@ -215,7 +215,10 @@ _defineProperty(EntityApprovalStatus, "schema", {
215
215
  properties: _objectSpread({
216
216
  uuid: "string",
217
217
  entityUUID: "string",
218
- approvalStatus: "ApprovalStatus",
218
+ approvalStatus: {
219
+ type: 'object',
220
+ objectType: 'ApprovalStatus'
221
+ },
219
222
  entityType: "string",
220
223
  entityTypeUuid: {
221
224
  type: "string",
package/dist/Family.js CHANGED
@@ -216,8 +216,14 @@ _defineProperty(Family, "schema", {
216
216
  properties: {
217
217
  uuid: "string",
218
218
  registrationDate: "date",
219
- lowestAddressLevel: "AddressLevel",
220
- headOfFamily: "Individual",
219
+ lowestAddressLevel: {
220
+ type: 'object',
221
+ objectType: 'AddressLevel'
222
+ },
223
+ headOfFamily: {
224
+ type: 'object',
225
+ objectType: 'Individual'
226
+ },
221
227
  typeOfFamily: "string",
222
228
  householdNumber: "string",
223
229
  members: {
@@ -80,10 +80,14 @@ _defineProperty(GroupDashboard, "schema", {
80
80
  default: false
81
81
  },
82
82
  group: {
83
- type: "Groups",
83
+ type: 'object',
84
+ objectType: 'Groups',
84
85
  optional: true
85
86
  },
86
- dashboard: "Dashboard",
87
+ dashboard: {
88
+ type: 'object',
89
+ objectType: 'Dashboard'
90
+ },
87
91
  voided: {
88
92
  type: "bool",
89
93
  default: false
@@ -105,8 +105,14 @@ _defineProperty(GroupPrivileges, "schema", {
105
105
  primaryKey: "uuid",
106
106
  properties: {
107
107
  uuid: "string",
108
- group: "Groups",
109
- privilege: "Privilege",
108
+ group: {
109
+ type: 'object',
110
+ objectType: 'Groups'
111
+ },
112
+ privilege: {
113
+ type: 'object',
114
+ objectType: 'Privilege'
115
+ },
110
116
  subjectTypeUuid: "string",
111
117
  programUuid: "string?",
112
118
  programEncounterTypeUuid: "string?",
package/dist/GroupRole.js CHANGED
@@ -114,8 +114,14 @@ _defineProperty(GroupRole, "schema", {
114
114
  primaryKey: "uuid",
115
115
  properties: {
116
116
  uuid: "string",
117
- groupSubjectType: "SubjectType",
118
- memberSubjectType: "SubjectType",
117
+ groupSubjectType: {
118
+ type: 'object',
119
+ objectType: 'SubjectType'
120
+ },
121
+ memberSubjectType: {
122
+ type: 'object',
123
+ objectType: 'SubjectType'
124
+ },
119
125
  role: "string",
120
126
  primary: {
121
127
  type: "bool",
@@ -231,9 +231,18 @@ _defineProperty(GroupSubject, "schema", {
231
231
  primaryKey: "uuid",
232
232
  properties: _objectSpread({
233
233
  uuid: "string",
234
- groupSubject: "Individual",
235
- memberSubject: "Individual",
236
- groupRole: "GroupRole",
234
+ groupSubject: {
235
+ type: 'object',
236
+ objectType: 'Individual'
237
+ },
238
+ memberSubject: {
239
+ type: 'object',
240
+ objectType: 'Individual'
241
+ },
242
+ groupRole: {
243
+ type: 'object',
244
+ objectType: 'GroupRole'
245
+ },
237
246
  membershipStartDate: "date",
238
247
  membershipEndDate: {
239
248
  type: "date",
@@ -153,11 +153,15 @@ _defineProperty(IdentifierAssignment, "schema", {
153
153
  primaryKey: "uuid",
154
154
  properties: _objectSpread({
155
155
  uuid: "string",
156
- identifierSource: "IdentifierSource",
156
+ identifierSource: {
157
+ type: 'object',
158
+ objectType: 'IdentifierSource'
159
+ },
157
160
  identifier: "string",
158
161
  assignmentOrder: "double",
159
162
  individual: {
160
- type: "Individual",
163
+ type: 'object',
164
+ objectType: 'Individual',
161
165
  optional: true
162
166
  },
163
167
  voided: {
@@ -165,7 +169,8 @@ _defineProperty(IdentifierAssignment, "schema", {
165
169
  default: false
166
170
  },
167
171
  programEnrolment: {
168
- type: "ProgramEnrolment",
172
+ type: 'object',
173
+ objectType: 'ProgramEnrolment',
169
174
  optional: true
170
175
  },
171
176
  used: {
@@ -1098,7 +1098,10 @@ _defineProperty(Individual, "schema", {
1098
1098
  primaryKey: "uuid",
1099
1099
  properties: _objectSpread({
1100
1100
  uuid: "string",
1101
- subjectType: "SubjectType",
1101
+ subjectType: {
1102
+ type: 'object',
1103
+ objectType: 'SubjectType'
1104
+ },
1102
1105
  name: "string",
1103
1106
  firstName: "string",
1104
1107
  middleName: {
@@ -1122,11 +1125,15 @@ _defineProperty(Individual, "schema", {
1122
1125
  optional: true
1123
1126
  },
1124
1127
  gender: {
1125
- type: "Gender",
1128
+ type: 'object',
1129
+ objectType: 'Gender',
1126
1130
  optional: true
1127
1131
  },
1128
1132
  registrationDate: "date",
1129
- lowestAddressLevel: "AddressLevel",
1133
+ lowestAddressLevel: {
1134
+ type: 'object',
1135
+ objectType: 'AddressLevel'
1136
+ },
1130
1137
  voided: {
1131
1138
  type: "bool",
1132
1139
  default: false
@@ -1168,7 +1175,8 @@ _defineProperty(Individual, "schema", {
1168
1175
  objectType: "EntityApprovalStatus"
1169
1176
  },
1170
1177
  latestEntityApprovalStatus: {
1171
- type: "EntityApprovalStatus",
1178
+ type: 'object',
1179
+ objectType: 'EntityApprovalStatus',
1172
1180
  optional: true
1173
1181
  }
1174
1182
  }, _AuditUtil.AuditFields)
@@ -271,7 +271,10 @@ class Observation extends _PersistedObject.default {
271
271
  _defineProperty(Observation, "schema", {
272
272
  name: "Observation",
273
273
  properties: {
274
- concept: "Concept",
274
+ concept: {
275
+ type: 'object',
276
+ objectType: 'Concept'
277
+ },
275
278
  valueJSON: "string"
276
279
  }
277
280
  });
@@ -177,7 +177,8 @@ _defineProperty(ProgramEncounter, "schema", {
177
177
  optional: true
178
178
  },
179
179
  encounterType: {
180
- type: "EncounterType"
180
+ type: 'object',
181
+ objectType: 'EncounterType'
181
182
  },
182
183
  earliestVisitDateTime: {
183
184
  type: "date",
@@ -221,7 +222,8 @@ _defineProperty(ProgramEncounter, "schema", {
221
222
  objectType: "EntityApprovalStatus"
222
223
  },
223
224
  latestEntityApprovalStatus: {
224
- type: "EntityApprovalStatus",
225
+ type: 'object',
226
+ objectType: 'EntityApprovalStatus',
225
227
  optional: true
226
228
  }
227
229
  }, _AuditUtil.AuditFields, {
@@ -657,7 +657,10 @@ _defineProperty(ProgramEnrolment, "schema", {
657
657
  primaryKey: "uuid",
658
658
  properties: _objectSpread({
659
659
  uuid: "string",
660
- program: "Program",
660
+ program: {
661
+ type: 'object',
662
+ objectType: 'Program'
663
+ },
661
664
  enrolmentDateTime: "date",
662
665
  observations: {
663
666
  type: "list",
@@ -679,7 +682,10 @@ _defineProperty(ProgramEnrolment, "schema", {
679
682
  type: "list",
680
683
  objectType: "Checklist"
681
684
  },
682
- individual: "Individual",
685
+ individual: {
686
+ type: 'object',
687
+ objectType: 'Individual'
688
+ },
683
689
  enrolmentLocation: {
684
690
  type: _SchemaNames.default.Point,
685
691
  optional: true
@@ -697,7 +703,8 @@ _defineProperty(ProgramEnrolment, "schema", {
697
703
  objectType: "EntityApprovalStatus"
698
704
  },
699
705
  latestEntityApprovalStatus: {
700
- type: "EntityApprovalStatus",
706
+ type: 'object',
707
+ objectType: 'EntityApprovalStatus',
701
708
  optional: true
702
709
  }
703
710
  }, _AuditUtil.AuditFields)
@@ -242,7 +242,8 @@ _defineProperty(ReportCard, "schema", {
242
242
  optional: true
243
243
  },
244
244
  standardReportCardType: {
245
- type: "StandardReportCardType",
245
+ type: 'object',
246
+ objectType: 'StandardReportCardType',
246
247
  optional: true
247
248
  },
248
249
  colour: "string",
package/dist/Settings.js CHANGED
@@ -211,7 +211,8 @@ _defineProperty(Settings, "schema", {
211
211
  uuid: "string",
212
212
  serverURL: "string",
213
213
  locale: {
214
- type: "LocaleMapping",
214
+ type: 'object',
215
+ objectType: 'LocaleMapping',
215
216
  optional: true
216
217
  },
217
218
  logLevel: "int",
@@ -439,12 +439,18 @@ _defineProperty(FormElement, "schema", {
439
439
  type: "list",
440
440
  objectType: _SchemaNames.default.KeyValue
441
441
  },
442
- concept: "Concept",
442
+ concept: {
443
+ type: 'object',
444
+ objectType: 'Concept'
445
+ },
443
446
  type: {
444
447
  type: "string",
445
448
  optional: true
446
449
  },
447
- formElementGroup: "FormElementGroup",
450
+ formElementGroup: {
451
+ type: 'object',
452
+ objectType: 'FormElementGroup'
453
+ },
448
454
  validFormat: {
449
455
  type: _SchemaNames.default.Format,
450
456
  optional: true
@@ -462,7 +468,8 @@ _defineProperty(FormElement, "schema", {
462
468
  optional: true
463
469
  },
464
470
  documentation: {
465
- type: "Documentation",
471
+ type: 'object',
472
+ objectType: 'Documentation',
466
473
  optional: true
467
474
  }
468
475
  }
@@ -308,7 +308,10 @@ _defineProperty(FormElementGroup, "schema", {
308
308
  type: "list",
309
309
  objectType: "FormElement"
310
310
  },
311
- form: "Form",
311
+ form: {
312
+ type: 'object',
313
+ objectType: 'Form'
314
+ },
312
315
  voided: {
313
316
  type: "bool",
314
317
  default: false
@@ -171,9 +171,13 @@ _defineProperty(FormMapping, "schema", {
171
171
  primaryKey: "uuid",
172
172
  properties: {
173
173
  uuid: "string",
174
- form: "Form",
174
+ form: {
175
+ type: 'object',
176
+ objectType: 'Form'
177
+ },
175
178
  subjectType: {
176
- type: "SubjectType",
179
+ type: 'object',
180
+ objectType: 'SubjectType',
177
181
  optional: true
178
182
  },
179
183
  entityUUID: {
@@ -193,7 +197,8 @@ _defineProperty(FormMapping, "schema", {
193
197
  default: false
194
198
  },
195
199
  taskType: {
196
- type: "TaskType",
200
+ type: 'object',
201
+ objectType: 'TaskType',
197
202
  optional: true
198
203
  }
199
204
  }
@@ -162,12 +162,18 @@ _defineProperty(DraftEncounter, "schema", {
162
162
  primaryKey: "uuid",
163
163
  properties: {
164
164
  uuid: "string",
165
- encounterType: "EncounterType",
165
+ encounterType: {
166
+ type: 'object',
167
+ objectType: 'EncounterType'
168
+ },
166
169
  encounterDateTime: {
167
170
  type: "date",
168
171
  optional: true
169
172
  },
170
- individual: "Individual",
173
+ individual: {
174
+ type: 'object',
175
+ objectType: 'Individual'
176
+ },
171
177
  observations: {
172
178
  type: "list",
173
179
  objectType: "Observation"
@@ -187,7 +187,10 @@ _defineProperty(DraftSubject, "schema", {
187
187
  primaryKey: "uuid",
188
188
  properties: {
189
189
  uuid: "string",
190
- subjectType: "SubjectType",
190
+ subjectType: {
191
+ type: 'object',
192
+ objectType: 'SubjectType'
193
+ },
191
194
  firstName: "string",
192
195
  lastName: {
193
196
  type: "string",
@@ -206,11 +209,15 @@ _defineProperty(DraftSubject, "schema", {
206
209
  optional: true
207
210
  },
208
211
  gender: {
209
- type: "Gender",
212
+ type: 'object',
213
+ objectType: 'Gender',
210
214
  optional: true
211
215
  },
212
216
  registrationDate: "date",
213
- lowestAddressLevel: "AddressLevel",
217
+ lowestAddressLevel: {
218
+ type: 'object',
219
+ objectType: 'AddressLevel'
220
+ },
214
221
  observations: {
215
222
  type: "list",
216
223
  objectType: "Observation"
@@ -212,8 +212,14 @@ _defineProperty(SubjectProgramEligibility, "schema", {
212
212
  primaryKey: "uuid",
213
213
  properties: _objectSpread({
214
214
  uuid: "string",
215
- subject: "Individual",
216
- program: "Program",
215
+ subject: {
216
+ type: 'object',
217
+ objectType: 'Individual'
218
+ },
219
+ program: {
220
+ type: 'object',
221
+ objectType: 'Program'
222
+ },
217
223
  checkDate: "date",
218
224
  eligible: {
219
225
  type: "bool",
@@ -65,8 +65,14 @@ _defineProperty(IndividualRelationGenderMapping, "schema", {
65
65
  primaryKey: "uuid",
66
66
  properties: {
67
67
  uuid: "string",
68
- relation: "IndividualRelation",
69
- gender: "Gender",
68
+ relation: {
69
+ type: 'object',
70
+ objectType: 'IndividualRelation'
71
+ },
72
+ gender: {
73
+ type: 'object',
74
+ objectType: 'Gender'
75
+ },
70
76
  voided: {
71
77
  type: "bool",
72
78
  default: false
@@ -194,9 +194,18 @@ _defineProperty(IndividualRelationship, "schema", {
194
194
  primaryKey: "uuid",
195
195
  properties: _objectSpread({
196
196
  uuid: "string",
197
- relationship: "IndividualRelationshipType",
198
- individualA: "Individual",
199
- individualB: "Individual",
197
+ relationship: {
198
+ type: 'object',
199
+ objectType: 'IndividualRelationshipType'
200
+ },
201
+ individualA: {
202
+ type: 'object',
203
+ objectType: 'Individual'
204
+ },
205
+ individualB: {
206
+ type: 'object',
207
+ objectType: 'Individual'
208
+ },
200
209
  enterDateTime: {
201
210
  type: "date",
202
211
  optional: true
@@ -83,8 +83,14 @@ _defineProperty(IndividualRelationshipType, "schema", {
83
83
  properties: {
84
84
  uuid: "string",
85
85
  name: "string",
86
- individualAIsToBRelation: "IndividualRelation",
87
- individualBIsToARelation: "IndividualRelation",
86
+ individualAIsToBRelation: {
87
+ type: 'object',
88
+ objectType: 'IndividualRelation'
89
+ },
90
+ individualBIsToARelation: {
91
+ type: 'object',
92
+ objectType: 'IndividualRelation'
93
+ },
88
94
  voided: {
89
95
  type: "bool",
90
96
  default: false
@@ -61,7 +61,10 @@ _defineProperty(DashboardFilter, "schema", {
61
61
  primaryKey: "uuid",
62
62
  properties: {
63
63
  uuid: "string",
64
- dashboard: "Dashboard",
64
+ dashboard: {
65
+ type: 'object',
66
+ objectType: 'Dashboard'
67
+ },
65
68
  name: "string",
66
69
  filterConfig: "string",
67
70
  voided: {
package/dist/task/Task.js CHANGED
@@ -219,8 +219,14 @@ _defineProperty(Task, "schema", {
219
219
  properties: _objectSpread({
220
220
  uuid: "string",
221
221
  name: "string",
222
- taskType: "TaskType",
223
- taskStatus: "TaskStatus",
222
+ taskType: {
223
+ type: 'object',
224
+ objectType: 'TaskType'
225
+ },
226
+ taskStatus: {
227
+ type: 'object',
228
+ objectType: 'TaskStatus'
229
+ },
224
230
  scheduledOn: {
225
231
  type: "date"
226
232
  },
@@ -78,7 +78,10 @@ _defineProperty(TaskStatus, "schema", {
78
78
  type: 'bool',
79
79
  default: false
80
80
  },
81
- taskType: "TaskType",
81
+ taskType: {
82
+ type: 'object',
83
+ objectType: 'TaskType'
84
+ },
82
85
  voided: {
83
86
  type: 'bool',
84
87
  default: false
@@ -124,7 +124,10 @@ _defineProperty(VideoTelemetric, "schema", {
124
124
  primaryKey: "uuid",
125
125
  properties: {
126
126
  uuid: "string",
127
- video: "Video",
127
+ video: {
128
+ type: 'object',
129
+ objectType: 'Video'
130
+ },
128
131
  playerOpenTime: "date",
129
132
  playerCloseTime: "date",
130
133
  videoStartTime: "double",
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.53",
4
+ "version": "1.33.00",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",