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