( input: UserExperienceWork, id?: string, )
| 368 | `; |
| 369 | |
| 370 | export const upsertUserWorkExperience = async ( |
| 371 | input: UserExperienceWork, |
| 372 | id?: string, |
| 373 | ) => { |
| 374 | const cleanedInput = excludeProperties(input, [ |
| 375 | ...excludedProperties, |
| 376 | 'url', |
| 377 | 'subtitle', |
| 378 | 'grade', |
| 379 | 'verified', |
| 380 | 'repository', |
| 381 | ]); |
| 382 | |
| 383 | const result = await gqlClient.request(UPSERT_USER_WORK_EXPERIENCE, { |
| 384 | input: cleanedInput, |
| 385 | id, |
| 386 | }); |
| 387 | return result; |
| 388 | }; |
no test coverage detected