@builttocreate/engine-utils 2.8.0-beta.10 → 2.8.0-beta.12
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/joyDocHelper.js +2 -4
- package/package.json +1 -1
package/dist/joyDocHelper.js
CHANGED
|
@@ -221,7 +221,7 @@ var removeOrphanedFieldsFromJoydoc = exports.removeOrphanedFieldsFromJoydoc = fu
|
|
|
221
221
|
* Primary view
|
|
222
222
|
*/
|
|
223
223
|
file.pages.forEach(function (page) {
|
|
224
|
-
page.fieldPositions.forEach(function (fieldPosition) {
|
|
224
|
+
page === null || page === void 0 ? void 0 : page.fieldPositions.forEach(function (fieldPosition) {
|
|
225
225
|
return associatedFieldIdLookup[fieldPosition.field] = true;
|
|
226
226
|
});
|
|
227
227
|
});
|
|
@@ -249,9 +249,7 @@ var removeOrphanedFieldsFromJoydoc = exports.removeOrphanedFieldsFromJoydoc = fu
|
|
|
249
249
|
});
|
|
250
250
|
nextDoc.fields = validFields;
|
|
251
251
|
nextDoc.deletedFields = deletedFields;
|
|
252
|
-
return
|
|
253
|
-
doc: nextDoc
|
|
254
|
-
};
|
|
252
|
+
return nextDoc;
|
|
255
253
|
};
|
|
256
254
|
|
|
257
255
|
/**
|