@lingk/sync 0.0.77 → 0.0.78
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/build/css/lingk.css +1 -1
- package/build/css/main.css +3 -0
- package/build/lightning.js.map +1 -1
- package/build/lingk.js +5 -5
- package/build/lingk.js.map +1 -1
- package/build/main.js +17 -10
- package/build/main.js.map +1 -1
- package/build/reducer.js.map +1 -1
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -4451,7 +4451,11 @@ module.exports =
|
|
|
4451
4451
|
disabled: props.finishDisabled
|
|
4452
4452
|
},
|
|
4453
4453
|
props.nav.last ? 'Finish' : 'Save And Exit'
|
|
4454
|
-
)
|
|
4454
|
+
),
|
|
4455
|
+
_react2.default.createElement('br', null),
|
|
4456
|
+
_react2.default.createElement('br', null),
|
|
4457
|
+
_react2.default.createElement('br', null),
|
|
4458
|
+
_react2.default.createElement('br', null)
|
|
4455
4459
|
);
|
|
4456
4460
|
};
|
|
4457
4461
|
|
|
@@ -4639,14 +4643,14 @@ module.exports =
|
|
|
4639
4643
|
}, m.isDestinationResource && { dataSourceIsDestinationEntity: true }, m.isExternalKeyMapping && { isExternalKeyMapping: true }));
|
|
4640
4644
|
}
|
|
4641
4645
|
}); // end wizard.savedMappings.forEach
|
|
4642
|
-
|
|
4646
|
+
console.log(bundle);
|
|
4643
4647
|
resourceGroups.push(Object.assign({
|
|
4644
4648
|
name: bundleResource.name,
|
|
4645
4649
|
resources: resources, mappings: mappings,
|
|
4646
4650
|
customExternalKeys: bundle.customExternalKeys || false
|
|
4647
4651
|
}, bundle.customExternalKeys === true && { sourceKeys: sourceKeys, sourceKeysObjects: sourceKeysObjects, destinationKeys: destinationKeys }, bundle.customExternalKeys === false && { lingkSourceKey: sourceKeys[0], lingkSourceKeyObject: sourceKeysObjects[0] }, {
|
|
4648
4652
|
provider: bundle.provider.charAt(0).toUpperCase() + bundle.provider.slice(1)
|
|
4649
|
-
})); // end push each bundle (contains resources AND mappings)
|
|
4653
|
+
}, bundle.recordTypeId && { recordTypeId: bundle.recordTypeId })); // end push each bundle (contains resources AND mappings)
|
|
4650
4654
|
})();
|
|
4651
4655
|
} // end if bundleResource
|
|
4652
4656
|
}); // end forEach over bundles
|
|
@@ -17333,6 +17337,7 @@ module.exports =
|
|
|
17333
17337
|
}
|
|
17334
17338
|
|
|
17335
17339
|
function callGetPiConfig(tenantId, accountId, piGuid, providers, metadataEndpoints) {
|
|
17340
|
+
// a wizard config already exists
|
|
17336
17341
|
if (piGuid) {
|
|
17337
17342
|
return function (dispatch, getState, api) {
|
|
17338
17343
|
var _getState12 = getState(),
|
|
@@ -17366,6 +17371,7 @@ module.exports =
|
|
|
17366
17371
|
});
|
|
17367
17372
|
};
|
|
17368
17373
|
} else return function (dispatch) {
|
|
17374
|
+
// FIRST TIME!
|
|
17369
17375
|
return Promise.all([dispatch(tryGetMetadata(tenantId, accountId, 'source', providers.source, metadataEndpoints.source, null)), dispatch(tryGetMetadata(tenantId, accountId, 'destination', providers.destination, metadataEndpoints.destination, null))]);
|
|
17370
17376
|
};
|
|
17371
17377
|
}
|
|
@@ -19306,7 +19312,7 @@ module.exports =
|
|
|
19306
19312
|
submitModal: this.submitModal, submitLabel: 'Change Scenario' },
|
|
19307
19313
|
_react2.default.createElement(
|
|
19308
19314
|
'div',
|
|
19309
|
-
{ style: { textAlign: 'center' } },
|
|
19315
|
+
{ style: { textAlign: 'center', padding: '1em' } },
|
|
19310
19316
|
'Choosing a different Scenario will erase your saved Object and Field Mappings.'
|
|
19311
19317
|
)
|
|
19312
19318
|
)
|
|
@@ -20657,7 +20663,7 @@ module.exports =
|
|
|
20657
20663
|
mapz && mapz.map(function (m, iv) {
|
|
20658
20664
|
return _react2.default.createElement(
|
|
20659
20665
|
'div',
|
|
20660
|
-
{ key: iv, style: { height: 19 } },
|
|
20666
|
+
{ key: iv, style: { height: 19, minWidth: 220 } },
|
|
20661
20667
|
!m.isExternalKeyMapping ? _react2.default.createElement(
|
|
20662
20668
|
'div',
|
|
20663
20669
|
{ className: 'x-clear-mapping',
|
|
@@ -21407,7 +21413,7 @@ module.exports =
|
|
|
21407
21413
|
{ opened: opened, hideModal: hideModal, submitModal: hideModal, title: 'Transform Data' },
|
|
21408
21414
|
_react2.default.createElement(
|
|
21409
21415
|
'div',
|
|
21410
|
-
|
|
21416
|
+
{ style: { padding: 26 } },
|
|
21411
21417
|
_react2.default.createElement(
|
|
21412
21418
|
'div',
|
|
21413
21419
|
null,
|
|
@@ -21676,6 +21682,11 @@ module.exports =
|
|
|
21676
21682
|
var destinationResource = _this2.props.wizard.destinationMetadata ? _this2.props.wizard.destinationMetadata.find(function (rsc) {
|
|
21677
21683
|
return rsc.name === group.name;
|
|
21678
21684
|
}) : group;
|
|
21685
|
+
group.name = destinationResource.type;
|
|
21686
|
+
group.provider = _this2.props.providers['destination'].toLowerCase();
|
|
21687
|
+
if (destinationResource.recordTypeId) {
|
|
21688
|
+
group.recordTypeId = destinationResource.recordTypeId;
|
|
21689
|
+
}
|
|
21679
21690
|
|
|
21680
21691
|
// destination Keys (for de-duplication in the Connect modal)
|
|
21681
21692
|
if (!group.customExternalKeys) {
|
|
@@ -21684,8 +21695,6 @@ module.exports =
|
|
|
21684
21695
|
group.destinationKeys = ['lingk__Lingk_External_Id__c'];
|
|
21685
21696
|
} else {
|
|
21686
21697
|
(function () {
|
|
21687
|
-
// name of destinationKeys
|
|
21688
|
-
group.name = destinationResource.type;
|
|
21689
21698
|
var destinationKeys = [];
|
|
21690
21699
|
if (group.destinationKeys) {
|
|
21691
21700
|
group.destinationKeys.forEach(function (dk) {
|
|
@@ -21811,8 +21820,6 @@ module.exports =
|
|
|
21811
21820
|
} else return null;
|
|
21812
21821
|
});
|
|
21813
21822
|
}
|
|
21814
|
-
|
|
21815
|
-
group.provider = _this2.props.providers['destination'].toLowerCase();
|
|
21816
21823
|
}); //end for each bundle
|
|
21817
21824
|
console.log('BUNDLES: ', bundles);
|
|
21818
21825
|
console.log('MAPPINGS: ', mappings);
|