chore: release v0.26.0

This commit is contained in:
2026-08-20 17:53:55 +02:00
parent 47992b5f03
commit 1e507225dd
44 changed files with 3197 additions and 240 deletions
+74
View File
@@ -2001,6 +2001,7 @@ export namespace main {
enabled: boolean;
bands: string[];
available: string[];
near_km: number;
static createFrom(source: any = {}) {
return new BandOpenSettings(source);
@@ -2011,6 +2012,7 @@ export namespace main {
this.enabled = source["enabled"];
this.bands = source["bands"];
this.available = source["available"];
this.near_km = source["near_km"];
}
}
export class CATSettings {
@@ -2567,6 +2569,56 @@ export namespace main {
this.pending = source["pending"];
}
}
export class gridScope {
key: string;
band: boolean;
mode: string;
static createFrom(source: any = {}) {
return new gridScope(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.key = source["key"];
this.band = source["band"];
this.mode = source["mode"];
}
}
export class GridScopeSettings {
scope: string;
hunt: string;
scopes: gridScope[];
static createFrom(source: any = {}) {
return new GridScopeSettings(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.scope = source["scope"];
this.hunt = source["hunt"];
this.scopes = this.convertValues(source["scopes"], gridScope);
}
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 ModePreset {
name: string;
default_rst_sent?: string;
@@ -3362,6 +3414,7 @@ export namespace main {
new_pota: boolean;
grid?: string;
new_grid: boolean;
grid_state?: string;
spotter_continent?: string;
lotw: boolean;
new_pfx: boolean;
@@ -3387,6 +3440,7 @@ export namespace main {
this.new_pota = source["new_pota"];
this.grid = source["grid"];
this.new_grid = source["new_grid"];
this.grid_state = source["grid_state"];
this.spotter_continent = source["spotter_continent"];
this.lotw = source["lotw"];
this.new_pfx = source["new_pfx"];
@@ -4519,6 +4573,26 @@ export namespace qso {
this.minutes = source["minutes"];
}
}
export class GridSquare {
grid: string;
count: number;
confirmed: boolean;
band?: string;
mode?: string;
static createFrom(source: any = {}) {
return new GridSquare(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.grid = source["grid"];
this.count = source["count"];
this.confirmed = source["confirmed"];
this.band = source["band"];
this.mode = source["mode"];
}
}
export class ListFilter {
callsign?: string;
band?: string;