|
|
@ -763,6 +763,7 @@ export const addToProfileResponseMapper = (updatedProfile: {
|
|
|
|
export const dashboardOfferDtoMapper = (
|
|
|
|
export const dashboardOfferDtoMapper = (
|
|
|
|
offer: OffersOffer & {
|
|
|
|
offer: OffersOffer & {
|
|
|
|
company: Company;
|
|
|
|
company: Company;
|
|
|
|
|
|
|
|
location: City & { state: State & { country: Country } };
|
|
|
|
offersFullTime:
|
|
|
|
offersFullTime:
|
|
|
|
| (OffersFullTime & {
|
|
|
|
| (OffersFullTime & {
|
|
|
|
baseSalary: OffersCurrency | null;
|
|
|
|
baseSalary: OffersCurrency | null;
|
|
|
@ -785,6 +786,7 @@ export const dashboardOfferDtoMapper = (
|
|
|
|
id: '',
|
|
|
|
id: '',
|
|
|
|
value: -1,
|
|
|
|
value: -1,
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
|
|
|
|
location: locationDtoMapper(offer.location),
|
|
|
|
monthYearReceived: offer.monthYearReceived,
|
|
|
|
monthYearReceived: offer.monthYearReceived,
|
|
|
|
profileId: offer.profileId,
|
|
|
|
profileId: offer.profileId,
|
|
|
|
title: offer.offersFullTime?.title || offer.offersIntern?.title || '',
|
|
|
|
title: offer.offersFullTime?.title || offer.offersIntern?.title || '',
|
|
|
|