hammerhead integration added (#628)
* hammerhead integration added * typo corrected * start date added, optimize some translations * new option to send trail to hammerhead * fix elevation information (was in cm) * skip empty tracks on import * update docs * remove manual user-id input * fix merge issues * remove user-id from documentation * fix hammerhead logo for light theme * fix hammerhead logo for light theme --------- Co-authored-by: Christian Beutel <> Co-authored-by: Flomp <Flomp@users.noreply.github.com>
This commit is contained in:
@@ -23,16 +23,26 @@ export interface KomootIntegration extends BaseIntegration {
|
||||
privacy: "original" | "settings"
|
||||
}
|
||||
|
||||
export interface HammerheadIntegration extends BaseIntegration {
|
||||
email: string,
|
||||
password: string,
|
||||
completed: boolean,
|
||||
planned: boolean,
|
||||
after?: string
|
||||
}
|
||||
|
||||
|
||||
export class Integration {
|
||||
id?: string;
|
||||
user: string;
|
||||
strava?: StravaIntegration | null;
|
||||
komoot?: KomootIntegration | null
|
||||
komoot?: KomootIntegration | null;
|
||||
hammerhead?: HammerheadIntegration | null;
|
||||
|
||||
constructor(user: string, strava?: StravaIntegration, komoot?: KomootIntegration) {
|
||||
constructor(user: string, strava?: StravaIntegration, komoot?: KomootIntegration, hammerhead?: HammerheadIntegration) {
|
||||
this.user = user;
|
||||
this.strava = strava;
|
||||
this.komoot = komoot;
|
||||
this.hammerhead = hammerhead;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user