adds gpx upload for summit logs

This commit is contained in:
Christian Beutel
2024-11-01 20:35:50 +01:00
parent 18e57aa211
commit 9c07aae339
13 changed files with 505 additions and 27 deletions

View File

@@ -3,11 +3,20 @@ class SummitLog {
id?: string;
date: string;
text?: string;
gpx?: string;
_gpx: File | null;
author?: string;
expand: {
gpx_data?: string;
}
constructor(date: string, params?: { id?: string, text?: string }) {
this.date = date;
this.id = params?.id;
this.text = params?.text ?? "";
this.expand = {}
this._gpx = null
}
}