adds user management

This commit is contained in:
Christian Beutel
2024-02-02 22:48:24 +01:00
parent 99f743ec94
commit 905995a01c
60 changed files with 1135 additions and 128 deletions

View File

@@ -7,6 +7,7 @@ class Trail {
id?: string;
name: string;
location?: string;
public: boolean;
distance?: number;
elevation_gain?: number;
duration?: number;
@@ -28,6 +29,7 @@ class Trail {
params?: {
id?: string,
location?: string,
public?: boolean,
distance?: number,
elevation_gain?: number,
duration?: number,
@@ -45,6 +47,7 @@ class Trail {
this.id = params?.id;
this.name = name;
this.location = params?.location;
this.public = params?.public ?? false
this.distance = params?.distance;
this.elevation_gain = params?.elevation_gain;
this.duration = params?.duration;