passenger oriented geo filter
This commit is contained in:
parent
4e118603f3
commit
32d5ec25b9
|
@ -1,6 +1,9 @@
|
|||
import { CandidateEntity } from '@modules/ad/core/domain/candidate.entity';
|
||||
import { Filter } from './filter.abstract';
|
||||
|
||||
/**
|
||||
* Filter candidates with unacceptable detour
|
||||
*/
|
||||
export class PassengerOrientedGeoFilter extends Filter {
|
||||
filter = async (candidates: CandidateEntity[]): Promise<CandidateEntity[]> =>
|
||||
candidates.filter((candidate: CandidateEntity) =>
|
||||
|
|
Loading…
Reference in New Issue