up
This commit is contained in:
Vendored
+8
-6
@@ -1,9 +1,9 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {adif} from '../models';
|
||||
import {qso} from '../models';
|
||||
import {main} from '../models';
|
||||
import {profile} from '../models';
|
||||
import {adif} from '../models';
|
||||
import {award} from '../models';
|
||||
import {awardref} from '../models';
|
||||
import {cat} from '../models';
|
||||
@@ -15,6 +15,10 @@ import {operating} from '../models';
|
||||
import {udp} from '../models';
|
||||
import {lookup} from '../models';
|
||||
|
||||
export function ADIFFields():Promise<Array<adif.FieldDef>>;
|
||||
|
||||
export function ADIFVersion():Promise<string>;
|
||||
|
||||
export function ActivateProfile(arg1:number):Promise<void>;
|
||||
|
||||
export function AddQSO(arg1:qso.QSO):Promise<number>;
|
||||
@@ -77,8 +81,6 @@ export function DeleteQSO(arg1:number):Promise<void>;
|
||||
|
||||
export function DeleteUDPIntegration(arg1:number):Promise<void>;
|
||||
|
||||
export function DisablePortableMode():Promise<void>;
|
||||
|
||||
export function DisconnectAllClusters():Promise<void>;
|
||||
|
||||
export function DisconnectClusterServer(arg1:number):Promise<void>;
|
||||
@@ -89,14 +91,14 @@ export function DownloadConfirmations(arg1:string,arg2:boolean):Promise<void>;
|
||||
|
||||
export function DuplicateProfile(arg1:number,arg2:string):Promise<profile.Profile>;
|
||||
|
||||
export function EnablePortableMode():Promise<void>;
|
||||
|
||||
export function ExportADIF(arg1:string,arg2:boolean):Promise<adif.ExportResult>;
|
||||
|
||||
export function ExportADIFFiltered(arg1:string,arg2:boolean,arg3:qso.QueryFilter):Promise<adif.ExportResult>;
|
||||
|
||||
export function ExportADIFSelected(arg1:string,arg2:boolean,arg3:Array<number>):Promise<adif.ExportResult>;
|
||||
|
||||
export function ExportAwards():Promise<string>;
|
||||
|
||||
export function FilterFields():Promise<Array<string>>;
|
||||
|
||||
export function FindQSOsForUpload(arg1:string,arg2:string):Promise<Array<qso.UploadRow>>;
|
||||
@@ -175,7 +177,7 @@ export function ImportADIF(arg1:string,arg2:string,arg3:boolean):Promise<adif.Im
|
||||
|
||||
export function ImportAwardReferencesText(arg1:string,arg2:string):Promise<number>;
|
||||
|
||||
export function IsPortableMode():Promise<boolean>;
|
||||
export function ImportAwards():Promise<main.AwardImportResult>;
|
||||
|
||||
export function ListAudioInputDevices():Promise<Array<audio.Device>>;
|
||||
|
||||
|
||||
@@ -2,6 +2,14 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function ADIFFields() {
|
||||
return window['go']['main']['App']['ADIFFields']();
|
||||
}
|
||||
|
||||
export function ADIFVersion() {
|
||||
return window['go']['main']['App']['ADIFVersion']();
|
||||
}
|
||||
|
||||
export function ActivateProfile(arg1) {
|
||||
return window['go']['main']['App']['ActivateProfile'](arg1);
|
||||
}
|
||||
@@ -126,10 +134,6 @@ export function DeleteUDPIntegration(arg1) {
|
||||
return window['go']['main']['App']['DeleteUDPIntegration'](arg1);
|
||||
}
|
||||
|
||||
export function DisablePortableMode() {
|
||||
return window['go']['main']['App']['DisablePortableMode']();
|
||||
}
|
||||
|
||||
export function DisconnectAllClusters() {
|
||||
return window['go']['main']['App']['DisconnectAllClusters']();
|
||||
}
|
||||
@@ -150,10 +154,6 @@ export function DuplicateProfile(arg1, arg2) {
|
||||
return window['go']['main']['App']['DuplicateProfile'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function EnablePortableMode() {
|
||||
return window['go']['main']['App']['EnablePortableMode']();
|
||||
}
|
||||
|
||||
export function ExportADIF(arg1, arg2) {
|
||||
return window['go']['main']['App']['ExportADIF'](arg1, arg2);
|
||||
}
|
||||
@@ -166,6 +166,10 @@ export function ExportADIFSelected(arg1, arg2, arg3) {
|
||||
return window['go']['main']['App']['ExportADIFSelected'](arg1, arg2, arg3);
|
||||
}
|
||||
|
||||
export function ExportAwards() {
|
||||
return window['go']['main']['App']['ExportAwards']();
|
||||
}
|
||||
|
||||
export function FilterFields() {
|
||||
return window['go']['main']['App']['FilterFields']();
|
||||
}
|
||||
@@ -322,8 +326,8 @@ export function ImportAwardReferencesText(arg1, arg2) {
|
||||
return window['go']['main']['App']['ImportAwardReferencesText'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function IsPortableMode() {
|
||||
return window['go']['main']['App']['IsPortableMode']();
|
||||
export function ImportAwards() {
|
||||
return window['go']['main']['App']['ImportAwards']();
|
||||
}
|
||||
|
||||
export function ListAudioInputDevices() {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user