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.
@@ -21859,6 +21859,7 @@ function CreateData(json_1) {
21859
21859
  let TypeConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.MakeTheTypeConceptLocal)(typeConnectionString, localSessionId, localUserId, localUserId, actions);
21860
21860
  let conceptString = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.MakeTheInstanceConceptLocal)(key, json[key].toString(), false, localUserId, localAccessId, localSessionId, undefined, actions);
21861
21861
  let concept = conceptString;
21862
+ console.log("this is the type concept in down", TypeConcept, concept);
21862
21863
  if (ofConcept != null) {
21863
21864
  yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.CreateTheConnectionLocal)(ofConcept.id, concept.id, TypeConcept.id, orderId, typeConnectionString, localUserId, actions);
21864
21865
  }
@@ -21879,7 +21880,11 @@ function addArrayPrefix(key) {
21879
21880
  function removeArrayPrefix(key) {
21880
21881
  return key.replace(/_s$/, '');
21881
21882
  }
21883
+ const isNumeric = (string) => /^[+-]?\d+(\.\d+)?$/.test(string);
21882
21884
  function createTypeString(typeConceptString, key) {
21885
+ if (isNumeric(key)) {
21886
+ return typeConceptString + "_";
21887
+ }
21883
21888
  return typeConceptString + "_" + removePrefix(key);
21884
21889
  }
21885
21890