openchs-models 1.32.46 → 1.32.47
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/dist/Schema.js +6 -0
- package/dist/SubjectType.js +14 -0
- package/package.json +1 -1
package/dist/Schema.js
CHANGED
|
@@ -986,6 +986,12 @@ function createRealmConfig() {
|
|
|
986
986
|
}
|
|
987
987
|
});
|
|
988
988
|
}
|
|
989
|
+
|
|
990
|
+
if (oldDB.schemaVersion < 202) {
|
|
991
|
+
_lodash.default.forEach(newDB.objects("SubjectType"), stype => {
|
|
992
|
+
stype.loadedSince = _EntitySyncStatus.default.REALLY_OLD_DATE.getTime();
|
|
993
|
+
});
|
|
994
|
+
}
|
|
989
995
|
}
|
|
990
996
|
};
|
|
991
997
|
}
|
package/dist/SubjectType.js
CHANGED
|
@@ -82,6 +82,14 @@ class SubjectType extends _ReferenceEntity.default {
|
|
|
82
82
|
this.that.programEligibilityCheckRule = x;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
get memberAdditionEligibilityCheckRule() {
|
|
86
|
+
return this.that.memberAdditionEligibilityCheckRule;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
set memberAdditionEligibilityCheckRule(x) {
|
|
90
|
+
this.that.memberAdditionEligibilityCheckRule = x;
|
|
91
|
+
}
|
|
92
|
+
|
|
85
93
|
get uniqueName() {
|
|
86
94
|
return this.that.uniqueName;
|
|
87
95
|
}
|
|
@@ -208,6 +216,7 @@ class SubjectType extends _ReferenceEntity.default {
|
|
|
208
216
|
subjectType.type = operationalSubjectType.type;
|
|
209
217
|
subjectType.subjectSummaryRule = operationalSubjectType.subjectSummaryRule;
|
|
210
218
|
subjectType.programEligibilityCheckRule = operationalSubjectType.programEligibilityCheckRule;
|
|
219
|
+
subjectType.memberAdditionEligibilityCheckRule = operationalSubjectType.memberAdditionEligibilityCheckRule;
|
|
211
220
|
subjectType.uniqueName = operationalSubjectType.uniqueName;
|
|
212
221
|
subjectType.allowMiddleName = operationalSubjectType.allowMiddleName;
|
|
213
222
|
subjectType.lastNameOptional = operationalSubjectType.lastNameOptional;
|
|
@@ -235,6 +244,7 @@ class SubjectType extends _ReferenceEntity.default {
|
|
|
235
244
|
cloned.type = this.type;
|
|
236
245
|
cloned.subjectSummaryRule = this.subjectSummaryRule;
|
|
237
246
|
cloned.programEligibilityCheckRule = this.programEligibilityCheckRule;
|
|
247
|
+
cloned.memberAdditionEligibilityCheckRule = this.memberAdditionEligibilityCheckRule;
|
|
238
248
|
cloned.allowEmptyLocation = this.allowEmptyLocation;
|
|
239
249
|
cloned.allowMiddleName = this.allowMiddleName;
|
|
240
250
|
cloned.lastNameOptional = this.lastNameOptional;
|
|
@@ -321,6 +331,10 @@ _defineProperty(SubjectType, "schema", {
|
|
|
321
331
|
type: 'string',
|
|
322
332
|
optional: true
|
|
323
333
|
},
|
|
334
|
+
memberAdditionEligibilityCheckRule: {
|
|
335
|
+
type: 'string',
|
|
336
|
+
optional: true
|
|
337
|
+
},
|
|
324
338
|
uniqueName: {
|
|
325
339
|
type: 'bool',
|
|
326
340
|
default: false
|