@singi-labs/sifa-sdk 0.12.6 → 0.12.8

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.
@@ -436,6 +436,13 @@ function buildPositionPayload(position, skills) {
436
436
  startedAt: position.startedAt,
437
437
  endedAt: position.endedAt,
438
438
  location: position.location ?? void 0,
439
+ // Carry the form-controlled optional fields the AppView merge would
440
+ // otherwise clear when absent from the PUT body. Omitting them here made
441
+ // every link/unlink strip employmentType, workplaceType, and entityRef
442
+ // off the position (id.sifa.profile.position#skills round-trip).
443
+ employmentType: position.employmentType,
444
+ workplaceType: position.workplaceType,
445
+ entityRef: position.entityRef,
439
446
  skills
440
447
  };
441
448
  }