import { request } from '../axios.config' ; import { User , Resume } from '@/client/types/user.interface' ; import { SuccessResponse } from '@/client/types/response/success.response' ; export const user = { update ( data ) { return request . post ( '/user/user/update' , data ) ; } , getInfo ( ) { return request . get ( '/user/user/info' ) ; } , getResume ( ) { return request . get ( '/user/user/resume' ) ; } , updateResume ( payload ) { return request . post ( '/user/user/update-resume' , payload ) ; } , updateTheme ( data ) { return request . post ( '/user/user/update-theme' , data ) ; } } ;