feat: implemented HRDLog upload

This commit is contained in:
2026-06-18 14:27:33 +02:00
parent e8eedcc1dc
commit cdd71b17c8
11 changed files with 333 additions and 8 deletions
+2
View File
@@ -473,6 +473,8 @@ export function TestClublogUpload():Promise<string>;
export function TestEmail(arg1:string):Promise<void>;
export function TestHRDLogUpload():Promise<string>;
export function TestLoTWUpload():Promise<string>;
export function TestLookupProvider(arg1:string,arg2:string,arg3:string,arg4:string):Promise<lookup.Result>;
+4
View File
@@ -918,6 +918,10 @@ export function TestEmail(arg1) {
return window['go']['main']['App']['TestEmail'](arg1);
}
export function TestHRDLogUpload() {
return window['go']['main']['App']['TestHRDLogUpload']();
}
export function TestLoTWUpload() {
return window['go']['main']['App']['TestLoTWUpload']();
}
+4
View File
@@ -669,6 +669,7 @@ export namespace extsvc {
username: string;
password: string;
callsign: string;
code: string;
force_station_callsign: string;
tqsl_path: string;
station_location: string;
@@ -689,6 +690,7 @@ export namespace extsvc {
this.username = source["username"];
this.password = source["password"];
this.callsign = source["callsign"];
this.code = source["code"];
this.force_station_callsign = source["force_station_callsign"];
this.tqsl_path = source["tqsl_path"];
this.station_location = source["station_location"];
@@ -703,6 +705,7 @@ export namespace extsvc {
qrz: ServiceConfig;
clublog: ServiceConfig;
lotw: ServiceConfig;
hrdlog: ServiceConfig;
static createFrom(source: any = {}) {
return new ExternalServices(source);
@@ -713,6 +716,7 @@ export namespace extsvc {
this.qrz = this.convertValues(source["qrz"], ServiceConfig);
this.clublog = this.convertValues(source["clublog"], ServiceConfig);
this.lotw = this.convertValues(source["lotw"], ServiceConfig);
this.hrdlog = this.convertValues(source["hrdlog"], ServiceConfig);
}
convertValues(a: any, classs: any, asMap: boolean = false): any {