mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 09:45:04 +01:00
fix ref
This commit is contained in:
parent
c811577460
commit
7e9ed704cc
@ -1,7 +1,7 @@
|
||||
import { CLICKHOUSE, RELATIONAL } from 'lib/constants';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
import { getDateQuery, getFilterQuery, rawQuery } from 'lib/relational';
|
||||
import { runAnalyticsQuery } from 'lib/db/db';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
|
||||
export async function getEventMetrics(...args) {
|
||||
return runAnalyticsQuery({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { CLICKHOUSE, RELATIONAL } from 'lib/constants';
|
||||
import { prisma, runQuery } from 'lib/relational';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
import { runAnalyticsQuery } from 'lib/db/db';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
|
||||
export function getEvents(...args) {
|
||||
return runAnalyticsQuery({
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { CLICKHOUSE, KAFKA, RELATIONAL, URL_LENGTH } from 'lib/constants';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
import kafka from 'lib/db/kafka';
|
||||
import kafka from 'lib/kafka';
|
||||
import { prisma, runQuery } from 'lib/relational';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { CLICKHOUSE, RELATIONAL } from 'lib/constants';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
import { parseFilters, rawQuery } from 'lib/relational';
|
||||
import { runAnalyticsQuery } from 'lib/db/db';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
|
||||
export async function getPageviewMetrics(...args) {
|
||||
return runAnalyticsQuery({
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { CLICKHOUSE, RELATIONAL } from 'lib/constants';
|
||||
import { getDateQuery, parseFilters, rawQuery } from 'lib/relational';
|
||||
import { runAnalyticsQuery } from 'lib/db/db';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
|
||||
export async function getPageviewStats(...args) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { CLICKHOUSE, RELATIONAL } from 'lib/constants';
|
||||
import { prisma, runQuery } from 'lib/relational';
|
||||
import { runAnalyticsQuery } from 'lib/db/db';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
|
||||
export async function getPageviews(...args) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { CLICKHOUSE, KAFKA, RELATIONAL, URL_LENGTH } from 'lib/constants';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
import { runAnalyticsQuery } from 'lib/db/db';
|
||||
import kafka from 'lib/db/kafka';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
import kafka from 'lib/kafka';
|
||||
import { prisma, runQuery } from 'lib/relational';
|
||||
|
||||
export async function savePageView(...args) {
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { CLICKHOUSE, KAFKA, RELATIONAL } from 'lib/constants';
|
||||
import { prisma, runQuery } from 'lib/relational';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
import kafka from 'lib/db/kafka';
|
||||
import { runAnalyticsQuery } from 'lib/db/db';
|
||||
import kafka from 'lib/kafka';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
|
||||
export async function createSession(...args) {
|
||||
return runAnalyticsQuery({
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { CLICKHOUSE, RELATIONAL } from 'lib/constants';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
import { runAnalyticsQuery } from 'lib/db/db';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
import { parseFilters, rawQuery } from 'lib/relational';
|
||||
|
||||
export async function getSessionMetrics(...args) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { subMinutes } from 'date-fns';
|
||||
import { CLICKHOUSE, RELATIONAL } from 'lib/constants';
|
||||
import { rawQuery } from 'lib/relational';
|
||||
import { runAnalyticsQuery } from 'lib/db/db';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
|
||||
export async function getActiveVisitors(...args) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { CLICKHOUSE, RELATIONAL } from 'lib/constants';
|
||||
import { getDateQuery, getTimestampInterval, parseFilters, rawQuery } from 'lib/relational';
|
||||
import { runAnalyticsQuery } from 'lib/db/db';
|
||||
import { runAnalyticsQuery } from 'lib/db';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
|
||||
export async function getWebsiteStats(...args) {
|
||||
|
Loading…
Reference in New Issue
Block a user