mftsccs-browser 1.1.60-beta → 1.1.62-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.
package/dist/main.bundle.js
CHANGED
|
@@ -121,7 +121,7 @@ class AccessTracker {
|
|
|
121
121
|
static setNextSyncTime() {
|
|
122
122
|
// Calculate next sync time (current time + TimeToSync interval)
|
|
123
123
|
this.nextSyncTime = Date.now() + this.TimeToSync;
|
|
124
|
-
|
|
124
|
+
console.log(`Next sync scheduled at: ${new Date(this.nextSyncTime).toISOString()}`); // Log next sync time
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
127
|
* Starts auto-syncing to the server every specified time interval.
|
|
@@ -143,7 +143,7 @@ class AccessTracker {
|
|
|
143
143
|
else {
|
|
144
144
|
// console.log(`[WAIT] Not time to sync yet. Next Sync Time: ${new Date(this.nextSyncTime).toISOString()}`);
|
|
145
145
|
}
|
|
146
|
-
},
|
|
146
|
+
}, 300000); // Check every 5 minutes
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
149
|
* Sync immediately (called by setInterval when time to sync has arrived).
|
|
@@ -16958,7 +16958,9 @@ function FormatFromConnectionsAlteredArrayExternalJustId(connections_1, composit
|
|
|
16958
16958
|
let isComp = compositionData[connections[i].ofTheConceptId];
|
|
16959
16959
|
if (isComp) {
|
|
16960
16960
|
let data = compositionData[connections[i].ofTheConceptId];
|
|
16961
|
-
data
|
|
16961
|
+
if (data) {
|
|
16962
|
+
data["id"] = ofTheConcept.id;
|
|
16963
|
+
}
|
|
16962
16964
|
let reverseCharater = linkerConcept.characterValue + "_reverse";
|
|
16963
16965
|
if (Array.isArray(newData[key][reverseCharater])) {
|
|
16964
16966
|
newData[key][reverseCharater].push(data);
|
|
@@ -17006,7 +17008,9 @@ function FormatFromConnectionsAlteredArrayExternalJustId(connections_1, composit
|
|
|
17006
17008
|
let isComp = compositionData[connections[i].toTheConceptId];
|
|
17007
17009
|
if (isComp) {
|
|
17008
17010
|
let data = compositionData[connections[i].toTheConceptId];
|
|
17009
|
-
data
|
|
17011
|
+
if (data) {
|
|
17012
|
+
data["id"] = toTheConcept.id;
|
|
17013
|
+
}
|
|
17010
17014
|
if (Array.isArray(newData[key][linkerConcept.characterValue])) {
|
|
17011
17015
|
newData[key][linkerConcept.characterValue].push(data);
|
|
17012
17016
|
}
|
|
@@ -17033,7 +17037,9 @@ function FormatFromConnectionsAlteredArrayExternalJustId(connections_1, composit
|
|
|
17033
17037
|
let mymainData = {};
|
|
17034
17038
|
console.log("this is the main compositions DATA", compositionData[mainComposition[i]]);
|
|
17035
17039
|
mymainData = compositionData[mainComposition[i]];
|
|
17036
|
-
mymainData
|
|
17040
|
+
if (mymainData) {
|
|
17041
|
+
mymainData["id"] = mainComposition[i];
|
|
17042
|
+
}
|
|
17037
17043
|
mainData.push(mymainData);
|
|
17038
17044
|
}
|
|
17039
17045
|
return mainData;
|
|
@@ -18278,7 +18284,6 @@ function formatConnectionsJustId(linkers, conceptIds, mainCompositionIds, revers
|
|
|
18278
18284
|
let newCompositionData = [];
|
|
18279
18285
|
compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.formatFunction)(prefetchConnections, compositionData, reverse);
|
|
18280
18286
|
compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatFunctionDataForDataJustId)(prefetchConnections, compositionData, reverse);
|
|
18281
|
-
console.log("this is the composition data", compositionData);
|
|
18282
18287
|
let output = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatFromConnectionsAlteredArrayExternalJustId)(prefetchConnections, compositionData, mainCompositionIds, reverse);
|
|
18283
18288
|
return output;
|
|
18284
18289
|
});
|
|
@@ -18300,7 +18305,6 @@ function formatConnectionsDataId(linkers, conceptIds, mainCompositionIds, revers
|
|
|
18300
18305
|
let newCompositionData = [];
|
|
18301
18306
|
compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatFunctionData)(prefetchConnections, compositionData, reverse);
|
|
18302
18307
|
compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatFunctionDataForData)(prefetchConnections, compositionData, reverse);
|
|
18303
|
-
console.log("this is the composition data", compositionData);
|
|
18304
18308
|
let output = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatFromConnectionsAlteredArrayExternal)(prefetchConnections, compositionData, newCompositionData, mainCompositionIds, reverse);
|
|
18305
18309
|
return output;
|
|
18306
18310
|
});
|