@singi-labs/sifa-sdk 0.12.7 → 0.12.9

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.
@@ -224,6 +224,13 @@ function buildPositionPayload(position, skills) {
224
224
  startedAt: position.startedAt,
225
225
  endedAt: position.endedAt,
226
226
  location: position.location ?? void 0,
227
+ // Carry the form-controlled optional fields the AppView merge would
228
+ // otherwise clear when absent from the PUT body. Omitting them here made
229
+ // every link/unlink strip employmentType, workplaceType, and entityRef
230
+ // off the position (id.sifa.profile.position#skills round-trip).
231
+ employmentType: position.employmentType,
232
+ workplaceType: position.workplaceType,
233
+ entityRef: position.entityRef,
227
234
  skills
228
235
  };
229
236
  }