Files
klz-cables.com/.pnpm-store/v10/files/13/1c49eeb1738ddd7f8f7674290053406759f470069249af9e8b43fe1c87bcea29e3e729d80fd53336a674983f241ce3b7c34091608ab6a91ec2c6d9f57784ca
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

29 lines
681 B
Plaintext

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