This commit is contained in:
2026-06-06 14:16:30 +02:00
parent f91f9ff3b8
commit 17f7a00bd7
19 changed files with 1278 additions and 91 deletions
+98
View File
@@ -16,6 +16,28 @@ export namespace adif {
this.size_kb = source["size_kb"];
}
}
export class FieldDef {
name: string;
kind: string;
category: string;
promoted: boolean;
deprecated: boolean;
intl: boolean;
static createFrom(source: any = {}) {
return new FieldDef(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.name = source["name"];
this.kind = source["kind"];
this.category = source["category"];
this.promoted = source["promoted"];
this.deprecated = source["deprecated"];
this.intl = source["intl"];
}
}
export class ImportResult {
total: number;
imported: number;
@@ -660,6 +682,20 @@ export namespace main {
this.mic_gain = source["mic_gain"];
}
}
export class AwardImportResult {
awards: number;
references: number;
static createFrom(source: any = {}) {
return new AwardImportResult(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.awards = source["awards"];
this.references = source["references"];
}
}
export class AwardRefMeta {
code: string;
count: number;
@@ -1184,6 +1220,7 @@ export namespace main {
ok: boolean;
err: string;
db_path: string;
migrated_from_app_data: boolean;
static createFrom(source: any = {}) {
return new StartupStatus(source);
@@ -1194,6 +1231,7 @@ export namespace main {
this.ok = source["ok"];
this.err = source["err"];
this.db_path = source["db_path"];
this.migrated_from_app_data = source["migrated_from_app_data"];
}
}
export class StationInfoComputed {
@@ -1696,6 +1734,36 @@ export namespace qso {
tx_pwr?: number;
comment?: string;
notes?: string;
sig?: string;
sig_info?: string;
my_sig?: string;
my_sig_info?: string;
wwff_ref?: string;
my_wwff_ref?: string;
distance?: number;
rx_pwr?: number;
a_index?: number;
k_index?: number;
sfi?: number;
skcc?: string;
fists?: string;
ten_ten?: string;
contacted_op?: string;
eq_call?: string;
pfx?: string;
my_name?: string;
class?: string;
darc_dok?: string;
my_darc_dok?: string;
region?: string;
silent_key?: string;
swl?: string;
qso_complete?: string;
qso_random?: string;
credit_granted?: string;
credit_submitted?: string;
my_arrl_sect?: string;
my_vucc_grids?: string;
extras?: Record<string, string>;
// Go type: time
created_at: any;
@@ -1803,6 +1871,36 @@ export namespace qso {
this.tx_pwr = source["tx_pwr"];
this.comment = source["comment"];
this.notes = source["notes"];
this.sig = source["sig"];
this.sig_info = source["sig_info"];
this.my_sig = source["my_sig"];
this.my_sig_info = source["my_sig_info"];
this.wwff_ref = source["wwff_ref"];
this.my_wwff_ref = source["my_wwff_ref"];
this.distance = source["distance"];
this.rx_pwr = source["rx_pwr"];
this.a_index = source["a_index"];
this.k_index = source["k_index"];
this.sfi = source["sfi"];
this.skcc = source["skcc"];
this.fists = source["fists"];
this.ten_ten = source["ten_ten"];
this.contacted_op = source["contacted_op"];
this.eq_call = source["eq_call"];
this.pfx = source["pfx"];
this.my_name = source["my_name"];
this.class = source["class"];
this.darc_dok = source["darc_dok"];
this.my_darc_dok = source["my_darc_dok"];
this.region = source["region"];
this.silent_key = source["silent_key"];
this.swl = source["swl"];
this.qso_complete = source["qso_complete"];
this.qso_random = source["qso_random"];
this.credit_granted = source["credit_granted"];
this.credit_submitted = source["credit_submitted"];
this.my_arrl_sect = source["my_arrl_sect"];
this.my_vucc_grids = source["my_vucc_grids"];
this.extras = source["extras"];
this.created_at = this.convertValues(source["created_at"], null);
this.updated_at = this.convertValues(source["updated_at"], null);