feat: add host

This commit is contained in:
Giuseppe Pagano 2024-04-17 22:41:14 +02:00
parent a38baa50af
commit 7152b0b76d
11 changed files with 61 additions and 5 deletions

View file

@ -14,6 +14,7 @@ export interface WebsitePageviewRequestQuery {
timezone?: string;
url?: string;
referrer?: string;
host?: string;
title?: string;
os?: string;
browser?: string;
@ -34,6 +35,7 @@ const schema = {
timezone: TimezoneTest,
url: yup.string(),
referrer: yup.string(),
host: yup.string(),
title: yup.string(),
os: yup.string(),
browser: yup.string(),

View file

@ -13,6 +13,7 @@ export interface WebsiteStatsRequestQuery {
endAt: number;
url?: string;
referrer?: string;
host?: string;
title?: string;
query?: string;
event?: string;
@ -32,6 +33,7 @@ const schema = {
endAt: yup.number().required(),
url: yup.string(),
referrer: yup.string(),
host: yup.string(),
title: yup.string(),
query: yup.string(),
event: yup.string(),