contentful-import 10.1.0 → 10.1.1
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/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1000,7 +1000,8 @@ async function importExoFolders({
|
|
|
1000
1000
|
}
|
|
1001
1001
|
const parentGroups = await ensureParentFolderGroupsExist(plainClient, organizationId);
|
|
1002
1002
|
if (parentGroups.size === 0) {
|
|
1003
|
-
|
|
1003
|
+
import_logging8.logEmitter.emit("warn", "One or more Experience Orchestration folder group concept schemes are missing in the destination organization. Please create them before importing.");
|
|
1004
|
+
return;
|
|
1004
1005
|
}
|
|
1005
1006
|
const childConceptMap = deriveChildConceptMap(sourceEntities, destinationSpaceId);
|
|
1006
1007
|
if (childConceptMap.size === 0) return;
|
package/dist/index.mjs
CHANGED
|
@@ -973,7 +973,8 @@ async function importExoFolders({
|
|
|
973
973
|
}
|
|
974
974
|
const parentGroups = await ensureParentFolderGroupsExist(plainClient, organizationId);
|
|
975
975
|
if (parentGroups.size === 0) {
|
|
976
|
-
|
|
976
|
+
logEmitter8.emit("warn", "One or more Experience Orchestration folder group concept schemes are missing in the destination organization. Please create them before importing.");
|
|
977
|
+
return;
|
|
977
978
|
}
|
|
978
979
|
const childConceptMap = deriveChildConceptMap(sourceEntities, destinationSpaceId);
|
|
979
980
|
if (childConceptMap.size === 0) return;
|