Filters: {
filterPoiList: ((basePois: any, filterState: any) => any[]);
filterRouteList: ((baseRoutes: any, filterState: any) => any[]);
getUniqueCategories: ((items?: any[]) => string[]);
getUniqueSubCategories: ((items?: any[]) => string[]);
getUniqueTags: ((items?: any[]) => string[]);
countByCategory: ((items?: any[]) => Record<string, number>);
countBySubCategory: ((items?: any[]) => Record<string, number>);
getRatingStats: ((items?: any[]) => {
min: number;
max: number;
avg: number;
count: number;
withRating: number;
withoutRating: number;
});
} = ...
Type declaration
filterPoiList: ((basePois: any, filterState: any) => any[])
filterRouteList: ((baseRoutes: any, filterState: any) => any[])
- (baseRoutes, filterState): any[]
Parameters
- baseRoutes: any
- filterState: any
Returns any[]
getUniqueCategories: ((items?: any[]) => string[])
- (items?): string[]
Returns string[]
getUniqueSubCategories: ((items?: any[]) => string[])
- (items?): string[]
Returns string[]
getUniqueTags: ((items?: any[]) => string[])
- (items?): string[]
Returns string[]
countByCategory: ((items?: any[]) => Record<string, number>)
- (items?): Record<string, number>
Returns Record<string, number>
countBySubCategory: ((items?: any[]) => Record<string, number>)
- (items?): Record<string, number>
Returns Record<string, number>
getRatingStats: ((items?: any[]) => {
min: number;
max: number;
avg: number;
count: number;
withRating: number;
withoutRating: number;
})
- (items?): {
min: number;
max: number;
avg: number;
count: number;
withRating: number;
withoutRating: number;
} Returns {
min: number;
max: number;
avg: number;
count: number;
withRating: number;
withoutRating: number;
}
min: number
max: number
avg: number
count: number
withRating: number
withoutRating: number
Static interface for GeoLeaf filtering utilities.