chore(labels): park the label designer and printing on feature/labels

The feature needs more rounds than the next release can wait for, so main goes
back to before it: the packages, bindings, migration, UI and i18n all move to
the feature/labels branch, which holds every commit. The 0.26.23 block keeps
only the Station column.

The 0031 migration may already have run on a machine that launched a dev build;
the two label tables it created are inert and the recorded migration row is
harmless — the runner only applies filenames it has, so re-adding the migration
when the branch merges will skip cleanly there and apply everywhere else.
This commit is contained in:
2026-08-28 21:35:50 +02:00
parent de3a115ca6
commit 73cae855ed
21 changed files with 4 additions and 2631 deletions
-107
View File
@@ -1617,39 +1617,6 @@ export namespace kpa {
}
export namespace labels {
export class Stock {
id?: number;
name: string;
w_mm: number;
h_mm: number;
margin_top_mm: number;
margin_right_mm: number;
margin_bottom_mm: number;
margin_left_mm: number;
dpi: number;
static createFrom(source: any = {}) {
return new Stock(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.id = source["id"];
this.name = source["name"];
this.w_mm = source["w_mm"];
this.h_mm = source["h_mm"];
this.margin_top_mm = source["margin_top_mm"];
this.margin_right_mm = source["margin_right_mm"];
this.margin_bottom_mm = source["margin_bottom_mm"];
this.margin_left_mm = source["margin_left_mm"];
this.dpi = source["dpi"];
}
}
}
export namespace lookup {
export class Result {
@@ -2969,78 +2936,6 @@ export namespace main {
this.samples = source["samples"];
}
}
export class LabelPDFPage {
png: string;
w_mm: number;
h_mm: number;
static createFrom(source: any = {}) {
return new LabelPDFPage(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.png = source["png"];
this.w_mm = source["w_mm"];
this.h_mm = source["h_mm"];
}
}
export class LabelSampleQSO {
callsign: string;
qso_date: string;
time_on: string;
band: string;
freq: string;
mode: string;
rst_sent: string;
rst_rcvd: string;
name: string;
qth: string;
country: string;
static createFrom(source: any = {}) {
return new LabelSampleQSO(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.callsign = source["callsign"];
this.qso_date = source["qso_date"];
this.time_on = source["time_on"];
this.band = source["band"];
this.freq = source["freq"];
this.mode = source["mode"];
this.rst_sent = source["rst_sent"];
this.rst_rcvd = source["rst_rcvd"];
this.name = source["name"];
this.qth = source["qth"];
this.country = source["country"];
}
}
export class LabelTemplateInfo {
id: number;
name: string;
kind: string;
stock_id: number;
profile_id?: number;
is_default: boolean;
updated_at: string;
static createFrom(source: any = {}) {
return new LabelTemplateInfo(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.id = source["id"];
this.name = source["name"];
this.kind = source["kind"];
this.stock_id = source["stock_id"];
this.profile_id = source["profile_id"];
this.is_default = source["is_default"];
this.updated_at = source["updated_at"];
}
}
export class ModePreset {
name: string;
default_rst_sent?: string;
@@ -5243,7 +5138,6 @@ export namespace qso {
band?: string;
mode?: string;
station_callsign?: string;
qsl_sent_in?: string[];
limit?: number;
offset?: number;
@@ -5257,7 +5151,6 @@ export namespace qso {
this.band = source["band"];
this.mode = source["mode"];
this.station_callsign = source["station_callsign"];
this.qsl_sent_in = source["qsl_sent_in"];
this.limit = source["limit"];
this.offset = source["offset"];
}