@veloceapps/api 7.0.2-98 → 7.0.2-99

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.
@@ -415,26 +415,9 @@ class ConfigurationApiService {
415
415
  const type = runtimeModel.components.get(lineItem.type);
416
416
  const portDomains = { ...lineItem.portDomains };
417
417
  for (const port of type?.ports ?? []) {
418
- const { name: portName, type: typeName, min, max, domainTypes, properties } = port;
419
- const portDomain = portDomains[portName];
420
- if (portDomain) {
421
- if (portDomain.properties?.['domainComputation'] === 'false') {
422
- portDomain.domainTypes = domainTypes;
423
- }
424
- }
425
- else {
426
- // there's no port domain so consider that as 'None' type domain computation
427
- portDomains[portName] = {
428
- name: portName,
429
- type: typeName,
430
- minCard: Number(min),
431
- maxCard: Number(max),
432
- domainTypes: domainTypes,
433
- properties: {
434
- ...properties,
435
- domainComputation: 'false',
436
- },
437
- };
418
+ const portDomain = portDomains[port.name];
419
+ if (portDomain?.properties?.['domainComputation'] === 'false') {
420
+ portDomain.domainTypes = port.domainTypes;
438
421
  }
439
422
  }
440
423
  return {