feat: update preferredLocations field to List<String> across staff-related entities and mutations
- Changed preferredLocations from AnyValue to List<String> in GetStaffByIdStaff, GetStaffByUserIdStaffs, ListStaffStaffs, and UpdateStaffVariablesBuilder classes. - Updated JSON serialization/deserialization for preferredLocations to handle List<String>. - Modified Staff entity to include preferredLocations as List<String>. - Adjusted ProfileSetupBloc and PersonalInfoBloc to accommodate changes in preferredLocations. - Updated PersonalInfoRepositoryImpl to handle preferredLocations as List<String>. - Refactored PersonalInfoContent and PersonalInfoForm to use locations instead of address. - Updated GraphQL mutations and schema to reflect the new List<String> type for preferredLocations.
This commit is contained in:
committed by
José Salazar
parent
c041796b38
commit
f345e715ad
@@ -102,7 +102,7 @@ class ProfileSetupBloc extends Bloc<ProfileSetupEvent, ProfileSetupState> {
|
||||
fullName: state.fullName,
|
||||
)
|
||||
.bio(state.bio.isEmpty ? null : state.bio)
|
||||
.preferredLocations(fdc.AnyValue(state.preferredLocations))
|
||||
.preferredLocations(state.preferredLocations)
|
||||
.maxDistanceMiles(state.maxDistanceMiles.toInt())
|
||||
.industries(fdc.AnyValue(state.industries))
|
||||
.skills(fdc.AnyValue(state.skills))
|
||||
|
||||
Reference in New Issue
Block a user