adds list search

This commit is contained in:
Christian Beutel
2025-01-26 17:28:38 +01:00
parent eda94f3003
commit f34fd7afed
20 changed files with 413 additions and 98 deletions

View File

@@ -17,7 +17,7 @@ export type TrailSearchResult = {
lat: number,
lon: number
}
auhtor: string;
author: string;
category: string;
completed: boolean;
created: number;
@@ -33,6 +33,16 @@ export type TrailSearchResult = {
public: boolean;
}
export type ListSearchResult = {
id: string;
author: string;
created: number;
description: string;
name: string;
public: boolean;
trails: string[]
}
type NominatimResponse = {
type: string
licence: string