mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
add tags table and filters logic
This commit is contained in:
parent
bffb98cd51
commit
8759ba9916
15 changed files with 108 additions and 30 deletions
|
|
@ -24,6 +24,7 @@ export interface WebsiteEventsRequestQuery {
|
|||
country?: string;
|
||||
region: string;
|
||||
city?: string;
|
||||
tag?: string;
|
||||
}
|
||||
|
||||
const schema = {
|
||||
|
|
@ -43,6 +44,7 @@ const schema = {
|
|||
country: yup.string(),
|
||||
region: yup.string(),
|
||||
city: yup.string(),
|
||||
tag: yup.string(),
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ export interface WebsiteMetricsRequestQuery {
|
|||
limit?: number;
|
||||
offset?: number;
|
||||
search?: string;
|
||||
tag?: string;
|
||||
}
|
||||
|
||||
const schema = {
|
||||
|
|
@ -53,6 +54,7 @@ const schema = {
|
|||
limit: yup.number(),
|
||||
offset: yup.number(),
|
||||
search: yup.string(),
|
||||
tag: yup.string(),
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ export interface WebsitePageviewRequestQuery {
|
|||
country?: string;
|
||||
region: string;
|
||||
city?: string;
|
||||
tag?: string;
|
||||
compare?: string;
|
||||
}
|
||||
|
||||
|
|
@ -45,6 +46,7 @@ const schema = {
|
|||
country: yup.string(),
|
||||
region: yup.string(),
|
||||
city: yup.string(),
|
||||
tag: yup.string(),
|
||||
compare: yup.string(),
|
||||
}),
|
||||
};
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ export interface WebsiteSessionStatsRequestQuery {
|
|||
country?: string;
|
||||
region?: string;
|
||||
city?: string;
|
||||
tag?: string;
|
||||
}
|
||||
|
||||
const schema = {
|
||||
|
|
@ -42,6 +43,7 @@ const schema = {
|
|||
country: yup.string(),
|
||||
region: yup.string(),
|
||||
city: yup.string(),
|
||||
tag: yup.string(),
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ export interface WebsiteStatsRequestQuery {
|
|||
country?: string;
|
||||
region?: string;
|
||||
city?: string;
|
||||
tag?: string;
|
||||
compare?: string;
|
||||
}
|
||||
|
||||
|
|
@ -44,6 +45,7 @@ const schema = {
|
|||
country: yup.string(),
|
||||
region: yup.string(),
|
||||
city: yup.string(),
|
||||
tag: yup.string(),
|
||||
compare: yup.string(),
|
||||
}),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue