mftsccs-browser 2.1.90-beta → 2.1.91-beta

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.
@@ -22809,6 +22809,7 @@ function CreateData(json_1) {
22809
22809
  let TypeConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.MakeTheTypeConceptLocal)(typeConnectionString, localSessionId, localUserId, localUserId, actions);
22810
22810
  let conceptString = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.MakeTheInstanceConceptLocal)(key, json[key].toString(), false, localUserId, localAccessId, localSessionId, undefined, actions);
22811
22811
  let concept = conceptString;
22812
+ console.log("this is the type concept in down", TypeConcept, concept);
22812
22813
  if (ofConcept != null) {
22813
22814
  yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.CreateTheConnectionLocal)(ofConcept.id, concept.id, TypeConcept.id, orderId, typeConnectionString, localUserId, actions);
22814
22815
  }
@@ -22829,7 +22830,11 @@ function addArrayPrefix(key) {
22829
22830
  function removeArrayPrefix(key) {
22830
22831
  return key.replace(/_s$/, '');
22831
22832
  }
22833
+ const isNumeric = (string) => /^[+-]?\d+(\.\d+)?$/.test(string);
22832
22834
  function createTypeString(typeConceptString, key) {
22835
+ if (isNumeric(key)) {
22836
+ return typeConceptString + "_";
22837
+ }
22833
22838
  return typeConceptString + "_" + removePrefix(key);
22834
22839
  }
22835
22840