mirror of
https://github.com/umami-software/umami.git
synced 2026-02-17 19:15:37 +01:00
Split queries into prisma and sql.
This commit is contained in:
parent
1a66e3df73
commit
b9fbbc6453
69 changed files with 117 additions and 115 deletions
|
|
@ -2,7 +2,8 @@ import { canViewWebsite } from '@/permissions';
|
|||
import { EVENT_COLUMNS, FILTER_COLUMNS, SEGMENT_TYPES, SESSION_COLUMNS } from '@/lib/constants';
|
||||
import { getQueryFilters, parseRequest } from '@/lib/request';
|
||||
import { badRequest, json, unauthorized } from '@/lib/response';
|
||||
import { getWebsiteSegments, getValues } from '@/queries';
|
||||
import { getValues } from '@/queries/sql';
|
||||
import { getWebsiteSegments } from '@/queries/prisma';
|
||||
import { z } from 'zod';
|
||||
import { dateRangeParams, fieldsParam, searchParams } from '@/lib/schema';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue