Files
klz-cables.com/.pnpm-store/v10/files/8e/86dc2b4746085b204969d9686217dd91558d785165c4c3d8b960d12d6d08ad34119d94e3679f9b855022babda0df3666a90718c450bde30b03a33549fe9ee7
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

36 lines
898 B
Plaintext

import { entityKind } from "../../entity.js";
import { GelColumn, GelColumnBuilder } from "./common.js";
class GelDoublePrecisionBuilder extends GelColumnBuilder {
static [entityKind] = "GelDoublePrecisionBuilder";
constructor(name) {
super(name, "number", "GelDoublePrecision");
}
/** @internal */
build(table) {
return new GelDoublePrecision(
table,
this.config
);
}
}
class GelDoublePrecision extends GelColumn {
static [entityKind] = "GelDoublePrecision";
getSQLType() {
return "double precision";
}
mapFromDriverValue(value) {
if (typeof value === "string") {
return Number.parseFloat(value);
}
return value;
}
}
function doublePrecision(name) {
return new GelDoublePrecisionBuilder(name ?? "");
}
export {
GelDoublePrecision,
GelDoublePrecisionBuilder,
doublePrecision
};
//# sourceMappingURL=double-precision.js.map