Take into consideration exclñudeBots from query on short URLs row

This commit is contained in:
Alejandro Celaya
2022-12-23 20:00:59 +01:00
parent 80cea91339
commit 1d6f4bf5db
7 changed files with 99 additions and 22 deletions

View File

@@ -6,12 +6,13 @@ import { DateRange, datesToDateRange } from '../../utils/helpers/dateIntervals';
import { OrphanVisitType, VisitsFilter } from '../types';
import { parseQuery, stringifyQuery } from '../../utils/helpers/query';
import { formatIsoDate } from '../../utils/helpers/date';
import { BooleanString } from '../../utils/utils';
interface VisitsQuery {
startDate?: string;
endDate?: string;
orphanVisitsType?: OrphanVisitType;
excludeBots?: 'true' | 'false';
excludeBots?: BooleanString;
domain?: string;
}