add tags table and filters logic
This commit is contained in:
@@ -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(),
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user