(input: {
projectId: string;
startDate: string;
endDate: string;
limit?: number;
filters?: IChartEventFilter[];
})
| 180 | const _overviewServiceForPages = new OverviewService(ch); |
| 181 | |
| 182 | export async function getTopPagesCore(input: { |
| 183 | projectId: string; |
| 184 | startDate: string; |
| 185 | endDate: string; |
| 186 | limit?: number; |
| 187 | filters?: IChartEventFilter[]; |
| 188 | }) { |
| 189 | const { timezone } = await getSettingsForProject(input.projectId); |
| 190 | return _overviewServiceForPages.getTopPages({ |
| 191 | projectId: input.projectId, |
| 192 | filters: input.filters ?? [], |
| 193 | startDate: input.startDate, |
| 194 | endDate: input.endDate, |
| 195 | timezone, |
| 196 | limit: input.limit, |
| 197 | }); |
| 198 | } |
| 199 | |
| 200 | export async function getEntryExitPagesCore(input: { |
| 201 | projectId: string; |
no test coverage detected