Files
klz-cables.com/.pnpm-store/v10/files/8d/7b65d8140218e4cb1ddfeb68a1d76cd81f264dea1061b09f1e1bd4b4436bd10e59802fb137034e5f46e5325829c098d8e3b004a4c82394a091df803617bfac
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

32 lines
764 B
Plaintext

import { entityKind } from "../../entity.js";
import { PgColumn, PgColumnBuilder } from "./common.js";
class PgSmallSerialBuilder extends PgColumnBuilder {
static [entityKind] = "PgSmallSerialBuilder";
constructor(name) {
super(name, "number", "PgSmallSerial");
this.config.hasDefault = true;
this.config.notNull = true;
}
/** @internal */
build(table) {
return new PgSmallSerial(
table,
this.config
);
}
}
class PgSmallSerial extends PgColumn {
static [entityKind] = "PgSmallSerial";
getSQLType() {
return "smallserial";
}
}
function smallserial(name) {
return new PgSmallSerialBuilder(name ?? "");
}
export {
PgSmallSerial,
PgSmallSerialBuilder,
smallserial
};
//# sourceMappingURL=smallserial.js.map