major performance improvements map
This commit is contained in:
@@ -27,6 +27,7 @@ class Trail {
|
||||
tags: string[];
|
||||
waypoints: string[];
|
||||
summit_logs: string[];
|
||||
polyline?: string;
|
||||
expand?: {
|
||||
tags?: Tag[]
|
||||
category?: Category;
|
||||
@@ -165,6 +166,7 @@ interface TrailSearchResult {
|
||||
created: number;
|
||||
public: boolean;
|
||||
thumbnail: string;
|
||||
polyline?: string;
|
||||
shares?: string[];
|
||||
tags?: string[]
|
||||
gpx: string;
|
||||
@@ -174,6 +176,29 @@ interface TrailSearchResult {
|
||||
};
|
||||
}
|
||||
|
||||
export const defaultTrailSearchAttributes = [
|
||||
"id",
|
||||
"author",
|
||||
"author_name",
|
||||
"author_avatar",
|
||||
"name",
|
||||
"description",
|
||||
"location",
|
||||
"distance",
|
||||
"elevation_gain",
|
||||
"elevation_loss",
|
||||
"duration",
|
||||
"difficulty",
|
||||
"category",
|
||||
"completed",
|
||||
"date",
|
||||
"created",
|
||||
"public",
|
||||
"thumbnail",
|
||||
"gpx",
|
||||
"tags",
|
||||
"_geo",]
|
||||
|
||||
|
||||
export { Trail };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user