@tridion-sites/models 1.1.0 → 1.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/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -11684,7 +11684,7 @@ const mapTranslationJobItemConstructorArgs = (mappingRegistry, backendModel) =>
|
|
|
11684
11684
|
return { idRef, resolveOptions };
|
|
11685
11685
|
};
|
|
11686
11686
|
const translationJobItemMapping = {
|
|
11687
|
-
identifier: backendModel => (backendModel === null || backendModel === void 0 ? void 0 : backendModel.$type) === '
|
|
11687
|
+
identifier: backendModel => (backendModel === null || backendModel === void 0 ? void 0 : backendModel.$type) === 'AddedItem',
|
|
11688
11688
|
mapper: (mappingRegistry, backendModel) => {
|
|
11689
11689
|
const { idRef, resolveOptions } = mapTranslationJobItemConstructorArgs(mappingRegistry, backendModel);
|
|
11690
11690
|
return new TranslationJobItem({ backendModel, idRef, resolveOptions });
|