click subpath

This commit is contained in:
2025-04-10 17:19:40 +08:00
parent ace231b93f
commit 48d5bdafa4
10 changed files with 95 additions and 10 deletions

View File

@@ -22,6 +22,7 @@ export interface EventsQueryParams {
teamIds?: string[];
projectIds?: string[];
tagIds?: string[];
subpath?: string;
page?: number;
pageSize?: number;
sortBy?: string;
@@ -66,6 +67,7 @@ export async function getEventsSummary(params: {
teamIds?: string[];
projectIds?: string[];
tagIds?: string[];
subpath?: string;
}): Promise<EventsSummary> {
console.log('getEventsSummary received params:', params);
const filter = buildFilter(params);
@@ -186,6 +188,7 @@ export async function getTimeSeriesData(params: {
teamIds?: string[];
projectIds?: string[];
tagIds?: string[];
subpath?: string;
}): Promise<TimeSeriesData[]> {
const filter = buildFilter(params);
@@ -221,6 +224,7 @@ export async function getGeoAnalytics(params: {
teamIds?: string[];
projectIds?: string[];
tagIds?: string[];
subpath?: string;
}): Promise<GeoData[]> {
const filter = buildFilter(params);
@@ -257,6 +261,7 @@ export async function getDeviceAnalytics(params: {
teamIds?: string[];
projectIds?: string[];
tagIds?: string[];
subpath?: string;
}): Promise<DeviceAnalytics> {
const filter = buildFilter(params);