chore: release v0.26.3
This commit is contained in:
@@ -1873,6 +1873,20 @@ export namespace main {
|
||||
this.can_update = source["can_update"];
|
||||
}
|
||||
}
|
||||
export class AwardRefNewResult {
|
||||
new: Record<string, boolean>;
|
||||
pending: boolean;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new AwardRefNewResult(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.new = source["new"];
|
||||
this.pending = source["pending"];
|
||||
}
|
||||
}
|
||||
export class AwardStatRow {
|
||||
label: string;
|
||||
cells: number[];
|
||||
@@ -2501,6 +2515,26 @@ export namespace main {
|
||||
this.body = source["body"];
|
||||
}
|
||||
}
|
||||
export class FlexZoomSettings {
|
||||
enabled: boolean;
|
||||
cw_khz: number;
|
||||
ssb_khz: number;
|
||||
digi_khz: number;
|
||||
centre: boolean;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new FlexZoomSettings(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.enabled = source["enabled"];
|
||||
this.cw_khz = source["cw_khz"];
|
||||
this.ssb_khz = source["ssb_khz"];
|
||||
this.digi_khz = source["digi_khz"];
|
||||
this.centre = source["centre"];
|
||||
}
|
||||
}
|
||||
export class FolderSyncConfig {
|
||||
enabled: boolean;
|
||||
folder: string;
|
||||
@@ -3408,6 +3442,52 @@ export namespace main {
|
||||
this.minutes = source["minutes"];
|
||||
}
|
||||
}
|
||||
export class SpotColor {
|
||||
text: string;
|
||||
bg?: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new SpotColor(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.text = source["text"];
|
||||
this.bg = source["bg"];
|
||||
}
|
||||
}
|
||||
export class SpotColors {
|
||||
enabled: boolean;
|
||||
colors: Record<string, SpotColor>;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new SpotColors(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.enabled = source["enabled"];
|
||||
this.colors = this.convertValues(source["colors"], SpotColor, true);
|
||||
}
|
||||
|
||||
convertValues(a: any, classs: any, asMap: boolean = false): any {
|
||||
if (!a) {
|
||||
return a;
|
||||
}
|
||||
if (a.slice && a.map) {
|
||||
return (a as any[]).map(elem => this.convertValues(elem, classs));
|
||||
} else if ("object" === typeof a) {
|
||||
if (asMap) {
|
||||
for (const key of Object.keys(a)) {
|
||||
a[key] = new classs(a[key]);
|
||||
}
|
||||
return a;
|
||||
}
|
||||
return new classs(a);
|
||||
}
|
||||
return a;
|
||||
}
|
||||
}
|
||||
export class SpotQuery {
|
||||
call: string;
|
||||
band: string;
|
||||
@@ -5016,6 +5096,10 @@ export namespace qso {
|
||||
continents: number;
|
||||
first_qso: string;
|
||||
last_qso: string;
|
||||
last_new_dxcc: string;
|
||||
last_new_dxcc_num: number;
|
||||
last_new_dxcc_call: string;
|
||||
last_new_dxcc_date: string;
|
||||
confirmed_lotw: number;
|
||||
confirmed_eqsl: number;
|
||||
confirmed_qsl: number;
|
||||
@@ -5066,6 +5150,10 @@ export namespace qso {
|
||||
this.continents = source["continents"];
|
||||
this.first_qso = source["first_qso"];
|
||||
this.last_qso = source["last_qso"];
|
||||
this.last_new_dxcc = source["last_new_dxcc"];
|
||||
this.last_new_dxcc_num = source["last_new_dxcc_num"];
|
||||
this.last_new_dxcc_call = source["last_new_dxcc_call"];
|
||||
this.last_new_dxcc_date = source["last_new_dxcc_date"];
|
||||
this.confirmed_lotw = source["confirmed_lotw"];
|
||||
this.confirmed_eqsl = source["confirmed_eqsl"];
|
||||
this.confirmed_qsl = source["confirmed_qsl"];
|
||||
|
||||
Reference in New Issue
Block a user