@acorex/connectivity 20.4.1 → 20.4.2
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.
|
@@ -1167,7 +1167,7 @@ class AXCFileStorageService {
|
|
|
1167
1167
|
return { ...record, url };
|
|
1168
1168
|
}
|
|
1169
1169
|
async save(request) {
|
|
1170
|
-
const fileId =
|
|
1170
|
+
const fileId = AXPDataGenerator.uuid();
|
|
1171
1171
|
const fileInfo = {
|
|
1172
1172
|
fileId,
|
|
1173
1173
|
refId: request.refId,
|
|
@@ -1394,7 +1394,7 @@ function setByPath(target, path, value) {
|
|
|
1394
1394
|
//#endregion
|
|
1395
1395
|
//#region ---- Helpers ----
|
|
1396
1396
|
function generateId(prefix = 'vx') {
|
|
1397
|
-
return `${prefix}_${
|
|
1397
|
+
return `${prefix}_${AXPDataGenerator.uuid()}`;
|
|
1398
1398
|
}
|
|
1399
1399
|
function deepClone(obj) {
|
|
1400
1400
|
return structuredClone ? structuredClone(obj) : JSON.parse(JSON.stringify(obj));
|