import { IFormData } from '@client/forms' ; export function emptyFatherSectionTransformer ( transformedData , queryData , sectionId ) { if ( ! queryData [ sectionId ] ) { transformedData [ sectionId ] = { fathersDetailsExist : false , permanentAddressSameAsMother : true , addressSameAsMother : true } ; } else { transformedData [ sectionId ] = { fathersDetailsExist : true , ... transformedData [ sectionId ] } ; } return transformedData ; }