( input: UserExperience, id?: string, )
| 315 | `; |
| 316 | |
| 317 | export const upsertUserGeneralExperience = async ( |
| 318 | input: UserExperience, |
| 319 | id?: string, |
| 320 | ) => { |
| 321 | const cleanedInput = excludeProperties(input, [ |
| 322 | ...excludedProperties, |
| 323 | 'skills', |
| 324 | 'locationId', |
| 325 | 'locationType', |
| 326 | 'employmentType', |
| 327 | 'externalLocationId', |
| 328 | 'verified', |
| 329 | ]); |
| 330 | const result = await gqlClient.request(UPSERT_USER_GENERAL_EXPERIENCE, { |
| 331 | input: cleanedInput, |
| 332 | id, |
| 333 | }); |
| 334 | return result; |
| 335 | }; |
| 336 | |
| 337 | const UPSERT_USER_WORK_EXPERIENCE = gql` |
| 338 | mutation UpsertUserWorkExperience($input: UserExperienceWorkInput!, $id: ID) { |
no test coverage detected