@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.
- package/dist/index.cjs +338 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +241 -2
- package/dist/index.d.ts +241 -2
- package/dist/index.js +325 -19
- package/dist/index.js.map +1 -1
- package/dist/query/fetchers/index.cjs +7 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.js +7 -0
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +7 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.js +7 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +7 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.js +7 -0
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -226,6 +226,13 @@ function buildPositionPayload(position, skills) {
|
|
|
226
226
|
startedAt: position.startedAt,
|
|
227
227
|
endedAt: position.endedAt,
|
|
228
228
|
location: position.location ?? void 0,
|
|
229
|
+
// Carry the form-controlled optional fields the AppView merge would
|
|
230
|
+
// otherwise clear when absent from the PUT body. Omitting them here made
|
|
231
|
+
// every link/unlink strip employmentType, workplaceType, and entityRef
|
|
232
|
+
// off the position (id.sifa.profile.position#skills round-trip).
|
|
233
|
+
employmentType: position.employmentType,
|
|
234
|
+
workplaceType: position.workplaceType,
|
|
235
|
+
entityRef: position.entityRef,
|
|
229
236
|
skills
|
|
230
237
|
};
|
|
231
238
|
}
|