remove unused file

This commit is contained in:
sbriat 2023-08-31 17:15:42 +02:00
parent 8269242d28
commit f4097e96eb
1 changed files with 0 additions and 23 deletions

View File

@ -1,23 +0,0 @@
import { MatchQuery } from '../core/application/queries/match/match.query';
import { AlgorithmType } from '../core/application/types/algorithm.types';
import { Role } from '../core/domain/ad.types';
export class AdSelector {
static select = (role: Role, query: MatchQuery): string => {
switch (query.algorithmType) {
case AlgorithmType.PASSENGER_ORIENTED:
default:
return `SELECT
ad.uuid,frequency,public.st_astext(matcher.ad.waypoints) as waypoints,
"fromDate","toDate",
"seatsProposed","seatsRequested",
strict,
"driverDuration","driverDistance",
"passengerDuration","passengerDistance",
"fwdAzimuth","backAzimuth",
si.day,si.time,si.margin
FROM ad LEFT JOIN schedule_item si ON ad.uuid = si."adUuid"
WHERE driver=True`;
}
};
}