adds gpx upload for summit logs
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user